home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
finetown.dir
/
00086_Script_86
< prev
next >
Wrap
Text File
|
1995-11-10
|
4KB
|
129 lines
on keyCheck
dontPassEvent
set Dis = 8
-- set the keyDownScript = ""
-- set the keyUpScript = "KeyUpCheck"
if the key = "1" then
set the locH of sprite 38 = 465
set the locV of sprite 38 = 337
repeat with i =1 to Dis
OverLap
downleft
end repeat
else
if the key = "2" then
set the locH of sprite 39 = 466
set the locV of sprite 39 = 337
repeat with i =1 to Dis
OverLap
down
end repeat
else
if the key = "3" then
set the locH of sprite 40 = 467
set the locV of sprite 40 = 337
repeat with i =1 to Dis
OverLap
downright
end repeat
else
if the key = "4" then
set the locH of sprite 35 = 465
set the locV of sprite 35 = 337
repeat with i =1 to Dis
OverLap
left
end repeat
else
if the key = "5" then
global Muki,LandOnOK,gMapPosH,gMapPosV,gCDPosH,gCDPosV,gCDCastNum
set H = the locH of sprite clickOn()
set V = the locV of sprite clickOn()
set the locH of sprite clickOn() = H + 2
set the locV of sprite clickOn() = V + 2
if LandOnOK = 1 and Muki = "KARU_GIN" then
Tyakuriku
set gMapPosH = the locH of sprite 2
set gMapPosV = the locV of sprite 2
set gCDPosH = the locH of sprite 24
set gCDPosV = the locV of sprite 24
set gCDCastNum = the castNum of sprite 25
tell the stage
go to movie Muki
end tell
else
if LandOnOK = 1 and Muki = "DAN256" then
Tyakuriku
set gMapPosH = the locH of sprite 2
set gMapPosV = the locV of sprite 2
set gCDPosH = the locH of sprite 24
set gCDPosV = the locV of sprite 24
set gCDCastNum = the castNum of sprite 25
tell the stage
go to frame"toMAP_DAN"
end tell
go to movie Muki
else
if LandOnOK = 1 then
Tyakuriku
set gMapPosH = the locH of sprite 2
set gMapPosV = the locV of sprite 2
set gCDPosH = the locH of sprite 24
set gCDPosV = the locV of sprite 24
set gCDCastNum = the castNum of sprite 25
repeat while soundbusy(2)
nothing
end repeat
tell the stage
go to frame"toMAP"
end tell
go to movie Muki
end if
end if
end if
else
if the key = "6" then
set the locH of sprite 37 = 467
set the locV of sprite 37 = 337
repeat with i =1 to Dis
OverLap
right
end repeat
else
if the key = "7" then
set the locH of sprite 32 = 465
set the locV of sprite 32 = 337
repeat with i =1 to Dis
OverLap
upleft
end repeat
else
if the key = "8" then
set the locH of sprite 33 = 466
set the locV of sprite 33 = 337
repeat with i =1 to Dis
OverLap
up
end repeat
else
if the key = "9" then
set the locH of sprite 34 = 467
set the locV of sprite 34 = 337
repeat with i =1 to Dis
OverLap
upright
end repeat
end if
end if
end if
end if
end if
end if
end if
end if
end if
-- set the keyDownScript = "keyCheck"
end