If TEST2$="wrong" Then Locate 11,12 : Curs Off : Print "Nothing happens." : Locate 11,14 : Print "Your spell did" : Locate 11,16 : Print "not work." : Goto AGAIN
Do
Q=X Mouse : W=Y Mouse
Exit If Mouse Key>0
Loop
Bell
If Q>127 and W>42 and Q<197 and W<96 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print " the truck. " : PICK$="truck" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>198 and W>42 and Q<373 and W<97 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print "the dolls house." : PICK$="house" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>372 and W>41 and Q<448 and W<97 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print " The ball. " : PICK$="ball" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>125 and W>95 and Q<198 and Q<205 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print " the sword. " : PICK$="sword" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>127 and W>203 and Q<198 and W<298 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print " the felts. " : PICK$="felts" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>198 and W>204 and Q<374 and W<297 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print " the torch. " : PICK$="torch" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>372 and W>204 and Q<448 and W<298 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print "the teddy bear. " : PICK$="teddy" : LP=2 : If TEST2$="wrong" Then LP=0
If Q>372 and W>96 and Q<448 and W<204 Then Locate 11,12 : Print "You have chosen" : Locate 11,14 : Print "the story book. " : PICK$="book" : TEST1=6 : LP=2
If NN=1 Then Goto HJK
Global TEST1
If LP=0 Then Goto PICK
LP=0
PAUSE
If K$="u" Then Goto PICK
If K$="U" Then Goto PICK
If PICK$="book" Then Goto FIRST
Goto SECOND
FIRST:
Cls : Locate 2,10 : Curs Off : Print "You pick up the book and open it."
PAUSE
Locate 2,12 : Print "It is a book about good fairies."
PAUSE
Locate 2,14 : Print "You find a page with a magic spell."
Erase 5 : Load "spell.abk",5
PAUSE
RRR:
Unpack 5 To 0
PAUSE
Fade 13,$3,$FED,$0,$FED
Wait 200
Cls
Limit Mouse 120,40 To 458,300
Locate 2,10 : Curs Off : Print "The magic words fade before your eyes."
PAUSE
If TEST2$="wrong" Then Goto JOURNEY
Locate 2,12 : Curs Off : Print "You put down the book and pick up"
Locate 2,14 : Print " another toy."
PAUSE
Goto PICK
SECOND:
Cls
Limit Mouse 120,40 To 458,300
If TEST1=6 Then Goto TRAVEL
If RUBBER=1 Then Goto TRAVEL
If NKEY=1 Then Goto TRAVEL
Locate 2,10 : Curs Off : Print "You pick up your ";PICK$;" then think"
Locate 2,12 : Print "how you will get to the magic lands."
PAUSE
Locate 2,14 : Print "You decide to put your ";PICK$;" back"
Locate 2,16 : Print " and choose a more useful toy."
PAUSE
Goto PICK
TRAVEL:
Locate 2,10 : Print "Where do you want to travel?"
Wait 50
Locate 2,14 : Print "2. Animal Land "
Locate 2,12 : Print "1. Toy Land"
Locate 2,18 : Print "4. Fairytale Land"
Locate 2,16 : Curs Off : Print "3. Witch Land"
F$=Input$(1) : Bell
V=Val(F$)
If F$="!" Then V=1
If Asc(F$)=34 Then V=2
If F$="�" Then V=3
If F$="#" Then V=3
If F$="$" Then V=4
Rem *$*** Remove this when Fairyland is finished *********************
If V<1 and V>4 Then Goto TRAVEL
If V=3 Then Goto WITCHJ
Rem *********************************************************************
If V<1 Then Goto TRAVEL
If V>4 Then Goto TRAVEL
JOURNEY:
Wait 30
Cls : Wait 30
Limit Mouse 120,40 To 458,300
Locate 2,12 : Print "Now say the magic word. " : Locate 20,14 : Input MAGICWORD$
If MAGICWORD$="SPARKLESHINE" Then TEST2$="right" : Goto FLY
If MAGICWORD$="Sparkleshine" Then TEST2$="right" : Goto FLY
If MAGICWORD$="sparkleshine" Then TEST2$="right" : Goto FLY
Locate 0,10 : Curs Off : Centre "You try as hard as you can"
Locate 0,12 : Centre "but you cannot enter Fairytale Land"
Locate 0,14 : Centre "by flying."
Wait 50 : Locate 0,19 : Centre "You return home."
Wait 20 : Clear Key : PAUSE : Show On
Cls : Wait 50
Locate 0,10 : Curs Off : Centre "THERE MUST BE ANOTHER WAY IN."
PAUSE
Locate 0,13 : Centre "Suddenly you remember that in"
Locate 0,15 : Centre "your house there is a spare room"
Locate 0,17 : Centre "and in the spare room there is"
Locate 0,19 : Centre "A WARDROBE."
HJK:
PAUSE : Cls : Music Off
Wait 50 : Locate 11,8 : Print "You have a ";PICK$;"."
Wait 50 : Locate 0,10 : Curs Off : Centre "You go the the spare room."
Wait 50 : Locate 0,12 : Centre "The light isn't working and you"
Locate 0,14 : Centre "can't see anything."
PAUSE
If PICK$="torch" Then Goto NTEST
Locate 0,16 : Centre "You go back to your bedroom"
Locate 0,18 : Centre "to find something useful."
Load "toys.abk",6
NARNIA$=PICK$ : NN=1 : PAUSE : Goto PICK
NTEST:
Locate 0,16 : Curs Off : Centre "Luckily you have a torch."
PAUSE : Load "wardrobe1.abk",5 : Unpack 5 To 0
Limit Mouse 120,40 To 458,300
If NKEY=0 Then Wait 100 : Locate 0,26 : Centre "The wardrobe is locked."
If NKEY=0 Then Wait 100 : Locate 0,28 : Centre " You cannot enter the wardrobe" : Locate 0,30 : Centre " Without a key." : PAUSE : NN=0 : TEST1=6 : Erase 6 : Load "toys.abk",6 : Goto PICK
Load "wardrobe2.abk",5
Locate 0,28 : Curs Off : Centre "You use the magic key to unlock "
Locate 0,30 : Centre "the wardrobe." : Curs Off : NDOOR : Unpack 5 To 1 : Screen To Front 1 : Wait 50
TEST1=6 : Sprite Off
If NARNIA$<>"" Then PICK$=NARNIA$
Fade 8 : Wait 130 : Run "narnia1.amos"
Procedure PAUSE
Do
Exit If Mouse Key=0
Loop
Do
Exit If Inkey$=""
Loop
Do
Exit If Mouse Key>0
Exit If Inkey$<>""
Loop
End Proc
PONYLAND:
Cls : Locate 0,10 : Curs Off : Centre "ANIMAL LAND" : Load "music2.abk" : Music 1 : Limit Mouse 120,40 To 450,300