home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
finetown.dir
/
00001_Script_1
next >
Wrap
Text File
|
1995-11-10
|
3KB
|
130 lines
global Dis, moveSPlist,wari,dis2,T,LandOnOK,wari2,gFineSky,┬
gMapPosH,gMapPosV,gCDPosH,gCDPosV,gCDCastNum
on startMovie
repeat with SP= 14 to 22
set the visible of sprite SP = 0
end repeat
set T = 0
set Dis = 10
set dis2 = Dis
set wari = 1.2
set wari2 = 1.7
set LandOnOK = 0
-- set gMapPosH = 256
-- set gMapPosV = 192
-- set gCDPosH = 250
-- set gCDPosV = 262
-- set gCDCastNum = 35
-- set gFineSky =1
-- sound playfile 2,"Flying"
set the volume of sound 1 = 50
PuppetSound "Flying"
puppetSprite 24,TRUE
puppetSprite 25,TRUE
set the locH of sprite 24 = gCDPosH
set the locV of sprite 24 = gCDPosV
set the castNum of sprite 24 = gCDCastNum + 8
set the locH of sprite 25 = gCDPosH + 6
set the locV of sprite 25 = gCDPosV - 70
set the castNum of sprite 25 = gCDCastNum
set moveSPlist = [2,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21]
set the keyDownScript = "keyCheck"
end
on stopMovie
repeat with moveSP in moveSPlist
puppetSprite moveSP,FALSE
end repeat
repeat with SP= 14 to 22
set the visible of sprite SP = 0
end repeat
set the keyDownScript = ""
set the volume of sound 1 = 255
set the volume of sound 2 = 255
end
on idle
-- if not soundBusy(1) then
-- PuppetSound "Flying"
-- end if
end
on left
set the castNum of sprite 25 to 32
set the castNum of sprite 24 to 40
repeat with moveSP in moveSPlist
set the locH of sprite moveSP to the locH of sprite moveSP + Dis
end repeat
if the locH of sprite 2 > 600 then
repeat with moveSP in moveSPlist
set the locH of sprite moveSP = 600
end repeat
leftCD
end if
if the locH of sprite 25 > 256 then
leftCD
end if
updateStage
end
on right
set the castNum of sprite 25 to 34
set the castNum of sprite 24 to 42
repeat with moveSP in moveSPlist
set the locH of sprite moveSP to the locH of sprite moveSP - Dis
end repeat
if the locH of sprite 2 < -88 then
repeat with moveSP in moveSPlist
set the locH of sprite moveSP = -88
end repeat
rightCD
end if
if the locH of sprite 25 < 256 then
rightCD
end if
updateStage
end
on up
set the castNum of sprite 25 to 33
set the castNum of sprite 24 to 41
repeat with moveSP in moveSPlist
set the locV of sprite moveSP to the locV of sprite moveSP + Dis
end repeat
if the locV of sprite 2 > 450 then
repeat with moveSP in moveSPlist
set the locV of sprite moveSP = 450
end repeat
upCD
end if
if the locV of sprite 25 > 192 then
upCD
end if
updateStage
end
on down
set the castNum of sprite 25 to 35
set the castNum of sprite 24 to 43
repeat with moveSP in moveSPlist
set the locV of sprite moveSP to the locV of sprite moveSP - Dis
end repeat
if the locV of sprite 2 < -66 then
repeat with moveSP in moveSPlist
set the locV of sprite moveSP = -66
end repeat
downCD
end if
if the locV of sprite 25 < 192 then
downCD
end if
updateStage
end