home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fuji Wa La Te I Ka - Hyakunin Isshu Karuta
/
KARUTA.bin
/
wins
/
hint_de.dir
/
00617_Script_SCRIPT_1
< prev
next >
Wrap
Text File
|
1995-11-10
|
2KB
|
99 lines
on initGlobals
global a,Qlist,vCount,QCount,NaCt,RightAnsCt,NGAnsCt,setCt,TEIKA,vSELECT,vLIST_No
set Qlist = []
put 1 into a
put 1 into setCt
put 0 into vCount
put 0 into QCount
put 1 into NaCt
put 0 into RightAnsCt
put 0 into NGAnsCt
put 0 into vCountTrg
put 0 into vSELECT
put 0 into vLIST_No
put "" into field "LIST_No"
put "" into field "Qcount"
put "" into field "Qframe"
put "" into field "SELECT_No"
repeat with n = 1 to 46
puppetSprite n, False
set the visible of sprite n to TRUE
end repeat
set the visible of sprite 9 to FALSE
set the visible of sprite 47 to FALSE
set the visible of sprite 48 to FALSE
initlist
------
put 0 into TEIKA
end
on initlist
global a
--Qlist╟¥╔C╔j╔V╔╔╔Γ╔C╔Y
global a,Qlist,vCount
repeat while a < 41
append Qlist, a
put Qlist into field "LIST_No"
put (a+1) into a
end repeat
put 1 into a
put 1 into vCount
end
on QnumNa
--Q╔i╔∞╔o┼[╟¥╔i╔σ┼[╔V╔ß╔∞
Global QCount,NaCt,DANSION
if QCount <> Nact then
if DANSION = 3 and QCount = 5 then
set QCount = QCount + 1
end if
sound playFile 3, "\S_HINT\Q" & QCount+1
put Nact + 1 into NaCt
else
nothing
end if
end
on initSprite
repeat with v = 11 to 28
puppetSprite v, False
set the visible of sprite v to TRUE
end repeat
end
on PushB2
puppetSound "MEKURI"
put item 1 of the name of cast the castNum of sprite clickOn() into cName
set the castNum of sprite clickon() = the Number of cast (cName & ",DW")
updatestage
return TRUE
puppetSound 0
end
on PushB21
puppetSound "MEKURI"
put item 1 of the name of cast the castNum of sprite clickOn() into cName
repeat while stilldown()
if rollover(clickOn()) then
set the castNum of sprite clickOn() = the number of cast (cName & ",DW")
else
set the castNum of sprite clickon() = the Number of cast (cName & ",UP")
end if
updatestage
end repeat
set the castNum of sprite clickon() = the Number of cast (cName & ",UP")
updatestage
return TRUE
puppetSound 0
end