home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
326-350
/
apd350
/
disney1.amos
/
disney1.amosSourceCode
Wrap
AMOS Source Code
|
1988-02-02
|
2KB
|
80 lines
CF=Point(100,100) : If CF=14 Then RUBBER=1
If CF=4 Then RUBBER=1 : NKEY=1
If CF=6 Then RUBBER=0
D=Point(300,100) : If D=8 Then PICK$="house"
If D=10 Then PICK$="sword"
If D=9 Then PICK$="ball"
If D=7 Then PICK$="truck"
If D=11 Then PICK$="felts"
If D=12 Then PICK$="torch"
If D=13 Then PICK$="teddy"
If D=14 Then PICK$="book"
Rem ****************** DISNEY LAND ***************************
DISNEY:
Load "frog.abk",5 : Show On
DENTRANCE:
Cls
Pen 3 : Paper 2
Unpack 5 To 0 : Curs Off : Pen 1 : Paper 0
Locate 0,25 : Centre "You arrive in Toyland."
Wait 50
Locate 0,27 : Centre "The palace is guarded by a huge frog."
Do
Exit If Mouse Key>0
Exit If Inkey$<>""
Loop
Clear Key
Ink 0 : Bar 0,187 To 320,256
Wait 50
Locate 0,25 : Centre "CAN'T ENTER WITHOUT A TOYLAND FRIEND."
PAUSE
Clear Key
Bar 0,187 To 320,256
Wait 50
Locate 5,25 : Curs Off : Print "You show the frog your ";PICK$;"."
PAUSE
Clear Key
Bar 0,185 To 320,256
If PICK$="teddy" Then Bell : Goto DENTER
Bell : Locate 0,25 : Curs Off : Centre "THAT IS NOT A TOYLAND FRIEND."
Wait 50 : Locate 0,27 : Centre "YOU MAY NOT ENTER."
PAUSE
Clear Key
Cls
Wait 50
Locate 0,20 : Centre "You decide to return home and try again"
Locate 0,22 : Centre "with a different toy." : PAUSE : Cls : Ink CF : Paint 100,100 : Run "2.amos"
DENTER:
Locate 0,25 : Centre "I SEE YOU HAVE A TOYLAND FRIEND."
Wait 50 : Locate 0,27 : Curs Off : Centre "YOU MAY ENTER THE PALACE."
PAUSE
Load "toy1a.abk",5 : Unpack 5 To 0 : Wait 50
Load "toy2a.abk",5 : Unpack 5 To 0 : Wait 50
Load "toy3a.abk",5 : Unpack 5 To 0 : Wait 100
Cls
Locate 0,10 : Centre "The witch has already arrived"
Locate 0,12 : Centre "at Toyland."
Wait 50
Locate 0,14 : Centre "She has cast spells"
Locate 0,16 : Centre "to turn everything grey"
Locate 0,18 : Centre "and she has done graffitti everywhere."
PAUSE
Cls
If RUBBER=1 Then Run "disney2.amos"
Cls
Locate 0,10 : Curs Off : Centre "Unfortunately you have no magic things"
Locate 0,12 : Centre "to undo the spells with."
Wait 50
Locate 0,14 : Centre "You decide to return home and"
Locate 0,16 : Centre "try a different place."
PAUSE
Cls : Ink CF : Paint 100,100 : Run "2.amos"
Procedure PAUSE
Do
Exit If Inkey$="" and Mouse Key=0
Loop
Do
Exit If Inkey$<>""
Exit If Mouse Key>0
Loop
End Proc