home *** CD-ROM | disk | FTP | other *** search
/ Internet 1996 World Exposition / park.org.s3.amazonaws.com.7z / park.org.s3.amazonaws.com / Japan / Panasonic- / funcity / tokyo / e / cool.dcr / 00046_ýŠ±ï-é¶.ls < prev    next >
Encoding:
Text File  |  2017-09-21  |  1.5 KB  |  54 lines

  1. on dspten n
  2.   global gten, gnin
  3.   set gten to gten + n
  4.   set gnin to integer(gten / 2.79999999999999982)
  5.   if gnin > 9 then
  6.     set gnin to 9
  7.   end if
  8.   set i to gnin
  9.   repeat with j = 16 to 24
  10.     set the puppet of sprite j to 1
  11.     if i > 0 then
  12.       set the blend of sprite j to 100
  13.       set i to i - 1
  14.       next repeat
  15.     end if
  16.     set the blend of sprite j to 50
  17.   end repeat
  18. end
  19.  
  20. on dspscore
  21.   global userid, gten, gnin, userpm
  22.   put userid into field "userID"
  23.   put gnin into char 13 of userpm
  24.   put integer(gnin * 10) into field "point"
  25.   if gnin = 9 then
  26.     put 100 into field "label"
  27.     put "You have been awarded" & RETURN & "10 bonus points." & RETURN & "Total points is 100." into field "addInfo"
  28.   else
  29.     put integer(gnin * 10) into field "label"
  30.     put " " into field "addInfo"
  31.   end if
  32. end
  33.  
  34. on _dspscore
  35.   global gname, gten, gnin
  36.   put "├ëX├ëR├ëA├ë`├ëF├ëb├ëN" & RETURN & RETURN into field "SCORE"
  37.   if gname = EMPTY then
  38.     put "├ç┬Å├ç├Æ├ç├ù├çΓÇó" && "├ç┼╜├ç├Æ├ç├â" & RETURN after field "SCORE"
  39.   else
  40.     put gname && "├ç┼╜├ç├Æ├ç├â" & RETURN after field "SCORE"
  41.   end if
  42.   put "├ç┬▒├ç├â├ëQ├à[├ë├ä├ç├â" & RETURN & "├¼├ª├¼_├ç├ò " after field "SCORE"
  43.   if gten <= 0 then
  44.     put "0 ├¼_├ç┬╝├ç├¥├àB" & RETURN & RETURN after field "SCORE"
  45.   else
  46.     put gten && "├¼_├ç┬╝├ç├¥├àB" & RETURN & RETURN after field "SCORE"
  47.   end if
  48.   if gnin > 0 then
  49.     put "├«E├½┼ô├│├ò├çΓäó" && gnin && "├çΓǪ├ç┬╗├ç┬í├ç├╜├àI" after field "SCORE"
  50.   else
  51.     put "├«E├½┼ô├│├ò├çΓäó 0 ├ç├ª├ç┬í├ç├╜├àI" after field "SCORE"
  52.   end if
  53. end
  54.