;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;~~~~~~~~~~~~~~~~~~~Zegallet~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SCENE 6, Shop, SCENE, "Know-It-All"
	THEME	0
	ACTOR	1,	"Know-It-All", joshTownsfolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	1: Hello, I am Know-It-All..
	1: I help townsfolk and travelers like you with lots of information.
@ChooseAgain
	1: What do you wish to know about?
	WAIT 1.0
	MENU "DarkSpineRocks=@DRS", "DarkLightTower=@DLT", "Unknown Teleporter=@UT", "Cancel=@C"
END
@DRS
	1: DarkSpineRocks is a dark and scary cave.
	1: It holds powerful monsters and is home of a dragon.
	1: They say whoever goes in, Never comes out alive.
	1: I'd envy the person who goes in there and comes out alive.
	1: So many good treasures in there.
	GOTO @ChooseAgain
END
@DLT
	1: DarkLightTower is a town dungeon.
	1: Its a special dungeon known as an Instance.
	1: They hold great treasures.
	1: Its heard that the only way to get the treasures is if you have a party assembled.
	GOTO @ChooseAgain
END
@UT
	1: Its said that Azeroth holds more than one world.
	1: There is four worlds, so they say.
	1: It's heard that the teleporter can only be activated with a Dragon Scale.
	1: The location of the teleporter is on the top floor of DarkLightTower.
	GOTO @ChooseAgain
END
@C
	1: OK, Come again, I will gladly assist you!
END
;---------
SCENE 11, Shop, SCENE, "Jake the Alchemist"
	ACTOR 1, "Jake", Zed, 1, 25, 90
	IF T2, @HasT2
	1: Hello, I am Jake.
	1: I am an alchemist.
	1: Enjoy your stay at Zegallet.
END
@HasT2
	IF T3, @HasT3
	H: Hello, I need to know how to enter the Underwater Caverns.
	1: Oh, that's really easy.	
	1: All you need is a pair of Water Boots.
	1: I can make you some if you want.
	H: Sure..
	1: But, I ran out of materials to make them.
	1: I have everything but the Fine Thread.
	GIVE T3
	1: I think Lilka has some thread since she is a tailor.
END
@HasT3
	IF T4, @HasT4
	1: I think Lilka has some thread since she is a tailor.
END
@HasT4
	IF T5, @HasT5
	H: Ok I got the thread.	
	1: Ok give me it.
	N: Jake takes the fine thread from you.
	1: Ahh, Here we go.
	1: This will only take about 10 seconds.
	1: Please wait patiently.
	WAIT 10.0
	1: Ah, Finished!
	1: These are pretty good if I say so myself.
	GIVE T5
	GIVE I700
	1: Good luck.
END
@HasT5
	IF T6, @HasT6
	1: Hello.
	1: Enjoy your stay here.
END
@HasT6
	IF T7, @HasT7
	1: Back so soon?
	H: There is an aqua barrier blocking the entrance.
	1: Hmm, I would've assumed that the water boots would work, but I guess not.
	1: I gotta go to my last solution but it wont be easy.
	1: In the middle of Eredane fields, lays a ferocious monster.
	1: He is guarding pure fire.
	1: I'm going to need some of that pure fire for an enchantment.
	1: It will evaporate the barrier away.
	H: Ok I will try.
	GIVE T7
END
@HasT7
	IF T8, @HasT8
	1: Hurry back with some Pure Fire.
END
@HasT8
	IF T9, @HasT9
	H: I got some Pure Fire.
	1: Ok give me it.
	1: Ok this process is going to take 4 seconds.
	WAIT 4.0
	1: Ok, Its finished.
	1: Now the barrier should evaporate.
	1: But the evaporation might've left behind some of its barrier.
	1: So keep in mind that you should use /terrain
	GIVE T9
END
@HasT9
	IF T14, @HasT14
	1: Good luck.
END
@HasT14
	1: How was your trip?
	H: Pretty rough.
	1: Yeah, I bet hahahaha
END
;--------
SCENE 12, Shop, SCENE, "Lilka"
	ACTOR 1, "Lilka", Lilka, 1, 25, 90
	IF T3, @HasT3
	1: Hello, Can I ask of you a very important favor?
	ASK 50
	IF -Yes, @SaidNo
	IF T2, @HasT2
	1: Thank you.
	1: My precious wand was stolen from me.
	1: It had a crystal orb, and the rod of it was made from adamant.
	1: The guy went into the Underwater Caverns..
	1: I have no clue how to get there.
	GIVE T2
	1: Maybe Jake the Alchemist does!
END
@SaidNo
	1: ....
END
@HasT2
	IF T3, @HasT3
	1: Maybe Jake knows how to enter the caverns.
END
@HasT3
	IF T4, @HasT4
	H: Do you have any fine thread?
	1: Actually yes I do.
	1: I only have one more.
	H: Can I have it?
	1: Sure, Here you go.
	N: Lilka gives you the fine thread.
	GIVE T4
END
@HasT4
	IF T14, @HasT14
	1: Please get my wand back.
END
@HasT14
	IF T18, @HasT18
	1: Thank you, for a token I will give you this..
	N: You recive 1050 gold.
	GIVE T18
	GIVE G1050
END
@HasT18
	1: Thank you so much.
END
;--------
SCENE 1000, black, SCENE, "Admin Zone"
	N: Do you wish to change your class to an admin?
	ASK 400
	IF -Yes, @SaidNo
	N: Ok, 1 moment please.
	SET num.hostClass, "88"
	GOTO EXIT
END
@SaidNo
	N: Come again.
END
SCENE 999, black, SCENE, "Final Dragon"
	ACTOR 1, "Dragon Tamer 3", 57, 1, 25, 90
	IF T600, @HasT600
	1: Hahahahahaha.
	1: Remember me?
	H: Yes, And I am here to defeat you before you destroy the world.
	1: Thats impossible.
	H: I killed every other creation..	
	H: You alone, cannot defeat me.
	1: Who said it was I?
	1: Remember how I was talking about my project?
	1: Well... Its time for your funeral.
	WAIT 3.0
	MOVE 1, -50, 50
	WAIT 4.0
	MUSIC FinalBoss.mid
	FIGHT 255
	IF Won, @Won
END
@Won
@HasT600
	N: You have saved the world from evil.
	WAIT 1.0
	N: Now you will be able to select what you want..
	WAIT 1.0
	N: But choose wisely.
	WAIT 1.0
	N: You can only choose once.
	WAIT 1.0
	GIVE T600
	MENU "Health Decreasers=@HD, "Black Diamonds=@BD, "Summon5=@Summon5, "FlamingDeathspell=@FDS", 
END
@HD
	N: You received 5 Health Decreasers.
	GIVE I100
	GIVE I100
	GIVE I100
	GIVE I100
	GIVE I100
	N: Now, Do you wish to reset this dragon and fight it again?
	ASK 999
	IF -Yes, @SaidNo
	TAKE T600
	N: Ok, You may fight the final dragon over again.
END
@BD
	N: You received 5 Black Diamonds.
	GIVE I101
	GIVE I101
	GIVE I101
	GIVE I101
	GIVE I101
	N: Now, Do you wish to reset this dragon and fight it again?
	ASK 999
	IF -Yes, @SaidNo
	TAKE T600
	N: Ok, You may fight the final dragon over again.
END
@Summon5
	N: You received Summon5
	GIVE S759
	N: Now, Do you wish to reset this dragon and fight it again?
	ASK 999
	IF -Yes, @SaidNo
	TAKE T600
	N: Ok, You may fight the final dragon over again.
END

@FDS
	N: You received FlamingDeathSpell
	GIVE S754
	N: Now, Do you wish to reset this dragon and fight it again?
	ASK 999
	IF -Yes, @SaidNo
	TAKE T600
	N: Ok, You may fight the final dragon over again.
END
	

	


	

