home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
dpokalv2.dir
/
00035_Script_35
< prev
next >
Wrap
Text File
|
1995-11-10
|
2KB
|
68 lines
on Syohai
global gTeika2,gTeikaC,gCharaNum,gKake
if gTeika2 > gTeikaC then
sound playfile 1,"\S_POKALT\OK_SE2"
set the visible of sprite 33 = 1
puppetSprite 27,TRUE
set the castNum of sprite 27 = 95
-- set the textSize of field "±¥╟P╔e╔C╔J2" = 30
-- set the textHeight of field "±¥╟P╔e╔C╔J2" = 50
-- set the textStyle of field "±¥╟P╔e╔C╔J2" = "bold"
put gTeika2 * gKake into field"±¥╟P╔e╔C╔J2"
updateStage
set gTeika2 = gTeika2 * gKake
YouWin
else
if gTeika2 = gTeikaC then
puppetSprite 27,TRUE
set the castNum of sprite 27 = 97
updateStage
set gTeika2 = 0
else
if gTeika2 < gTeikaC then
sound playfile 1,"\S_POKALT\BZ_SE2"
set the visible of sprite 32 = 1
puppetSprite 27,TRUE
set the castNum of sprite 27 = 96
-- set the textSize of field "±¥╟Q╔e╔C╔J2" = 30
-- set the textHeight of field "±¥╟Q╔e╔C╔J2" = 50
-- set the textStyle of field "±¥╟Q╔e╔C╔J2" = "bold"
put gTeikaC * gKake into field"±¥╟Q╔e╔C╔J2"
updateStage
set gTeika2 = - gTeikaC * gKake
Win
end if
end if
end if
end
on WinChara
global gCharaNum
if gCharaNum = 1 then
sound playfile 2,"\S_POKALT\WIN_T"
else
if gCharaNum = 2 then
sound playfile 2,"\S_POKALT\WIN_H"
else
if gCharaNum = 3 then
sound playfile 2,"\S_POKALT\WIN_BZ"
end if
end if
end if
end
on WinP
global gCharaNum
if gCharaNum = 1 then
sound playfile 2,"\S_POKALT\YOU_WINT"
else
if gCharaNum = 2 then
sound playfile 2,"\S_POKALT\YOU_WINH"
else
if gCharaNum = 3 then
sound playfile 2,"\S_POKALT\YOU_WINB"
end if
end if
end if
end