home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
bbozu7.dir
/
00030_Script_30
< prev
next >
Wrap
Text File
|
1995-11-13
|
3KB
|
90 lines
global Again,gCount,gMax,SeleYama¼
,gHuda,gMotihuda,gMotihudaA,gMotihudaB,gMotihudaC,gutasu
on enterFrame
HandUp CName
selectCard
puppetSound "turnover"
set the locH of sprite 48 = 335
set the locV of sprite 48 = 250
set the castNum of sprite 48 = gutasu + 200
updateStage
SelectYama
Yama
end
on exitFrame
if gHuda = 8 then
sound playFile 2, "\S_BZMKRI\CARD_C"
set gMotihudaC = gMotihudaC - 1
repeat while soundBusy(2)
end repeat
ChengeHuda
end if
HanteiC
if gHuda = 7 then
sound playFile 2, "\S_BZMKRI\CARD_Y"
repeat while soundBusy(2)
end repeat
Itadaki CName
set gMotihudaC = gMotihudaC - 1
set the castNum of sprite 48 = 1000
updateStage
if gMotihuda = 0 and gMotihudaA = 0 and gMotihudaB = 0 then
nothing
else
if gMotihuda > gMotihudaA then
if gMotihuda > gMotihudaB then
set gMotihudaC = gMotihudaC + gMotihuda
set gMotihuda = 0
Zoom 16,8,7,1
put gMotihuda && "±ß" into field"P"
set newRect = rect( 207 , 352 , 207 + gMotihuda , 379 )
set the rect of sprite 34 to newRect
else
set gMotihudaC = gMotihudaC + gMotihudaB
set gMotihudaB = 0
TakeItadaki BName
Zoom 16,6,7,1
put gMotihudaB && "±ß" into field"B"
set newRect = rect( 207 , 165 , 207 + gMotihudaB , 192 )
set the rect of sprite 32 to newRect
end if
else
if gMotihudaA > gMotihudaB then
set gMotihudaC = gMotihudaC + gMotihudaA
set gMotihudaA = 0
TakeItadaki AName
Zoom 16,5,7,1
put gMotihudaA && "±ß" into field"A"
set newRect = rect( 15 , 249 , 15 + gMotihudaA , 276 )
set the rect of sprite 31 to newRect
else
set gMotihudaC = gMotihudaC + gMotihudaB
set gMotihudaB = 0
TakeItadaki BName
Zoom 16,6,7,1
put gMotihudaB && "±ß" into field"B"
set newRect = rect( 207 , 165 , 207 + gMotihudaB , 192 )
set the rect of sprite 32 to newRect
end if
end if
end if
else
set the castNum of sprite 48 = 1000
wait 40
puppetSound "turnover"
updateStage
end if
if SeleYama = 1 and not(gHuda = 7) then Zoom 16,14,7,1
if SeleYama = 2 and not(gHuda = 7) then Zoom 16,15,7,1
set Again = 0
BaYama
put gMotihudaC && "±ß" into field"C"
set newRect = rect( 399 , 249 , 399 + gMotihudaC , 276 )
set the rect of sprite 33 to newRect
Hyoji
CountCheck
PuppetSound 0
end