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