;Everspace World Script File
;Copyright Dan Miller 2001
;WoS Gaming Engine Copyright Synthetic-Reality
; PLEASE do not read this until completing the Everspace Game.
; It could not possibly help you enjoy the game any more, and could
; possibly mark you as a 'modder' within the game.
;-------------------

+CREDITS
EVERSPACE
By Dan "Merlin" Miller


ART
Skins by Dan "Merlin" Miller, MJ, and Andrew "Hemigoblin" Lambert, with some exceptions (see the actual skin files for credits).
Attack Paths, Magical Effects, hulls, and numerous renovations by John "Jacius" Croisant
Scenes, Maps, and Splash's by Dan "Merlin" Miller

TECHNICAL SUPPORT
Pablo "Leniad" Daniel did the original TAKE script, and helped me stumble through many bugs in my code.
Mike "Cactrot" Sloan rewrote alot of my scenes so that they were coherent, a little common sence allways helps!
Many thanks to both of them!
Sherwood "Dwazzue" Robinson gave me a server for most of the original releases of the game, many thanks to him!
Ebag333 Gave me hosting for my world and website for most of the original releases of the game, many thanks to him as well!

ALPHA TESTER
Many, many, many thanks go to Eric Miller for testing out the original (and beta) versions of my game.
Without him, Everspace would not be as far as it is today.

BETA TESTERS
Many, many thanks go to these people for catching the numerous bugs in my world and bugging me until I fixed them:
Casey
Nemi
Hemigoblin
F'nok
Guppyman
Mikeanike
Ebag
Malkor
Rykin

WoS was made by Synthetic-Reality.com, many thanks go to Dan Samuel for making such a excellent game!

Notes:
I would like to thank Dave King for the picture of the "Alien Artifact", which I was forced to edit his name out of, as well as edit a little bit.
I would like to thank Miroslav Mirre Plancak for the Shield shops background picture.
Thanks to my family, who let me stay secluded in my cove for hours on end with only minimal nagging.

And, finally, thank you, for playing the game.

-Dan "Merlin" Miller
-CREDITS


;
;--------------
; STORY Section
; This has the 'back story' which scrolls by at the very beginning.  Most people will
; skip over this.  
; a line of text beginning with | will be centered, otherwise text is left-justified.
; Each line of text will be its own paragraph, which will word-wrap nicely (we hope)
; within paragraphs.
; don't be TOO long-winded here or people will get irritated.
; note that leading spaces in a paragraph are significant and would cause the first line
; to be indented.
;
; Special commands, one per line, control text which follows
;
; :C red,green,blue			set text color (as in ":C 255,0,0" for bright red)
; :S size					set text size  (200 is 'normal')
; :F fontName				set text font name  (use ":F  " to restore default font

+STORY
:S 200
:C 255,255,0
|Everspace
:S 75
:C 255,255,255
|by Dan "Merlin" Miller
|~~~ 
:F Arial Italic
:S 75
:C 250,250,250
| "The Universe was in chaos.  Rebbellions, mysterious powers, and warps were opening all around.  War haunted every soul, everyone knew the end was near."
- An excerpt from "Everspace"

-STORY

;---------------------
; TERRAINS Section
; Up to 10 terrains (0-9) may be defined and then 'painted' onto maps.  Characters must
; possess the correct equipment to cross certain terrains.  Terrain 0 is always cross-able
; by all characters.
;
;	arg0	the terrain ID  0-9
;   arg1	the name of the terrain (keep it short, it shows up on the terrain editor palette)
;	arg2	the damage inflicted on a character when walking on this terrain (negative heals)
;
+TERRAINS
;	arg0	arg1				arg2
;
	0,		"No Hindrance",		0
	1,		"Sun-Zone",				0
	2,		"Desert.. No Water!",		1
	3,		"Electric-Barrier",					0
	4,		"Deep Water",		0
	5,		"Level 1",					0
	6,		"Level 2",					0
	7,		"Level 3",					0
	8,		"Healing",			-10
	9,		"Impassable",		0
-TERRAINS

+MAPS

;
; The actual map definitions are in this file, which is created by the New World Wizard:
;
#include maps.txt

-MAPS
;------------------------------------------------------------------------------------

#include tokens.txt

;---------------------
;         0
;      7  |  1
;       \ | /
;    6 ---+--- 2
;       / | \
;      5  |  3
;         4


+ELEMENTS
;	arg0	arg1				
;
	0,		"Defencive Skills"		
	1,		"---Level"			
	2,		"---Level"			
	3,		"---Level"			
	4,		"Offencive Skills"		
	5,		"---Level"		
	6,		"---Level"		
	7,		"---Level"	
-ELEMENTS

;-----------------------
; HANDS section
;	arg0	The ID of the 'hand' which strangely enough is numbered 0-7 even though
;			elsewhere it is referred to as 1-8, so I expect to needlessly confuse
;			you about this.
;	arg1	The name of the weapon class.  Note that each character class starts
;			off able to use only one of these classes.
;	arg2	The 'range' of the weapons class.  This should be a number in the range
;			0-100 which represents the distance at which EQUIP attacks WILL NOT MISS. A
;			small range circle will be drawn at your feet when you have the EQUIP
;			list selected and it is your turn to fight.
;
; 	arg0	arg1
;	ID		Name

+HANDS
; arg0		arg1		arg2
;
	0,		"Solar Weapons",	70
	1,		"Flak Weapons",		80
	2,		"Do not Click here!",		100		
	3,		"Light Lasers",	20
	4,		"Advanced Weapons",		100	
	5,		"Do not Click here!",	0
	6,		"Do not Click here!",	0
	7,		"Do not Click here!",	0
							
-HANDS


+ITEMS

; The actual item definitions, and documentation, are in this file:
#include items.txt

-ITEMS


+SPELLS

; actual spell definitions, and documentation, are in this file:
#include spells.txt

-SPELLS


+MONSTERS

; actual monster definitions, and documentation, are in this file:
#include monsters.txt

-MONSTERS


+GROUPS

; actual groups, and documentation, are in this file
#include groups.txt

-GROUPS


+LEVELS

; actual character classes, levels, and documentation are in this file
#include levels.txt

-LEVELS

+EQUIP
;	arg0	arg1
;	ID		Name

  	0,		"Cockpit"
 	1,		"Hull"
 	10,		"Engine"
 	11,		"Shield"
 	12,		"Upgrade"
 	13,		"Device"
-EQUIP
;-----------
;  GOTO EXIT
;
; This command causes the players to be booted from the scene and back to the map, as if the
; scene host pressed their (camp) EXIT button.
;
;-----------
;  GOTO LINK <map number>, <link number>, <dropin code>
;
; This command actually moves the character to a position just above the specified link on the specified map.
; For example:
;
;     GOTO LINK 0,0
;
; On evergreen, this would take you on top of the gateway link on the main map.
;
; The third argument (dropin code), if present and non-zero, causes the player to drop 'into' the link
; after arriving.  What happens after that is a function of the link in question (might do nothing, might
; go into a scene, might link to a whole different map)
;
; So:
;
;     GOTO LINK 0,0,1
;
; On evergreen, this would move the player to just above the gateway link on the main map, and then drop the
; player INTO the gateway (scene).  When the player exited that scene, they would be on the main map just
; above the gateway.
;
;--------------
; The condition IDs supported are:
;
;	  Tnn		player has token nn (from TOKENS table)
;     Snn		player has spell nn (from SPELLS table)
;     Inn		player has item nn (from ITEMS table)
;     Gnn		Player has at least nn gold pieces
;	  Rnn		Random Number (nn = 00-99, represents percent chance of TRUE)
;     WIN		Player won last fight in this scene (after FIGHT scene command)
;     LOSE		player lost last fight in this scene
;     ALIVE		player is alive
;     DEAD		player is dead
;     YES		player answered YES to last ASK scene command
;     NO		player answered NO to last ASK scene comman
;     Qword		player answered 'word' to last ASK scene command ('word' cannot have spaces)
;	  Cn		true if player is of character class 'n'
;     Vnn  		true if player's level is greater than or equal to nn
;
;--------------
; The percent sign symbol (%) is used as a special character.  The number following it lets you
; stick in real-time information about the current players.
;
;		%0 - speaking character's name
;		%1 - server player name (player hosting the scene)
;		%2 - client name (each client sees his or her own name)
;		%3 - a random insult name "stupid maggoty rat-face"
;		%4 - name of the last person to type in chat
;		%5 - name of last person who typed YOUR NAME at start of chat line
;		%In - name of ITEM n
;		%Sn - name of SPELL n
;		%Mn - name of MONSTER n
;		%Tn - token name n
;       %L  - level name of scene host ("emperor")
;       %Ln - level name for level n of scene host's class
;       %L-1 - level number of scene host ("99")
;   	%C  - class name of scene host ("magic-user")
;       %Cn - class name of class n (starting at 1) from world level tables.
;       %% - inserts a single visible percent sign
;
;-----------
;	OFFER2	<minLevel>,<maxLevel>{,itemClass} - displays a SHOP which offers all defined items between the two levels (with non-zero prices)
;			note: only the first 50 or so qualifying items will make it, so don't try for one store to sell EVERYTHING
;			the optional third argument limits it to items of the specified class.
;
; This newer form of the OFFER command is good for shops which provide a large number of items
; of a particular class.  For example, all boots between level 5 and 10 would be:
;
;      OFFER2 5, 10, 20
;
; Where the class number (20 for boots) is set in the ITEMS table 'class' column.
;
; You can have your store sell several classes  of items at the same time, by including the correct
; three numbers for each class: <minLevel>,<maxLevel>,<itemClass>
;
; As in:
;
;      OFFER2 5,10,20,  5,10,21,  1,10,22
;
; This would offer all class 20 items between levels 5 and 10, all class 21 items between levels
; 5 and 10, and all class 22 items between levels 1 and 10.  (the level limits are inclusive)
;
;-----------
;   GAME 1	- The slobber slots machine.
;	GAME 2	- The Monster Racer
;	GAME 3	- The Search for Pi at Home
;	GAME 4	- Blackjack 
;   GAME 5  - Pokegatchi Training Center (same as 'train pet' on Equip Screen)
;   GAME 6  - Asteroids
;   GAME 7  - Stock Market Game
;   GAME 8  - Tetris
;----------------
SCENE 0		scene1, WELL, "The Machine", 3, 0
	ACTOR	1,	"", int1, 1, 20, 40
	ACTOR 	2, "", int1, 2, 200, 200
	ACTOR 	3, "", int1, 3, 200, 200
	ACTOR 	4, "", int1, 4, 200, 200
	SOUND petwhip.wav
	WAIT 1.5
	MOVE 2, 20, 70, 1
	SOUND petburp.wav
	WAIT .5
	MOVE 2, 200, 200, 1
	WAIT .5
	MOVE 2, 20, 70, 1
	SOUND petburp.wav
	WAIT .5
	MOVE 2, 200, 200, 1
	WAIT .5
	MOVE 2, 20, 70, 1
	SOUND petburp.wav
	WAIT .5
	MOVE 2, 200, 200, 1
	WAIT .5
	MOVE 2, 20, 70, 1
	SOUND petburp.wav
	WAIT 1.0
	SOUND petwash.wav
	MOVE 3, 20, 90, 1
END

;--------------
; SCENE 1 must be primary CAMP scene
;
SCENE 1
ACTOR 1, "", darkc, 0, 200, 200
IF T326, @earth
IF T453, @stock
END
	@stock
	ACTOR 2, "Terminal"
	1: Exchange Terminal Activated...
	GAME 7
END
@earth
MOVE 1, 85, 20, 1
IF T453, @stock
END
@eventActorClick1
COMPARE #<honoff>, "1"
IF= @turnonn
SET honoff, "1"
SET helpme, "0"
N: Your Reinforcement Skill is now turned OFF.
END
@turnonn
SET honoff, "0"
SET helpme, "#<savehelpme>"
N: Your Reinforcement Skill is now turned ON.
END

;--------------
#include fight.txt
;--------------
; SCENE 3 (this is the evergreen starting scene on the main map, where you can return to be healed)
;
SCENE 3		lance2,SCENE,"Evergreen"
	MUSIC	Introduction.mid
	ACTOR	1,	"Alpha T-37", greetrobot, 1, 25, 90
	POSE	1, 1, 1
	MOVE	1,	15, 80
	IF T110, @emp
	IF T1, @continue 
	' Welcome to the spaceport.
	' From here you will venture onwards, discovering new worlds and places as you go on.
	' Within this star system, you will notice many different Warp Points.
    ' Simply go to a Warp Point to warp to another star system.
    ' Do you want more information? (YES/NO)
    @reask1
	ASK 30
	IF +YES, @saidNo
	' Good, less work for me!
	GIVE T1
	GOTO @continue
@saidNo
	' Within this Universe you must travel between stars using warp points.
    ' Pending on what engine you have, you can fly to different areas of the Universe.
    ' In order to get to more advanced areas, you must have aquired certain skills.
    ' Once you have gained the minimum skill, you can continue into these areas. 
    ' The Jump Gate Guards will explain this to you further.
	' Do you want me to repeat myself? (YES/NO)
    GOTO @reask1
	END

@continue
	' Hold on just a moment, you'll be good as new!
	SOUND	"thunder1.wav"
	GIVE	L1
@skip1
	GIVE	H5000
	GIVE	M5000 
	MOVE	1,	10, 75	
	' Welcome back to the Base.
	' You are always welcome here to rest.
	IF V10, @skip2
END
	@emp
	' Great Emperor %1!  I humbly throw myself at your feet!
	GIVE L1
	GIVE H6000
	GIVE M6000
END

;--------------
; SCENE 4 Jump Gate Alpha 1
;
SCENE 4		warp1,SCENE,"Warp Alpha 1"
	THEME	0
	MUSIC	Jumpoints.mid
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
	SEL		1
	IF T110, @emp
	IF T67, @67
	IF T65, @65
    ' Welcome to Warp Gate Alpha 1, leading to the Pilerinian Nebula.
    IF +T2, @Warp
    IF +T1, @skipper
	' In order to utilize this Warp Gate, you must have spoken to our local authority on the planet Evergreen.
    ' Please leave and visit them to get your papers before returning.
    IF -T1, @theend
    @skipper
    ' Good, you have visited Evergreen, so we can begin the warping procedures.
    ' Notice, that once you warp, you will be vulnerable to attack, for the Pilerinian Nebula is not guarded as we are.
    ' Do you still want to continue? (YES/NO)
    ASK 99999
    IF +No, @leave
    IF +NO, @leave
    IF +N, @leave
    @Warp
    ' Warping in one second... 
    WAIT    2.0
    GIVE T2
    GOTO LINK 1, 0, 0
    WAIT 500
    @leave
    ' Okay, Warping procedures canceled.  Please return later.
    @theend
END
	@65
	' A great happening has occured in the Nebula!
	' Please, go in, and assist them if at all possible, %L!
	GOTO LINK 8, 0, 0
END
	@67
	' Warping in 1 second..
	WAIT 1.0
	GOTO LINK 8, 0, 0
END
	@emp
	' Warping in 1 second, sir!
	WAIT 2.0
	GOTO LINK 8,0,0
END


;---------
; Quarynthian Intro

SCENE 5 Scene4,SCENE,"Quarynthian Introduction"
	THEME	0
	MUSIC	port.mid
	ACTOR	1,	"Quarynthian Leader", Huy, 1, 25, 90
	SEL		1
	MOVE	1,	15, 80
	IF T110, @emp
	IF I716-T69+T8, @8
	IF T68, @68
	IF T65, @65
    IF T9-T67, @9
    IF +T3-T7, @doit
    IF T7, @thanks
    IF T4, @No
	' Welcome to the home planet of the Quarynthians.
    ' We have a kind of dillema on our hands, so we have decided to ask you to help us out..
    ' You see, the fuel reserves in the Pilerinian Nebula have run a tad bit low, so we have been "borrowing" some of our arch enemies, the Kilyianies.
    ' Would you help us? We will make it worth your while...(YES/NO)
    @changed
    ASK 99999
    IF +NO, @nop
    IF +No, @nop
    IF +N, @nop
    GIVE T3
    ' Excellent, now, you need to go to the planet Logistic, the oil-reserve planet in this nebula.
    ' Once their, defeat any guards that may be guarding the Kilyianies oil reserves, and allow the technicians to transfer some oil to your ship.
    ' Upon your return, we shall reward you greatly.
    ' Good Luck....
    IF T3, @end 
    @nop 
    ' Okay, return if you change your mind.  Now begone from our prescence!
    GIVE T9
    GOTO @end
    @No
    ' How dare you set foot on this planet, you Kilyiany scum?
    ' Begone!
    @end
END
   @doit
   ' We await our oil... please return with your delivery!
END
   @thanks
   ' Many thanks for the oil!  Please, take this reward!
   SOUND C702.wav
   GIVE M6000
   GIVE H6000
   GIVE T8
   GIVE G5000
   GIVE I716
   TAKE T7
   ' Bye!
END
   @8
   ' Thanks for helping, now we have enough oil!
   ' Goodbye!
END
   @9
   ' Have you changed your mind? (YES/NO)
   TAKE t9
   GOTO @changed
END
	@65
	' The entire Nebula is in shambles, with the two new waprs mysteriously opening.
	' The aliens poured through them... we have been completely overrun.
	' I do not know what to do... we have forged a temporary alliance with the Kilyianies.
	' Please, return our Nebula to its normal state if you can... Here, allow me to get my crews to work on your ship.
	GIVE L1
	SOUND C702.wav
	GIVE T68
	GIVE H6000
	GIVE M6000
END
	@68
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	' Please, help if you possibly can...
END
	@emp
	1: Emperor, sir, the Quarynthians thank you for our Nebulas Freedom!!
	GIVE L1
	GIVE H6000
	GIVE M6000
END	


;---------
; Kilyany Peoples

SCENE 6 Scene5,SCENE,"Kilyiany Introduction"
	THEME	0
	MUSIC	port.mid
	ACTOR	1,	"Kilyiany Leader", Kl, 4, 25, 90
	SEL		1
	MOVE	1,	15, 80
	IF T110, @emp
	IF I716-T69+T6, @done
	IF T69, @69
	IF T65, @65
    IF +T4-T5, @good
    IF T5, @won
    IF T3, @No
	' Welcome to the home planet of the Kilyianies.
    ' When we arrived in this Nebula, a branch of peoples left us and called themselves the Quarynthians.
    ' Ever since they have been leaching our supplies, degrading our lives for no reson but their greed.
    ' So, we ask any people that come here if they will accept a mission against their scum? (YES/NO)
    ASK 30
    IF +NO, @nop
    IF +No, @nop
    IF +N, @nop
    ' Great! I am glad you see it how we do.
    ' Here is what you should do: Go to the planet Logistic.  
    ' We are constantly under attack there, and anything that you could do to help stop the invaders would be appreciated.
    ' Thank you for helping us, return here after helping out at Logistic for a reward!
    GIVE T4
    IF T4, @end 
    @nop 
    ' Okay, return if you change your mind!
    GOTO @end
    @No
    ' How dare you set foot on this planet, you Quarynthian scum?
    ' Begone!
    @end
END
    @good
    ' Good luck defending Logistic!  Report back when you have succedeed!
    @end
END
    @won
    ' Great Job, we didnt think they could be defeated!
    ' Many thanks, here, take this new module as a reward!
    GIVE T6
	SOUND C702.wav
    GIVE M6000
    GIVE H6000
    GIVE G5000
    GIVE I716
    TAKE T5
    ' Bye!
END
    @done
    ' Thanks for helping us out!
    ' Bye!
END
	@65
	' The entire Nebula is in shambles, with the two new waprs mysteriously opening.
    ' Ever since the warps appeared, aliens have been pouring in.  We lost control of Logistic in the first few hours!
	' I do not know what to do... we have forged a temporary alliance with the Quarynthians.
	' Please, return our Nebula to its normal state if you can... Here, allow me to get my crews to work on your ship.
	GIVE L1
	SOUND C702.wav
	GIVE T69
	GIVE H6000
	GIVE M6000
END
	@69
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	' Please, help if you possibly can..
END
	@emp
	1: Emperor, sir, the Killianies thank you for our Nebulas Freedom!!
	GIVE L1
	GIVE H6000
	GIVE M6000
END

;---------
; Logistic, the oil Warfare.

SCENE 7 Scene6,SCENE,"Logistic"
	THEME	0
	MUSIC	code.mid
	ACTOR	1,	"Guard v1.3", oil, 1, 25, 90
	SEL		1
	MOVE	1,	15, 80
	IF T110, @emp
	IF T67, @67
    IF +T1-T3-T4-T5-T6-T7-T8-T9-T10, @hello
    IF T7, @revenge
    IF T6, @nice
    IF T5, @done
	IF T3, @attack
    ' Thank god your here!  We have been under attack for nearly 2 weeks!
    ' Our munitions are running short, we dont know how much longer we ca... oh no!
    ' Here they come!
    FIGHT 2, 2, 3, 4, 5
	PARTY ALIVE
	LOCK 1
    IF WIN, @3
    ' No!  They've stolen more oil.. not again!  Ill be fired for sure..
END
    @3
    GIVE T5
    ' Excellent!  They've been beaten back, it could be days before they can attack again!
    ' Many thanks, %1!  I will report this victory to Kilany, they will be thrilled!
    ' Return their for a reward!
END
    @done
    ' Many thanks for helping us defend the planet! 
END
    @nice
    ' Nice Module they gave you!  You should be able to enter new warps now!
END
    @attack
    ' Wha... wha.. why are you here?
    ' We werent expecting any visitors, guards, eliminate him!
    FIGHT 2, 3, 4, 4
    IF WIN, @light
    ' Haha! You puny fool!  Hopefully this will teach you a lesson!
END
    @light
	PARTY ALIVE
	LOCK 1
    ' No! Pl..please dont hurt me!  Here, take our oil!
    GIVE T7
    ' Now.. please.. leave... dont hurt me...
END
    @revenge
    ' No!  You shall not attack us again, activate the gravity well!!
    WAIT 3.0
    ' Ummm... why isnt it working?
    ' No! Frank, Push the Button!
    WAIT 2.0
    GOTO EXIT
END
    @hello
    ' Welcome to the oil planet of Logistic.
    ' We are constantly defending against invaders here.
    ' Please leave for your own safety.
END
	@67
	' I work for the aliens now.
	' Leave, immediatly, or I will be forced to take action against you.
    WAIT 7.0
	GOTO EXIT
END
	@emp
	1: Emperor, sir!  Do you require any of my services?
	GIVE L1
	GIVE M6000
	GIVE H6000
END

;---------
; Weapons Shop/ Repair Items Shop
;
SCENE 8 hangar,SCENE,"Repair Shop"
	THEME	0
	MUSIC	Wellmusic.mid
	ACTOR	1,	"Mechanic", crow, 4, 25, 90
	SEL		1
	IF T500, @pirate
	WAIT .1
	OFFER2 0,10,10, 0,10,15, 0,10,21, 1,1,0, 0,10,22, 0,10,11
	IF T110, @emp
	IF T67, @67
    ' Okay, one second and you will be as good as new.  Please notice my weapons for sale.
    SOUND C702.wav
    GIVE L1
    GIVE H6000
    GIVE M6000
END
	@pirate
	OFFER2, 0,10,10, 0,10,21, 0,10,13, 1,1,0, 0,10,22, 0,10,11
	' One second and you'll be good as new.  Please look at my selection.
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
END
	@67
	' Here, Ill fix you up.  Help us restore order to the Nebula...
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	GOTO @test
END
	@emp
	' Great emperor!  Thank you for restoring peace for our nebula!!
	GIVE L1
	SOUND C702.wav
	GIVE M6000
	GIVE H6000
	GOTO @test
END
;---------
; Warp Number 2
;
SCENE 9		warp2,SCENE,"Warp to Home System"
	THEME	0
	MUSIC	Jumpoints.mid
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
	SEL		1
	IF T110, @emp
    ' Welcome to Warp Gate Home 1, leading to our Home System.
    IF +T15, @did
    IF +I716, @good
    ' You must have at least a Mach 2 Engine to enter this Warp Point.
    ' I would suggest trying to find one in the Pilerinian Nebula, which can be accessed through Warp Alpha 1.
    ' Goodbye.
END
    @good
    ' Excellent, you have a Mach 2 Engine and can enter this Warp.
    ' Once you enter this next system, be wary,  for the Star Congress and Rebels are fighting their.  You may be mistaken for the enemy.
    ' Good Luck, you will be warping in 3 seconds.
    GIVE T15
    WAIT 3.0
    GOTO LINK 2.0.0
END
    @did
    ' You will be warping in 1 second...
    WAIT 1.0
    GOTO LINK 2.0.0
END
	@emp
	' You will be warping in one second, sir!
	WAIT 2.0
	GOTO LINK 2.0.0  
END

;---------
;Poisyerk Scene, beginning of storyline of Quests.
;
SCENE 10	Scene8,SCENE, "Star Congress HQ"

	ACTOR	1,	"Star Congress Guard",		Robo, 4, 35, 80
	POSE	4
	SEL		1
	IF T110, @emp
	IF +T56, @traitor
	IF +T22, @thanks
	IF +T21-22, @done
    IF +T20-21, @havet20
    ' Welcome to the planet Poisyerk, headquarters of the Star Congress.
	' As you have probably heard, we have been having some...small problems with some rebels.
	' So, therefore Star Congress has mandated that all civillians must kill any and all Rebels on site.
    GIVE T20
    ' Thank you for your cooperation.  The Star Congress will be most thankful if you assist us with our cause.
    ' Please return here with proof of the Rebel Motherships destruction, and you will be rewarded.
END   
    @havet20
    ' Please assist us with the rebel scum, and we will reward you nicely.
END
    @done
    ' Yes! Excellent Work! We dont know how we can repay you, the rebels have been removed from our empire!
    ' Their threat is gone from our System, all of them have been shipped away to Likerian!
    ' Many, many thanks, %1!  Please, take this!
	GIVE L1
    GIVE H6000
	SOUND C702.wav
    GIVE M6000
    GIVE G10000
    GIVE T22
    GIVE I715
    ' Again, many thanks, goodbye %1!
END

    @thanks
    ' Many thanks for your help with the rebels, %1!  We will forever be in your debt!
	SOUND C702.wav
    GIVE L1
    GIVE M6000
    GIVE H6000
    ' Goodbye, good sir!
END 
	@traitor
	' The base has been moved.
	' Move along.
END
	@emp
	' Sir! Great sir!  Is there anything we can provide for you, Emperor %1?
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
END
	



;---------
SCENE 11 	black,SCENE, "Isickle"

    IF +T21, @done
	IF +T20, @fight
	BKGND ice
	ACTOR	1,	"Native",		joshAnimals,	1,	20,	70
	POSE	1
	SEL		1
	@hello
    1: Nargh.
    1: Nargh.
    GOTO @hello
END
    @fight
	BKGND Scene9
    ACTOR	2,	"Rebel Cruiser",		Rebel,	1,	20,	70
    POSE	1
	SEL		1
	
	2: Wha... who are you?
    2: Sent from the Star Congress?
    2: No! They know we are here, send the fleet to destroy this ship!
    MOVE 2, -50, 100
    FIGHT 8,7,7
	PARTY ALIVE
	LOCK 1
    IF WIN, @won
    MOVE 2, 20, 70
    2: We must recooparate from our losses and prepare for another attack, Rebels!
END
    @won
    GIVE T21
    ACTOR 3, "Interceptor",		sat1,	1, -10, 100
    MOVE 3, 20, 70
    3: N...Nooo!  How could you of beaten us all? My fuel reserves... are too low.
    3: I must warn the other re... Major systems Malfunction!  Crash Landing! Nooooo!
    MOVE 3, 10, -10
	POSE 3
END
	@done
	BKGND ice
    ACTOR	4,	"Native",		joshAnimals,	1,	20,	70
	POSE	1
	SEL		1
	@hello
    4: Nargh. Noones Here.
    4: Nargh. Noones Here.
    GOTO @hello
END


;---------
; Normal Shield Shop, copy and change offering, perhaps occasionally BG?
SCENE 12 	armor,SCENE, "Armory"
    MUSIC   Wellmusic.mid
	ACTOR	1,	"Larent",act,4, 25, 90
	IF #16, @2
	;	// Shield shop with basic Shields
	OFFER2    10,20,21, 10,20,11
    IF T110, @emp
	' Welcome to my shop.
    ' Please, select your armor and shielding and I will have it installed on your ship.
END
	@emp
	' Sir!  You humble me by visiting my shop!
END
	@2
	OFFER 825,826,827,284,285,286
	' Welcome to my shop.
    ' Please, select your armor and shielding and I will have it installed on your ship.
	END
;---------
SCENE 13 hangar,SCENE,"Repair Shop"
	THEME	0
	MUSIC	Wellmusic.mid
	ACTOR	1,	"Mechanic", act2, 1, 25, 90
	IF #16, @2
	OFFER2	10,20,10, 1,1,0
	IF T110, @emp
    ' Okay, one second and you will be as good as new.  I can install new Cockpits for you.
    SOUND C702.wav
    GIVE L1
    GIVE H6000
    GIVE M6000
END
	@emp
	1: Good sir!  Please, allow me to fix your ship up! 
	GIVE L1
	GIVE H6000
	GIVE M6000
	1: Thank you, sir!  You honor me with your prescence!
END
@2
	' I can install new Cockpits for you.
	OFFER 229,230,231,232
END

;---------
SCENE 14 Solar,SCENE,"Solar Weapons Shop"
	THEME	0
	MUSIC	Wellmusic.mid
	ACTOR	1,	"Sharah", act2, 2, 25, 90
	SEL		1
	MOVE	1,	15, 80
	IF #16, @2
	OFFER2	10,30,12
	IF T110, @emp
    ' Welcome to my Solar Weapons Shop.
    ' I have many weapons for sale here, please browse my selection.
END
	@emp
	' Great sir, please, humble me by looking at my wares?
END
;---------
; Warp Number 3
;
SCENE 15		Scene10,SCENE,"Warp to Likerian System"
	THEME	0
	MUSIC	Jumpoints.mid
	IF T110, @emp
	IF +I714, @good
	IF +I718, @good
    IF +I715, @good
    IF +T30, @ty
    IF +T31, @askey
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
	SEL		1
    MOVE	1,	15, 60
    ' Welcome to the warp to the Likerian System.
    ' To attempt this warp, you need a Mach 3 Engine.
    ' Please return when you have found one.
END
    @good
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
    ' Your engine is good enough to attempt this warp.
    ' Prepare to warp in 3 seconds...
    WAIT 3.0
    GIVE T30
    GOTO LINK 5.0.0
END
    @ty
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
    ' You will be warping in 2 seconds..
    WAIT 2.0
    GOTO LINK 5.0.0
END
	@emp
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
    ' You will be warping in 2 seconds, Emperor Sir!
    WAIT 2.0
    GOTO LINK 5.0.0


    
;---------
SCENE 16 giza2,SCENE,"Rebel Tent"
	IF +T56, @empty
	ACTOR	1,	"Rebel Citizen",	joshTownsfolk,	18, 25, 70
	MUSIC	MIC.mid
	IF +T35, @temple
	IF +T40, @temple
	IF +T45, @temple
	IF +T34, @sleep
    ' *Hic*
    ' The journeeey.. wass horrible.  As sooon aass our autoo-tents deployeed, thee shipss.. theey sshaatttered!
    ' Mosst of my fammily die.. *hic*
    ' Pleasee, viisit thee temple! and tallk too ourr Lleader.  Hellp us seeek revenge! aagainssst Sstar Coongres! 
END
	@temple
	' Plleaaseee, helpp us finddn peoples!! Ahahah! Ha!haha!ha!.... *snore*
	GIVE T34
END
	@sleep
	' *Snore*
	' Ahaha! Take that Space Congrees! 
	' *Snore*
	' I'll avenge your death, Dad!
	' *Snore*
	' One day, they will all pay!
	' *Snore*
	' Hey, that rhymes!
	' *Snore*
	' Why are you still reading this?
	' *Snore*
	' You must have no life!
	' *Snore*
	WAIT 120.0
	' Man, I cannot believe your still reading this! Its been 2 minutes!
	' Do you have no life?
	' I mean.. comeon?  You've probably been sitting here patiently waiting for me to say something new..
	' Helllooooo?  Anyone home?
	' .... Are you in the bathroom?
	' I knew it!  Ha!
	WAIT 10.0
	' .. Having some problems in there?
	WAIT 10.0
	' Hold on! I'm coming in!
	WAIT 10.0
	' Oh my god!  You flushed yourself!
	WAIT 10.0
	' Nooooooooooo... oh the pain.. the cruelty...
	' *Snickers*
	' I think Ill just leave you in there... bye...
	MOVE 1, -100, -100, 1
END
	@empty
END

;---------
; Using Tokens 45-50
SCENE 17 aztec,SCENE,	"Temple"
	IF T73-T72-T56, @nerg
	IF T72-T56, @again
	If T56, @complete
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	GIVE T45
	MUSIC	rebel.mid
	IF T52, @nerg
	IF T45+T35+T40, @yes
	IF T46, @founded
	IF T45+T35-T40, @onemore
	IF T45+T35-T40-T47, @found
	IF T45-T35+T40-T47, @found
	IF T45+T40-T35, @onemore
	IF T45+T40-T35, @found
	IF T47-T40-T35, @checked
	1:	Welcome, %1.  I will sum up what we have gone over so far.
      1:	Upon our Landing, all three of our ships shattered for some unknown reson.  We believe the other ships to be lost.
      1:	Since then, we have set up many permanent and temporary shelters.
	1:	We are now trying to rebuild a ship to get to the planet that we saw while on approach to this one.
	1:	Unfortuanatly, we lack the manpower.  Luckily, their seems to be an Alien Artifact of kinds on this planet.
	1:	We believe..
	4:	Maybe YOU believe..
	1:	WE believe that it has the power to successfully transport matter.
	1:	Unfortuanatly, as I said, we do not have the manpower necessary.
	1:	If you are able, please assist us, see if you can find any rebel survivors!
	2:	Here, allow me to heal you.
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	3:  I will upgrade your Class 3 engine so you can traverse the desert faster.
      TAKE I715
      GIVE I714
      GIVE T47
	1:	If you ever need repairing, please, visit us again.
	
END
	@founded
	1: Just one more should be enough!
	2: Many thanks, here, I will heal you!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	GIVE T46
END
	@checked
	2: Here, I will heal you.
	GIVE L1
	GIVE H6000
	SOUND C702.wav
	GIVE M6000
	2: Please, find more people to help us!
END
	@found
	1: Who are you?
	1: What?  They're are other rebels?  Excellent!  We must send scouts to greet them!
	1: Unfortuanatly, based on your numbers, we need yet more people to get off of this forsaken planet!
	GIVE L1
	GIVE H6000
	SOUND C702.wav
	GIVE T47
	GIVE T46
	GIVE M6000
	2: You are healed.
END
	@onemore
	1: If you find just one more group of rebels, it should be enough people!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: There, you are healed.
END
	@yes
	1: Excellent, you found enough rebels!  We have enough people to continue with our plans!
	2: Many, many, many thanks!  But, we still need your help.
	3: You see, all the people were needed, not for us to be able to work the alien machine.. but for you to.
	4: The other groups gave us the needed information, now we can send you to the place to turn it on. 
	3: We are going to give you a warp, that should, when activated, send you straight to the Alien Device.
    1: If you cannot figure out how to work the alien artifact... I dont know what we will do.
    3: We do not know what is guarding the alien device, though.  You could possibly be trapped forever.
	2: Reguardless of if you succeed or not, if you can, please, return to us, we will work to create another warp in the case that you return.
    4: Are you prepared to take this mission, %1? (YES/NO)
    @question
	ASK 9999
    IF +Yes, @ye
    IF +Y, @ye
    IF +yes, @ye
	GIVE T50
    1: I do not blame you for turning us down.  It is alot that we ask of you.  Please return if you change your mind.
    3: Ha!  
END
	@t50
	1: Have you changed your mind? (YES/NO)
    GOTO @question
END
	@ye
	1: You are all that we expected, %1.  Before you go, we will teach you what we can.
	1: You see, we learned why our ships exploded while we resided here.  Your warp from the Evergreen System... it took very long.
	2: Yes, we have lived here for nearly 2 years!
	4: We have watched your progress, hoping you could help us.
	1: Anyway, before you go, we will teach you how our ships were destroyed.  Throughout the galaxy, their is a magic.
	1: Every molecule is tied into this magic somehow, able to be melded together by it, and destroyed just as easily.
	1: This is how we have healed you all this time, without need of payment or a hanger.
	1: You have the skill with which to do this, so now, please, take this power with you!  
	GIVE S751
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: It is done.
	1: Excellent, now, take this Item.  It will transport you, once, straight to the Alien Temple.
	GIVE I99
	GIVE T52
	1: Once you use that, there is no turning back.
	2: Good luck, we are all depending on you!
	3: Good Luck!
END
	@nerg
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC rebel.mid
	IF -I99, @huh
	1: Good Luck!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: Good Luck! 
END
	@huh
	1: "Did you lose your Warp?  You fool!
	2: *sigh*
	3: We'll give you another one, but it wont be cheap!
	GIVE I99
	TAKE G1000
	4: Try not to lose this one...
END
	@complete
	MUSIC rebel.mid
	ACTOR 1, "Rebel Recording", 1, -25, -25
	' Many, many thanks for your help, %1!
	' We will allways be in your debt!
	' Please, come to the planet of Hiyerian for your reward!
	' Please, come to the planet of Hiyerian for your rewar..
	' Please, come to the planet of Hiyerian fo...
	' Please.. Please.. Please.. Please.. Please.. Please..
END	
	@again
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC	MIC.mid
	1: No! How could you have failed us so?
	2: We will give you another chance, but we do not have many of these warps left.
	1: Here you are, please, do not fail us again!
	GIVE T73
	TAKE T72
	GIVE I99
	3: Good luck!
	GIVE L1
	GIVE H6000
	GIVE M6000
	4: Bye!
END




;---------
; Token Mark Using: 35-40
SCENE 19 aztec,SCENE,	"Temple"
	IF T73-T72-T56, @nerg
	IF T72-T56, @again
	If T56, @complete
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	GIVE T35
	MUSIC	rebel.mid
	IF T56, @complete!
	IF T52, @nerg
	IF T35+T45+T40, @yes
	If T36, @founded
	IF T35+T45-T40, @onemore
	IF T35+T45-T40-T37, @found
	IF T35-T45+T40-T37, @found
	IF T35+T40-T45, @onemore
	IF T35+T40-T45, @found
	IF T37-T40-T45, @checked
	1:	Welcome, %1.  I will sum up what we have gone over so far.
    1:	Upon our Landing, all three of our ships shattered for some unknown reson.  We believe the other ships to be lost.
    1:	Since then, we have set up many permanent and temporary shelters.
	1:	We are now trying to rebuild a ship to get to the planet that we saw while on approach to this one.
	1:	Unfortuanatly, we lack the manpower.  Luckily, their seems to be an Alien Artifact of kinds on this planet.
	1:	We believe..
	4:	Maybe YOU believe..
	1:	WE believe that it has the power to successfully transport matter.
	1:	Unfortuanatly, as I said, we do not have the manpower necessary.
	1:	If you are able, please assist us, see if you can find any rebel survivors!
	2:	Here, allow me to heal you.
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	GIVE T37
	3:  I will upgrade your Class 3 Engine so you can traverse the vast desert faster.
      TAKE I715
      GIVE I714
	1:	If you ever need repairing, please, visit us again.
	
END
	@checked
	2: Here, I will heal you.
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: Please, find more people to help us!
END
	@founded
	1: Just one more should be enough!
	2: Many thanks, here, I will heal you!
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	GIVE T36
END
	@found
	1: Who are you?
	1: What?  Their are other rebels?  Excellent!  We must send scouts to greet them!
	1: Unfortuanatly, based on your numbers, we need yet more people to get off of this forsaken planet!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE T36
	GIVE T37
	GIVE M6000
	2: You are healed.
END
	@onemore
	1: If you find just one more group of rebels, it should be enough people!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: There, you are healed.
END
	@yes
	1: Excellent, you found enough rebels!  We have enough people to continue with our plans!
	2: Many, many, many thanks!  But, we still need your help.
	3: You see, all the people were needed, not for us to be able to work the alien machine.. but for you to.
	4: The other groups gave us the needed information, now we can send you to the place to turn it on. 
	3: We are going to give you a warp, that should, when activated, send you straight to the Alien Device.
    1: If you cannot figure out how to work the alien artifact... I dont know what we will do.
    3: We do not know what is guarding the alien device, though.  You could possibly be trapped forever.
	2: Reguardless of if you succeed or not, if you can, please, return to us, we will work to create another warp in the case that you return.
    4: Are you prepared to take this mission, %1? (YES/NO)
    @question
	ASK 9999
    IF +Yes, @ye
    IF +Y, @ye
    IF +yes, @ye
	GIVE T50
    1: I do not blame you for turning us down.  It is alot that we ask of you.  Please return if you change your mind.
    3: Ha!  
END
	@t50
	1: Have you changed your mind? (YES/NO)
    GOTO @question
END
	@ye
	1: You are all that we expected, %1.  Before you go, we will teach you what we can.
	1: You see, we learned why our ships exploded while we resided here.  Your warp from the Evergreen System... it took very long.
	2: Yes, we have lived here for nearly 2 years!
	4: We have watched your progress, hoping you could help us.
	1: Anyway, before you go, we will teach you how our ships were destroyed.  Throughout the galaxy, their is a magic.
	1: Every molecule is tied into this magic somehow, able to be melded together by it, and destroyed just as easily.
	1: This is how we have healed you all this time, without need of payment or a hanger.
	1: You have the skill with which to do this, so now, please, take this power with you!  
	GIVE S751
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: It is done.
	1: Excellent, now, take this Item.  It will transport you, once, straight to the Alien Temple.
	GIVE I99
	GIVE T52
	1: Once you use that, there is no turning back.
	2: Good luck, we are all depending on you!
	3: Good Luck!
END
	@nerg
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC rebel.mid
	IF -I99, @huh
	1: Good Luck!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: Good Luck! 
END
	@huh
	1: "Did you lose your Warp?  You fool!
	2: *sigh*
	3: We'll give you another one, but it wont be cheap!
	GIVE I99
	TAKE G1000
	4: Try not to lose this one...
END
	@complete
	MUSIC rebel.mid
	ACTOR 1, "Rebel Recording", 1, -25, -25
	' Many, many thanks for your help, %1!
	' We will allways be in your debt!
	' Please, come to the planet of Hiyerian for your reward!
	' Please, come to the planet of Hiyerian for your rewar..
	' Please, come to the planet of Hiyerian fo...
	' Please.. Please.. Please.. Please.. Please.. Please..
END	
	@again
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC	MIC.mid
	1: No! How could you have failed us so?
	2: We will give you another chance, but we do not have many of these warps left.
	1: Here you are, please, do not fail us again!
	GIVE T73
	TAKE T72
	GIVE I99
	3: Good luck!
	GIVE L1
	GIVE H6000
	GIVE M6000
	4: Bye!
END


;-------------------------
; Rebel Group Number Two, Token Using to Mark: 40.
SCENE 20 aztec,SCENE,	"Temple"
	IF T73-T72-T56, @nerg
	IF T72-T56, @again
	If T56, @complete
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	GIVE T40
	MUSIC	rebel.mid
	IF T52, @nerg
	IF T40+T45+T35, @yes
	IF T41, @founded
	IF T40+T45-T35, @onemore
	IF T40+T45-T35-T43, @found
	IF T40-T45+T35-T43, @found
	IF T40+T35-T45, @onemore
	IF T40+T35-T45, @found
	IF T43-T35-T45, @checked
	1:	Welcome, %1.  I will sum up what we have gone over so far.
      1:	Upon our Landing, all three of our ships shattered for some unknown reson.  We believe the other ships to be lost.
      1:	Since then, we have set up many permanent and temporary shelters.
	1:	We are now trying to rebuild a ship to get to the planet that we saw while on approach to this one.
	1:	Unfortuanatly, we lack the manpower.  Luckily, their seems to be an Alien Artifact of kinds on this planet.
	1:	We believe..
	4:	Maybe YOU believe..
	1:	WE believe that it has the power to successfully transport matter.
	1:	Unfortuanatly, as I said, we do not have the manpower necessary.
	1:	If you are able, please assist us, see if you can find any rebel survivors!
	2:	Here, allow me to heal you.
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	3:  I will upgrade your class three engine so you may traverse the vast desert faster.
      TAKE I715
      GIVE I714
      GIVE T43
	1:	If you ever need repairing, please, visit us again.
	
END
	@checked
	2: Here, I will heal you.
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: Please, find more people to help us!
END
	@founded
	1: Just one more should be enough!
	2: Many thanks, here, I will heal you!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	GIVE T41
END
	@found
	1: Who are you?
	1: What?  They're are other rebels?  Excellent!  We must send scouts to greet them!
	1: Unfortuanatly, based on your numbers, we need yet more people to get off of this forsaken planet!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE T43
	GIVE T41
	GIVE M6000
	2: You are healed.
END
	@onemore
	1: If you find just one more group of rebels, it should be enough people!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: There, you are healed.
END
	@yes
	1: Excellent, you found enough rebels!  We have enough people to continue with our plans!
	2: Many, many, many thanks!  But, we still need your help.
	3: You see, all the people were needed, not for us to be able to work the alien machine.. but for you to.
	4: The other groups gave us the needed information, now we can send you to the place to turn it on. 
	3: We are going to give you a warp, that should, when activated, send you straight to the Alien Device.
    1: If you cannot figure out how to work the alien artifact... I dont know what we will do.
    3: We do not know what is guarding the alien device, though.  You could possibly be trapped forever.
	2: Reguardless of if you succeed or not, if you can, please, return to us, we will work to create another warp in the case that you return.
    4: Are you prepared to take this mission, %1? (YES/NO)
    @question
	ASK 9999
    IF +Yes, @ye
    IF +Y, @ye
    IF +yes, @ye
	GIVE T50
    1: I do not blame you for turning us down.  It is alot that we ask of you.  Please return if you change your mind.
    3: Ha!  
END
	@t50
	1: Have you changed your mind? (YES/NO)
    GOTO @question
END
	@ye
	1: You are all that we expected, %1.  Before you go, we will teach you what we can.
	1: You see, we learned why our ships exploded while we resided here.  Your warp from the Evergreen System... it took very long.
	2: Yes, we have lived here for nearly 2 years!
	4: We have watched your progress, hoping you could help us.
	1: Anyway, before you go, we will teach you how our ships were destroyed.  Throughout the galaxy, their is a magic.
	1: Every molecule is tied into this magic somehow, able to be melded together by it, and destroyed just as easily.
	1: This is how we have healed you all this time, without need of payment or a hanger.
	1: You have the skill with which to do this, so now, please, take this power with you!  
	GIVE S751
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: It is done.
	1: Excellent, now, take this Item.  It will transport you, once, straight to the Alien Temple.
	GIVE I99
	GIVE T52
	1: Once you use that, there is no turning back.
	2: Good luck, we are all depending on you!
	3: Good Luck!
END
	@nerg
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC rebel.mid
	IF -I99, @huh
	1: Good Luck!
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	2: Good Luck! 
END
	@huh
	1: "Did you lose your Warp?  You fool!
	2: *sigh*
	3: We'll give you another one, but it wont be cheap!
	GIVE I99
	TAKE G1000
	4: Try not to lose this one...
END
	@complete
	ACTOR 1, "Rebel Recording", 1, -25, -25
	MUSIC rebel.mid
	' Many, many thanks for your help, %1!
	' We will allways be in your debt!
	' Please, come to the planet of Hiyerian for your reward!
	' Please, come to the planet of Hiyerian for your rewar..
	' Please, come to the planet of Hiyerian fo...
	' Please.. Please.. Please.. Please.. Please.. Please..
END	
	@again
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
	MUSIC	MIC.mid
	1: No! How could you have failed us so?
	2: We will give you another chance, but we do not have many of these warps left.
	1: Here you are, please, do not fail us again!
	GIVE T73
	TAKE T72
	GIVE I99
	3: Good luck!
	GIVE L1
	GIVE H6000
	GIVE M6000
	4: Bye!
END


;-------------
SCENE 21 giza2,SCENE, "Rebel Shop"
	ACTOR 1, "Rebel Mechanic", joshtownsfolk, 15, 60, 75
	MUSIC	Shop2.mid
	OFFER2 20,50,22
	IF +T56, @empty
	IF +T52, @Art
	IF +T35, @temple
	IF +T40, @temple
	IF +T45, @temple
	IF +T49, @sleep
	' Our ships.. crashing into one another, exploding in midair.. it was horrible..
	' I.. I heard you were helping us out.  I have some small knowledge in upgrading ships..
	' Please, allow me to be of assistance to you.
	GIVE T49
END
	@sleep
	' Please, let me help.
END
	@temple
	' Please, let me help.
END
	@empty
	' I decided to stay behind, to help any others who may accidently become trapped here.
END
	@Art
	' Please.. Make the teleporter work!  Find a way!
END

;-------------------------------------
;Alien Place
SCENE 22 alien,SCENE, "Alien Device"
	ACTOR 1, "Alien", Alien, 1, 10, 75
	TAKE T72
	IF DEAD, @dead
	MUSIC	ab.mid
	' Ha! So, you puny fools have managed to send someone to us?
	' You think you are going to use my machine here? Fah!  
	' First, you must prove yourself worthy of my greatness!  
	' I will have a fight, if you can defeat the enemies I send to defeat you, I will allow you to use this machine.
	' If you cannot defeat them, you will be trapped here forever!
	' Bad Luck! Ahahahahahah!
	MOVE 1, -10, -10
	FIGHT 126,126,127
	IF ALIVE, @won1
	' Ha! Puny fool!  You have been conquered allready!  Because you are so helpless, I will let you go free this once.
	GIVE T72
	GOTO LINK 6.3.0
END
	@won1
	PARTY ALIVE
	LOCK 1
	' You may have won my first challenge, but you are not done yet!
	GIVE H6000
	SOUND C702.wav
	GIVE M6000
	MUSIC	ab.mid
	FIGHT 127,127,126,127
	IF ALIVE, @won2
	' Ha! Puny fool! You have been easily destroyed allready!  Because you are so helpless, I will let you free this once.
	WAIT 5.0
	GIVE T72
	GOTO LINK 6.3.0
END
	@won2
	PARTY ALIVE
	GIVE H100
	SOUND C702.wav
	GIVE M60
	' Amazing!  You have more strength than anyone I have ever met!  Meet my Private army!
	MUSIC	ab.mid
	FIGHT 66,125,126,127
	IF ALIVE, @won3
	' Fool! You thought you could go up against the like of me and win?  For this, I banish you!  Do not return unless you are less pitiful!
	WAIT 5.0
	GIVE T72
	GOTO LINK 6.3.0
END
	@won3
	PARTY ALIVE
	MOVE 1, 75, 75
	' Noooo! How could such a puny one as you have beaten me?  
	' I hang my head in defeat.  Please, take my machine.  In order to operate it, simply push that button right there.
	' Having beaten me, I will send you back in one piece.  Those pesky rebels await you.
	' Farwell, %1.
	GIVE T56
	GIVE L1
	SOUND C702.wav
	GIVE H6000
	GIVE M6000
	GOTO LINK 6.3.0
END
	@dead
	' Ha!  Thought you would flee from me before death?
	' Foolish one you are...
	GOTO LINK 6.3.0
END

;-----------
;-----------
; Hermits Hut Side Quest
SCENE 23 greek2,SCENE, "Hermits Rock"
	ACTOR 1, "Hermit", joshtownsfolk, 21, 60, 75
	MUSIC	Wellmusic.mid
	IF S752, @real
	IF T64, @done
	IF T57, @thanks
	IF T58, @no
	' Greetings, wanderer.  Welcome to my pitiful rock.
	' I have a very sick friend, who lives in a Mesa not far from here.
	' If you could heal him, I would be very grateful!
	' Will you help? (YES/NO)
	ASK 99999
	IF +Yes, @yes
	IF +Y, @yes
	IF +y, @yes
	' No?  Okay.. please go about your business.  I have no love for your kind.
	GIVE T58
END
	@no
	' Please, leave my humble house.
END
	@real
	' Thanks for helping my friend!
	GIVE L1
	SOUND C702.wav
	GIVE M6000
	GIVE H6000
END
	@done
	' Please, take this spell in return!  It should allow you to heal others as you have my friend. 
	' Please, recieve my gifts and return whenever you need to.
	GIVE T57
	GIVE S752
	GIVE G5000
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
END
	@yes
	GIVE T57
	@thanks
	' Thank you, my friend awaits you at his mesa.
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
END
;---------------------------------
SCENE 24 jaord,SCENE, "Hiyerian"
    IF T56, @rebels
    ACTOR 1, "Native", joshAnimals, 13, 25, 75
    MUSIC Shop2.mid
    ' Gorg.
    ' Gorg.  Im all alone...
    ' Gorg.
    ' Gorg.  Noones here!
    ' Gorg.  
    ' Gorg.  Leave me in peace!
    ' Gorg.
END 
    @rebels
	ACTOR 	1, "Rebel Leader", joshTownies,	29, 20, 90
	ACTOR	2, "Rebel", joshTownsfolk,	2, 10, 70
	ACTOR	3, "Rebel", joshTownsfolk, 32, 15, 80
	ACTOR	4, "Rebel", joshTownsfolk, 19, 20, 65
      MUSIC rad.mid
	IF T115, @emper
	IF T110, @emp
	IF T98, @ahh
	IF T97, @info
	IF T96-T95, @hi
	IF T95, @yay
	IF +T65, @thanks
    1: Greetings, %1!  Many, many, many thanks for helping us!
    2: You risked much, and we owe you our lives!
	2: Please, recieve this spell I recently discovered.  It is not perfect, but it should distract your enemies.
	2: I feel that one day you may be able to capture enemy units using this ability.  For now, it should be powerful on its own.
    GIVE H6000
	GIVE S756
	SOUND C702.wav
    GIVE M6000
	GIVE T65
    3: Here, please, recieve these gifts from us!  It is very little for what you have done.. but..
    GIVE G25000
    4: You gave him all of that! 25000 Credits!  Have you gone insane!?!
    1: He put his life on the line for us.
    4: Still... I could buy 25,000 Hersies Candies with that!
	2: I just recieved a distress signal, straight from the Pillerinian Nebula!
	1: Hmmm... %1, we have much to do here.  Could you investigate?
    1: Anyway, many thanks, and good luck, %1! Return here for healing if you ever need it!
END
	@thanks
	1: Many thanks again, %1!  Please, recieve our gifts!
	GIVE L1
	GIVE H6000
	SOUND C702.wav
	GIVE M6000
	2: Thanks!
	3: Bye!
END
	@hi
	1: Greetings, %1.
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: Please, be on your way...
END
	@yay
	1: You brought our spies back!  We thought them lost forever!
	2: %1!! Thank you!
	1: Please, come back later, our spies will doubtlessly provide us with useful information that we can pass on to you.
	GIVE L1
	GIVE T97
	GIVE H6000
	GIVE M6000
	3: See ya!
END
	@info
	1: Welcome back, %1!  Our spies gave us the information... they... we... we have dire news.
	2: You..you see.. the Mothership is completed.  
	3: We... we could not stand up to its wraith!  Its virtually invincible!
	4: I.. I.. dont even think you could handle this alone, %1..
	1: Please.. if.. if you could just stop it?  Disable it?  Slow it down?  Anything.. anything...?
	GIVE T98
	GIVE L1
	GIVE H6000
	GIVE M6000
	3: Please, save us.
	2: Please.. save us all.
	END
	@ahh
	1: Plase... save us.
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: Good luck, saviour.
END
	@emp
	1: You did it! YOU DID IT!
	2: Thank god...
	3: My family! It can.. we can...all of us!
	4: Peace!  Finally!
	1: Thank you, emperor %1! Thank you!  Please accept what little we can give you!
	GIVE L1
	GIVE M6000
	GIVE H6000
	GIVE G5000
	GIVE T115
END
	@emper
	1: Thank you, thank you! 
	GIVE L1
	GIVE M6000
	GIVE H6000
	2: Empeoror, Sir!
END
	
;---------------
SCENE 25  bgWaterWall,SCENE, "Oasis"
ACTOR 1, "Fish", joshAnimals, 12, 76, 50
MUSIC	sub.mid
	IF T63, @glub
	IF T62, @fishfood
	' How dare you attempt to steal water from my oasis!
	' Prepare to be glubbered!
	' Glub.
	' So there!  Wait.. why do you not wither in pain?
	' Hmmph.  Well... ill let you off easy this time.  If you bring me some fish food, I will give you some water...
	GIVE T61
END
	@fishfood
	' You found some food for me!  Many, many thanks.  Here, please, take this water!
	GIVE T63
	' There you are.  Now be on your way, or you will be glubbed!
END
	@glub
	' GLUB!
	' GLUB!
	' GLUUUBBB!
	GOTO @glub
END
	
;---------------
SCENE 26 bgflat1,SCENE, "Mesa"
ACTOR 1, "Old Geezer", joshMiscellaneous, 10, 50, 40
MUSIC sub.mid
	IF T64, @done
	IF T63, @water
	GIVE T60
	' *Cough!* Please... good.. sir.  I need... water!  Please, help me!
    ' I am afraid...... afraid I may die without...
    ' Please! 
END
	@water
	' Oh, thank you, kind sir! Thank you thank you thank you!
	' I have been without water for many days!
	' I have nothing to give you, except good health... my friend may, however.  He lives in a rock not far from here.
	GIVE T64
	SOUND C702.wav
	GIVE L1
	GIVE M6000
	GIVE H6000
END
	@done
	' Many thanks to you.
	SOUND C702.wav
	GIVE L1
	GIVE H6000
	GIVE M6000
END
;------------------
SCENE 27 greek2,SCENE, "Rebel Shop"
ACTOR 1, "Rebel Shopkeeper", joshTownsfolk, 1, 50, 30
MUSIC Shop2.mid
IF T56, @empty
IF T61-T62, @fishfood
	OFFER 610,611,612,613,614,615,616,617,224,225,226,227,228,229,30,31,32,283,284,285
	' Welcome to my shop.
	' Please look around, I have many items that could help you in your quest.
END
	@fishfood
	OFFER 610,611,612,613,614,615,616,617,224,225,226,227,228,229,30,31,32,283,284,285
	' You need fishfood, eh?
    ' Well.. I suppose I can give you some, I think I have some extra somewhere.
	' Not much use for it now.. here you are.
	GIVE T62
	' Please, continue to puruse my inventory.
END
	@empty
	OFFER 610,611,612,613,614,615,616,617,224,225,226,227,228,229,30,31,32,283,284,285
	' I decided to stick around, to sell my wares to the locals...
END
;-------------
;----------------
SCENE 28		warp3,SCENE, "Warp to Pillerinian Nebula"
	THEME	0
	MUSIC	Jumpoints.mid
	ACTOR	1,	"Warpgate Guard", gateguard, 4, 25, 90
	SEL		1
	MOVE	1,	15, 80
	IF T110, @emp
	IF T67, @67
    ' Welcome to the Warp, leading to the Pilerinian Nebula.
    IF +T65, @OtherWarp
	IF +T66, @Warp
	' Be warned, when you enter this warp, you will be sent to Warp Gate Alpha, and will have to take the long way back.
    ' Do you wish to continue?(YES/NO)
	ASK 9999
	IF +No, @stop
	IF +N, @stop
	IF +no, @stop
    ' Okay, prepare to be warped in two seconds....
    WAIT    2.0
    GIVE T66
    GOTO LINK 1, 0, 0
END
    @stop
    ' Okay, Warping procedures canceled.  Please return later.
    @theend
END
	@Warp
	' Warping in 1 second..
	WAIT 1.0
	GOTO LINK 1, 0, 0
END
	@OtherWarp
	' %1, A great happening has occured in the Pillerinian Nebula!
	' Be wary as you go on!  We have set up an emergency warp into and out of the system, so you no longer must take the long way back.
	' Please, investigate, and assist if possible, %L!
	WAIT 2.0
	GIVE T67
	GOTO LINK 8, 5, 0
END
	@67
	' Warping in one second..
	WAIT 1.0
	GOTO LINK 8, 5, 0
END
	@emp
	' Warping in one second, emperor sir!
	WAIT 2.0
	GOTO LINK 8, 5, 0
END
;-----------
SCENE 29 prodfac,SCENE, "Starcongress HQ"
ACTOR	1,	"Star Congress Guard",		Robo, 4, 60, 40
ACTOR	2,	"Star Congress Guard",		Robo, 4, 60, 80
MUSIC	ded.mid
	IF T114, @done
	IF T110, @emp
	IF T99, @99
	IF T98, @98
	IF T70, @70
ACTOR	3,  "Star Congress Official",   Crow, 3, 40, 60
	3: You scum!  We know what you did to assist the rebels on Likeria.
    3: We were advancing very quickly in technology, even the guards you see before you are much more powerful.
	3: So dont try anything.  Now, I would arrest you outright, but I have a problem.
	3: You see, as you assisted the rebels, we have been expanding all through the galaxy, hence the new base.
	3: Unfortuanatly, we ran into some aliens that... don't precisely want us to expand.  So, you are hired to assist.
    3: Find a way to purge this Universe of the alien scum, or face the consequences of what you did for the rebels!
	GIVE T70
	3: Here, I will get my men to put our pass onto your ship.  You will be able to go anywhere in the galaxy with it.
    3: Be careful on the way out, our ships have orders to kill anything that moves.
	GIVE L1
	GIVE H6000
	GIVE M6000
END
	@70
	1: We have orders to assist you.
	GIVE L1
	GIVE H6000
	GIVE M6000
	2: Move on your way.
END
	@98
	ACTOR	3,  "Star Congress Official",   Crow, 3, 40, 60
	3: Is it true what is rumored?  The aliens.. have created the mothership?
	3: No... my family.. it cant... be...
	3: Please, good sir, %1, you are the last chance we have.  Take what I can offer, please...
	GIVE L1
	GIVE T99
	GIVE H6000
	GIVE M6000
	GIVE G10000
	3: Please, save my family...
END
	@99
	ACTOR	3, "Star Congress Official", Crow, 3, 40, 60
	3: Good luck, saviour!
	GIVE L1
	GIVE H6000
	GIVE M6000
END
	@emp
	ACTOR 3, "Star Congress Governor", Crow, 3, 40, 60
	3: Sir!  Great Emperor %1!  Please, accept what humble tribute we can offer!
	GIVE L1
	GIVE M6000
	GIVE T114
	GIVE H6000
	GIVE G5000
END
	@done
	1: Emperor, sir, what can we do to assist you, sir!
	GIVE L1
	GIVE M6000
	GIVE H6000
	2: Sir!
END
;-----------------
SCENE 30 warp5,SCENE, "Warp into the Unknown"
ACTOR	1, "Warpgate Guard",	gateguard, 4, 60, 40
ACTOR 	2, "Warpgate Guard",	gateguard, 4, 60, 80
ACTOR 	3, "Warpgate Guard",	gateguard, 4, 40, 60
MUSIC   Jumpoints.mid
IF T111, @re
IF T110, @emp
IF T101, @new
IF T102, @new
IF T103, @new
IF T104, @new
IF T75, @ye
IF T71, @been
IF +T70+V35, @good
; Thanks Leniad for that!
	1: Welcome to the gate.
	2: You must have a ship configured to the optimum level to enter this warp.
	3: Would you like to hear the requirements? (YES/NO)
	ASK 999999
	IF +Yes, @yes
	IF +Y, @yes
	IF +y, @yes
	3: No? Okay, please come back later.
END
	@yes
	3: One.  You must have a pass from Star Congress giving you permission.
	3: Two.  Your ship must be at least level thirty five.
	3: And thats it.  You do not meet the requirements, I'm afraid.  
	3: Good Bye.  
END
	@good
	3: You meet the requirements, if you would like to warp? (YES/NO)
	ASK 99999
	IF +Yes, @ye
	IF +Y, @ye
	IF +YES, @ye
	3: No? Okay.  Just return when your ready.
	GIVE T71
END
	@been
	3: Are you ready?(YES/NO)
	ASK 99999
	IF +Yes, @ye
	IF +Y, @ye
	If +YES, @ye
	3: No? Okay.  Just return when your ready.
END
	@ye
      3: Warping in 1 second..
	WAIT 2.0
	GIVE T75
	GOTO LINK 9,0,0
END
	@new
	3: Warping in one second..
	WAIT 2.0
	GOTO LINK 11,0,0
END
	@emp
	3: Warping in one second, emperor %1, sir!
	WAIT 2.0
	GOTO LINK 11,0,0
END
	@re
	3: Warping in one second, emperor %1, sir!
	WAIT 1.0
	GOTO LINK 11,0,0
;------------
SCENE 31 ap1,SCENE, "Alien Planet"
	MUSIC 	evil.mid
    ACTOR	1,	"Diplomatic Vessel", crow, 2, 25, 70
	IF T114, @good
	IF T110-T114, @dead
	IF T113, @good
	IF T105+T103, @new
	IF T102, @bad
	IF T103, @good
	ACTOR	2,	"Guard", alien5, 1, 15, 50
	ACTOR	3,  "Guard", alien5, 1, 35, 90
	IF T96, @fight
	IF T95, @fight
	1: So, we meet at last, %1, the one that has caused us so much trouble..
	1: The Rebels.. the Star Congress... they were all mere toys!
    1: You helped to ruin our plans, by freeing the rebels, and turning our Teleporter there against us.
	SOUND neurton.wav
    1: Rest assured, you will pay for your sin.  Guards, take him!
	GOTO LINK 17,0,0
END
	@fight
	MUSIC ab.mid
	1: But.. how? HOW COULD YOU BE HERE?
	1: GUARDS! GUARDS!
	1: Hurt him! Huuurrtt him!
	MOVE 1.-25.-70
	MOVE 2.-15.-50
	MOVE 3.-35.-90
	FIGHT 108,108,109,109,111,111
	IF ALIVE, @won
	MOVE 1.25.70
	MOVE 2.15.50
	MOVE 3.35.90
	1: Puny fool!  We shall crush your pitiful colonies!
END
	@won
	PARTY ALIVE
	LOCK 1
	MOVE 1.25.70
	1: But.. how?  You cannot possibly possess that much power!
	1: Its.. impossible!  I.. I.. have the power to surrender my planet to you.
	1: If you swear not to destroy it, could you possibly accept? (YES/NO)
	ASK 9999999
	IF Yes, @yes
	IF y, @yes
	1: Nooo! Please! Siiirrrr!  Without your protection, we could die!  Please, reconsider...
	GIVE T102
END
	@bad
	1: You've reconsidered?? (YES/NO)
	ASK 999999
	IF Yes, @yes
	IF Y, @yes
	1: No? Please!
END
	@yes
	1: Thank you! Thank you! Thank you, kind sir!  Do you need anything?
	1: Anything at all?  Here, you can use our spaceports facilities!  Ill inform them to let you land!
	1: Thank you, kind sir!  Thank you!
	GIVE T103
END
	@good
	MUSIC Wellmusic.mid
	1: You will be landing in one second...
	GIVE T121
	GOTO LINK 16,0,0
END
	@new
    1: Thank you, good sir!  Sir, we thought you might want to be informed of something...
	1: The Alien Mothership has entered the system... we are preparing our planetary defences now, Emperor %1!
	1: Please, save us!
	GIVE T113
	WAIT 6.0
	GOTO LINK 11,1,0
END
	@dead
	1: You.. you did it!  Great Emperor!  I throw myself into your service!
	GIVE L1
	GIVE T114
	GIVE H6000
	GIVE M6000
	1: Please, accept the humble tribute this planet can offer!  You will be landing in two seconds..
	GIVE T121
	GOTO LINK 16,0,0
END

;------------
SCENE 32 ap1,SCENE, "Alien Planet"
	MUSIC 	evil.mid
    ACTOR	1,	"Diplomatic Vessel", crow, 2, 25, 70
	IF T116, @good
	IF T110-T116, @dead
	IF T115, @good
	IF T103+T105, @new
	IF T104, @bad
	IF T105, @good
	ACTOR	2,	"Guard", alien5, 1, 15, 50
	ACTOR	3,  "Guard", alien5, 1, 35, 90
	IF T96, @fight
	IF T95, @fight
	1: So, we meet at last, %1, the one that has caused us so much trouble..
	1: The Rebels.. the Star Congress... they were all mere toys!
    1: You helped to ruin our plans, by freeing the rebels, and turning our Teleporter there against us.
	SOUND neurton.wav
    1: Rest assured, you will pay for your sin.  Guards, take him!
	GOTO LINK 17.0.0
END
	@fight
	MUSIC ab.mid
	1: But.. how? HOW COULD YOU BE HERE?
	1: GUARDS! GUARDS!
	1: Hurt him! Huuurrtt him!
	MOVE 1.-25.-70
	MOVE 2.-15.-50
	MOVE 3.-35.-90
	FIGHT 108,108,109,109,111,111
	IF ALIVE, @won
	MOVE 1.25.70
	MOVE 2.15.50
	MOVE 3.35.90
	1: Puny fool!  We shall crush your pitiful colonies!
END
	@won
	PARTY ALIVE
	LOCK 1
	MOVE 1.25.70
	1: But.. how?  You cannot possibly possess that much power!
	1: Its.. impossible!  I.. I.. have the power to surrender my planet to you.
	1: If you swear not to destroy it, could you possibly accept? (YES/NO)
	ASK 9999999
	IF Yes, @yes
	IF y, @yes
	1: Nooo! Please! Siiirrrr!  Without your protection, we could die!  Please, reconsider...
	GIVE T104
END
	@bad
	1: You've reconsidered?? (YES/NO)
	ASK 9999999
	IF Yes, @yes
	IF Y, @yes
	1: No? Please!
END
	@yes
	1: Thank you! Thank you! Thank you, kind sir!  Do you need anything?
	1: Anything at all?  Here, you can use our spaceports facilities!  Ill inform them to let you land!
	1: Thank you, kind sir!  Thank you!
	GIVE T105
END
	@good
	MUSIC Wellmusic.mid
	1: You will be landing in one second...
	GIVE T120
	GOTO LINK 16,0,0
END
	@new
    1: Thank you, good sir!  Sir, we thought you might want to be informed of something...
	1: The Alien Mothership has entered the system... we are preparing our planetary defences now, Emperor %1!
	1: Please, save us!
	GIVE T115
	WAIT 6.0
	GOTO LINK 11,2,0
END
	@dead
	1: You.. you did it!  Great Emperor!  I throw myself into your service!
	GIVE L1
	GIVE T116
	GIVE H6000
	GIVE M6000
	1: Please, accept the humble tribute this planet can offer!  You will be landing in two seconds..
	GIVE T120
	GOTO LINK 16,0,0
END
;-----------
SCENE 33 metal,SCENE, "Alien Jail"
	ACTOR 1, "Rebel Spy", joshtownsfolk, 32, 15, 80
	ACTOR 2, "Rebel Spy", joshtownsfolk, 19, 76, 89
	MUSIC	evil.mid
	IF T80, @80
	1: %1! How?  Have you come to... rescue us?
	2: It... it couldnt be! Its you!
	1: We... we were captured.  The aliens.. the Typhon, as they call themselves... the power they hold..
	1: They took all of our weapons, we have been trapped.
	1: We... we have a way out of this prison, but Im afraid the only way off to the surface is heavily guarded, a spaceport.
	1: I can help you get there, sabotage their defences, but you must free us to help you.  
	2: We have just completed a passage out of this jail, it should bring you up just beyond the laser-wall.
	1: Once outside, we need you to get to the generator.  If you can shut it off for just a few seconds, We would be able to get out.
	2: Remember!  You must shut them off IN ORDER, the first one then the second.
	2: Will you help us?  (YES/NO)
	ASK 99999
	IF +YES, @yes
	IF +Y, @yes
	GIVE T80
	2: Okay, return to the cell.  We will make our own escape, without your help.
END
	@80
	1: Changed your mind? (YES/NO)
	ASK 99999
	IF +Yes, @yes
	IF +Y, @yes
	2: Do not taunt us so, you %3!
END
	@yes
	1: Excellent!  You are our only chance, dont fail us!  You freed us before, please, do it again!
	1: Keep in mind, you have a limited amount of time!  Once you leave, you will have 3 minutes before the guards come back!
	1: Do not let them discover you!
	WAIT 2.0
	COUNTDOWN 180
	GOTO LINK 17,9,0
END
;------
SCENE 34 bgwatercave2,SCENE, "Pool of Water"
MUSIC Wellmusic.mid
	@repeat
	GIVE L1
	SOUND C702.wav
	GIVE H100
	GIVE M100
	GOTO @repeat
END
;------
SCENE 35 watch,SCENE, "Alien Tower"
	ACTOR 1, "Skill"
	IF XP, @g
	IF T81,@foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T81
END
	@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 3, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	3: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
	
;--------
SCENE 36 watch,SCENE, "Alien Tower"
	ACTOR 1, "Skill"
	IF XP, @g
	IF T82, @foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T82
END
	@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 3, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	3: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;---------
SCENE 37 watch,SCENE, "Alien Tower"
ACTOR 1, "Skill"
IF XP, @g
IF T83, @foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T83
END
@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 3, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	3: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;---------
SCENE 38 watch,SCENE, "Alien Tower"
ACTOR 1, "Skill"
IF XP, @g
IF T84, @foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T84
END
	@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 3, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	3: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;-----------
SCENE 39 watch,SCENE, "Alien Tower"
ACTOR 1, "Skill"
IF XP, @g
IF T85, @foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T85
END
	@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 1, "Guard", Patrol, 1, 50, 70
	ACTOR 3, "Guard", Patrol, 1, 60, 70
	3: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;--------
SCENE 40 watch,SCENE, "Alien Tower"
ACTOR 1, "Skill"
IF XP, @g
IF T86, @foundhere
	IF T125, @4
	IF T124, @3
	IF T123, @2
	IF T122, @1
	1: You search the area with a skill level of: 0
	IF R10, @yes
	' You find nothing
END
	@1
	1: You search the area with a skill level of: 1
	IF R20, @yes
	' You find nothing
END
	@2
	1: You search the area with a skill level of: 2
	IF R30, @yes
	' You find nothing
END
	@3
	1: You search the area with a skill level of: 3
	IF R50, @yes
	' You find nothing
END
	@4
	1: You search the area with a skill level of: 4
	IF R75, @yes
	' You find nothing
END
	@yes
	' You found a set of explosives!
	GIVE T86
END
	@foundhere
	' You allready searched this area!
END
	@g
	ACTOR 3, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	1: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;-------
SCENE 41 energy,SCENE, "Alien Generator 1"
ACTOR 1, "Skill"
	IF XP, @g
	IF T88, @broken
	IF T89, @broken
	IF T90, @broken
	IF T91, @broken
	IF T92, @broken
	IF T93, @broken
	IF T94, @broken
	IF T81, @81
	IF T82, @82
	IF T83, @83
	IF T84, @84
	IF T85, @85
	IF T86, @86
	IF T87, @87
	' You need some explosives... maybe one of those guardtowers would have some?
END
	@81
	' You plant the explosives... you better get out of here!
	GIVE T88
	GOTO LINK 17,1,0
END
	@broken
	' You allready disabled this power generator!  Good Job!
END
	@82
	' You plant the explosives... you better get out of here!
	GIVE T89
	GOTO LINK 17,1,0
END
	@83
	' You plant the explosives... you better get out of here!
	GIVE T90
	GOTO LINK 17,1,0
END
	@84
	' You plant the explosives... you better get out of here!
	GIVE T91
	GOTO LINK 17,1,0
END
	@85
	' You plant the explosives... you better get out of here!
	GIVE T92
	GOTO LINK 17,1,0
END
	@86
	' You plant the explosives... you better get out of here!
	GIVE T93
	GOTO LINK 17,1,0
END
	@87
	' You plant the explosives... you better get out of here!
	GIVE T94
	GOTO LINK 17,1,0
END
	@g
	ACTOR 1, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	1: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;--------
SCENE 42 energy,SCENE, "Second Alien Generator"
ACTOR, "Skill"
	IF XP, @g
	IF -T88-T89-T90-T91-T92-T93-T94, @doh
	IF T81-T88, @good
	IF T82-T89, @good
	IF T83-T90, @good
	IF T84-T91, @good
	IF T85-T92, @good
	IF T86-T93, @good
	IF T87-T94, @good
	' You dont have any explosives!  Try searching the guard towers..
END
	@doh
	' You have not destroyed the First Generator yet!  They must be done in order!
END
	@good
	' You plant the explosives.  You better get out of here!
	WAIT 1.0
	GOTO SCENE 44
END
	@g
	ACTOR 1, "Guard", Patrol, 1, 50, 70
	ACTOR 2, "Guard", Patrol, 1, 60, 70
	1: There he is!
	2: Get him!
	TAKE T80
	TAKE T81
	TAKE T82
	TAKE T83
	TAKE T84
	TAKE T85
	TAKE T86
	TAKE T87
	TAKE T88
	TAKE T89
	TAKE T90
	TAKE T91
	TAKE T92
	TAKE T93
	TAKE T94
	GOTO LINK 17,0,0
END
;-------
SCENE 43 stock,SCENE, "Stock Exchange"
ACTOR 1,"Speaker"
MUSIC Wellmusic.mid
GAME 7
1: The DAN is up 10 points today, Donations increased by 100%!
END
;----------
SCENE 66,stock, SCENE, "Bills Brokerage"
ACTOR 1,"Bill", joshTownsfolk, 8, 25, 70
MUSIC Wellmusic.mid
IF T453, @doned
IF T1+#20, @check
IF #20, @2
OFFER 98
IF #20, @2
1: Welcome to the brokerage.  
1: For a small commision, we can provide you with a direct link to the stock market from anywhere.
1: Simply purchase one of these tokens and use one whenever you need us.
END
@2
1: Welcome to the brokerage.
1: I have discovered some new technologies since we last met.
1: I can make it so that when you stop your ship, you can access the stock market.
1: Unfortuanatly, it is expensive to install, 500,000 to be exact.
IF G500000, @accept
1: You dont have enough money, you can still purchase my old terminals.
OFFER 98
GIVE T1
END
@check
OFFER 98
IF G500000, @accept
1: You still do not have enough money to buy the new technology, but can purchase my old terminals.
END
@accept
1: Would you like to purchase the new technologies for 500,000 Gold? (YES/NO)
ASK 99999
IF Yes, @yes
1: No?  It is rather expensive, you can still purchase the old terminals.
OFFER 98
END
@yes
1: Okay, one moment.
TAKE G500000
GIVE T453
1: Excellent.  Now when you stop your ship, you will have a direct link to the exchange.
1: Farewell!
END
@doned
OFFER 98
1: Back again?  Okay..
1: Odd, as you have the ultimate in brokerage technology allready...
1: Well, you can allways buy more of my older terminals..
END
;------------
SCENE 44 alientemple,CUT, "Alien Capital"
	ACTOR 1, "Alien Leader", trans, 1, 45, 90
	ACTOR 2, "Aid", trans, 1, 35, 90
	MUSIC evil.mid
	COUNTDOWN 1
	2: The prisoner has escaped, sir!
	1: How could you of let this happen?  He could ruin our plans!
	2: Yes, sir, I know.  I have allready turned on the becon, the mothership should be in the system allready..
	1: Wise decision.  I would have you killed otherwise.   The second he shows his %3 face, we will have him!
	2: Yes, Sir! 
	WAIT 2.0
	GOTO SCENE 45
END
;------
; Alien Momaship Entrance, On bridge
	SCENE 45 bridge, CUT, "Alien Mothership"
ACTOR 2, "Alien Commander", alien13, 1, 40, 50
ACTOR 1, "Alien Grunt", alien, 1, 66, 50
MOVE 1, 65, 50
	MUSIC evil.mid
	1: Sir, we have recieved a beacon from our homeworld!  They are in trouble!
	2: Change course immediatly!  We have no time to spare!  Bring up the shields, arm our weapons!  Hurry!
	1: Sir, Yes sir!
	WAIT 2.0
	GOTO SCENE 46
END
;--------
; Spaceport from Alien Planet
	SCENE 46 spaceport, SCENE, "Spaceport"
	ACTOR 1, "Rebel Spy", joshtownsfolk, 32, 15, 80
	ACTOR 2, "Rebel Spy", joshtownsfolk, 19, 76, 89
	MUSIC evil.mid
	1: You did it!  Great job, %1!
	2: We had just a few moments, but it was enough! 
	1: As you can see, we just cleared the spaceport out for you, are you ready to seek your vengence?
	2: You see, we have gathered alot of information, which we plan to take back to the rebels on Hiyerian.
	1: The information is about a mothership the aliens have been constructing.  If it is completed... it would..
	2: Be enough to destroy everything.  Us, Star Congress, Everything.
	2: We fear that it may have allready been completed.  If we are correct, then we have very little chance left.
	2: The rebels were, before they were expelled from the home system, working on a ship of their own.  Now that they have returned to a planet..
	1: It is possible it is completed.  Please, would you fly us to Hiyerian?  (YES/NO)
	ASK 9999999
	IF YES, @yes
	IF Y, @yes
	IF ye, @yes
	1: You refuse?  We put too much faith in you then, but we made a bargain.  I will initiate the launch.
	1: Launching in 3 seconds..
	WAIT 3.0
	GIVE T96
	GOTO LINK 9,1,0
END
	@yes
	1: Great! We'll be onboard your ship in just a few seconds, then we can launch!
	WAIT 3.0
	GIVE T95
	GOTO LINK 9,1,0
END
;-------------
; Rebel Mothership
SCENE 56 mamaship, SCENE, "The Final Battle"
	ACTOR 1, "Computer"
	ACTOR 2, "Alien Mothership"
	IF T110, @skip
	IF T111, @skip
	IF DEAD, @dead
	MUSIC b1.mid
	1: The first wave, incoming.  Preparing shields, loading weapons.
	WAIT 2.0
	FIGHT 108,108,109,109,111,111
	PARTY ALIVE
	LOCK 1
	IF ALIVE, @won
	2: Fool!  You shouldn't of dared to go up against the likes of us!
END
	@won
	1: First wave passed, second wave incoming!  ETA 10 seconds!
	MUSIC ab.mid
	WAIT 10.0
	FIGHT 111,108,109,117,119,106,111,109,117,108,106,106
	PARTY ALIVE
	IF ALIVE, @won2
	2: Pitiful....
END
	@won2
	1: Second wave has been breached!  Final wave incoming, ETA 10 seconds!
	PARTY ALIVE
	MUSIC bof.mid
	WAIT 5.0
	PARTY ALIVE
	FIGHT 111,111,108,109,117,119,108,111,109,109
	IF ALIVE, @won3
	2: You may have come close, but our wraith defeats all in the end!
END
	@won3
	PARTY ALIVE
	MUSIC ded.mid
	1: All waves have been breached!  Preparing to attack Mothership, setting course, we will arrive in roughly 10 seconds!!
	WAIT 5.0
	1: The defence grid around the mothership is much stronger than that of ours.
	1: Good Luck, commander.  ETA 5.0 Seconds.
	WAIT 5.0
	GOTO SCENE 49
END
	@skip
	GOTO SCENE 49
END
	@dead
	1: Your dead.  Loser.
END
;---------
; Petes Pirates
SCENE 48 spaceport, SCENE, "Pete's Pirates Supplies and Ammunition/Bar"
	ACTOR 1, "Pete", joshtownies, 9, 30, 70
	MUSIC Wellmusic.mid
	IF #16, @2
	OFFER2 10,30,13
	1: Welcome to my shop, %1.
	1: Please, buy whatever you need.
END
	@2
	OFFER2 50,75,13
	1: Welcome!
	1: The aliens dont even know this is illegal!
END
;---------
SCENE 49 stars, SCENE, "Final Battle"
	ACTOR 1, "Computer"
	ACTOR 2, "Alien Mothership"
	ACTOR 3, "Rebels"
	IF T111, @lol
	IF T110, @emperor
	GIVE H6000
	GIVE M6000
	3: Here we come!  ETA of just a few more seconds!  You take the mothership.. we'll worry about the rest!
	WAIT 2.0
	1: Preparing weapons!  Shields back at 100%! Here we go!
	WAIT 2.0
	PARTY ALIVE
	LOCK 1
	FIGHT 115,108,108,106,106,111,111,119,119,109,109,-118,-118
	IF ALIVE, @emperor
	3: Aahhhrrrgg.. ahhh... noooo...
	2: You puny fool, you are dead!
END
	@emperor
	MUSIC Victory.mid
	IF T111, @done
	2: No! How!  This is... impossible! NOOOOOOOOOOOOOOOOO!
	GIVE T110
	TAKE T1
	GIVE G35000
	ACTOR 3, "Escape Pod", peas, 1, 50, 60
	3: You've... you've done it!
	3: Amazing!  I didn't believe it was possible.. yet here you are!
	3: Allow me to introduce myself.  I am Ghalaxin, a prophet.  I was trapped by the aliens countless years ago.
	3: Yet.. I am free now.  Great sir, you know that with your destruction of this ship, you are effectively our emperor?
	3: None could of stood in front of its might, and now, likewise, yours.  You now where the crown of duty on your shoulders.
	3: And so, I ask of you, to help this universe return to peaceful ways, and eliminate all other threats to it.
	3: On the outskirts of the alien system, there lay a ancient warp.. none but I know how to operate it.
	3: Will you allow me to join you, and enter the universe into a new realm of peace under your rule? (YES/NO)
	ASK 99999
	IF Yes, @y
	IF Y, @y
	3: No?  Give it some thought, I will wait here if you have a change of heart.
END
	@y
	3: Thank you, emperor %1.  You have done your servants an unrepayable duty.
	GIVE T111
	MOVE 3, -50, -50
END
	@lol
	1: Would you like to fight the alien battle again?  (YES/NO)
	ASK 999999
	IF Yes, @ye
	IF Y, @ye
	1: No?  Coward!
END
	@ye
	1: Okay, the fight will begin in five seconds.
	WAIT 5.0
	GOTO SCENE 60
END
	
	
;----------
SCENE 50 warp3,SCENE, "Alien Warp"
ACTOR	1, "Warpgate Guard",	gateguard, 4, 60, 60
ACTOR	2, "Computer"
MUSIC   Jumpoints.mid
IF T111, @emp
	1: Blarkjarkenon Lightykliy
	1: Lightyiuopom!
	2: You cannot understand or operate this warp.
	1: Lightyionahueon!
	1: Jiutyron Huyerian gharhetin ahfdop aharep naslietyh lasoiryh aspdf!
END
	@emp
	ACTOR 3, "Escape Pod", peas, 1, 50, 70
	PARTY ALIVE
	PARTY Noparty
	LOCK 1
	PARTY C#<num.hostclass>
	1: Blarkjarkeon Lightykliy
	3: "Do you really want to attempt this warp?"
	1: Lightyiupom!
	3: "Once you enter, you cannot return."
	1: Lightyionahueon!
	3: "Except for through the land of light."
	1: Jiutyron Huyerian gharhetin ahfdop aharep naslietyh lasoiryh asdpf?
	3: "Through this warps lies the haven.  Do you wish to warp?" (YES/NO)
	ASK 99999
	IF YES, @y
	IF Y, @y
	IF Ye, @y
	3: No.
	1: Jiunghty.
	3: "Return when you wish."
END
	@y
	1: Yuignan.
	3: "Warping in 1 second.  For the last time."
	WAIT 2.0
	GOTO SCENE 84
; This is the Storyline Scene, in turn warps you out.
END
;---------
SCENE 51 bazaar, SCENE, "Joes Alien Weapons"
	ACTOR 1, "Joe", joshtownies, 9, 30, 70
	MUSIC Wellmusic.mid
	IF #16, @2
	OFFER2 10,30,16
	1: Psst.  %1, over here!
	1: I saw your ship.. thought you might need some equipment.
	1: Ill even sneak it onboard your ship for you!
END
	@2
	OFFER2 50,75,16
	1: Welcome to my store.
	1: My weapons are legal here!
END
;--------------
#include credits.txt
;--------
	SCENE 58 "fighterbg", SCENE, "Fighter Shop"
	ACTOR 1, "Frank", JoshTownies, 15, 60, 70
	MUSIC Wellmusic.mid
	IF #16, @2
	OFFER2 10,30,15
	IT T110, @emp
	1: Welcome to my story, %1.
	1: Please, peruse my items.
END 
	@emp
	1: Emp.. Emperor %1!
	1: It is an honor to have you in my store!
END
	@2
    OFFER2 50,75,15
	1: I set up a shop here, and am having stuff shipped straight from Rewag!
END
;-----------
	SCENE 57 uhlan2, SCENE, "Afterthought Arcade
	ACTOR 1, "Ace", JoshTownies, 15, 60, 70
	MUSIC Wellmusic.mid
	SOUND begin.wav
	GAME 6
	1: Welcome to the arcade.
	1: Good Luck!
END
;----------
;--------
; Rebel Mothership
SCENE 60 mamaship, SCENE, "The Final Battle"
	ACTOR 1, "Computer"
	ACTOR 2, "Alien Mothership"
	MUSIC bof.mid
	1: The first wave, incomming!  Preparing shields, loading weapons, prepare yourself!
	WAIT 2.0
	FIGHT 108,108,109,109,111,111,109,109,111
	PARTY ALIVE
	LOCK 1
	IF ALIVE, @won
	2: Fool!  You shouldn't of dared to go up against the likes of us!
END
	@won
	1: First wave passed, second wave incoming!  ETA 10 seconds!
	MUSIC bof.mid
	PARTY ALIVE
	WAIT 10.0
	FIGHT 111,108,109,117,119,106,111,109,117,108,106,106,108,108,108
	PARTY ALIVE
	IF ALIVE, @won2
	2: Pitiful....
END
	@won2
	1: Second wave has been breached!  Final wave incoming, ETA 5 seconds!
	MUSIC bof.mid
	WAIT 5.0
	PARTY ALIVE
	FIGHT 111,111,108,109,117,106,108,119,108,119,117,111,109,109,117,119
	IF ALIVE, @won3
	2: You may have come close, but our wraith defeats all in the end!
END
	@won3
	MUSIC bof.mid
	PARTY ALIVE
	1: All waves have been breached!  Preparing to attack Mothership, setting course, we will arrive in roughly 10 seconds!!
	WAIT 10.0
	GOTO SCENE 61
END
;------
SCENE 61 stars, SCENE, "Final Battle"
	ACTOR 1, "Computer"
	ACTOR 2, "Alien Mothership"
	IF T111, @lol
	MUSIC bof.mid
	GIVE H6000
	GIVE M6000
	1: Preparing weapons!  Shields back at 100%! Here we go!!!
	2: Ha!  Your rebel friends aren't here to help you this time!
	WAIT 4.0
	PARTY ALIVE
	LOCK 1
	FIGHT 115,108,108,106,106,111,111,119,119,109,109,111,119
	IF ALIVE, @emperor
	2: You puny fool, you are dead!
END
	@emperor
	MUSIC Victory.mid
	1: Good job, you have defeated the mothership again!
	GIVE L1
	GIVE H6000
	GIVE M6000
END
;---------
; ULTO TAKE POWER! AHAHHAHAHAH!
#include take.txt
;-------
SCENE 63 black, SCENE, "Welcome Center"
@tope
MUSIC odd.mid
ACTOR 1, "?", act, 2, 40, 50
	IF T127, @helped
	IF T115, @ok
	1: Weelcome, stranger, to our land.
	1: Wee have beeen expeecting yoou.
	1: Foor years, we wait for you.  You came.  We haave muuch to discusss.
	1: Thees is our lives.  Our place.  We arr thee balancers.
	1: Buut.. it izz noot goood.  Noot alll.  Zie Univearse, chaaoesss haas strook.
	1: Yoouu.  Youu caan heelp.  Goo to zie gatevays.  Seetle zie dizputes.
	GIVE T115
	TAKE T4000
	1: Heeree.. Heeere yoouu muuust laand noww...
	GOTO LINK 20,0,0
END
	@ok
	1: Heelp theem all!
END
	@helped
TAKE T127
TAKE T115
GOTO @tope
END
;----------
SCENE 64 black, SCENE, "Gateway"
MUSIC odd.mid
ACTOR 1, "?", act, 2, 40, 50
	IF T115, @ok
	IF T200, @warp
	1: You haven't visiteed the Velcome Senter?
	1: Pleese, going there.
END
	@ok
	1: Soo, you vill help us?
	1: Exceelent.  Vie developed thies gatevay, tis based on neeed.
	1: Were you are need, you caan goo.  Thee only vay baack iss zie Time Warp.
	1: Yoo caaan reeturn heere verever ahh warp iss located.
	1: Is yoou reedy? (YES/NO)
	ASK 99999
	IF Yes, @y
	IF Y, @y
	1: Nhoo?  Pleese, hielp us!
END
	@y
	1: Exceeleent!  I wieel activate zie warp!
	GIVE T200
	WAIT 2.0
	GOTO LINK 14,0,0
END
	@warp
	1: Actieevating zie warp!
	WAIT 2.0
	GOTO LINK 14,0,0
;----------
SCENE 65 scene9, SCENE, "Fev Homeworld"
MUSIC penguin.mid
ACTOR 1, "Emperor Penguin", f1, 1, 40, 60
	IF T127, @us
	IF T126, @yahoo
	IF T117, @2
	IF T116, @squawk
	1: Welcome to my {squawk} home.
    1: We {squawk}live simply here, until the {squawk} bears came!
	1: They are {squawk} mean!  They steal our fish!
    1: Could you {squawk} protect our stars?  Secure them?
    1: {squawk} We would be much obliged! (YES/NO)
	ASK 99999
	IF Yes, @y
	IF Y, @y
	1: No? {Squawk}, please come back if you {squawk}, change your mind.  {Squawk}
    GIVE T116
END
	@squawk
	1: Please, {squawk}, help us! (YES/NO)
	ASK 999999
	IF Yes, @y
	IF Y, @y
	1: No? {Squawk}, please come back if you {squawk}, change your mind.  {Squawk}
END
	@y
	1: You'll really {Squawk!} help us? Thank you!!
	GIVE T117
	@2
	1: {Squawk} Please, go to the clusters, and {squawk}, clear the Laggers from there!
	GIVE L1
	GIVE H6000
	GIVE M6000
END
	@yahoo
	1: You did {Squwak} it!  Thank you, thank you, thank {Squwak} you!
	1: Please, {Squwak}, accept this as a reward!
	GIVE L1
	TAKE T4040
	GIVE H6000
	GIVE M6000
	GIVE T127
	GIVE G20000
	GIVE I717
	1: {Squwak} Once you leave this place, we {Squwak} will probably never meet again..
	1: Thank you, %1!
	1: {Squwak}
	1: Now look, you're gettin me all {Squwak} teary..
	1: {Squwak} We'll never forget you, %1!
END
	@us
	1: Thank you! {Squwak} Thank you!
	GIVE L1
	GIVE H6000
	GIVE M6000
END
;--------------
SCENE 70, Solar, SCENE, "Ulons Upgrades"
ACTOR 1, "Ulon", joshTownsfolk, 12, 25, 70
MUSIC Wellmusic.mid
IF #20, @3
IF #16, @2
OFFER2 10,30,22
1: Welcome to the warehouse.
1: Here I will upgrade your ship... for a small fee.
END 
@2
OFFER2 50,75,22
GIVE L1
GIVE H6000
GIVE M6000
1: I set up a shop here...
1: The locals look rich.
END
@3
OFFER2 40,99,23 50,99,22
GIVE L1
GIVE H6000
GIVE M6000
1: The moisture here brings lots of customers...
1: But it also rusts the parts away.
END
;-------------
SCENE 71, spaceport, SCENE, "Spaceport"
ACTOR 1, "Alien", Alien, 1, 10, 75
	1: You will be taking off in just a moment..
	IF T121+T115, @1	
	IF T120+T115, @2
	IF T121, @3  
	IF T120, @4
END
	@1
	TAKE T121
	GOTO LINK 11,1,0
END
	@2
	TAKE T120
	GOTO LINK 11,2,0
END
	@3
	TAKE T121
	GOTO LINK 9,1,0
END
	@4
	TAKE T120
	GOTO LINK 9,2,0
END
;--------
#include skill.txt
;-----------
SCENE 73, stars, SCENE, "Starfield"
IF T117-T118-T119, @ha
ACTOR 1,"Heckbear", heckbear, 1, 70, 50
MUSIC ab.mid
IF T126, @iop
IF T119, @lop
IF T118, @ah
1: Grrrr...do not come to close to the bears....
1: Do not... cross us!
1: Grrrrr....
END
@ha
1: So, you come to challenge US? US?
1: Ha!  We will see just how long you last!
MOVE 1, -50, -50
PARTY ALIVE
LOCK 1
FIGHT 120,121,122,123
PARTY ALIVE
IF ALIVE, @won
1: Ha! Puny Fool!
END
@won
MOVE 1, 50, 70, 1
1: You defeated... us? No!  You will never kill me!
GIVE T118
END
@ah
ACTOR 1,"King Gabe", heckbear5, 1, 70, 50
1: You!  It was YOU that killed my bear!
1: YOU WILL PAY!!
MOVE 1, -50,-50
PARTY ALIVE
FIGHT 120,120,121,121,122,122,123,123
PARTY ALIVE
IF ALIVE, @ty
1: Vengence is best served cold.
END
@ty
PARTY ALIVE
MOVE 1, 50, 70, 1
1: Noooooooooo.....
GIVE T119
END
@lop
ACTOR 1,"King Gabe",heckbear5, 1, 70, 50
1: You.. you.. fiend!  You.. killed my sibling!
1: Prepare to be vanquished!
PARTY ALIVE
LOCK 1
FIGHT 123, 123, 123, 123, 122, 122, 121, 121,124
PARTY ALIVE
IF ALIVE, @yia
1: Foolish %1!  Never challenge us again.
END
@yia
PARTY ALIVE
MOVE 1, 50, 70, 1
1: Noo...noooo...Noooo...!
GIVE T126
END
@iop
ACTOR 1, "Computer"
1: No lifeforms detected in the area.
END
;-------
;--------
SCENE 76, danscan, SCENE, "Dan's Devices"
ACTOR 1, "Dan", act3, 1, 50, 70
MUSIC Wellmusic.mid
IF #3, @3
IF #16, @4
END
	@3
	OFFER 39,40,42,43,847,848,850,851,853,854
	1: So, %1, we meet at last.
	1: I see you downloaded my world, and thought you could escape me?
	1: Ha!  You must purchase items from me!
	1: Now!  I command thee!
END
	@4
	OFFER 41,846,849,852,855
	1: I see you still want to taunt me?
	1: Buy!
	1: Buy my items, and while your at it, goto http://www.everpace.org and peruse my site!
	1: Now go, slaveling!
	1: Go!
END
;-------
SCENE 77, warp6, SCENE, "Continue Warp"
ACTOR 1, "?", act, 2, 70, 50
MUSIC odd.mid
IF T131, @go
1: Willzome zu die varp.
1: Iff you deecide to eenter thees, you caan reeturn wheenever eet may pleese you.
1: Thees vill coonttiinuee yerrr queeest.  Yoouu mooost gooo annnd heeelp thee outtwoorllderrs.
1: Oorr the eimpeere.  Izz oop too yuuu. (YES/NO)
ASK 99999
IF Yes, @y
If Y, @y
1: Nu? I donnu blaame yoou.  Coome baack iff you decidee otheerwiese.
END
@y
1: Eeexcelleent.
@go
1: Warp im onee seecond.
WAIT 1.0
GIVE T130
GOTO LINK 18,0,0
END
;----------
	SCENE 84, scene3, CUT, "Through the Warp"
	ACTOR 1, "",cred5, 2, 30, 50
	MUSIC rad.mid
	WAIT 26.5
	GOTO LINK 12,0,0
END
;---------
;--------
SCENE 85, skill, SCENE, "Wens Weapons"
; Use Tokens T460+
ACTOR 1, "Wen", JoshTownies, 15, 60, 70
MUSIC Shop2.mid
IF C1, @earth
IF C2, @fighter
IF C3, @pirate
IF C4, @alien
1: You must be some wierd class that doesnt exist.  Go away...
END
@earth
OFFER2 50,99,12
1: Welcome to my store.  Please browse my wares, %1.
END
@fighter
OFFER2 50,99,15
1: Welcome to my store.  Please browse my wares, %1.
END
@pirate
OFFER2 50,99,13
1: Welcome to my store.  Please browse my wares, %1.
END
@alien
OFFER2 50,99,16
1: Welcome to my store.  Please browse my wares, %1.
END
;-----------
SCENE 86 	armor,SCENE, "Armory"
    MUSIC   Shop2.mid
	ACTOR	1,	"Larent",act,4, 25, 90

IF C1, @earth
IF C2, @fighter
IF C3, @pirate
IF C4, @alien
	' What kind of freak are you?
END
	@earth
	OFFER 260,261,262,263,264,819,820,821,822,823,824,825,220,221,222,223,297,298,299,10,7,8
	' Welcome to my new shop!
	' Please, look at my wares.
END
	@alien
	OFFER 245,246,247,248,249,837,838,839,840,39,40,41,42,43,277,278,279,280,281,7,8
	' Welcome to my new shop!
	' Please, look at my wares.
END
	@pirate
	OFFER 238,239,240,241,242,35,36,832,833,834,835,268,269,270,271,272,7,8
	' Welcome to my new shop!
	' Please, look at my wares.
END
	@fighter
	OFFER 229,230,231,232,293,294,295,296,30,31,32,826,827,828,829,830,831,285,286,287,288,289,7,8
	' Welcome to my new shop!
	' Please, look at my wares.
END
;------
#include pirate.txt
;------
SCENE 94, respace, SCENE, "Spaceport"
ACTOR	1,	"Spaceport Guard", gateguard, 4, 25, 90
LOCK 1
IF C1, @earth
IF C2, @fighter
IF C3, @pirate
IF C4, @alien
END
@earth
1: Welcome to the Spaceport.
WAIT 1.0
1: You will be warping in 3 seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C1
GOTO LINK 38,1,0
END
@nogofourth
1: You must return to the warp alone.
END
;------------
@pirate
1: Welcome to the Spaceport.
WAIT 1.0
1: You will be warping in 3 seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
@erf
PARTY C3
WAIT .5
GOTO LINK 24,3,0
END
@nogofourth
1: You must return to the warp alone.
END
;-------------
@fighter
1: Welcome to the Spaceport.
WAIT 1.0
1: You will be warping in 3 seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C2
GOTO LINK 2,3,0
END
@nogofourth
1: You must return to the warp alone.
END
;-----------
@alien
1: Welcome to the Spaceport.
WAIT 1.0
1: You will be warping in 3 seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C4
WAIT .5
GOTO LINK 31,1,0
END
@nogofourth
1: You must return to the warp alone.
END
;----------
SCENE 150, white, SCENE, "End Timewarp"
ACTOR	1,	"Timewarp Guard", gateguard, 4, 25, 90
LOCK 1
IF #43, @43
GIVE T4000
GIVE T4040
GIVE T3000
GOTO LINK 43,0,0
END
@43
GIVE T4000
GIVE T4040
GIVE T3000
BKGND warp2
IF C1, @earth
IF C2, @fighter
IF C3, @pirate
IF C4, @alien
END
	@earth
1: Welcome to the warp.
WAIT 1.0
1: You will be beginning your quest in three seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
	PARTY C1
	GOTO LINK 35,0,0
END
@nogofourth
1: You must return to the warp alone.
END
;------------
	@pirate
1: Welcome to the warp.
WAIT 1.0
1: You will be beginning your quest in three seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
	PARTY C3
	GOTO LINK  22,0,0
END
@nogofourth
1: You must return to the warp alone.
END
;-------------
	@fighter
1: Welcome to the warp.
WAIT 1.0
1: You will be beginning your quest in three seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
	PARTY C2
	GOTO LINK 0,0,0
END
@nogofourth
1: You must return to the warp alone.
END
;-----------
	@alien
1: Welcome to the warp.
WAIT 1.0
1: You will be beginning your quest in three seconds.
WAIT 3.0
	COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
	PARTY C4
	GOTO LINK 29,1,0
END
@nogofourth
1: You must return to the warp alone.
END
;------
#include fightclub.txt
;-------
#include alien.txt
;-------
#include earth.txt
;-------
SCENE 200, ap1, SCENE, "Basic Training"
ACTOR 1, "Tutor", Robo, 1, 50, 70
MOVE 1, 51, 70
1: Welcome to the world of Everspace.  This training is identical to that of Evergreen and will apply to any WoS worlds.
1: Go to the final Training, Skills and Advanced, for Everspace Specific Information.
1: So, you still need training?  Listen up then.
1: First, lets try moving around.  To move your person within the scene, simply left-click anywhere on the screen.
1: Try that now.
WAIT 4.0
1: Good.  Or bad, I don't really know if you did it, but mearly waited four seconds.
1: Second, you will learn how to see what items you currently have, your statistics, and view other players.
1: To see what items you have, click on the far right button on the interface at the bottom.
1: This brings up a list of the name and number of items you currently have.
1: Now, lets move on to viewing your current weapons/armor and equipping them.  Here, I'll give you a sample hull.
GIVE I250
1: Now, click on the "Equip" button.  This should be the third button from the right.
1: Here is a list of all weapons/armor you currently have.  If a green plus appears beside one, it means it will help you if you Equip it.
1: To equip an item, right click on the item you would like to equip, then click on "Equip".
1: If there is a red x beside any of the items, this means you cannot equip it.
WAIT 1.0
1: Moving on, you can view the statistics of your ship by clicking on "Statistics", the fourth button from the right.
1: When you click this, it brings up all the details about your ship, and how far you have until the next level.
1: In order to view other players, you mearly click on the map button (5th from the right).  This brings up the map and a list of other players.
1: You have three other buttons on your interface. Camping is the first. If you camp, this stops you and brings you into an empty scene.
1: This is useful if you need to use healing items.  
1: If you click on return to well, this sends you to the charachter creation/selection screen.
1: The last remaining button is the "Spells" button.  If you click on this, it brings up a list of available spells.
1: In the world of Everspace, though, this brings up a list of Skills.
1: That is all I have to teach you, move on to the Weapons Training for more information.
END
;-----
SCENE 201, ap2, SCENE, "Weapons Training"
ACTOR 1, "Tutor", Robo, 1, 50, 70
MOVE 1, 51, 70
1: Fighting Monsters is the only way to gain levels in the worlds of Well of Souls.
1: It is much simpler than it appears, as you will see very soon.
1: Once a monster appears on your scene, a white circle will appear around you.
1: This circle defines a "no-miss" zone.  If a monster is inside this circle, you will not miss it.
1: To attack the enemy, you must mearly click on it.  You can do this faster/slower based on your statistics.
1: Also, the more powerful your equipped armor/weapons, the more powerful your attacks.
1: Would you like to try it out? (YES/NO)
ASK 99999
IF YES, @yes
1: No? Okay, fair enough.
@onemore
1: There is one final thing I must teach you.
1: Within a battle, you can use your "Spells", or "Skills" as they are called in Everspace.
1: To do this, click on the Spells button (2nd from the right).
1: When this is clicked on, it brings up a list of the current spells/skills you can use.
1: Click on the one you would like to use, then click on an enemy.
1: If you have enough MP (Magic Points), the skill/spell will cast.
1: Good luck, %1.  You can now move on to Advanced Training.
END
@yes
1: Okay.
FIGHT 1
IF ALIVE, @onemore
GIVE L1
GIVE H6000
GIVE M6000
@tryagain
1: Good Try.  Would you like to try again? (YES/NO)
IF NO, @onemore
1: Okay.
FIGHT 1
IF ALIVE, @onemore.
GOTO @tryagain
END
;-------
SCENE 202, ap2, SCENE, "Advanced Training"
ACTOR 1, "Tutor", Robo, 1, 50, 70
MOVE 1, 51, 70
1: If you've played other worlds before, this is the place to start.
1: All the information here is everspace-specific.
1: First, I would recommend that you read the quest diary.  It has alot of information in it.
1: Here is a rough overview of what differences you can expect between Evergreen and Everspace.
1: First, you rarely get spells, and they are titled skills here.
1: Secondly, you can acquire real "skills".  These can do anything from heal you before a battle to give you additional cash.
1: Thirdly, in alot of cases you may discover that you have to re-enter a scene.  Most of the time, this is because you entered it as a party.
1: If you get stuck in a scene, simply re-enter this scene alone.  This is true on Rewag, for the most part, as well as a few monster-arena's.
1: Which may lead you to ask: What is a Monster Arena?  Its quite simple.
1: Because each class has a different storyline, they are places where you can meet your friends in relative safety and fight monsters.
1: There are two of these, one for lower levels and one for higher.  Exiting these areas can also get you stuck, and you may have to re-enter.
1: Good luck, and make sure to read the quest diary!
END
;---------
SCENE 205, warp6, SCENE, "Warp from Multi-Class Battlefield"
ACTOR	1,	"Timewarp Guard", gateguard, 4, 25, 90'
LOCK 1
1: If the warp does not complete, you were in a party.  You must return while not in a party.
IF C1, @earth
IF C2, @fighter
IF C3, @pirate
IF C4, @alien
END
@earth
1: Welcome to the warp.
WAIT 1.0
1: You will be warping back in 3 seconds..
WAIT 3.0
COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C1
IF #46, @other1
WAIT .1
GOTO LINK 38,3,0
WAIT .5
1: You must return to the warp while not in a party to warp.
END
@other1
GOTO LINK 39,3,0
WAIT .5
END
@nogofourth
1: You must return while alone for this to work.
END
;------------
@pirate
1: Welcome to the warp.
WAIT 1.0
1: You will be warping back in 3 seconds..
WAIT 3.0
PARTY C3
COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
IF #46, @other2
WAIT .1
GOTO LINK 24,4,0
WAIT .5
1: You must return to the Spaceport while not in a party to warp.
END
@other2
GOTO LINK 25,4,0
END
@nogofourth
1: You must return while alone for this to work.
END
;-------------
@fighter
1: Welcome to the warp.
WAIT 1.0
1: You will be warping back in 3 seconds..
WAIT 3.0
COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C2
IF #46, @other3
WAIT .1
GOTO LINK 2,4,0
WAIT .5
1: You must return to the Spaceport while not in a party to warp.
END
@other3
GOTO LINK 5,4,0
END
@nogofourth
1: You must return alone for this to work.
END
;-----------
@alien
1: Welcome to the warp.
WAIT 1.0
1: You will be warping back in 3 seconds..
WAIT 3.0
COMPARE "1","#<num.peopleInScene>"
	IF> @nogofourth
	IF< @nogofourth
PARTY C4
IF #46, @other4
WAIT .1
GOTO LINK 31,5,0
END
@other4
GOTO LINK 32,4,0
END
@nogofourth
1: You must return while alone to use this to work.
END
;--------
#include bank.txt
;---------
SCENE 210 jaord, SCENE, "Riture"
	ACTOR	1,	"Beta P57", greetrobot, 1, 25, 90
	1: Welcome to the Planet of Riture... Please Wait While your ship is repaired...
	GIVE L1
	GIVE H6000
	GIVE M6000
	1: Please Visit Rewag for Supplies.  The Merchants there can easily supply you.
END
;-------
SCENE 211 jaord, SCENE, "Frey"
	ACTOR 1, "Beta P57", greetrobot, 1, 25, 90
	1: Welcome to the Planet of Frey... Please Wait While your ship is repaired...
	GIVE L1
	GIVE H6000
	GIVE M6000
	1: Thank you for using our services.
END
;-------
#include after.txt
;-------
#include ranking.txt
;-------

-SCENES



; Now we are at the extreme end of the file
;
; Note: You should add a comment to the end of the file, since otherwise an old bug might rise
; up and smite you!