; T315 used  T316 used
SCENE 310

	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	MENU "Past=@choicea", "Future=@choiceb"
@end
END
@choicea
	HOST_TAKE T310
	HOST_GIVE T118
	END
@choiceb
	HOST_TAKE T118
	HOST_GIVE T310
	END
;adsf

SCENE 311

	IF T310, @future
	GOTO LINK 7, 0
	END
@future
	GOTO LINK 37, 0
	END

SCENE 312
; Level 1

	IF I143+I144+I145, @lvl2
	N: The door is locked.
	END
@lvl2
	N: You unlock the door and open it.
	HOST_TAKE I143
	HOST_TAKE I144
	HOST_TAKE I145
	WAIT 2
	GOTO LINK 38, 0
END

SCENE 313

	IF I146+I147+I148, @lvl3
	N: The door is locked.
	END
@lvl3
	N: You unlock the door and open it.
	HOST_TAKE I146
	HOST_TAKE I147
	HOST_TAKE I148
	WAIT 2
	GOTO LINK 39, 0
;Level 2
END


SCENE 314

	ACTOR	1,	"Mayor",	joshRoyalty,	2,	25,	90

	IF T315-T363+V40, @skip
	
	IF T315+T363, @hero
	IF T310, @luthmoor

@skip
	IF T363, @hero
	IF T362, @complete
	IF T361, @found
	IF T360, @back
	IF V40, @treaty
	1: Hello
	END
@luthmoor
	1: The cleric of Tarcuis tells me you've defeated the Terrible Dark God.
	1: Congratulations, I must say! All of Dannisair is grateful to you!
	1: But... Unfortunately, an evil sorcerer has arisen to fill the void left behind.
	1: His lair is hidden within the old Ruins of Luthmoor.
	1: I can tell you how to reach it.
	1: Please! You must destroy him!
	END
@congrats
	1: Once again, you're victorious! Dannisair will be forever grateful to you!
	END



@treaty
	1: Hello.
	1: I was wondering if you could do me a favor.
	1: Several weeks ago I sent out a messenger with a trade treaty for the Mystic Grotto.
	1: The Mystic Grotto tells me that the messenger never arrived.
	1: I was wondering if you could look for him for me?
	ASK 999
	IF -YES, @no
	1: Thank you.
	1: If you find the messenger or the treaty could you make sure that it gets to the Mystic Grotto for me?
	GIVE T360
	END
@back
	1: You still haven't found the treaty?
	1: just keep looking then.
	END	
@found
	1: You found the treaty!!
	1: Thats wonderful.
	1: What about the messenger?
	H: I found parts of the messenger, but not all of him.
	1: Thats not as good.
	1: Could you escort the treaty to the Mystic grotto for me?
	1: Thank you.
	END
@complete
	H: I've returned with the signed treaty.
	1: Thank you very much!
	1: As you reward here is this Healing Cube.
	1: You can use it on yourself to gradually heal your wounds.	
	GIVE I114
	GIVE T363
	END
@hero
	1: Welcome back, Hero
	END













SCENE 315

	IF I149, @fight
	N: The door is locked.
	END
@fight
	MUSIC GuiltyGearX-MilliaRageV2.mid
	HOST_TAKE I149
	FIGHT 347
	IF WON, @1
	END
@1
	FIGHT 348
	IF WON, @2
	END
@2
	FIGHT 349
	IF WON, @3
	END
@3
	FIGHT 350
	IF WON, @4
	END
@4
	FIGHT 351
	IF WON, @5
	END
@5
	FIGHT 352
	IF WON, @6
	END
@6
	FIGHT 353
	IF WON, @7
	END
@7
	FIGHT 354
	IF WON, @8
	END
@8
	FIGHT 355
	IF WON, @9
	END
@9
	FIGHT 356
	IF WON, @10
	END
@10
	FIGHT 357
	IF WON, @11
	END
@11
	FIGHT 358
	IF WON, @12
	END
@12
	FIGHT 359
	IF WON, @13
	END
@13
	FIGHT 360
	IF WON, @14
	END
@14
	FIGHT 361
	IF WON, @15
	END
@15
	FIGHT 362
	IF WON, @16
	END
@16
	FIGHT 363
	IF WON, @17
	END
@17
	FIGHT 364, 421
	IF WON, @reward
	END
@reward
	GIVE T315
	HOST_GIVE G100000
	GIVE I236
	END
SCENE 316 pic5, SCENE, "Dragon's Lair"

	IF -V30, @end
	IF T319, @next
	FIGHT 365
	IF WON, @reward
	END
@reward
	N: You find two Rubies hidden in the dragon's cave, and take them.
	HOST_GIVE I135
	HOST_GIVE I135
	HOST_GIVE T319
	GOTO @next
	END

@next
	IF -V60, @end
	GOTO LINK 46, 0
	END



@end
END
SCENE 318
IF -E725, @color
	FX 1
	WEATHER 8050
	COLOR 22
	COLOR 2022
	GOTO @start
@color
	IF -E235, @start
	FX 1
	WEATHER 9100
	COLOR 32
	COLOR 2032

@start
	
	ADD timesfishing, "1"
	COMPARE #<timesfishing>, "50"
	IF=, @fishseed
	COMPARE #<timesfishing>, "200"
	IF>, @fishlvl4
	COMPARE #<timesfishing>, "100"
	IF>, @fishlvl3
	COMPARE #<timesfishing>, "50"
	IF>, @fishlvl2
	IF R33, @fishreward1
	IF R50, @fishreward2
@fishreward3
	IF R10, @nothing
	HOST_GIVE I22
	N: You caught a Spiny Poison Fish.
	END
@fishreward1
	IF R10, @nothing
	HOST_GIVE I23
	N: You caught a Catfish.
	END
@fishreward2
	IF R10, @nothing
	HOST_GIVE I24
	N: You caught a Largemouth Bass.
	END

@fishseed
	IF T317, @extra
	HOST_GIVE I3
	GIVE T317
	N: You caught a... Demon's Eye!
	END
@extra
	END
@fishlvl2
	IF R10, @fishreward1
	IF R15, @fishreward2
	IF R33, @fishreward3
	IF R50, @fishreward4
@fishreward5
	IF R10, @nothing
	N: You caught a Spiny Silence Fish.
	HOST_GIVE I25
	END
@fishreward4
	IF R10, @nothing
	N: You caught a Spiny Frostbite Fish.
	HOST_GIVE I26
	END
@fishlvl3
	IF R20, @fishreward3
	IF R25, @fishreward5
	IF R33, @fishreward4
	IF R50, @fishreward6
@fishreward7
	IF R10, @nothing
	N: You caught a Slimy Dexterity Fish.
	HOST_GIVE I28
	END
@fishreward6
	IF R10, @nothing
	N: You caught a Spiny Entangle Fish.
	HOST_GIVE I27
	END
@fishlvl4
	N: What are you going to fish for?
	MENU "Catfish=@fishreward1", "Largemouth Bass=@fishreward2", "Spiny Poison Fish=@fishreward3", "Spiny Silence Fish=@fishreward5","Spiny Frostbite Fish=@fishreward4", "Spiny Entangle Fish=@fishreward6", "Slimy Dexterity Fish=@fishreward7"
	END
@nothing
	N: You didn't catch anything.
@end
END


; end	