;------------------Quest 1, The Fire Boots-------------------
SCENE 10		shop
	ACTOR 1,	"Mercurian Elder", actorskins 5, 15, 65
	ACTOR 2,	"Elder's son", actorskins 4, 1, 99
	IF T18, @skipquest
	IF T17, @doll
	IF T15, @morescales
	IF T12, @alreadytoldhim
	IF T11, @dragon
	IF T10, @alreadytoldhim
	1: Hello, who are you?
	2: So... Hot...
	1: It's okay son, we'll find someway to overcome this heat.
	1: If only we had some fire boots...
	H: My name is %1
	1: Hi, %1.
	1: As you can see, our planet is a barren wasteland, with only a small habitable area.
	1: We desperately need fire boots.
	1: But we also need to know how to make them, so everyone can have a pair.
	1: Will you help us?
	ASK 20
	IF -YES, @saidno
	1: Thank You!
	1: I know a bootmaker that lives on Luna, the moon of Earth.
	1: Maybe he can help!
	GIVE T10
	END
@alreadytoldhim
	1: Go see the bootmaker!
	END
@saidno
	2: Hot... Need... Boots... Please...
	1: It's okay son, we can find someone else to help us.
	1: Get out of here, %1 you %3!
	END
@dragon
	1: Hi %1
	2: Did you get the secret... (gasp)
	ASK 20
	IF -YES, @saidno2
	H: You need a Fire Dragon's scale.
	1: Hmm...
	2: Daddy... Venus!
@alreadytoldhim2
	1: That's right! A horrible Dragon lives on Venus.
	1: I'm sure you can kill it, %1!
	GIVE T12
	END
@saidno2
	1: Well keep looking!
	END
@morescales
	1: One pair, huh?  And he told you how to make them?
	2: Yay!
	1: Don't celebrate yet, son, we need more scales.
	2: ahhhh,(cough)
	1: Say. %1, I have an idea.
	1: Go back to Venus and capture the dragon.
	1: we can keep him in jail and use his scales.
	GIVE T16
	END
@doll
	1: Yes! Excellent job, %1!!
	2: Fire boots for everyone!!!
	1: Here, take this fine handcrafted Penguin Doll.
	GIVE I180
	GIVE T18
	SEL		1
	MOVE	1, -15, 65
	SEL		2
	' It's Magical!
	MOVE	2, -15, 99
	END
@skipquest
	1: Hi, %1!
	2: Hi, %1!
	1: We can't express our gratitude to you!
	2: Yay! %1!
	END

;-----------------------------------------------------------

SCENE 11		bazaar
	ACTOR 1,	"Pavel", joshtownsfolk 21, 10, 80
	SEL		1
	POSE 21, 22
	IF T14, @skipall
	IF T13, @brother
	IF T10, @quest
	' Sorry, I'm currently out of stock
	END
@quest
	' Hello, is there anything you need in particular?
	WAIT 2.0
	' Fire Boots?
	' Hmm...
	' Yep! I know how to make 'em.
	' You need the scale of a Fire Dragon first, though.
	GIVE T11
	END
@brother
	' Ahh, you got a scale.
	' That's all well and good, but I no longer have the neccesary skill to forge the boots.
	' I have a brother that lives on Earth.
	' Maybe he can help.
	GIVE T14
	MOVE -15, 80
	END
@skipall
	' Hey, how ya doin'?
	' I just got restocked, so shop till you drop!
	OFFER2 10, 30, 20
	END

;-------------------------------------------------------

SCENE 12		bgwatercave3
	IF T17, @empty
	IF -T12, @empty
	ACTOR 1,	"Dragon", josh42 1, 15, 50
	SEL		1
	IF T16, @family
	' So you want a scale, huh?
	' You'll have to fight me to get it!
	MOVE	1, -15, 50
	MUSIC Boss.mid
	WAIT 7.0
	FIGHT 210
	IF WON, @scale
	MOVE	1, 15, 50
	' HA! Pathetic!
	' You couldn't hurt a fly if you tried, you %3!
	END
@scale
	MOVE	1, 15, 50
	' Humph!
	' Fine, take a scale.
	' You're still a %3, %1, you %3.
	GIVE T13
	END
@family
	MOVE	1, 14, 50
	' Mommy!  Daddy!  It's that mean old bully %1 that beat me up and took my scale!
	' He's such a %3, please beat him up for me!
	WAIT 5.0
	MUSIC Boss2.mid
	MOVE	1, 15, 50
	FIGHT 211, 211
	IF WON, @mercury
	' heeheehee, good work mom and dad!
	' You showed that %3 %1 who's boss!
	END
@mercury
	H: Better get these dragons to Mercury, they can keep them in jail and use their scales!
	GIVE T17
	END
@empty
	N: The cave is empty.
	END

;-------------------------------------------------------

SCENE 13		bazaar
	ACTOR 1,	"Peter", joshtownsfolk 21, 10, 80
	IF T15, @sell
	IF -T14, @skip
	1: I see my brother Pavel sent you.
	1: So you need Fire Boots?
	1: Well, I'll just have to test you first.
	WAIT 2.0
	1: There will be three questions.(CaPiTaLiZaTiOn counts!)
	1: Question the First:
	1: What is my name?
	ASK 20
	IF -Peter, @wrong
	1: Right!
	WAIT 2.0
	1: Question the Second:
	1: What is my brother's name?
	ASK 20
	IF -Pavel, @wrong
	1: Right!
	WAIT 2.0
	1: Question the Third:
	1: Knock, Knock
	H: Who's there?
	1: Who do you think?
	1: 1=Peter, 2=Pavel, 3=Fire boots
	ASK 20
	IF Q3, @boots
@wrong
	1:Wrong!
	SEL		1
	MOVE -15, 40
	END
@boots
	1: Right!
	1: You've earned these boots!
	GIVE I702
	GIVE T15
	END
@skip
	1: Sorry, I'm currently out of stock.
	END
@sell
	1: Check out my new supply of handmade boots!
	OFFER2 25, 50, 20
	WAIT 5.0
	1: You know, %1, I could sell you some of my special stock...
	1: They're a tad expensive, however...
	1: Do you want to buy some?
	ASK 20
	IF -YES, @end
	1: Great!
	OFFER 700, 702, 703, 704
	GOTO @end
@end
	END