set rtext to "Error : " & userid & "The name is not registered."
else
if line 1 of nresult = "E0002" then
set rtext to "Error : The password is wrong."
else
if line 1 of nresult = "E0003" then
set rtext to "Error : The parameter's form is wrong."
else
if line 1 of nresult = "E0003" then
set rtext to "Error : Your balance is short - you cannot make a withdrawal."
end if
end if
end if
end if
end if
alert(rtext)
go("loop")
abort()
else
set userpg to integer(word 1 of nresult)
set userpm to word 2 of nresult
if jumpmoviename = "goal.dcr" then
checkmedallabel()
else
set jumpmode to 1
gotonetmovie(jumpmoviename)
end if
end if
end if
end if
end
on checkmedallabel
if (userpg < 2000) or (integer(char 9 of userpm) < 2) or (integer(char 10 of userpm) < 2) or (integer(char 11 of userpm) < 2) or (integer(char 12 of userpm) < 2) or (integer(char 13 of userpm) < 2) or (integer(char 14 of userpm) < 2) then
beep()
go("check")
abort()
else
gotonetmovie(jumpmoviename)
end if
end
on showuserpm
put userid into field "checkUserID"
put userpg & RETURN & pmtopoint(char 9 of userpm) & RETURN & pmtopoint(char 10 of userpm) & RETURN & pmtopoint(char 11 of userpm) & RETURN & pmtopoint(char 12 of userpm) & RETURN & pmtopoint(char 13 of userpm) & RETURN & pmtopoint(char 14 of userpm) into field "checktext2"
end
on pmtopoint upm
if upm = 9 then
set upm to 10
end if
set upm to upm * 10
return integer(upm)
end
on rolloverbtn
set rcnum to the mouseCast
if rcnum > 0 then
set rcname to string(the name of cast rcnum)
if item 2 of rcname = "off" then
repeat with s = 41 to 42
if the castNum of sprite s = rcnum then
if the mouseUp then
set the puppet of sprite s to 1
set the castNum of sprite s to rcnum + 1
if the frame <= label("loop") then
put field (item 1 of rcname & ".info") into field "info"
puppetSound("showInfo")
end if
end if
next repeat
end if
set the puppet of sprite s to 0
end repeat
else
if item 2 of rcname = "on" then
repeat with s = 41 to 42
if the castNum of sprite s = rcnum then
if the mouseDown and (clickOn() = s) then
set the castNum of sprite s to rcnum + 1
updateStage()
do(item 1 of rcname)
end if
end if
end repeat
else
if item 2 of rcname = "click" then
repeat with s = 41 to 42
if the castNum of sprite s = rcnum then
if the mouseUp then
set the castNum of sprite s to rcnum - 1
next repeat
end if
end if
end repeat
else
repeat with s = 41 to 42
set the puppet of sprite s to 0
end repeat
end if
end if
end if
else
repeat with s = 41 to 42
set the puppet of sprite s to 0
end repeat
end if
end
on rolloverchar
repeat with s = 12 to 19
if rollOver(s) then
set chname to the name of cast the castNum of sprite s
if chname contains "loop" then
next repeat
end if
set the puppet of sprite s to 1
set the castNum of sprite s to the number of cast (chname & ".loop")
put field (chname & ".info") into field "info"
puppetSound("showInfo")
next repeat
end if
set the puppet of sprite s to 0
end repeat
repeat with s = 26 to 31
if rollOver(s) then
set chname to the name of cast the castNum of sprite s
if field (chname & ".info") <> field "info" then
put field (chname & ".info") into field "info"
puppetSound("showInfo")
end if
end if
end repeat
end
on bannertext
set the puppet of sprite 21 to 1
set the locH of sprite 21 to the locH of sprite 21 - 4 + ((520 + the width of sprite 21) * (the right of sprite 21 < 0))