home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
shared.dir
/
02007_Script_2007
< prev
next >
Wrap
Text File
|
1995-11-13
|
1KB
|
51 lines
--on Teika2
-- global gTeika,gTeika2,Syosya4
-- Sound playFile 2,":S_POKALT:COIN"
-- if abs(gTeika2) > 1000 then
-- set gKake = 100
-- else
-- if abs(gTeika2) <= 1000 and abs(gTeika2) > 100 then
-- set gKake = 10
-- else
-- if abs(gTeika2) <= 100 then
-- set gKake = 1
-- end if
-- end if
-- end if
--
-- repeat with Money = 1 to abs(gTeika2) / gKake
-- tell the stage
-- if gTeika < 0 then
-- set gTeika = 0
-- set gTeika3 = 0
-- put gTeika into field"╔e╔C╔J"
-- exit repeat
-- else
-- if gTeika2 > 0 then
-- set gTeika3 = gTeika + Money * gKake
-- put gTeika3 into field"╔e╔C╔J"
-- else
-- if gTeika2 = 0 then
-- set gTeika3 = gTeika
-- exit repeat
-- else
-- if gTeika2 < 0 then
-- set gTeika3 = gTeika - Money * gKake
-- if gTeika3 < 0 then
-- set gTeika3 = 0
-- put gTeika3 into field"╔e╔C╔J"
-- exit repeat
-- end if
-- put gTeika3 into field"╔e╔C╔J"
-- end if
-- end if
-- end if
-- end if
-- end tell
-- end repeat
--
-- Sound playFile 2,":S_POKALT:MONEY_"
-- set gTeika = gTeika3
-- set gTeika2 = 0
-- set Syosya4 = 0
--end