;coruscant
SCENE 10, coruscantgate
IF T400, @basemap
IF T401, @basemap
IF T403, @basemap
MUSIC Coruscant.mid
ACTOR 1, "Elite Guard", myactors, 10, 25, 100
1: Welcome to Coruscant.
WAIT 3.0
PARTY T402
GOTO LINK 4,0
END
@basemap
GOTO LINK 14,0
END

;dagobah
SCENE 11, dagobah
IF T401, @skip
IF T402, @skip
IF T403, @skip
ACTOR 1, "Master Yoda", myactors, 1, 25, 100
MUSIC Dagobah.mid
H: I'm looking for Master Yoda.
WAIT 2.0
SOUND yoda5.wav
1: Looking?  Found someone you have I would say. Hoo hee hee hee.
WAIT 4.0
H: You mean to tell me you live in this slimy mudhole?
WAIT 4.0
SOUND yoda6.wav
1: Mudhole? Slimy? My home this is!
WAIT 3.0
1: Welcome..
@skip
GOTO LINK 5,0
END

;endor
SCENE 12, endorgate
IF T401, @skip
IF T402, @skip
IF T403, @skip
ACTOR 1, "Wicket", myactors, 6, 25, 100
SOUND ewok1.wav
1: (Welcome to Endor)
WAIT 4.0
@skip
GOTO LINK 6,0
END

;hoth
SCENE 13, hothgate
IF T401, @skip
IF T402, @skip
IF T403, @skip
ACTOR 1, "Rebel Guard", myactors, 11, 25, 100
MUSIC Hoth.mid
1: Ah.. you must be %1, we've been expecting you.
1: Right this way.
@skip
GOTO LINK 7,1
END

;naboo
SCENE 14, naboogate
IF T401, @skip
IF T402, @skip
IF T403, @skip
IF T121, @t121
ACTOR 1, "Jar Jar Binks", myactors, 9, 25, 100
IF T120, @t120
MUSIC Naboo.mid
SOUND jarjar1.wav
1: Ecsqueeeeze me!
WAIT 2.0
H: Oh, hello Jar Jar.
WAIT 2.0
SOUND jarjar2.wav
1: Youssa in big doo doo!
WAIT 2.0
H: Why do you say that?
WAIT 2.0
1: Youssa mus fight dem guys...
WAIT 2.0
1: Thems hava mucho big base!
WAIT 2.0
SOUND jarjar3.wav
1: OUCH, das moui bigo oucho!
WAIT 3.0
1: Good luck %1
@skip
GOTO LINK 8,0
END
@t120
1: Why is you looking at me like dat?
H: I have been sent to return you home Jar Jar.
1: Mesa verry happy to be goin back home!
H: Well I've got some bad news for you...You still must be punished by orders of Boss Nass.
1: Errrr... Isa in big doo doo?
H: I'm afraid so.
H: This may hurt a bit Jar Jar.
1: AHHHHHHHH!
MOVE 1, -50, -50
WAIT 3.0
H: Well, after I teach him a lesson I'll take him back to Boss Nass.
HOST_GIVE T121
@t121
GOTO LINK 8,0
END

;tatooine
SCENE 15, tatooinegate
IF T400, @basetat
IF T401, @basetat
IF T402, @basetat
MUSIC Tatooine.mid
ACTOR 1, "Jawa", 12, 25, 100
SOUND jawa.wav
1: (Unintelligible)
WAIT 3.0
H: I think we can pass...
WAIT 2.0
PARTY T403
GOTO LINK 9,0
END
@basetat
GOTO LINK 15,0
END

;yavin
SCENE 16, yavingate
MUSIC "Yavin IV.mid"
SOUND xwing.wav
ACTOR 1, "Watchman", myactors, 13, 20, 60
1: %1 has arrived!
WAIT 5.0
GOTO LINK 10,0
END

;rebelbase
SCENE 17, hothgate
GOTO LINK 11,0
END

;watto shop
SCENE 18, wattoshop
THEME 0
FX 0
WEATHER 0
ACTOR 1, "Watto", myactors, 14, 30, 100
IF T304,@t304
IF T303,@t303
@t304
IF T301,@t301
IF T300,@t300
@t301
SOUND watto1.wav
1: Mind tricks don't work on me, only money.
WAIT 4.0
SOUND watto2.wav
1: No money, No parts, No deal!
WAIT 2.0
OFFER2  0,20,10, 0,20,11, 0,20,20, 0,20,21, 0,20,22, 0,20,23, 0,20,15,  0,20,0,  0,20,1
END
@t300
H: Tell me what you know about a strange bounty hunter that's been lurking around lately.
1: Ahhhh... You must mean... OH I know who you are looking for.  Jabba's angry eh?
H: Where can I find this man?
1: Hmmmm I could tell you, but you know nothing is free...
1: It'll cost you, give me say........ 3000 GP!
1: Will you pay me what my information is worth? EH? Yes or No?
ASK 30.0
IF YES,@checkmoney
1: You'll never find him without my help, goodbye fool!
WAIT 2.0
GOTO EXIT
END
@checkmoney
IF G3000,@hasmoney
1: Bah, what are you trying to pull on me? Come back with the cash!
WAIT 2.0
GOTO EXIT
END
@hasmoney
1: Good, now you're talking my language
HOST_TAKE G3000
HOST_GIVE T301
1: You need to look in the Cantina on Geonosis...
1: Now get outta here.  You're scaring off the customers!
END
@t303
1: What! What is it this time?
H: I'm looking for something special, a jetpack to shame all others.
1: It was you wasn't it? You stole my jetpack didn't you!
H: I have stolen nothing from you slime!
1: A man came into my shop awhile back and told me that he had seen some Tuscan Raiders with it...
1: I didn't believe him, I could have sworn it was the work of a filthy bounty hunter!
H: You'd better just shut up now you little peice of garbage.
H: I'd might just decide to kill you here and now...
1: Leave me alone, get out of my shop!
HOST_GIVE T304
GOTO EXIT
END


;emperor
SCENE 19 emperor
MUSIC emperor-arrives.mid
ACTOR 1, "Darth Sidious", myactors, 17, 53, 53
HOST_GIVE I95
@saidno
SOUND palp1.wav
1: Everything is proceeding as I have foreseen.
WAIT 4.0
H: I have pledged to do your bidding!
WAIT 3.0
SOUND palp2.wav
1: So be it, "Jedi"!
WAIT 4.0
H: The jedi are weak.
WAIT 2.0
SOUND palp3.wav
1: From here you will witness the final destruction of the alliance, and the end of your insignificant rebellion.
WAIT 6.0
1: You must destroy all who oppose me!
1: Will you join us?
ASK 30.0
IF YES,@continue
GOTO @saidno
END
@continue
IF T3, @gotmoney
1: Your efforts will not go unrewarded.
1: Take this...(5000 G)
HOST_GIVE T3
HOST_GIVE T401
HOST_GIVE G5000
1: See my apprentice Darth Maul for a suitable weapon.
@gotmoney
1: Go now and destroy our enemies!
WAIT 3.0
END
;