SCENE 30 throne
ACTOR 1, "Nute Gunray", myactors, 20, 25, 100
HOST_GIVE I95
@saidno
1: Ahhh, %1, I've been waiting for you.
1: Naturally, You have come to join us.
1: We'll blockade all planets not allowing us rights to exclusive trade.
WAIT 4.0
SOUND nute1.wav
1: As you know, our blockade is perfectly legal.
WAIT 3.0
SOUND nute2.wav
1: We would never do anything without the approval of the senate.
WAIT 3.0
1: So, do you still wish to join us?
ASK 30.0
IF YES, @continue
GOTO @saidno
END
@continue
IF T7, @gotmoney
1: Your help is appreciated.
1: Take this.
HOST_GIVE T7
HOST_GIVE T402
HOST_GIVE G5000
1: Five thousand credits to buy some equipment.
@gotmoney
1: Fight for our victory...
SOUND nute3.wav
1: Ahh victory!
END

SCENE 31 jedicouncil
ACTOR 1, "Rune Haako", myactors, 21,25,100
@begin
IF T8, @continue
1: Would you like to learn the skills we've obtained?
ASK 30.0
IF -YES, @begin
HOST_GIVE T8
@continue
SOUND rune1.wav
1: Are you braindead?
WAIT 2.0
1: You've gotta train if you wanna beat Jedi!
GIVE	L1
GIVE	H5000
GIVE	M5000
WAIT 2.0
1: What would you like to practice?
1: (Right-Click me to train in your skills)
@eventActorClick1
1: Which skill do you wish to learn?
MENU "Federation Skills=@train1"
END

@train1
IF T350, @skip1
COMPARE #<num.hostLevel>,9
IF<, @notready 
HOST_GIVE S11
HOST_GIVE T350
1: Good you have mastered Simple Fix!
WAIT 3.0
END

@skip1
IF T351, @skip2
COMPARE #<num.hostLevel>,19
IF<, @notready
HOST_GIVE S12
HOST_GIVE T351
1: Good you have mastered Shock
WAIT 3.0
END

@skip2
IF T352, @skip3
COMPARE #<num.hostLevel>,29
IF<, @notready
HOST_GIVE S13
HOST_GIVE T352
1: Good you have mastered Power Up!
WAIT 3.0
END

@skip3
IF T353, @skip4
COMPARE #<num.hostLevel>,39
IF<, @notready
HOST_GIVE S14
HOST_GIVE T353
1: Good you have mastered Convert!
WAIT 3.0
END

@skip4
IF T354, @skip5
COMPARE #<num.hostLevel>,49
IF<, @notready
HOST_GIVE S15
HOST_GIVE T354
1: Good you have mastered Average Fix!
WAIT 3.0
END

@skip5
IF T355, @skip6
COMPARE #<num.hostLevel>,59
IF<, @notready
HOST_GIVE S16
HOST_GIVE T355
1: Good you have mastered Weaken!
WAIT 3.0
END

@skip6
IF T356, @skip7
COMPARE #<num.hostLevel>,69
IF<, @notready
HOST_GIVE S17
HOST_GIVE T356
1: Good you have mastered Complex Fix!
WAIT 3.0
END

@skip7
IF T357, @skip8
COMPARE #<num.hostLevel>,79
IF<, @notready
HOST_GIVE S18
HOST_GIVE T357
1: Good you have mastered Recruit!
WAIT 3.0
END

@skip8
IF T358, @skip9
COMPARE #<num.hostLevel>,89
IF<, @notready
HOST_GIVE S19
HOST_GIVE T358
1: Good you have mastered Repair!
WAIT 3.0
END

@skip9
IF T359, @skip10
COMPARE @<num.hostLevel>,00
IF=, @finish
GOTO @notready
@finish
HOST_GIVE S20
HOST_GIVE T359
1: Good you have mastered Electro Seize!
WAIT 3.0
END

@skip10
1: You have learned all that I can teach you.
WAIT 2.0
END

@notready
1: %1, you must train yourself harder.
1: I can help you no more at this time
END


SCENE 32 coruscantgate
ACTOR 1, "TC-14", myactors, 22, 29, 96
SOUND tc14.wav
1: I'm TC-14 at your service, this way please.
WAIT 3.0
1: What do you require?
OFFER2  0,20,10, 0,20,11, 0,20,20, 0,20,21, 0,20,22, 0,20,23, 0,20,14,  0,20,0,  0,20,1
END

SCENE 33 Geonosisshop
ACTOR 1, "Shopkeeper", myactors, 22, 29, 96
GIVE	L1
GIVE	H5000
GIVE	M5000
1: What would you like to buy?
OFFER 8,27,236,237,238,239,286,287,288,289,318,319,418,419,518,519,618,619,836,837,838,839,936,937,938,939,986,987,988,989
END

SCENE 34 geonosisfight
FLAGS 2176
SOUND cheering.wav
WAIT 2.0
N: FIGHT!!!
SOUND cheering.wav
WAIT 2.0
N: Prove your skill!
SOUND cheering.wav
WAIT 2.0
FIGHT 1
IF DEAD,@dead
FIGHT 6
IF DEAD,@dead
FIGHT 11
IF DEAD,@dead
FIGHT 16
IF DEAD,@dead
FIGHT 2
IF DEAD,@dead
FIGHT 7
IF DEAD,@dead
FIGHT 12
IF DEAD,@dead
FIGHT 17
IF DEAD,@dead
FIGHT 3
IF DEAD,@dead
FIGHT 8
IF DEAD,@dead
FIGHT 13
IF DEAD,@dead
FIGHT 18
IF DEAD,@dead
FIGHT 4
IF DEAD,@dead
FIGHT 9
IF DEAD,@dead
FIGHT 14
IF DEAD,@dead
FIGHT 19
IF DEAD,@dead
FIGHT 5
IF DEAD,@dead
FIGHT 10
IF DEAD,@dead
FIGHT 15

IF DEAD,@dead
FIGHT 20
N: So you're not a complete weakling...
N: That means nothing, did you enjoy the warm up?
SOUND cheering.wav
WAIT 2.0
IF DEAD,@dead
FIGHT 21
IF DEAD,@dead
FIGHT 22
IF DEAD,@dead
FIGHT 23
IF DEAD,@dead
FIGHT 24
IF DEAD,@dead
FIGHT 25
IF DEAD,@dead
FIGHT 26
IF DEAD,@dead
FIGHT 27
IF DEAD,@dead
FIGHT 28
IF DEAD,@dead
FIGHT 29
IF DEAD,@dead
FIGHT 30
IF DEAD,@dead
FIGHT 31
IF DEAD,@dead
FIGHT 32
IF DEAD,@dead
FIGHT 33
IF DEAD,@dead
FIGHT 34
IF DEAD,@dead
FIGHT 35
IF DEAD,@dead
FIGHT 36
IF DEAD,@dead
FIGHT 37
IF DEAD,@dead
FIGHT 38
IF DEAD,@dead
FIGHT 39
IF DEAD,@dead
FIGHT 40
IF DEAD,@dead
FIGHT 41
IF DEAD,@dead
FIGHT 42
IF DEAD,@dead
FIGHT 43
IF DEAD,@dead
FIGHT 44
SOUND cheering.wav
WAIT 2.0
N: Good, you fight well.
N: But can you survive these battles?
SOUND cheering.wav
WAIT 2.0
IF DEAD,@dead
FIGHT 45
IF DEAD,@dead
FIGHT 46
IF DEAD,@dead
FIGHT 47
IF DEAD,@dead
FIGHT 48
IF DEAD,@dead
FIGHT 49
IF DEAD,@dead
FIGHT 50
IF DEAD,@dead
FIGHT 51
IF DEAD,@dead
FIGHT 52
IF DEAD,@dead
FIGHT 53
IF DEAD,@dead
FIGHT 54
IF DEAD,@dead
FIGHT 55
IF DEAD,@dead
FIGHT 56
IF DEAD,@dead
FIGHT 57
IF DEAD,@dead
FIGHT 58
IF DEAD,@dead
FIGHT 59
IF DEAD,@dead
FIGHT 60
SOUND cheering.wav
N: Bravo %1, Bravo!
N: A fighter such as you has not been seen in this arena for many moons.
N: I hereby present you this medal of conquest.
N: You are now allowed to buy the finest headgear in the galaxy at the Galactic Helms shop.
HOST_GIVE T50
END
@dead
N: Sorry, try again when you're stronger!
END

SCENE 35 Geonosisshop
ACTOR 1, "Shopkeeper", myactors, 22, 29, 96
IF T50, @okay
1: You must prove your worth in the Warrior's Arena to shop here...
END
@okay
1: Welcome brave one. What would you like?
OFFER 240,241,242,243 
END

SCENE 36 Geonosisshop
ACTOR 1, "Shopkeeper", myactors, 22, 29, 96
IF T51, @t51

COMPARE #<KM.21>,9
IF> , @mon1done
1: You'll have to fight more %M21 to earn the right to shop here.
END
@mon1done

COMPARE #<KM.22>,9
IF> , @mon2done
1: You'll have to fight more %M22 to earn the right to shop here.
END
@mon2done

COMPARE #<KM.23>,9
IF> , @mon3done
1: You'll have to fight more %M23 to earn the right to shop here.
END
@mon3done

COMPARE #<KM.24>,9
IF> , @mon4done
1: You'll have to fight more %M24 to earn the right to shop here.
END
@mon4done

COMPARE #<KM.25>,9
IF> , @mon5done
1: You'll have to fight more %M25 to earn the right to shop here.
END
@mon5done

COMPARE #<KM.26>,9
IF> , @mon6done
1: You'll have to fight more %M26 to earn the right to shop here.
END
@mon6done

COMPARE #<KM.27>,9
IF> , @mon7done
1: You'll have to fight more %M27 to earn the right to shop here.
END
@mon7done

COMPARE #<KM.28>,9
IF> , @mon8done
1: You'll have to fight more %M28 to earn the right to shop here.
END
@mon8done

COMPARE #<KM.29>,9
IF> , @mon9done
1: You'll have to fight more %M29 to earn the right to shop here.
END
@mon9done

COMPARE #<KM.30>,9
IF> , @mon10done
1: You'll have to fight more %M30 to earn the right to shop here.
END
@mon10done

COMPARE #<KM.31>,9
IF> , @mon11done
1: You'll have to fight more %M31 to earn the right to shop here.
END
@mon11done

COMPARE #<KM.32>,9
IF> , @mon12done
1: You'll have to fight more %M32 to earn the right to shop here.
END
@mon12done

COMPARE #<KM.33>,9
IF> , @mon13done
1: You'll have to fight more %M33 to earn the right to shop here.
END
@mon13done

COMPARE #<KM.34>,9
IF> , @mon14done
1: You'll have to fight more %M34 to earn the right to shop here.
END
@mon14done

COMPARE #<KM.35>,9
IF> , @mon15done
1: You'll have to fight more %M35 to earn the right to shop here.
END
@mon15done

COMPARE #<KM.36>,9
IF> , @mon16done
1: You'll have to fight more %M36 to earn the right to shop here.
END
@mon16done

COMPARE #<KM.37>,9
IF> , @mon17done
1: You'll have to fight more %M37 to earn the right to shop here.
END
@mon17done

COMPARE #<KM.38>,9
IF> , @mon18done
1: You'll have to fight more %M38 to earn the right to shop here.
END
@mon18done

COMPARE #<KM.39>,9
IF> , @mon19done
1: You'll have to fight more %M39 to earn the right to shop here.
END
@mon19done

COMPARE #<KM.40>,9
IF> , @mon20done
1: You'll have to fight more %M40 to earn the right to shop here.
END
@mon20done

COMPARE #<KM.41>,9
IF> , @mon21done
1: You'll have to fight more %M41 to earn the right to shop here.
END
@mon21done

COMPARE #<KM.42>,9
IF> , @mon22done
1: You'll have to fight more %M42 to earn the right to shop here.
END
@mon22done

COMPARE #<KM.43>,9
IF> , @mon23done
1: You'll have to fight more %M43 to earn the right to shop here.
END
@mon23done

COMPARE #<KM.44>,9
IF> , @mon24done
1: You'll have to fight more %M44 to earn the right to shop here.
END
@mon24done

1: It seems you've become a master hunter.
HOST_GIVE T51
1: You may now shop here.
@t51
1: What would you like to buy?
OFFER 290,291,292,293
END


SCENE 37 geonosisfight
ACTOR 1, "Beast Trainer", "myactors", 22, 60, 70
COMPARE #<num.hostPets>, 0
IF> @hasPet
1: This is Beast Training.
1: It is exclusively for trained beasts.
1: Return when you have tamed one.
END
@hasPet
FLAGS	1024
IF T63, @t63
1: You have much to prove trainer.
1: Training a beast requires much time and effort.
1: It is all about effort.
1: Your training skills will be tested here.
1: You may heal your beast units as you like.
1: But only they may fight.
@beginning 

FIGHT 5
IF DEAD, @dead
HOST_GIVE T53

1: %T53
1: But that means little.
1: Try this one.
WAIT 3
FIGHT 24
IF DEAD, @dead
HOST_GIVE T54

1: %T54
1: Not bad
1: How about another?
WAIT 3
FIGHT 28	
IF DEAD, @dead
HOST_GIVE T55

1: %T55
1: A decent accomplishment
1: But now we pick it up a little.
WAIT 3
FIGHT 32

IF DEAD, @dead
HOST_GIVE T56

1: %T56
1: Perhaps armor is your weakness?
WAIT 3
FIGHT 36
IF DEAD, @dead
HOST_GIVE T57

1: %T57
1: Hmmmm, interresting.
1: Try this.
WAIT 3
FIGHT 40
IF DEAD, @dead
HOST_GIVE T58

1: %T58
1: You suprise me.
WAIT 3
FIGHT 53
IF DEAD, @dead
HOST_GIVE T59

1: %T59
1: Here is an opponent worthy of you.
WAIT 3
FIGHT 48
IF DEAD, @dead
HOST_GIVE T60

1: %T60
1: Surely, your support will be defeated here.
WAIT 3
FIGHT 69,70,71
IF DEAD, @dead
HOST_GIVE T61

1: %T61
1: But now you must face my most horrible opponents!
WAIT 3
FIGHT 64,65
IF DEAD, @dead
HOST_GIVE T62

1: You have defeated my mightiest beasts!
1: It is with great honor, that I bestow..
1: upon you... AND your loyal beasts...
HOST_GIVE I180
HOST_GIVE T63
@t63
1: You may shop now here at Galactic Guards. You've earned it.
OFFER 840,841,842,843
1: Say "Yes" to restart the battles.
1: Do you wish to begin again?
ASK 3000
IF YES, @restart
1: Then farewell beast master.
END

@restart
1: You are a brave beast master indeed.
1: I hereby revoke your beast master status!
HOST_TAKE T52
HOST_TAKE T53
HOST_TAKE T54
HOST_TAKE T55
HOST_TAKE T56
HOST_TAKE T57
HOST_TAKE T58
HOST_TAKE T59
HOST_TAKE T60
HOST_TAKE T61
HOST_TAKE T62
1: Let us begin again...
WAIT 2
GOTO @beginning

@dead
1: Your beast sucks!
1: You suck!
1: Come back when you are ready.
END


SCENE 38 geonosisfight
ACTOR 1, "Master Assassin", "myactors", 10, 25, 100
GOTO @checkpks
@gotpks
1: You have killed #<num.hostPKs> of your enemies.
COMPARE #<yourpks>,24
IF>, @qualify
1: You need to kill 25 player enemies to shop here.
END
@qualify
1: You've done well to kill that many enemies.
1: You are worthy of shopping here.
HOST_GIVE T64
1: What would you like to buy?
OFFER 990,991,992,993
END

@checkpks
SET mypks, "#<num.hostPKs>"
COMPARE #<mypks>,4
IF> , @over10pks
SET yourpks, 0
GOTO @gotpks
END
@over10pks
COMPARE #<mypks>,9
IF> , @over20pks
SET yourpks, 5
GOTO @gotpks
END
@over20pks
COMPARE #<mypks>,14
IF>, @over30pks
SET yourpks, 10
GOTO @gotpks
END
@over30pks
COMPARE #<mypks>,19
IF>, @over40pks
SET yourpks, 15
GOTO @gotpks
END
@over40pks
COMPARE #<mypks>,24
IF>, @over50pks
SET yourpks, 20
GOTO @gotpks
END
@over50pks
SET yourpks, 25
GOTO @gotpks
END

SCENE 39 geonosisshop
ACTOR 1,"Therapy Droid",myactors,22,25,100
1: Would you like to erase your memories %1?
1: You may forget everything you've done up to this point.
1: Think carefully, then choose well. (Yes or No)
ASK 30
IF YES,@saidyes
1: As you wish, return to me when your memories are troubling you.
END
@saidyes
1: You will also LOSE the ability to get force shards from your quests, you should be done with them before doing this.
1: Erasing your memory BEFORE you finish all quests could limit the number of force shards you could earn, but not buy
1: Are you absolutely sure you would like to start your journey over?
ASK 30
IF YES,@saidyes2
1: As you wish, return to me when your memories are troubling you.
END
@saidyes2
1: You asked for it!
SOUND agony.wav
SOUND blaster.wav
SOUND saber.wav
SOUND saber2.wav
SOUND pain2.wav
SOUND pod3.wav
SOUND leia2wav
SOUND vader2.wav
SOUND jabba2.wav
SOUND nute.wav
SOUND rogerroger.wav
SOUND agony.wav
SOUND obiwan1.wav
HOST_TAKE T100
HOST_TAKE T101
HOST_TAKE T102
HOST_TAKE T103
HOST_TAKE T104
HOST_TAKE T105
HOST_TAKE T106
HOST_TAKE T107
HOST_TAKE T108
HOST_TAKE T109
HOST_TAKE T110
HOST_TAKE T111
HOST_TAKE T112
HOST_TAKE T113
HOST_TAKE T114
HOST_TAKE T115
HOST_TAKE T116
HOST_TAKE T117
HOST_TAKE T118
HOST_TAKE T119
HOST_TAKE T120
HOST_TAKE T121
HOST_TAKE T122
HOST_TAKE T123
HOST_TAKE T124
HOST_TAKE T125
HOST_TAKE T126
HOST_TAKE T127
HOST_TAKE T128
HOST_TAKE T150
HOST_TAKE T151
HOST_TAKE T152
HOST_TAKE T153
HOST_TAKE T154
HOST_TAKE T155
HOST_TAKE T156
HOST_TAKE T157
HOST_TAKE T158
HOST_TAKE T159
HOST_TAKE T160
HOST_TAKE T161
HOST_TAKE T162
HOST_TAKE T163
HOST_TAKE T164
HOST_TAKE T165
HOST_TAKE T166
HOST_TAKE T167
HOST_TAKE T168
HOST_TAKE T169

HOST_GIVE T65
1: Good luck, %1.
END
;