home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Quick Study Spanish
/
DISK_1_QSSP.iso
/
tlc.z
/
CONQUEST.MPS
< prev
next >
Wrap
Text File
|
1997-07-03
|
4KB
|
230 lines
;Warning! Do not modify this file.
yield on
bids=HGButtonID
instruct=1
playmode=0
gamemode=0
levelmode=0
soundmode=0
optionmode=100000000
call createOptions
procedure doExit
[
exit
]
procedure doStartGame
[
drop me
get players "State" playmode
get mode "State" gamemode
get level "State" levelmode
get option "State" optionmode
get sound "State" soundmode
call destroyOptions
if gamemode=0
[
Scene 21002
]
else
[
Scene 21001
]
gb=HGGameBoard 283 32 playmode gamemode levelmode soundmode instruct optionmode
;#define CONQ_PLAY_EMD_GAME 10041
set bids ButtonID 10041
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
endg=RPButton X1 Y1 RESID
set endg hit doEndGame
;#define CONQ_PLAY_HELP 10042
set bids ButtonID 10042
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
help=RPButton X1 Y1 RESID
set help hit doHelp
play gb "NewGame"
wait
]
procedure doEndGame
[
get gb "readyToQuit" readyToQuit
if readyToQuit=1
[
call doOptionScreen
]
]
procedure doOptionScreen
[
instruct=0
drop endg
drop help
drop gb
drop me
call createOptions
]
procedure doHelp
[
;#define HELP_GAME_CONQUEST 908
set bids StringID 908
get bids String hs
Help hs
]
procedure createOptions
[
SceneBlack 21000
;#define CONQ_ARRIVAL_BUTTON 10051
set bids ButtonID 10051
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RES1
;#define CONQ_AROUND_BUTTON 10052
set bids ButtonID 10052
get bids X1Pos X2
get bids Y1Pos Y2
get bids ResID RES2
;#define CONQ_LODGING_BUTTON 10053
set bids ButtonID 10053
get bids X1Pos X3
get bids Y1Pos Y3
get bids ResID RES3
;#define CONQ_FRIENDS_BUTTON 10054
set bids ButtonID 10054
get bids X1Pos X4
get bids Y1Pos Y4
get bids ResID RES4
;#define CONQ_TOURS_BUTTON 10055
set bids ButtonID 10055
get bids X1Pos X5
get bids Y1Pos Y5
get bids ResID RES5
;#define CONQ_EAT_BUTTON 10056
set bids ButtonID 10056
get bids X1Pos X6
get bids Y1Pos Y6
get bids ResID RES6
;#define CONQ_SHOP_BUTTON 10057
set bids ButtonID 10057
get bids X1Pos X7
get bids Y1Pos Y7
get bids ResID RES7
;#define CONQ_EMERG_BUTTON 10058
set bids ButtonID 10058
get bids X1Pos X8
get bids Y1Pos Y8
get bids ResID RES8
;#define CONQ_NUMBER_BUTTON 10059
set bids ButtonID 10059
get bids X1Pos X9
get bids Y1Pos Y9
get bids ResID RES9
option=HGRadio 9 1 RES1 X1 Y1 RES2 X2 Y2 RES3 X3 Y3 RES4 X4 Y4 RES5 X5 Y5 RES6 X6 Y6 RES7 X7 Y7 RES8 X8 Y8 RES9 X9 Y9
set option "State" optionmode
;#define CONQ_START_BUTTON 10043
set bids ButtonID 10043
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
start=RPButton X1 Y1 RESID
set start hit doStartGame
;#define CONQ_HELP_BUTTON 10044
set bids ButtonID 10044
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
help=RPButton X1 Y1 RESID
set help hit doHelp
;#define CONQ_EXIT_SPOT 10040
set bids ButtonID 10040
get bids X1Pos X1
get bids Y1Pos Y1
get bids X2Pos X2
get bids Y2Pos Y2
exit=RHotSpot X1 Y1 X2 Y2
set exit hit doExit
;#define CONQ_PLAYERS_BUTTON 10045
set bids ButtonID 10045
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
players=RVButton X1 Y1 RESID
set players "State" playmode
;#define CONQ_MODE_BUTTON 10046
set bids ButtonID 10046
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
mode=RVButton X1 Y1 RESID
set mode "State" gamemode
;#define CONQ_LEVEL_BUTTON 10047
set bids ButtonID 10047
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
level=RVButton X1 Y1 RESID
set level "State" levelmode
;#define CONQ_SOUND_BUTTON 10048
set bids ButtonID 10048
get bids X1Pos X1
get bids Y1Pos Y1
get bids ResID RESID
sound=RVButton X1 Y1 RESID
set sound "State" soundmode
if instruct=1
[
me=RSound 21100
]
wait
]
procedure destroyOptions
[
drop players
drop mode
drop level
drop sound
drop option
drop start
drop help
drop exit
]
procedure doThemeSelect
[
RECEIVER
]