;************************************************************************************Baskar Village Chief***********************************************************
SCENE 81 forest2
THEME 0
ACTOR 1, "Village Chief", joshMiscellaneous, 11, 25, 90
IF T41, @darnthosemd
IF I183, @tothetomb
IF T28, @findholysymbol
1: Welcome to Baskar Village.
1: You are the first visitor we've had in awhile.
1: Monsters seem to be rising more and more.
H: May I ask you a favor?
1: What is it?
H: Do you know anything about the Small Gem?
1: .........
1: My wife used to know a lot about it.
1: But she passed away not too long ago.
H: I need that gem.
1: I wish there was something I could do to help you.
1: May I ask you why you are looking for the Small Gem.
H: If I don't get it before the Metal Demons, then they will use it to revive their queen.
H: The king told me to come here to find it.
1: So you were sent by the King?
1: Then I guess I have no choice but to help you.
H: Thank you
1: The Small Gem was buried with my wife when she passed away so that nobody could get it.
1: I sealed the tomb with the *Holy Symbol* and threw the symbol into the Sand Trap so that nobody could find it.
1: If you can get the Holy Symbol, I will break the seal so that you can get the Small Gem.
H: Where is the Sand Trap?
1: It is located *in the desert north of here*.
1: You must be carful though.
1: It's easy to get lost.
H: Don't worry.
@findholysymbol
1: When you find it, come back here.
H: Alright.
1: Good luck.
GIVE T28
END
@tothetomb
IF T29, @empty20
1: You've found the *Holy Symbol*.
1: Let's go to the grave.
1: I will meet you there.
GIVE T29
END
@empty20
ACTOR 1, ""
END
@darnthosemd
IF I184, @shipgraveyard
1: Did you find the stone?
H: Yes
1: That's good.
1: I hope it's helpful.
1: By the way.
1: I just recieved a message from the King.
1: He told me to tell you that you should go visit Ship Graveyard.
1: He said something about the Guardians.
H: Guardians?
1: I know very little of this.
1: It would be best if you go to Ship Graveyard to find out more.
H: Thank you for telling me.
1: Have a safe journey.
GIVE I184
END
@shipgraveyard
1: I wish you the best on your journies.
END
;********************************************************************************************Grave*****************************************************************
SCENE 82 forest2
ACTOR 1, "Gravestone", joshMiscellaneous, 15, 25, 90
IF T41, @empty30
IF T29, @entrancetothetomb
END
@entrancetothetomb
ACTOR 2, "Village Chief", joshMiscellaneous, 11, 40, 90
2: Alright, I'm going to break the seal to the tomb.
N: The village cheif holds up the Holy Symbol!
WAIT 1.0sec
SOUND "chant7.wav"
2: Be careful in there.
WAIT 3.0sec
GOTO LINK 23, 0, 0
END
@empty30
ACTOR 2, ""
END
;************************************************************************************Steven's House***************************************************************
SCENE 83 bglibrary
THEME 0
ACTOR 1, "Steven", joshTownsfolk, 9, 25, 90
IF T68, @torchpuzzle
IF T36, @trapmaster
1: The Sand Trap is very mysterious.
1: I remember seeing an ancient writing that says...
1: "Light the fire at 2, 6, and 4, and you will soon find your way".
1: I wonder what that means..
END
@trapmaster
1: I'm sure you'll find more challanging puzzles along the way.
1: I might be able to help you with some.
1: Just come back sometime.
END
@torchpuzzle
ACTOR 2, "Lilka", Lilka, 1, 88, 32
ACTOR 3, "Emma", joshTownsfolk3, 24, 72, 46
IF T74, @luck
1: Welcome back!
1: Can I help you with something?
H: Well, actually, we need help with a puzzle.
1: Really?!
1: Then you've come to the right place!
1: What can I help you with?
H: There is a puzzle in the Withered Ruins.
H: We need to know what order to light the torches.
1: Hmmm...
1: Well, I do remember getting some information on the Withered Ruins.
2: Really?!
2: Spill it buster!
1: Ahem...
1: I don't know if this will help you much or not, but this is the information I have.
1: [YOU MIGHT WANT TO WRITE THIS DOWN!!!]
1: Here's the clue..
1: "The sun rises in the *East* and sets in the *West*."
1: "If you follow the *North Star* then you will find your way."
2: o.O
2: How can THAT help us?!
1: I dunno..
1: Good Luck though!
H: Thanks for the help..
GIVE T74
END
@luck
1: I hope you can figure out what that meant.
END
;--------
;***************************************************************************************Mysterious Woman*********************************************************
SCENE 84 bglibrary
THEME 0
ACTOR 1, "Mysterious Woman", joshMiscellaneous, 19, 25, 90
1: Did you know there were Magic Guilds in the Dream Lands?
1: I heard there was an Forbidden Guild that could produce the most powerful spells.
1: I wonder if it's true..
END
;-------
;Torch Room 1
SCENE 85 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T30
END
;-------
;Torch Room 2
SCENE 86 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T31
END
;------
;Torch Room 3
SCENE 87 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T32
END
;------
;Torch Room 4
SCENE 88 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T33
END
;------
;Torch Room 5
SCENE 89 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T34
END
;------
;Torch Room 6
SCENE 90 cave7
THEME 0
ACTOR 1, "Torch 1", josh31, 3, 25, 90
END
@eventActorClick1
SOUND "fire4.wav"
SELECT 1
POSE 2
GIVE T35
END
;-----
;Torch Eraser
SCENE 91 cave7
THEME 0
ACTOR 1, "Torch Eraser", joshMiscellaneous, 2, 25, 90
IF T31+T35+T33-T30-T32-T34, @onyougo
1: I'm sorry, that's not the right combination.
1: I will de-activate all the torches.
TAKE T30
TAKE T31
TAKE T32
TAKE T33
TAKE T34
TAKE T35
END
@onyougo
1: You have solved the puzzle.
1: I will teleport you to your next area.
GOTO LINK 22, 0, 0
END
;-----
;************************************************************************************Sand Trap Boss**************************************************************
SCENE 92 cave7
THEME 0
IF T36, @empty21
IF I183, @empty21
WAIT 2.0sec
H: Is that the *Holy Symbol*?
WAIT 1.0sec
SOUND "growl1.WAV"
H: What was that?!
H: Ack!
MUSIC luf2boss.mid
FIGHT 2014
IF WON, @gottheholysymbol
H: Darn it...
END
@gottheholysymbol
N: Found the Holy Symbol!
GIVE I183
GIVE T36
END 
@empty21
ACTOR 1, ""
END
;----
;Switch 1
SCENE 93 cave5
THEME 0
ACTOR 1, "Switch",  josh31, 3, 25, 90
END
@eventActorClick1
SOUND "CRACK2.WAV"
SELECT 1
POSE 2
GIVE T37
END
;-----
;Switch 2
SCENE 94 cave5
THEME 0
ACTOR 1, "Switch",  josh31, 3, 25, 90
END
@eventActorClick1
SOUND "CRACK2.WAV"
SELECT 1
POSE 2
GIVE T38
END
;-----
;Switch 3
SCENE 95 cave5
THEME 0
ACTOR 1, "Switch",  josh31, 3, 25, 90
END
@eventActorClick1
SOUND "CRACK2.WAV"
SELECT 1
POSE 2
GIVE T39
END
;-----
;Switch 4
SCENE 96 cave5
THEME 0
ACTOR 1, "Switch",  josh31, 3, 25, 90
END
@eventActorClick1
SOUND "CRACK2.WAV"
SELECT 1
POSE 2
GIVE T40
END
;-----
;Locked Door
SCENE 97 cave5
THEME 0
ACTOR 1, "Tomb Door", Doors, 2, 25, 90
END
@eventActorClick1
SOUND "zOpen2.wav"
IF T37+T38+T39+T40, @opendoor
IF T38+T39+T40+T37, @opendoor
IF T39+T40+T37+T38, @opendoor
IF T40+T37+T38+T39, @opendoor
1: [The door is sealed]
H: Hmm...it seems to be locked...
H: There must be switches around to open it with.
END
@opendoor
H: I guess those switches worked.
WAIT 2.0sec
GOTO LINK 28, 1, 0
END
;-----
;***************************************************************************Tomb Boss***************************************************************************
SCENE 98 cave5
THEME 0
IF T41, @empty27
ACTOR 1, "Ghost", joshMiscellaneous, 3, 25, 90
IF I185, @ahsm
1: What are you doing here?
H: I need the Small Gem.
1: What do you need it for?
1: I've been protecting it for over 50 years.
1: It has magical powers that will revive evil.
H: I need it so the Metal Demons do not get a hold of it.
1: I see
1: Yes, as you must know, it has a piece of their queen's heart in it.
1: I guess I have no choice but to give it to you.
1: I'm sure you can protect it.
N: Recieved Small Gem!
GIVE I185
H: Thank you
SOUND "zEarthquake2.wav"
H: What's happening?
1: The seal is broken.
H: What am I gonna do?
@ahsm
1: Watch out!
1: That monster!
WAIT 2.0sec
MOVE 1, 0, 0, 1
MUSIC luf2sinistral.mid
FIGHT 2015
IF WON, @stolenstone
H: Ack!
WAIT 2.0sec
GOTO EXIT
END
@stolenstone
MOVE 1, 25, 90, 1
WAIT 2.0sec
1: You beat it!
H: That was close!
1: Hurry and leave with the stone!
ACTOR 2, "Zed", joshRoyalty2, 21, 52, 77
WAIT 2.0sec
2: You're not going anywhere!
MUSIC zed.mid
H: Who are you?
2: That is for me to know and you to find out!
2: Now give me the stone you little peasent!
H: Never!
2: I guess I will have to take the stone by force.
2: Holy!!
SOUND "Holy9.wav"
1: Stop!
WAIT 2.0sec
1: Thunder!
SOUND "zThunder9.wav"
2: Damnit!
2: You will be sorry!!
WAIT 1.0sec
MOVE 2, 0, 0, 1
H: Are you alright?
1: Yes...
1: But it is my time to leave this realm.
1: I've served my purpose.
1: Thank you.
WAIT 2.0sec
MOVE 1, 0, 0, 1
H: Good bye....
GIVE T41
END
@empty27
ACTOR 1, ""
ACTOR 2, ""
END
;End of The Mysteries of Baskar quest! :)