; Quest 3, The Fire Temple
;	30,"I stopped at a small desert town, and found that the people there were like zombies."
;	31,"I found an oasis, and a path leading into a hole.
;	32,"Deep under the hole I found a monster sucking the souls of the people."
;	33,"After defeating the monster, I returned to the town and received the Fire Temple's key as a reward."
;	34,"I unsealed the entrance to the Fire Temple."
;	35,"I made my way to the pillar in the back, and Kinomu appeared with a monster."
;	36,"On my way out, Kinomu stopped me and apologized for his actions. He told me to seek out the Earth Temple next."

SCENE	30	TwoWays, SCENE, "The Flopping Fish Hotel"
	IF	T30, @hasT30
	ACTOR	1, "Zombie", josh65, 1, 17, 71
	MUSIC	Evil.mid
	IF	T30, @hasT30
	IF	T32, @hasT32
	H: ...
	H: What the!?
	1: Brains...
	H: ...Brains?
	1: Must...Eat...Brains...
	H: Umm...
	H: /a looks around.
	WAIT	2
	N: There's 3 ways you can go...
	WAIT	2
	N: Left leads outside, right leads to a bedroom, or you can turn around and leave.
	WAIT	2
	N: Which will you do?
	WAIT	1
	@Menu1
	MENU	"Left, Outside=@Left", "Right, Bedroom=@right", "Set as Save Point=@save", "Turn around and leave=@Leave"
	GOTO	@Menu1
	END
@Left
	H: If I make a run for it, I can make it.
	H: Here we go!
	WAIT	2
	GIVE	T30
	GOTO	LINK	21, 0
	END
@Right
	H: There's a bedroom over there.
	H: It should be safe to take a quick nap to recover my health...
	H: ...I hope.
	WAIT	2
	MOVE	1, -5, 71, 1
	BKGND	Bedroom
	N: HP and MP restored!
	GIVE	L1
	GIVE	H32000
	GIVE	M32000
	H: Well, nothing too serious happened...
	GIVE	T30
	1: Brains...
	H: Crap.
	END
@Leave
	H: Screw this, I'm outta here!
	H: Later, Mr. Zombie!
	1: Brains?
	WAIT	2
	GIVE	T30
	GOTO	LINK	20, 1
	END
@hasT30
	IF	T32, @hasT32
	WAIT	2
	N: The zombie's not around...
	WAIT	2
	N: Which way would you like to go?
	WAIT	2
	@Menu2
	MENU	"Go Left=@Oasis", "Go Right=@Bedroom", "Set as Save Point=@save", "Turn Around=@Exit"
	GOTO	@Menu2
	END
@Oasis
	H: /a thinks: Left it is, then...
	WAIT	2
	GOTO	LINK		21, 0
	END
@Bedroom
	H: I hope that zombie's not hiding out in the bedroom...
	BKGND	Bedroom.jpg
	H: /a takes a quick nap!
	GIVE	L1
	GIVE	H32000
	GIVE	M32000
	WAIT	1
	N: HP and MP restored!
	END
@Exit
	H: Well, I don't need anything here!
	WAIT	2
	GOTO	LINK		20, 1
@hasT32
	MUSIC	Home.mid
	IF	T33, @hasT33
	ACTOR	2,	"Bob", joshTownsfolk, 29, 17, 71
	2: Well, hello there!
	H: Erm.. Hi?
	2: Are you the one that fought off the zombies?
	H: Yeah, I am.
	2: Ah, well you should go see the Mayor, then! I'm sure he'd be glad to hear from you!
	2: He might even have a reward for you!
	H: Alright, I might just do that.
	2: Anyway, what would you like to do?
	@Menu3
	MENU	"Go to Oasis=@GoToOasis", "Take a nap=@Nap", "Set as Save Point=@save", "Go to Town=@Town"
	GOTO	@Menu3
	END
@GoToOasis
	H: I'd like to go to the oasis.
	2: Well, it's on the door to your left.
	2: You should know that by now, though.
	WAIT	2
	GOTO	LINK		21, 0
	END
@Town
	H: I think I'll go back to town.
	2: Alright. Enjoy your stay in our lovely city.
	WAIT	2
	GOTO	LINK		20, 1
	END
@Nap
	SET	innprice, 25
	MUL	innprice, #<num.PeopleInScene>
	COMPARE	#<num.PeopleInScene>, "1"
	IF= @Party1
	2: So you want to stay the night, eh?
	2: The price for #<Num.PeopleInScene> people to stay here is #<innprice> Septi.
	2: Will you stay the night?
	@Menu4
	MENU	"Yeah=@Yeah", "Nah=@Nah"
	GOTO	@Menu4
	END
@Party1
	2: So you want to stay the night, eh?
	2: The price for #<num.PeopleInScene> person to stay is #<innprice> Septi.
	2: Will you stay?
	GOTO	@Menu4
	END
@Nah
	2: Please come again.
	END
@Yeah
	IF G#<innprice>, @canAfford
	2: I'm sorry, but you don't have enough money.
	2: Please come again.
	END
@hasT33
	ACTOR	2,	"Bob", joshTownsfolk, 29, 17, 71
	2: Oh, hi, %1!
	2: What would you like to do today?
	GOTO	@Menu3
	END
@canAfford
	2: Thank you for your patronage.
	BKGND	Bedroom.jpg
	MOVE	2, -5, 71, 1
	HOST_TAKE	G#<innprice>
	GIVE	L1
	GIVE	H32000
	GIVE	M32000
	N: Hp + Mp Restored!
	WAIT	2
	BKGND	TwoWays.jpg
	MOVE	2, 17, 71, 1
	2: I hope you enjoyed your stay!
	2: Please come again!
	END
@save
	N: Osisa set as your current save point.
	SET	SPID, 20
	SET	SPlocation, "Osisa"
	SET	SPset, 1
	END
;-----
SCENE	31	Oasis, SCENE, "Desert Oasis"
	MUSIC	Trickery.mid
	IF	T31, @hasT31
	SET	SkeletonA, "Skeleton A"
	SET	SkeletonB, "Skeleton B"
	ACTOR	1, "#<SkeletonA>", josh84, 1, 17, 71
	ACTOR	2, "#<SkeletonB>", josh85, 1, 46, 78
	MOVE	2, 43, 78
	1: Bernie, did you hear the news?
	SET	SkeletonB, "Bernie"
	2: What's that, Fred?
	SET	SkeletonA, "Fred"
	1: I hear Kragarth finally succeeded in taking over the entire town!
	2: Really? That's great!
	1: I hear we're attacking Yew next.
	2: Me!? But I don't want to be attacked!
	1: Not "you," idiot! I mean the city, "Yew!"
	2: Oh...That's all right then. Wait...
	2: Y...Yew!? But that's...Really, REALLY close to the Order of the Hand!
	2: I don't want to die...Again!
	1: Don't worry about the Paladins, Bernie, the wall is there, so they can't get to us.
	2: Oh yeah! That wall that the Tolshroud Continent built, right?
	1: Yup. That's the one.
	1: I hear they were building another one to the south of them, too.
	2: Yeah, if you ask me, I think something's up...
	2: ...But what do we know? We're DEAD!
	POSE	2, 3, 1, 1
	POSE	1, 3, 1, 1
	1: BWAHAHAHAHAHA!
	2: HARDY HAR!
	H: Um... That was dumb.
	1: What? Who's there?
	H: ...Oops.
	2: Get #<g.him>!
	MOVE	1, 1, 1, 1
	MOVE	2, 1, 1, 1
	MUSIC	Boss1.mid
	FIGHT	30, 31
	IF	WIN, @Won
	MOVE	1, 17, 71, 1
	MOVE	2, 46, 78, 1
	1: Now you walk the path of the dead like us.
	2: Yeah! Now you're DEAD!
	POSE	2, 3, 1, 1
	POSE	1, 3, 1, 1
	1: BWAHAHAHAHAHA!
	2: HARDY HAR!
	END
@Won
	H: ...I hate skeletons.
	H: Hmm... Is that? A hole?
	H: If I jump in... Maybe I can find that Kragarth guy, and rid the town of zombies.
	H: It's worth a shot!
	GIVE	T31
	WAIT	2
	GOTO	LINK		22, 0
	END
@HasT31
	IF	T140, @hasT140
	@resume
	N: There's a hole there...
	WAIT	3
	N: Would you like to go in?
	WAIT	1
	@Menu
	MENU	"Yes=@Yes", "No=@No"
	GOTO	@Menu
	END
@Yes
	N: %1 entered the hole cautiously...
	GOTO	LINK		22, 0
	END
@No
	N: %1 decided not to go into the hole.
	H: It seems a bit dangerous.
	H: I'll just wait a bit.
	END
@hasT140
	IF	T141, @resume
	ACTOR	1, "Fred", josh84, 1, 17, 71
	ACTOR	2, "Bernie", josh85, 1, 46, 78
	MOVE	2, 43, 78
	1: Bernie, did you hear?
	2: No, what happened this time?
	1: Kragarth had a son before he died.
	2: Oh, did he?
	2: Wait... Are you talking about the first or second time he died?
	1: ...
	1: Aaaaanyway, his name is Kragarth the Second...
	1: And he'll lead the Undead into a new golden age!
	2: ...Do we undead even HAVE a golden age?
	1: How can we know if we've never HAD one?
	2: You know, you're absolutely right!
	2: Hail Kragarth the Second and their family's lack of original nomenclature!
	H: You guys again?
	1: Huh? Aw, nerts! It's you!
	H: I thought I've killed you guys already.
	2: You did, but you see...
	2: WE'RE DEAD!
	1: BWAHAHAHAHAHAH!
	2: HARDY HAR!
	H: ...I really hate you guys.
	1: The feeling's mutual, fleshbag!
	2: Bring it!
	MOVE	1, 1, 1, 1
	MOVE	2, 1, 1, 1
	MUSIC	Boss1.mid
	FIGHT	116, 117
	IF	WIN, @win
	2: HARDY HAR!
	1: We owned you!
	END
	@win
	H: I really, really, hate skeletons.
	H: Now, it's time to take on Kragarth's son!
	GIVE	T141
	GOTO		@resume
	END
;-----
SCENE	32	Cave1, SCENE, "Kragarth's Den"
IF	T32, @hasT32
	ACTOR	1, "Kragarth", josh65, 1, 17, 71
	MUSIC	Evil.mid
	1: You... You don't walk among the dead. Why?
	H: Because... I'm alive?
	1: ...
	H: Who are you, anyway?
	1: I am Kragarth, Lord of the Zombies.
	H: ...
	H: Nice to meet you, too bad you have to die!
	H: Uh, die AGAIN, that is.
	1: I see how it is...
	1: Very well then...
	1: Prepare to meet your doom!
	MOVE	1, 1, 1, 1
	MUSIC	Boss-SideQuest.mid
	FIGHT	34
	IF	WIN, @won
	MOVE	1, 17, 71, 1
	1: You're pathetic...
	WAIT	2
	N: You can return to Osisa to heal, if you'd like.
	WAIT	1
	N: Would you like to return at this time?
	WAIT	2
	@Menu1
	MENU	"Yes=@Yes", "No=@No"
	GOTO	@Menu1
	END
@Yes
	N: Just close your eyes and relax...
	WAIT	2
	GOTO	LINK		20, 1, 1
	END
@No
	N: Okay. Enjoy the walk home as a dead guy.
	END
@Won
	MUSIC	Victory1.mid
	MOVE	1, 17, 71, 1
	1: What!? Unbelievable!
	H: You'd better believe it, buster.
	1: !Nooooo!
	1: !My power...Is weakening!
	WAIT	3
	N: *Poit!*
	MOVE	1, 1, 1, 1
	ACTOR	2, "Kitty", DanMisc, 1, 17, 71
	2: Meow?
	H: Ironic... Turns out the leader of the Zombies was...
	H: ...A cat.
	2: Meow?
	H: ...I wonder if the town is overrun with zombies anymore.
	2: Meow?
	GIVE	T32
	WAIT	3
	GOTO	EXIT
	END
@HasT32
	IF	T141, @hasT141
	H: The empty quiet of the dead lingers here.
	H: It gives me this...Eerie feeling.
	H: HEEBIDY JEEBIDY!
	END
@hasT141
	IF	T242, @hasT242
	WAIT	2
	H: Hm...
	H: There's nothing here...
	WAIT	2
	N: Oh, but there is...
	WAIT	2
	H: Wh...Who said that!?
	WAIT	2
	N: You will not interfere with our plans!
	WAIT	2
	N: Kragarth will not allow it!
	WAIT	2
	H: So you're not Kragarth the Second?
	WAIT	2
	N: What, are you a fool?
	WAIT	2
	N: Kragarth is in another desert!
	WAIT	2
	H: Another desert... I know where one is!
	WAIT	2
	N: Yes, and you will take this knowledge to the grave!
	MUSIC	Boss-SideQuest.mid
	FIGHT	115
	IF	WIN, @win
	MUSIC	Victory1.mid
	H: Hm... This is a bad turn of events...
	H: I'd better head for the Wienfalk Desert as soon as I can!
	GIVE	T242
	END
@hasT242
	H: This place makes my hairs stand on end!
	H: It's so scary...
	H: I think I wet myself.
	H: Nah, just kidding. I need to carry on.
	END
;------
SCENE	33	Kitchen, SCENE, "Mayor's Home"

	IF	T32, @hasT32
	ACTOR	1, "Zombie", josh65, 1, 17, 71
	MUSIC	Evil.mid
	IF	T30, @hasT30
	1: Brains...
	H: What the!? A Zombie?
	1: I want... Brains...
	H: Oh great... A brain eating zombie.
	1: !GIMME BRAINS!
	H: Umm... No. I'd rather not.
	1: Brains?
	END
@hasT30
	1: Brains...
	H: Not this crap...
	1: Need.. Brains...
	1: Hungry...
	H: Oh, shut up, you stupid zombie!
	1: ...Brains.
	END
@hasT32
	ACTOR	2,	"Mayor Regule", joshRoyalty, 30, 17, 71
	MUSIC	Sacred2.mid
	IF	T33, @hasT33
	2: Hello, and welcome to our glorious city. Is there any way I can help you?
	H: Yeah, I was told to come here for a reward because I killed the zombies.
	2: Oh, that was you?
	2: I don't have much to offer, though.
	N: ...The sign... Show... The sign...
	WAIT	2
	2: Oh! Yeah, I can give you this!
	2: This crystal was handed down in the Regule family for hundreds of years.
	2: I want you to have it...The Courage of Salamando.
	GIVE	I111
	H: Really? What's it do?
	WAIT	2
	N: Only a person of great courage can face... 
	WAIT	2
	N: ...The trials that await in the Temple of Fire.
	WAIT	2
	H: So.. This unlocks the gate to the Fire Temple?
	H: That shouldn't be too tough. I got into the Water Temple!
	2: So be it then. I wish you luck, %1...
	H: Thanks!
	GIVE	T33
	END
@hasT33
	2: Please take care of the crystal.
	2: It will serve you well when the time comes.
	END
;----
SCENE	34	ArmorShop, SCENE, "Jorak's Armory"
IF	T32, @hasT32
ACTOR	1, "Zombie", josh65, 17, 71
IF	T30, @hasT30
H:...
H: A zombie, huh...
1: Braiiiinss....
H: ...Just great.
END
@HasT30
1: Brains...
H: ...This whole stupid town is overrun by zombies!
1: Brains?
H: Stupid zombie.
END
@HasT32
MUSIC	Inside2.mid
ACTOR	2, "Jorak", joshTownsfolk, 9, 17, 71
IF	T33, @hasT33
H: Back to normal, eh?
2: Brains...
H: ...
2: ...Just kidding! Talk to the mayor for a reward!
2: How about buying something, before you go?
OFFER	112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 148, 149, 181, 182, 186
END
@hasT33
2: Hi there, %1!
2: How about some equipment for you?
OFFER	112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 148, 149, 181, 182, 186
END
@eventActorClick2
IF	T40, @hasT40
2: OW! You poked me!
END
@hasT40
IF	T140, @hasT140
2: Oh, it's you again! You're just in time. A new army of zombies has tried taking over!
2: They've been spotted in the Oasis again. Perhaps you can defeat them before they gain enough power!
GIVE	T140
H: All right, I'll see what I can do.
END
@hasT140
IF	T142, @hasT142
2: Witnesses said that there was activity in the southern Oasis!
2: Please help us!
END
@hasT142
IF	T143, @hasT143
2: What!? It was all just a decoy for their true actions in Wildern?
2: This is terrible news!
2: Here! Take these Warp Stones to get to Wildern and save them before it's too late!
GIVE	I99.2
2: Oh, and here's something for your troubles...
GIVE	G20000
N: Got 20,000 Septi!
GIVE	T143
END
@hasT143
2: You need to help them!
2: Please hurry!
END
;-----
SCENE	301	Cave1, SCENE, "Kragarth's Domain"
IF	T144, @hasT144
	ACTOR	1, "Fred", josh84, 1, 17, 71
	ACTOR	2, "Bernie", josh85, 1, 46, 78
	MOVE	2, 43, 78
	2: Wow, Fred. Good thing we got transferred here.
	1: Yeah.
	2: That hot Osisa weather was making me BONE DRY!
	1: Bwahahahaha!
	2: Hardy har!
	1: We're already bone dry, you fool! We're skeletons!
	2: I know! That's why it's so funny!
	1: BWAHAHAHA!
	2: HARDY HAR!
	H: You guys are IDIOTS!
	2: Ah! Not you again!
	1: Do you have a bone to pick with us, or something?
	2: Hehehe...
	1: You keep following us all over the place.
	2: Hahahahaha!
	1: And futhermore...
	2: BWAHAHAHAHAHAA!
	1: ...
	1: !What's so damn funny!?
	2: Ahahahaha, you said... You said... "Do you have a BONE to pick with us?"
	2: And we're SKELETONS!
	1: BWAHAHAHAHAA!
	2: HARDY HAR!
	H: /a sighs...
	H: Let's just fight already.
	2: Hehehe... Bone dry...
	MOVE	1, 1, 1, 1
	MOVE	2, 1, 1, 1
	MUSIC	Boss-SideQuest.mid
	FIGHT	116, 117
	IF	WIN, @won
	2: HARDY HAR!
	END
	@won
	H: How much more of this crap do I have to go through?
	WAIT	2
	N: ...None. Prepare to die!
	WAIT	2
	MUSIC	Boss-SideQuest.mid
	FIGHT	118
	IF	WIN, @win
	N: Sad...
	END
	@win
	H: I finally stopped the onslaught of the Undead.
	H: Hm... What's this? Looks like the equipment Kragarth was wearing.
	H: He won't need it where he's going. I'll put it to good use.
	GIVE	I241
	GIVE	I245
	GIVE	I233
	GIVE	I225
	GIVE	T144
	END
@hasT144
	H: ...I smell dead people.
	END
;-----
SCENE	35	ItemShop, SCENE, "Mark's Apothecary"
IF	T32, @hasT32
ACTOR	1, "Zombie", josh65, 1, 17, 71
H: A zombie!
1: Brains!
H: Umm...
1: Braiiiins!
H: What the...?
1: !BRAIIINS!!!
H: That does it, I'm leaving!
WAIT	3
GOTO	EXIT
END
@hasT32
MUSIC	Inside5.mid
ACTOR	2, "Mark", joshTownsfolk, 7, 17, 71
IF	T33, @hasT33
2: Well, hello there!
H: Hi.
2: Are you the one that killed the zombies?
H: ...Yup.
2: Oh joyous day! The Hero has come upon us!
H: ...#<g.Che> did?
2: ...No, not really.
2: I guess the mayor is waiting for some #<g.guy> named %1 to visit him.
H: Erm...
2: The Mayor said he wants to give %1 a reward, but that #<g.he> is yet to show up
H: If you'd let me talk..
2: Hopefully, %1 gets there soon, before the mayor gets impatient.
H: !YOU IDIOT!
H: !I'M %1!
2: Oh, well why didn't you say so sooner?
H: Sigh...
2: The mayor's house is that big building to the north. You can't miss it.
2: Before you go, though, do you need any supplies? I have much to offer.
GIVE	T300
OFFER	1, 2, 3, 4, 7, 8, 12, 13, 15, 16, 99, 253
END
@hasT33
IF	T300, @hasT300
2: Oh, hi %1!
2: Want some stuff?
OFFER	1, 2, 3, 4, 7, 8, 12, 13, 15, 16, 99, 253
END
@hasT300
IF	T301, @hasT301
IF	T302, @hasT302
IF	T303, @hasT303
2: Oh, hi %1!
2: Sorry about before, annoying you like that.
@Menu1
MENU	"It's okay...=@Okay", "Don't do it again=@Dont", "You're lucky you're alive=@Lucky"
GOTO	@Menu1
END
@okay
H: It's okay...
2: Is it really?
H: Yeah.. Just.. Try not to do it anymore, alright?
2: Okay! Hey! I have an idea!
2: To show you how sorry I am...
2: I'll give you...
2: Oh! I have just the thing!
MOVE	2, 1, 71
WAIT	5
MOVE	2, 1, 1, 1
2: Argh, where is it!?
WAIT	1
N: Clang!
WAIT	1
2: Ow! God dammit!
2: Oh.. Here it is!
2: I'm sure #<g.he>'ll like this!
MOVE	2, 0, 71, 1
MOVE	2, 17, 71
WAIT	5
2: Ah, here it is!
2: This ruby has been passed down in my family for years.
H: All that time...Searching for a ruby?
2: Heh, yeah, but it's worth a LOT.
H: You don't say...
2: Oh, but I do.
2: You can sell it, if you want, but I heard that there's a place where you can use it, and have something good happen.
H: Sounds interesting.
2: Indeed. Please take it, as a sign of gratitude.
H: Erm...Okay!
HOST_GIVE	T301
HOST_GIVE	I124
2: Please come again...Friend!
OFFER	1, 2, 3, 4, 7, 8, 12, 13, 15, 16, 99, 253
END
@dont
H: ...Just don't let it happen again.
2: Oh, don't worry, I won't!
2: In fact, I'll even give you this!
H: ...It's a Topaz...
2: That's right! You can sell it for money, or maybe even give it to your #<g.lover>!
H: ...Thanks, I guess.
2: Anytime!
2: Would you like to buy some stuff?
OFFER	1, 2, 3, 4, 7, 8, 12, 13, 15, 16, 99, 253
HOST_GIVE	T302
HOST_GIVE	I124
END
@Lucky
H: ...You're lucky you're still alive.
2: What?
H: If you were going to annoy me any further, I would have grabbed a rusty knife...
H: ...And painted the floor with blood from your entrails.
2: !EEEEEEEEEEEEEEK!
2: Help me!
MOVE	2, -1, 71
WAIT	3
HOST_GIVE	T303
GOTO	EXIT
END
@HasT301
2: Howdy there, friend! How may I help you?
OFFER	1, 2, 3, 4, 7, 8, 12, 13, 15, 16, 99, 253
END
@HasT302
GOTO	@hasT301
END
@HasT303
2: !EEEEEK!
2: It's you again!
2: Run!
MOVE	1, -1, 71
WAIT	3
GOTO	EXIT
END
;-----
SCENE	36	FireTempleOut, SCENE, "Fire Temple Gates" 4, 0
	IF	T33, @hasT33
	WAIT	1
	N: %1 tried opening the gates to the Temple...
	WAIT	2
	N: ...But they were magically sealed...
	WAIT	2
	H: Dammit! Do I need a key here, too?
	END
@hasT33
	IF	T34, @hasT34
	WAIT	2
	N: %1 raised #<g.his> hands high into the air...
	WAIT	2
	N: The Courage of Salamando shines brightly!
	WAIT	2
	N: The gates to the Temple open, and %1 walks inside...
	WAIT	2
	GIVE	T34
	GOTO	LINK		24, 0
	END
@hasT34
	GOTO	LINK		24, 0
	END
;-----
SCENE	37	FireTempleUpper, SCENE, "Fire Temple Entrance"
IF	T35, @hasT35
	@HasT36
	GOTO	LINK		20, 5
	END
@hasT35
IF	T36, @hasT36
SET	Sname, "Fiery Voice"
ACTOR	1, "Kinomu", Kinomu, 1, 17, 71
ACTOR	2, "#<Sname>", Elementals, 2, -5, 50
H: Kinomu... There you are.
1: ...%1...
1: I just wanted to say... I'm sorry.
1: It wasn't my choice to attack you.
1: However, the Temples are growing restless.
1: Please, press on to the Earth Temple.
H: ...
1: Fare thee well, %1.
MOVE	1, -5, 71
H: Kinomu...
H: Kinomu!
H: Dammit, I wish he'd stop doing that.	
2: %1...
H: Hmm.. Who are you?
2: I am the Spirit of the Flame, Salamando.
MOVE	2, 50, 50
SET	Sname, "Salamando"
2: You did well to pass the trials of this temple, %1.
2: You have proven yourself very well.
H: Er.. Thanks, I think.
2: Do not worry about things such as this for now, %1.
2: Your adventure has just begun.
2: Remember... The forest calls out to you, but watch out for thieves.
H: Thieves?
2: Yes. They strike in the shadows, leaving their foes stripped of all their goods.
H: Alright.. I'll be careful.
GIVE	T36
GOTO	LINK	20, 5
END
;-----
SCENE	38	FireTemple2, SCENE, "Fire Temple Pillar", 4, 0
IF	T35, @HasT35
ACTOR	1, "Kinomu", Kinomu, 1, 17, 71
H: K...Kinomu!? What are you doing here?
1: The answer to that question is simple.
1: I'm going to keep the Light from reaching the pillar.
H: Light? What are you talking about?
1: You haven't figured it out yet?
1: You're slower than I thought.
1: Alright, I'll tell you.
1: The Keys needed to unseal the Temples...
1: They are Crystals containing great power. When the Hero appears, the Light contained in the Crystal begins to shine...
1: ...Then the Hero transmutes the light from the Crystal onto the Pillar.
H: ...And what role do I play in all of this?
1: You brought Light to the Water Temple, did you not?
H: Well... Yes.
1: Then you already know your place.
H: But... What about you?
1: You will learn of me when the time comes.
1: Do not trouble yourself with these matters for now.
H: ...
1: ...You must be tested.
H: But I saved the town from zombies! Isn't that enough of a test?
1: Outside influences have no effect on the hallowed halls of the Temple.
H: ...Very well then.
H: Show me what you can do!
1: Ha! It won't be me fighting.
1: I am an influence outside the Temple.
1: The Temple wishes to test you.
H: Then what? What must I defeat to leave this place!?
1: ...Flarical.
H: Flarical?
1: You must defeat...Flarical.
WAIT	2
MOVE	1, -20, 71,
WAIT	1
1: Show me what you can do, %1!
MUSIC	Boss3.mid
FIGHT2	41
IF	WIN, @won
MOVE	1, 17, 71, 1
1: Hmm... Not what I had expected.
1: This is a sad turn of events.
WAIT	1
N: You can return to Malano, Morian, Osisa, or the Dragon Shrine.
WAIT	2
N: Where will you go?
WAIT	1
@Menu1
MENU	"Malano=@Malano", "Morian=@Morian", "Osisa=@Osisa", "Temple=@Temple", "Nowhere=@Exit"
GOTO	@Menu1
END
@Won
MOVE	1, 17, 71, 1
1: Just as I'd expect from you, %1.
1: However, I must take my leave.
1: Bring the Light to this Temple, then head back east.
1: A Temple in Tolshroud Woods awaits...
MOVE	1, -20, 71
H: Kinomu, wait!
H: ...
H: Too late...
GIVE	T35
END

@HasT35
H: The Light in this Pillar shines brightly. The next Temple awaits!
END

@Malano
GOTO	LINK	0, 0
END
@Morian
GOTO	LINK	8, 0
END
@Osisa
GOTO	LINK	20, 0
END
@Temple
GOTO	LINK	26, 7	
;-----
SCENE	39	DragonStatue, "Dragon Shrine"
ACTOR	1, "Dragon Statue", Invisible, 1, 50, 50
SET  totalmoneygiven, 0
SET	totalmoneyneed, 500
N: It looks like there's a statue here.
WAIT	2
H: It's been said that oftentimes, the Ancient Ones built statues that would help others.
H: Hmm... I think I also read somewhere that there was a mechanism that let them talk.
H: Maybe I should right click it and see what happens...
END
@EventActorClick1
1: I am the statue of the legendary Dragon Tal'ranata.
1: My breath gives life to all who desire it, however, a donation must be made.
1: Please throw me at least five hundred Septi, then I'll heal you.
END
@EventActorGive1
ADD	totalmoneygiven, #<item.GoldGiven>
COMPARE	#<totalmoneygiven>, "500"
IF= @Heal
IF> @Heal
SUB	totalmoneyneed, #<totalmoneygiven>
COMPARE	#<totalmoneyneed>, "0"
IF= @Heal
1: Thank you for the money, but I still need #<totalmoneyneed> Septi.
SET	totalmoneyneed, 500
END
@Heal
SET totalmoneygiven, 0
SET	totalmoneyneed, 500
1: Ah, you have donated the correct amount of Septi.
1: For that, I thank you.
1: Be recovered!
GIVE	L1
GIVE	H32000
GIVE	M32000
WAIT	1
N: Hp and Mp Restored!
END
;-----
SCENE	300	ItemShop, SCENE, "Tash's Grocery"
IF	T32, @hasT32
ACTOR 	1, "Vegetarian Zombie", josh65, 1, 17, 71
1: Graaaiins...
H: ...What's wrong with this zombie?
1: Graaaainsss!
H: Speech impediment?
1: GRAIIIINSSS!
H: Mental disorder?
1: !GRAAAAINS!
H: Oh great... A vegan zombie.
END
@hasT32
ACTOR	1, "Natasha", JoshTownsfolk, 32, 17, 71
1: Welcome to Tash's Grocery!
1: We offer the finest in fresh goods.
1: Check them out!
OFFER	39, 40, 168, 169, 170, 171, 172, 173, 174, 175
END
;Hi. I'm a comment line.