;
; MISCELLANEOUS SCENES
;---------
SCENE 200 cliffside3, SCENE, "Toad Canyon", 0, 0, 13
	ACTOR	1,	"Toad",		joshAnimals,	29,	
	ACTOR	2,	"Flies",	joshAnimals,	31,	30,	100
	ACTOR	3,	"Missing",	joshTownies,	99,	40,	100, 30
	ACTOR	4,	"NoFrame",	josh33,	99,	50,	100
	ACTOR	5,	"5",	josh33,	99,	0,	30
	ACTOR	6,	"6",	josh33,	99,	10,	30
	ACTOR	7,	"7",	josh33,	99,	20,	30
	ACTOR	8,	"8",	josh33,	99,	30,	30
	ACTOR	9,	"9",	josh33,	99,	40,	30
	ACTOR	10,	"10",	josh33,	99,	50,	30
	ACTOR	11,	"11",	josh33,	99,	60,	30
	ACTOR	12,	"12",	josh33,	99,	70,	30
	ACTOR	13,	"13",	josh33,	99,	80,	30
	ACTOR	14,	"14",	josh33,	99,	90,	30
	ACTOR	15,	"15",	josh33,	99,	00,	50
	ACTOR	16,	"16",	josh33,	99,	10,	50
	ACTOR	17,	"17",	josh33,	99,	20,	50
	ACTOR	18,	"18",	josh33,	99,	30,	50
	ACTOR	19,	"19",	josh33,	99,	40,	50
	ACTOR	20,	"20",	josh33,	99,	50,	50
	ACTOR	21,	"21",	josh33,	99,	60,	50
	ACTOR	22,	"22",	josh33,	99,	70,	50
	ACTOR	23,	"23",	josh33,	99,	80,	50
	ACTOR	24,	"24",	josh33,	99,	90,	50
	THEME	2
	MUSIC	""

; test the SET_SERVER_VAL and GET_SERVER_VAL stuff

    1: I will SET a server Variable now
    SET_SERVER_VAR category, varname, "the value"
    1: I just set it, now I will fetch it
    GET_SERVER_VAR result, category, varname
    1: I got back #<result>

    1: Now I will set an admin variable
    SET_SERVER_VAR admincategory, varname, "the admin value"
    1: I just set it, now I will fetch it
    GET_SERVER_VAR result, admincategory, varname
    1: I got back #<result>

    1: Now I will set a variable with illegal characters
;    SET_SERVER_VAR "cat[e]gory,=", "va[na,me]", "the [=admin], value"
    1: I just set it, now I will fetch it
    GET_SERVER_VAR result, "cat[e]gory,=", "va[na,me]"
    1: I got back #<result>

    END

; Test the FIGHT opcode

	1: Prepare to fight 2 jellies.. one starting at center of screen
	FIGHT 1, 1.50.50

; Test the trophy bag

	COMPARE #<num.TrophyBagSlots>, 0
    IF> @hasBag
	1: You seem to have no trophy bag
	WAIT 2

@hasBag

	SET num.TrophyBagWidth, 3
	SET num.TrophyBagHeight, 2
	SET num.TrophyBagOpen, 1
	1: There, I gave you a 3x2, you now have a #<num.TrophyBagSlots>-slot bag.

    1: Have a trophy, a '%Z1' in fact.
    GIVE  Z1

    WAIT 3
    1: Have 30 more
    GIVE Z1.30

    WAIT 3
    1:  No, give 15 back
    WAIT 1
    TAKE Z1.15

	WAIT 2
	IF Z1.100 @hasEnuf

    1: You don't have 100 of them
	GIVE Z1.100
	IF Z1.100 @hasEnuf

    1: Something is horribly wrong.. oh well

@hasEnuf

	1: you have enough, you have #<num.Trophy1> of %Z1
	WAIT 1
	1: I can make it wider
	SET num.trophyBagWidth, 10
    
	WAIT 2
    1: I can make it taller
	SET num.trophyBagHeight, 10

    WAIT 2
    1: I can fill it completely with #<num.TrophyBagRoom1> more %Z1s

	WAIT 4
	GIVE Z1.#<num.TrophyBagRoom1>

	WAIT 5
	1: I can shrink it again
	SET num.trophyBagWidth, 4
	SET num.trophyBagHeight, 2

	WAIT 4
	1: And increase it again
	SET num.trophyBagHeight, 3

	WAIT 2
	1: You have #<num.TrophyBagEmptySlots> empty slots, and #<num.TrophyBagSlotsInUse> full ones

	WAIT 2
	1: Now they are ALL empty
	SET num.TrophyBagSlotsInUse, 0

    WAIT 3
	1: I am going to shove something into slpt 3
    SET num.TrophyIdInSlot3, 1

	WAIT 3
	1: Now to set that to 10 of them
	WAIT 2
    SET num.TrophyCountInSlot3, 10

	WAIT 2
	1: now I see #<num.TrophyCountInSlot3> of trophy #<num.TrophyIdInSlot3> (a %Z#<num.TrophyIdInSlot3>)

	WAIT 2
	1: I can make your bag close
	SET num.TrophyBagOpen, 0

	WAIT 2
	1: and bring it back
	SET num.TrophyBagOpen, 1

	WAIT 2
	1: Now I will destroy your bag
	WAIT 1
	SET num.trophyBagWidth, 0
	SET num.trophyBagHeight, 0

	1: Check it out!  It's GONE!




	

	END


;	FIGHT2	150

	; leave this in for now, it's fun, even without the leading 0.
	1: local time is #<num.timeHour>:#<num.timeMinute>  server time is #<num.serverTimeHour>: #<num.serverTimeMinute>

	1: 1 will give you 12 item 1 (%I1)
	GIVE I1.12

	WAIT 5

	1: I will take 12 item 1
	TAKE I1.12

	WAIT 5

	1: I will give 1 item 1
	GIVE I1

	WAIT 5

	1: I will take 1 item 1
	TAKE I1

END

	SET greenPrize, "a pickle"
	SET redPrize, "a tomato"
	1: pick a prize by typing 'red' or 'green'
	ASK 30
	SET prizeKey #<lastAsk>Prize
	1: you said '#<lastAsk>'
    1: prizeKey is #<prizeKey>
	1: prize is *#<prizeKey>

	SET drawncards, 0
@begindpdraw
	SET pcard1, %R52
@pcard2draw 
	SET drawncards #<drawncards>.#<pcard1>
	SET pcard2, %R52
	STRSTR #<drawncards>, #<pcard2>
	IF> @pcard2draw



	SET test, "A long string with hello in the middle"
	STRCMP #<test>, "hello"
	STRSTR #<test>, "hello"

	SET test, "first part"
	1: test is #<test>
	SET test  #<test>second part
	1: test is #<test>
	SET test  #<test>"third part"
	1: test is #<test>
	SET test  #<test>#<test>
	1: test+test is #<test>


	1: The minimap/tickets should disappear in 3 seconds
	WAIT 3
	FLAGS	24576
	1: And come back in 10
	WAIT 10
	FLAGS 8192
	END

	SET A, "quoted cookie" past quote
	SET insult "%3 #<badCookieName> / #<A>"
	SET insult2 #<A>

	1: You have #<num.item900> amethyst rings!

	1: Change your gender!
	MENU	"Generic=@G0", "Male=@G1", "Female=@G2", "Neuter=@G3"
	

	1: right-click on ME, to continue
	END

@eventActorClick1
	1: wow! it worked!
	GOTO @cc

@eventActorClick2
	2: not on ME, idiot!
	END

@eventActorAttack1
	1: You attacked me physically with a #<item.name> (number #<item.id>)
	END

@eventActorSpell1
	1: You cast spell #<spell.name> on me (number #<spell.id>) pp=#<spell.pp>, element=#<spell.element>, dam=#<spell.damage>, price=#<spell.price>, lev=#<spell.level>, all=#<spell.all>
	END

@eventActorGive1
	1: You gave me item number #<item.id> which is a #<item.name>
	END



@G0
	SET g.num, 0
	GOTO @cc
@G1
	SET g.num, 1
	GOTO @cc
@G2
	SET g.num, 2
	GOTO @cc
@G3
	SET g.num, 3
	GOTO @cc

@cc
	1: Here is a MENU
	WAIT 2
	MENU "fish=@fish", "pick lock=@pick"
	1: too good for my menu, eh?
	GOTO	@dd
@fish
	1: you like to fish?
	GOTO 	@dd
@pick
	1: Do I look like a treasure chest?
	GOTO 	@dd

@dd

	1: here is a gender #<g.num>, #<g.he> is a #<g.male> and #<g.his> name is %1

;	1: Hello, here comes a web page
;	WAIT 2
;	HTML "index.html"
;	WAIT 1
;	1: You seem to be back, I waited for you.
;	1: Here is a different page
;	WAIT 2
;	HTML "http://www.synthetic-reality.com/wosSuperFAQ.htm"
;	WAIT 1
;	1: back from that one as well, I see!

;	N: This is a line of narration
;	N: This is another one
;	WAIT 3
;	N: And here is one more
;	WAIT 4
;	NARRATION And here is the long versino of the command

;	SOUND	"opendialog.wav", 1
;	WAIT 5
;	SOUND	"messagebox.wav", 1
;	WAIT 5
;	SOUND	"", 2



	1: Hey, %1, say 'I am an idiot'
	H: I am an idiot
	N: %1 confirms that #<g.he> is an idiot!
	1: Hee hee!  Ok, %1, now say 'Kick Me!'
	HOST Kick Me, I am a %3

	3: I come for YOU!
	MOVE  3, #<num.hostX>, #<num.hostY>
	WAIT 2

	1: I shall face LEFT!
	FACE 1, 0
	FACE 3, 0
	WAIT 2
	1: I shall face RIGHT!
	FACE 1, 1
	FACE 3, 1
	WAIT 2
	1: I shall face YOU!
	FACE 1, 2
	FACE 3, 2
	WAIT 2

	1: I shall face away from YOU!
	FACE 1, 3
	FACE 3, 3
	WAIT 2

	1: I shall face The other way!!
	FACE 1, 4
	FACE 3, 4
	WAIT 2


	IF -C1, @notClass1
	1: You are class 1.  %C1
@notClass1
	1: The scene host is a class #<num.hostClass> level #<num.hostLevel> %C#<num.hostClass>
	1: Other classes are no longer in this party
	PARTY  C#<num.hostClass>

	SET loop, 5
@repeat
	1: I know a song that get's on everybody's nerves!
	COLOR  2013
	COLOR  1013
	SUB loop, 1
	IF> @repeat

    COLOR  2000
	COLOR	0

	1: Watch me do some math!
	SET	A, "2"
	COMPARE	#<A>, 3
	IF= @test1
	IF> @test2
	IF< @test3
	1: none of the three conditions matched!
	GOTO @test4
@test1
	1: #<A> equals 3
	GOTO @test4
@test2
	1: #<A> > 3
	GOTO @test4
@test3
	1: #<A> < 3
	GOTO @test4
@test4

	SET A, 30
	ADD A, 32
	1: 30 + 32 is #<A>
	SUB A, 3
	1: subtract three leaves #<A>
	MUL A, 4
	1: multiply by four leaves #<A>
	SET B, #<A>
	DIV A, 3
	1: divide by three leaves #<A>
	SET A, #<B>
	MOD A, 3
	1: with a remainder of #<A>

	1: What is your favorite color?
	ASK 30
	SET favoriteColor, #<lastAsk>
	1: your favorite color is #<favoriteColor>, you say?

	1: I like cookies!
	SET	one	"one"
	SET two "2"
	SET three  #<one>
	ADD three  #<two>

	1: one=#<one>, two=#<two>, three=#<three>

	IF H1399,@old
	1: You are younger than 1399 hours!
@old

	IF XP,@startRace
	1: You won the race!
	END

@startRace
	1: Prepare for another race!
	COUNTDOWN	90
	END

	1: Ribet
	POSE	29,29,30
	1: Ri-bet
	1: Ribet
	1: Ribet
	1: Look, are you going to just stare at me all day?
	1: It's embarassing to do this with you staring at me!
	1: For one thing, my tongue is too pink!
	1: I wasn't always a toad, you know.
	1: Up until recently, I was a princess.  I think you're familiar with the story.
	1: Someday I know I'll regain my human form and return to my father, the king.
	1: But you know what?
	1: I think I'll miss the flies.  They're sort of chewy-delicious!

;	IF	I700, @skipIt
;	1: Say, you're a good sport.  Take these boots.  They'll let you walk on water.
;	1: If you're ever in the Sea Grotto, say hi to my pals.
;	GIVE I700

@skipIt
END

;---------
SCENE 201 lakeSide, SCENE, "Dolphin Pool"
	ACTOR	1,	"Flip",		joshAnimals,	32,		20,	100
	ACTOR	2,	"Flop",		joshAnimals,	2,		30,	90
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,186
	1: E-e-e-ek
	2: e-eek ee-eek
	1: I guess it doesn't speak Dolphin.
	2: I think you're right.  It looks kind of dumb for a human.
	1: I wonder what it wants?
	2: Why don't you ask?
	1: All Right, I will.... um... person.. thing over there..
	2: I don't think it heard you.
	1: I spoke quite clearly!
	2: No you didn't!  Not with your mouth full!
	1: M-mmgfg!  GULP!
	POSE	2
	1: There, are you happy?  I was savoring that!
	2: Oh you're such a big baby!
	1: Am not!
	2: Are too!

	IF	I701, @skipIt
	1: Um, human thing, we don't know why you would want them, but take these boots, OK?
	1: Now make like a submarine, and leaf!
	GIVE I701
@skipIt

END

;---------
SCENE 202 cave2, SCENE, "Eglise"
	ACTOR	1,	"Lyssa",		joshRoyalty,10,		30,	50
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,181

	1: Oh, Hi!
	1: Say, I wonder if you could give me a hand here?
	1: It's really quite embarassing...
	1: The prince of Asherby was visiting, and he told us of this game.
	1: He said it was all the rage back home.
	1: Well, there was some drinking involved...
	1: And.. well.. here I am...
	1: I'm afraid the good silver is probably missing, as well
	1: Do you think you might be able to cut me down?
END

;---------
SCENE 203 cloudymountain, SCENE, "High Pass"
	ACTOR	1,	"Black Wrath",		josh50,1,		30,	90
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER2	1001,1002,1003,1004


	1: PARDON ME
	1: I SEEM TO BE LOST
	1: I FORGOT MY SCRIPT THIS MORNING
	1: I CAN'T REMEMBER MY SCENE NUMBER
	1: AND WHERE'S THE DIRECTOR WHEN YOU NEED HIM?
	1: WELL, SEE YOU LATER, MOST LIKELY

	MOVE	1,200,85
END

;---------
SCENE 204 surfCliff, SCENE, "Oceanside", 1
	ACTOR	1,	"Clown",		joshAnimals,12,		30,	50
	ACTOR	2,	"Butter",		joshAnimals,27,		45,	45
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,186

	1: glub..
	2: dub

END

;---------
SCENE 205 glacier, SCENE, "Glacier", 0, 9
	ACTOR	1,	"Wolf",		josh36,1,		10,	90
	ACTOR	2,	"Wolf",		josh35,1,		20,	85
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,186

	1: grrrrr
	2: grrr.. <hack!> brrrr
	1: My friend has a cold
	2: bat's dite!
	1: But don't think that means he won't eat you!
	2: dat's bite! Ib eeb oo! <hack!>
	1: I don't suppose you know the secret of fire?

END

;---------
SCENE 206 cave1, SCENE, "Cellar", 0, 0
	ACTOR	1,	"General Maelstrom",		joshRoyalty,2,		10,	90
	ACTOR	2,	"Barry",		joshRoyalty,4,		30,	88
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,181

	1: I say!  What are YOU doing here?
	2: Yes, what are you doing here?
	1: This is just a test scene for Dan!
	2: Yes, get out!
	1: Or fight these...
	2: This is a 'Fight *, 1, 2, -3' command
	FIGHT *, 1, 2, -3


END

;---------
SCENE 207 pumpHouse, SCENE, "Pump House", 0, 0
	ACTOR	1,	"Guard",		josh55,1,		10,	85
	ACTOR	2,	"Lord Fist",	josh19,1,		-30,	90
	THEME	2
	MUSIC	""

;	MOVE	2,20,75
;	OFFER	1,2,100,101,120,121,140,141,160,161,181

	1: Hey buddy!  This here's a restricted area!
	1: You better clear out.
	1: The boss don't like people poking around his mek stuff
	MOVE	2,25,90
	Wait 3.0
	2: I see we have visitors
	2: Leave us, would you, Frank?
	1: Okay boss, whatever you say
	MOVE	1,-30,85
	WAIT 2.0
	2: So, now... are you interested in my mechanical devices?
	2: They're really QUITE modern...
	2: and unexpectedly USEFUL in small ways.

END

;---------
SCENE 208 aztec, SCENE, "Arena", 0, 9
	ACTOR	1,	"Lord Fist",	josh19,1,	90,	80
	THEME	2
	MUSIC	""

;	OFFER	1,2,100,101,120,121,140,141,160,161,187
	OFFER2	0,99,0,15,25

	1: Welcome to the Arena, %2, you %3
	1: Here you can test your worth!
	1: You look puny! Here's an easy one!

	FIGHT	1
	WAIT	3.0
	1: Ha!  Try THIS! (Did I mention this was to the death?)
	FIGHT	1,1,1,1,1,1,1,1
	WAIT	10.0
	1: You make me sick!
	FIGHT	4,5,5,6
	WAIT	10.0
	1: You can run away at any time, coward!
	FIGHT	7,7,7
	1: You call yourself a hero?
	FIGHT	52,52,53,53,53
	1: Well, here's a recharge for free!
	GIVE H1000
	GIVE M1000
	
	
END

;--------
; a series of battles, culminating with Sand Wyrm
SCENE 220 cave1, SCENE, "Abatoir", 0, 0
	MUSIC "ahad_attack"

	FIGHT	169
	IF	DEAD, @dead
	FIGHT 	169,169
	IF	DEAD, @dead
	FIGHT	169,169,169
	IF 	DEAD, @dead
	FIGHT 	241, 169, 169
	IF	DEAD, @dead
	FIGHT	241, 241, 241, 241, 241
	IF	DEAD, @dead
	FIGHT	213
	IF	DEAD, @dead
; Wow, we're tough!
	MUSIC	"ahad_slam"
	WAIT 1.0
	ACTOR 1, "Sandman", josh1, 1, 20, 90
	WAIT 3.0
	1: Stop!
	1: Don't hit me!
	1: You have bested my beasts!
	1: Even my mighty Sand Wyrm now whimpers in its cavern
	1: Why would you not leave me alone?
	

@dead	
	
	END
END

;--------
; The Piano Room
SCENE 221 wideArena.200.25, SCENE, "Piano Room", 0, 0
	MUSIC ""

END

;--------
; The Guild Hall Room
SCENE 222 wideArena.200.25, SCENE, "Guild Hall", 0, 0
	MUSIC ""

END

;--------
; race track
;

SCENE 230 cave1 SCENE, "Race Track"
	THEME	-1
	MUSIC	""
	ACTOR	1,	"Toad",		joshAnimals,	29,	20,	100
	POSE	29,29,30
	
	GAME	2
	1: The race is about to begin!
	1: Press your GAME button to check it out!
END

;
; Science Institute
;
SCENE 231 hangar SCENE, "Science Institute"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Dr. Rondo", joshTownsFolk, 21, 10, 90
	POSE	21, 22, 22
	MOVE	1,	15, 80
	GAME	3
	' Working together we can bring Evergreen into the 14th century!
	' Press the GAME button to help us in our quest.
	' Our quest to compute the value of... Pi!
	' You know.. Pi... the magical number which relates the dimensions of a circle to those of a square.
	' Surely they taught you this in school!
	' What sort of %3s are our schools producing?
	' Ah, well, it works like this... I have drawn a perfect square on the floor, and inscribed within it a perfect circle.
	' Pretty, aren't they?
	' Now I randomly drop small pebbles into the square.
	' The probability that they lie within the circumference of the circle relates to the area of that circle.
	' The ratio of that number of pebbles, divided by the total pebbles gives us Pi!
	' Well, we have to multiply by 4 first, of course.
	' It's quite simple to prove this, you know.
	' Let's say 'r' is the radius of the circle.
	' This means the square it is inside of must have a side-length of 2*r
	' You knew that, right?
	' So the area of that square is.. no. not 2*r squared.  You have to square the 2 as well.
	' Yes, that's right, the area of the square is: (4 * r * r)
	' Now, what's the area of the circle?
	' And I don't want to hear that old joke: "CORNBREAD are square, Pie are ROUND"
	' Yes, right, the area of the circle is: (Pi * r * r)
	' Now, lets say the letter B represents the total number of pebbles I drop into the square.
	' Yes, ALL my pebbles land inside the square - it's MAGIC
	' Now let the letter A represent the subset of those pebbles which are also inside the circle.
	' That's right, A is less than B, since some of the pebbles land in the corners of the square, outside the circle.
	' So, stretching our brains a bit now, we can say that after we have dropped an infinite number of pebbles..
	' Well, a very large number of pebbles..
	' And remember, these are MAGIC pebbles, which fall very randomly
	' Go ahead and press the GAME button if you haven't already
	' Well, after all that time we know that A is proportional to the AREA of the circle
	' And B is proportional to the AREA of the square.
	' That means.. ok, get ready for the math now...
	' (A/B) = (Pi * r * r)/(4 * r * r)
	' The RATIO of the areas is equal to the area equation of the one over the other
	' Now we can simplify that since the (r*r) terms cancel out.
	' So... (A/B) = (Pi/4)
	' And fudging that a little, gives: Pi = 4 * (A/B)
	' Cool, huh?
	' So all we have to do is count pebbles, do a division and a multiplication, and...
	' Bingo, we have Pi!
	' The more pebbles we drop, the better a value we get.
	' So if we all work together... we can solve one of the mysteries of the ages!
	' Let's get started, press that GAME button!
	' Math is fun.
	' Or at least fun to watch.
	' Sometimes.
	' Linear Algebra is MORE fun, though.
	' Unless you get a boring teacher.
	' Which you probably will.
	' Sorry.
	' Hope you find enough magic pebbles as you go through life.
END

;
; Blackjack Table
;
SCENE 232 shop SCENE, "House o' Cards"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Charise", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	GAME	4
	' Perhaps you would care to pass the time playing cards?
	' We could arrange a small wager to make it interesting?
END

;
; Pokegatchi Pen
;
SCENE 233 shop SCENE, "Pokegatchi Pen"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Rebecca", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	GAME	5
	' Have you checked in on your pets recently?
	' You know, you can check them at any time by typing /pet
END

;
; Asteroids Game
;
SCENE 234 shop SCENE, "Arcade"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Ramona", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	GAME	6
	' We're not sure where this magical device came from?
	' But press your game button for a peek at it.
END

;
; Stock market
;
SCENE 235 shop SCENE, "Dow Bones"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Phyllis", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	GAME	7
	' You look burdened down under the weight of your gold pieces.
	' Perhaps you would like to convert some of it into attractive paper equities.
	' Press the GAME button to open the market exchange screen.
END


;
; Tetris
;
SCENE 236 shop SCENE, "Hall of Mystery"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Charlotte", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	GAME	8
	' Help us, oh mighty adventurer. An evil sorcerer has left behind this devilish game.
	' We cannot escape its tyrannical grasp!
END

;--------------
; Fairy Recharge
;
SCENE 250 bgRoseWater, HEAL, "Fairy Cavern", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Fairy", joshMiscellaneous, 14, 10, 80
	POSE	14,9,9
	MOVE	1,	20, 80
	IF ALIVE, @skip1
	' Fates smile upon the brave.
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
@skip1
	GIVE	L1
	GIVE	H1000
	GIVE	M1000 
	' The goddess loves you.
END

;--------------
; Fisher Girl
;
SCENE 251 pond, HEAL, "Fishin' Hole", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Debbie", joshTownsfolk, 26, 10, 90
	POSE	6, 26, 27
	MOVE	1,	15, 95
	IF ALIVE, @skip1
	' I'm, sorry, please return when you're not so... well... dead.
	END
@skip1
	' I am the world's best fisherperson! Would you like me to catch you a fish?
@again2
	POSE	6, 26, 27
	ASK 30.0
	IF YES, @tryFish
	' Well, come on back if you ever need a fish!
	POSE	26,27,28
	END
@tryFish
	POSE	6
	' I will do my best!
	WAIT	1
	POSE	26,27,6
	WAIT	5
	IF	R30,	@caughtOne
	' I'm sorry, would you like me to try again?
	GOTO @again2
@caughtOne
	POSE	28,30,30
	IF	R30	@bigOne
	' Got one! Shall I try for another?
	GIVE	I31
	GOTO	@again2
@bigOne
	' Ooo, it's a BIG one! Want another?
	GIVE	I30
	GOTO 	@again2

END

;--------------
; Mermaid Recharge
;
SCENE 252 bgWaterCave3, HEAL, "Mermaid Lounge", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Mermaid", joshMiscellaneous, 12, 10, 90
	POSE	12,13,13
	MOVE	1,	15, 85
	IF ALIVE, @skip1
	' You poor thing, let me fix that for you.
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
@skip1
	GIVE	L1
	GIVE	H1000
	GIVE	M1000 
	' Care for a swim?
END

;--------------
; Bad Fairy Recharge
;
SCENE 253 bgRoseWater, HEAL, "Fairy Entrepreneur", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Fairy", joshMiscellaneous, 14, 10, 80
	POSE	14,9,9
	MOVE	1,	20, 80
	IF ALIVE, @skip1
	1: Toss me 10K and be on your way.
	END

@eventActorGive1
	COMPARE #<item.id>, 0
	IF= @gotCash
	1: What am I supposed to do with a freaking #<item.name>?
	END

@gotCash
	COMPARE #<item.goldGiven>, 10000
	IF= @gotEnough
	1: I said 10K! Thats TEN THOUSAND GP
	1: Not a penny more or less, ok?
	1: But I'll keep this anyway, as a learning expense.. for YOU
	END

@gotEnough
	1: OK, Now that's what I call resurrection!
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
	GIVE	L1
	GIVE	H1000
	GIVE	M1000 
	1: yeah yeah.. I'm cute.
	1: Look, I gotta business to run here, get lost!
	END

@skip1
	1: You don't look dead enough to need my services.
	1: Beat it, punk!
	1: Yeah, right, ok, 'the goddess loves you' and all that.
	1: Now get lost!
END

;--------------
; goblin rock recharge
;
SCENE 254 bgRoseWater, HEAL, "Fairy Entrepreneur", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"The Soul Collector", josh16, 1,10,90
	POSE	1,4,2
	MOVE	1,	20, 80
    SET wantedItemClass, %R10
    ADD wantedItemClass, 10
	IF ALIVE, @skip1
	1: I collects stuff.  Stuff what's got bits of soul stucks to it.
	1: Toss me somfin an' I sees what I can do.
	END

@eventActorGive1
	COMPARE #<item.id>, 0
	IF= @gotCash
	COMPARE #<item.class>, #<wantedItemClass>
    IF= @gotHelmet
	1: What am I supposed to do with a freaking #<item.name>?
	END

@gotCash
	1: Naaaah.. I gots all the cash I needs. Try somfin else.
	END

@gotHelmet
	COMPARE #<item.price>, 2000
    IF< @tooCheap

	1: Yeah!  Dis will go good wif my colleckshun. Tanks!
	1: Oh yeah.. gets alive and stuff.
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
	GIVE	L1
	GIVE	H1000
	GIVE	M1000 
	1: Dat's it buddy.
	END

@tooCheap
    1: Dat's sort of wat I lookins for.
	1: But dis one is too cheap.
	1: You gots a better one?
	END

@skip1
	1: I donts got nuttin fer you.
	1: Come back when yer less... lively
END




;--------------
; Pet Arena Ticket Booth
;
SCENE 260 bgWaterCave3, GATE, "Pet Arena Ticket Booth", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Mermaid", joshMiscellaneous, 12, 10, 90
	POSE	12,13,13
	MOVE	1,	15, 85

	1: In the Pet Arena, your pet will fight any other pet it meets.
	1: But you will be safe from all attack.
	1: You are going to the Pet Arena in 5 seconds
	IF I97, @noGift
	GIVE I97
@noGift
	WAIT 	5
	GOTO 	LINK	17, 0, 0
END

;--------------
; PK Arena Ticket Booth
;
SCENE 261 bgWaterCave3, GATE, "PK Arena Ticket Booth", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Mermaid", joshMiscellaneous, 12, 10, 90
	POSE	12,13,13
	MOVE	1,	15, 85

	1: In the PK Arena, you can be hurt by any player...
	1: ...whether you are a PKer or not.
	1: Other player's pets will attack you as well.
	1: You are going to the PK Arena in 5 seconds
	IF I98, @noGift
	GIVE I98
@noGift
	WAIT 	5
	GOTO 	LINK	16, 0, 0
END

;--------------- tutorial scenes

SCENE 289  bgWaterCave3, TUTORIAL, "SmUglUrz CoV3", 2, 0
	THEME	5
	MUSIC	waltz2.mid
	ACTOR	1,	"Snert", josh15, 1, 10, 90
	POSE	1, 4, 2
	ACTOR	2,	"Snort", josh2, 1, 20, 80
	POSE	1, 4, 2
	ACTOR	3,	"Snart", josh22, 1, 30, 90
	POSE	1, 4, 2
	ACTOR	4,	"Snirt", josh24, 1, 40, 80
	POSE	1, 4, 2
	ACTOR	5,	"Snurt", josh3, 1, 50, 90
	POSE	1, 4, 2

	1: Will you level me, %2?
	2: Where are the goblin catapaults?
	3: How do you hack?
	4: You look juicy!
	5: I hate cheaters!  Death to all cheaters!
	1: Give me a million GP so I can buy seeds!
	2: WHERE ARE THE GOBLIN CATAPAULTS!
	3: Do you know how to hack, %2?
	4: UR moMMa are BeLOng to mE!
	5: I hate modders! Death to all modders!
	1: Will you level me?
	2: WHY WON'T YOU TELL ME!!!!
	3: I have a hacked pet!
	3: Termi says you can get pet BWs in RoundTree!
	4: You %3, you healed yourself!
	5: BANISH ALL CHEATERS!
	1: Come on, please? 
	2: shouts: TELL ME WHERE THE FREAKING CATAPAULTS ARE!!!!!!
	3: I have gameHack!  How do I change my level?
	4: You only beat me coz I was lagged!
	5: There was this one cheater, so I PK Attacked and rez-killed him!
	1: Levelling is too easy!
	2: I'm bored, this sucks!
	3: Who here knows how to hack?
	4: I was AFK when you killed me!
	5: Spam!
	5: SpAM!
	5: SPAM!
	5: SPam!
	1: I'm new, %2, what should I call my guild?
	2: Join MY guild!  We rez-kill all snerts!!
	3: Your guild SUCKS!
	4: I have WaREz for all the FFs!
	3: How do you hack the quest file to give XP?
	5: Press Alt-F4 to raise your level, %2!
	1: Can I join your party, will you level me?
	3: Can you hack me a higher level, %2?
	4: You're a moron!
	5: Your mom's a moron!
	1: Will you rez me?
	2: What does TNL Mean?
	3: Use F1 to look it up, idiot!
	5: Hit me, I want to see how strong you are!
	2: Bleep, you, WHAT DOES TNL MEAN!!!!
	4: SHUT UP!!!!
	1: Who is gonna level me?
	3: I WANT TO LEARN HOW TO HACK!!!!
	3: How do I change my hours?
	5: No fair!  Magic users suck compared to Fist Users!
	4: s4nt4 roolZ!
	3: How do I make it looks like my chat is coming from someone else?
	5: I'm a fist user WHY IS MY MAGIC SO WEAK!!!!
	1: I need to be levelled!
	3: How do you turn off the hacker lockout!
	2: No one can see what I type!
	3: How do you get a pet Black Wrath?
	4: It says I'm a bleepin MODDER!  I ain't NEVER MODDED!
	4: I just messed wif some files!
	2: Bleepin' 'noBleep' rule bleepin' stinks!
	2: This is a bleepin' free country and I can bleepin' say what I bleepin' want!
	5: Join MY guild: The Kick@ZZ Shiznits! We guard against Snerts!
	3: I got a cool level 99 from my buddy, and now it says I'm a modder!
	4: I made it to level 99 in 3 hours with speedhack!  Man, this game is too easy!
	2: Hey, STOP USING MY DBZ SKIN! IT'S FOR ME ONLY!
	3: Come to MY server - no LAG and no ROOLZ!
	1: Comeon, someone level me, OK?
	2: I think they should let you get to level 10,000!
	3: I'm gonna make my OWN world with ALL NEW QUESTS!  It's gonna be just like FF7!
	1: If you tell me your Golden Soul Activation Code, I will give you special hacked characters!
	2: My copy of MS Paint is broken, will you send me files from your PC?
    2: The file I needed is called Microsoft Wallet.
	3: My copy of MS Paint is broken, too.  Please send me the file called 'Your Credit Card Here'
	1: It's not MY fault I stole his Golden Soul.  He shouldn't have been so naive as to send me a file!
	2: Yeah, it's HIS fault!  let's go ping-attack his server!
	3: Yeah, that'll show him.  How DARE he banish US?
	1: Hey, I used a hack program and the game locked me out!  That's not FAIR!

	4: HEY! Here comes that snert! Let's go rez-kill him!
	MOVE	1, -100, 90
	MOVE	2, -100, 90
	MOVE	3, -100, 90
	MOVE	4, -100, 90
	MOVE	5, -100, 90
END

;--------------
; Equip/Fighting/Hand training
;
SCENE 290 shop, HEAL, "Hand Training", 0, 0
	THEME	0
	MUSIC	#silence
	ACTOR	1,	"Master of the Hand", josh90, 1, 5, 85
	POSE	1,4,2
	MOVE	1,	15, 85
	' I won't mince words with you %2, you %3!
	' I'm here to teach you how to fight! 
	' Let's see what you can do against my little green friend!
@1
	MOVE	1,	45, 75
	FIGHT 1
	IF	ALIVE, @2
	' Bah! You're a weak little %3! 
	' Let me resurrect you and let's try again
	' This time, remember to press the EQUIP button to select your sword first!
	' When your sword cursor is 'smoking' THEN click on the monster!
	' Is that too hard for you to understand, you %3??!!
	' If this is too TOUGH for you, press EXIT or FLEE to run away, you %3!
	GIVE	L1
	GIVE	H5000
	GIVE	M5000
	GOTO	@1
@2	
	MOVE	1,	15, 85
	' HA! *Anyone* can kill one of THOSE, you %3!
	' You may have bought fancy equipment from some shopkeeper.
	' Or maybe you found some after killing a monster.
	' But you have to know how to EQUIP it, or it does you no good!
	' Press the EQUIP button. NOW!
	' That picture up on top, that's YOU!  
	' That shows what YOU'RE EQUIPPED WITH!
	' Down below is a list of all the equipment you're carrying.
	' If you RIGHT-CLICK on the list, you can equip yourself with something else.
	' The equipment with the GREEN PLUS SIGN next to it will make you stronger.
	' The equipment with a RED X is useless to you, unless you train for it.
	' If you have some equipment you can't use, you can SELL it to a shopkeeper.
	' Just RIGHT-Click on the thing you want to sell.
	' Don't try to sell it to ME!
	' Do I look like a SHOPKEEPER?  You %3!
	' Each piece of equipment boosts your ATTACK or DEFENSE points.  Or BOTH!
	' Your TOTAL A/D points are shown up on top.
	' And you look WEAK, you %3!
	' Do you have some GREEN PLUS SIGNS you should be equipping?
	' Only an IDIOT carts around quality equipment and then DOESN'T EQUIP IT!
	' Let's try something more challenging, shall we?
@3
	MOVE	1,	45, 75
	FIGHT 1, 4
	IF	ALIVE, @4
	' Bah! You disgust me, you %3! 
	' But I'll give you another chance anyway!
	' When you KILL a monster, you earn experience points!
	' Enough experience, and you will go up in levels! 
	' But when you die, you LOSE half the experience you've earned towards your next level!
	' If this is too TOUGH for you, press EXIT or FLEE to run away, you %3!
	GIVE	L1
	GIVE	H5000
	GIVE	M5000
	GOTO	@3
@4	
	MOVE	1,	15, 85
	' Not bad, not bad.
	' Maybe there is HOPE for you yet, you %3!
	' As your level goes up, you'll find you get even stronger.
	' But you also need to get some TRAINING for your hand!
	' I say 'hand' because here in Evergreen, everyone starts out as an expert in some hand.
	' Maybe you're a sword-user, a fist-user, or a book-user.
	' I wouldn't KNOW!
	' What do I look like? Someone who CARES?
	' Not likely, you %3!
	' Press the EQUIP button again.
	' Look up on top, see that TRAINING button?
	' That opens your HAND TRAINING screen.
	' You can do this whenever you like.
	' The more trained you are in a hand, the better weapons of that hand's class you can EQUIP!
	' Get it? To equip a level 6 sword, you need to train yourself to  level 6 in the sword HAND!
	' That's simple enough, isn't it, you %3!
	' You get a little training in your HAND each time you use it in battle.
	' But you can also just spend PP on the TRAINING screen to get a quick start.
	' What do you MEAN, "What's PP", you %3!
	' Why, PP is only the most important thing in the world!
	' PP is "Participation Points!"
	' You don't get them for free, either!
	' You have to EARN your PP, you %3!
	' You earn a little PP every time you hit a monster.
	' Watch the PP meter at the bottom left while you hit this big guy
@5
	MOVE	1,	45, 75
	FIGHT 5
	IF	ALIVE, @6
	' Bah! You disgust me, you %3! 
	' But I'll give you ONE more chance!
	' You just lost half your PP when you died, you know!
	' If this is too TOUGH for you, press EXIT or FLEE to run away, you %3!
	GIVE	L1
	GIVE	H5000
	GIVE	M5000
	GOTO	@5
@6	
	MOVE	1,	15, 85
	' OK! I think you're getting the hang of this, you %3!
	' Did you see all the PP you got there?
	' It doesn't matter how much you hurt the monster.
	' It's your PARTICIPATION which counts!
	' It's like your TEAM SPIRIT!
	' I like your spirit, you old %3!
	' A lot of %3s would have run off already, but you got moxie, kid!
	' Now you can use this PP to buy some extra HAND or ELEMENT training.
	' You'll also need it to learn SPELLS if you're into that wimpy magic stuff!
	' Give me a SWORD anyday!
	GIVE T2
	' But if you ARE a sissy, go see my brother about how all that works!
	' You're getting pretty good at fighting though.
	' I think you've got the basics now:
	' 1.) Kill monsters! You get experience and free equipment
	' 2.) Don't die! You lose Experience and Participation points
	' 3.) Equip the green plus sign equipment right away!
	' 4.) Sell equipment you don't need (or give it to a pal)!
	' 5.) Use PP to boost your training in the HANDS you like.
	' We'll make a fighter out of you yet, you old %3!
	' Hey, how bout one more for old times sake?
	GIVE	L1
	GIVE H5000
	GIVE M5000
	MOVE	1,	45, 75
	FIGHT 53
	IF ALIVE, @7
	' wimp! Get out of here!
@7
	MOVE	1,	15, 85
	' Some final words:
	' While your LEVEL makes you stronger in all ways...
	' Your STRENGTH makes your sword more effective...
	' Your STAMINA makes your armor stronger...
	' WISDOM is normally thought of use only to magicians...
	' But with more WISDOM, you will earn greater PP per attack!
	' Make me proud of you, %2, you old %3!
	MOVE	1,	-30, 85
END

;--------------
; spells/elements
;
SCENE 291 bgWaterCave3, HEAL, "Spell Training", 2, 0
	THEME	0
	MUSIC	#silence
	ACTOR	1,	"Master of Magic", josh65, 1, 10, 90
	POSE	1,4,2
	MOVE	1,15, 85

	' Greetings, %2.
	IF T2, @1
	' I feel my teachings will be more effective if first you meet with my brother, Master of The Hand.
	' Go now. Return to me after learning the ways of the HAND.
	END
@1
	' So you wish to become wiser in the ways of magic...
	' As you no doubt know, the use of magic requires mana.
	' At the bottom left, the MP meter shows how much mana you have.
	' If you have none, then I have nothing to teach you.
	' As your level increases, your mana will likewise grow.
	' Of course, some character classes have more natural talent for magic than others.
	' And perhaps you are too old to begin the training.
	' But we shall see.
	' Before we can call upon the mystic ethers of magic, we will need to learn some spells.
	' Press the SPELLS button along the bottom of the window.
	' This is a list of the spells you know.
	' Each spell belongs to one of the eight elements.
	' The spell selector wheel above lets you filter the spell list.
	' It also shows you which elements are most effective against one another.
	' Elements on opposite sides of the wheel have the greatest animosity.
	' Thus Fire hates Water, and Water hates Fire.
	' Most monsters you encounter in the world are themselves bound to an element.
	' Proper selection of spell will be the most valuable decision you can make.
	' To learn a new spell, press the NEW SPELLS button next to the wheel.
	' Learning spells is a difficult task, requiring much PP.
	' A red X next to a spell, means it is above your training in that element.
	' To learn, for example, a level 4 water spell, first you must train yourself to level 4 in the water element.
	' To train yourself in the elements, press the ELEMENT SKILLS button next to the wheel.
	' Training in an element is simple, but requires even more PP.
	' PP, as you will recall, are "Participation Points"
	' You earn them in battle, each time you attempt an attack.
	' Even the greatest mage must begin life as a lowly swordsman.
	' For until you earn a great deal of PP, you will be unable to learn spells.
	' If you are lacking in PP now, go seek training in the skills of the hand.
	' But if you are ready to open your eyes to another universe, select an element and train!
	' I suggest you learn a basic fire spell as soon as possible.
	' Fire will be most effective against this WATER element monster!
@1
	FIGHT 1
	IF ALIVE, @2
	' As I feared, you show little competence in the fine arts.
	' To cast your spell you must press the SPELLS button, select the spell, and then click on the opponent.
	' Your wand will 'smoke' when you are ready to cast your spell.
	' Spells cost mana points, so keep your MP meter full by using Magic Potions.
	' Press EXIT or FLEE to leave this battle now.
	' But if you would like to try again...
	GIVE	L1
	GIVE H5000
	GIVE M5000
	GOTO @1
@2
	' Excellent, though that creature is of low challenge.
	' Since PP is of such importance to a magic user, you are advised to keep your WISDOM up.
	' The greater your wisdom, the more PP you will earn for each attack.
	' Also, wisdom itself makes your castings more powerful.
	' As does your ever increasing level.
	' You will no doubt wish to learn all eight elements to the highest level.
	' But be forewarned that each step you take on the path of learning in one element..
	' ...causes your skill in the opposing elements to decrease ever so slightly.
	' You might do well to specialize in a few related elements before learning all.
	' Again, do not be too proud to learn the ways of the HAND.
	' It might be of use when you least expect it.

	IF S207, @skipGift
	' But here, for being such a good student, please accept this spell as a gift.
	' It is a %S207 spell and might help you when you need it.
	GIVE S207
@skipGift
	MOVE	1,	-30, 85

	
END

;--------------
; pokegatchi
;
SCENE 292 cave1, HEAL, "Pet Training", 2, 0
	THEME	0
	MUSIC	#silence
	ACTOR	1,	"Beast Master", josh94, 1, 10, 90
	POSE	1,4,2
	MOVE	1,15, 85

	OFFER	1000,1001,1002,1003,1008,1009

	' I am the Beast Master!
	' I have lived with the beasts all my life!
	' They trust me, and I trust them!
	' They do my bidding!
	' Perhaps you would do well to learn my techniques.
	' While the ruffian simply slays all monsters he encounters...
	' A beastmaster learns to soothe the monster, ENCHANTING it until it fights alongside him.
	' Once enchanted, the beast may be TAMED.
	' For this, you will need the skills to ENCHANT and TAME, be they magical or physical
	' If you have no such skills, then begone, as no beastmaster can you be.
	' The way of the beastmaster is not simple.
	' For, once tamed, your pets... 
	' your Pokegatchi... must be cared for.
	' Press the EQUIP button now.
	' You will see a button, TRAIN PET and another CALL PET.
	' The first opens your Pokegatchi Training Center.
	' The second summons your current pet to battle.
	' Only one pet may be in battle with you at a time.
	' Though if it dies, or you RECALL it, it returns to the pen.
	' Then you can bring out a different pet.
	' The Pokegatchi Training Center shows your corral on the left.
	' Click on a pet in the corral to make it your current pet.
	' The buttons along the bottom of the training center let you care for your pet.
	' FEED your pet the proper combination of food.
	' Your goal is to keep the pets stomach full of food of the proper diet color.
	' The ideal diet is shown in the idealized facial mood meter for the pet.
	' It varies with the pet's element.
	' Meters show your pets negative adjectives: 
	' WILD - too much of this, and your pet will change sides in battle
	' HUNGRY - keep the stomach full or your pet's hunger will make it wild
	' STUPID - PLAY with your pet and its wisdom will grow.
	' SICKLY - Keep the pet consistently well fed and it's stamina will grow
	' LAZY - Command the pet to run around the corral to boost its agility
	' DIRTY - WASH the pet to keep its dexterity growing
	' ANGRY - don't poke your pet, or let it grow bored
	' SLEEPY - a sleeping pet will recharge its Mana and Hit Points
	' When you first TAME a pet, it's characteristics will be that of a wild monster.
	' But with constant care and attention, its abilities will grow.
	' Soon it will be much stonger than its brethren.
	' But no matter how you care for your pet, it remains a wild beast in its heart.
	' As such, it appreciates elements of its diet which are usually.. provided.. by adventurers.
	' In short, your pet will eat whatever equipment you throw to it.
	' By consuming your cast off armor and weapons, your pet will grow even more powerful.

	' You will probably want to give your pet a name.  You can do that in the Pokegatchi Training center.
	' It will help you tell your pets apart, when they are of the same breed.

	IF GS, @aboutTalk
	' You also might consider buying a GOLDEN SOUL for only a $25 donation.
	' Check out http://www.synthetic-reality.com/donate.htm for details.

@aboutTalk
	' With a Golden Soul, you will be able to talk to your pets.
	' To talk to your pet, simply begin your statement with the pet's name.
	' For example:
	' Binky! Come here!
	ACTOR	2,	"Binky", josh12, 1, -10, 95
	MOVE	2, 20, 95
	WAIT 1
	1: It doesn't really matter what you say to them.
	1: But it makes them happy to hear your voice.
	1: And a happy pet will always come when you call it.
	1: To make your pet leave, use the command "Run" 
	1: Like this:
	1: Binky, run!
	WAIT .5
	MOVE	2, -50, 95

	1: Do you smell that?
	1: Hmm, I have to go wash my pets now.
	1: You'll be a good master, I can tell.
	SOUND "Growl10.wav"
	' I'm coming, Binky.. I'm coming!
	MOVE	1,	-30, 85

END


;--------------
; Recharge/shopping
;
SCENE 293	cave1, HEAL, "Castle Well", 2, 0
	THEME	0
;	MUSIC	waltz2.mid
	ACTOR	1,	"Soul Brother", joshRoyalty, 5, 25, 90
	POSE	5, 5, 13
	SEL		1
	MOVE	1,	15, 80

	IF ALIVE, @skip1
	' You seem to be dead, let me resurrect you.
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
@skip1
	MOVE	1,	10, 75
	GIVE	L1
	GIVE	H5000
	GIVE	M5000 
	OFFER2	0,10

	' Blessings upon you, Soul %2. May your strength return swiftly!

	IF  -T1, @skipQuest
	IF	T3, @skipQuest

	H: Are you the Brother of MacGuyver Castle?
	1: Why, yes I am! Welcome, Soul.
	H: I have a message for you.
	1: Really?  How curious!
	H: It's from the Brother of the Gateway of Dreams.
	1: Oh my!  He is a most devout brother!  What is the message?
	H: He says to tell you that the date of the next meeting has been changed.
	1: Really!  Oh my!  When is it?
	H: Um, he didn't say...
	1: Oh... well, yes, that would be his style..
	1: But, not to worry, I shall check my well for messages.
	1: Thank you for informing me!
	1: You have accomplished your quest well!
	1: I feel I should reward you in some small way...
	1: Perhaps this small bag of gold will be of use to you.
	GIVE	T3			
	GIVE	G1000
	SOUND "kaching.wav"
	1: Perhaps you can convert it into something more useful, like better equipment.

@skipQuest
	' The Masters may have knowledge you seek.  They are here in the castle.
	' But I would be honored to share with you what little I know.
	' Perhaps you are wondering about the row of buttons below.. 
	' Did you notice that their names appear when you point to them?
	' If the SHOP button appears, then you can buy and sell items where you are.
	' I just happen to have a few minor items for sale myself. 
	' Press the SHOP button to see them now.
	' If you see something you would like to buy, just select it and press PURCHASE.
	' Just close the SHOP window when you are done shopping.
	' In case you are wondering what you are already carrying, press the ITEMS button.
	' You can select items on this list to see details about them.
	' If you RIGHT-click on an item, you'll be able to sell it to any shopkeeper.
	' Of course, you won't get the best price for it.  
	' Some items, like health potions, are consumed when used.
	' Other items, like swords and armor, must be EQUIPPED before they will aid you.
	' You can give items to souls you meet in your journey.
	' Just press ITEMS, select the item to be given, then click on your friend.
	' Don't give me anything, please.  I am not allowed to accept.
	' To consume an item, just "give it to yourself."
	' Here is a health potion, if you would like to try it later.
	GIVE I1
	' Of course, you can't do anything while I am blabbering away.
	' Your cursor will 'smoke' when it is OK for you to use an item, weapon, or spell.
	' So why don't I shut up and let you try it.
	' Remember: Click the ITEMS button, then select the health potion, then click on yourself.
	' Return any time, if you need to restore your health
	MOVE	1,	-30, 85

END



;---------------------------------------------------
; we need a comment at the end, or bad things happen


