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 / psyche.dcr / 00073_ýŠ±ï-é¶.ls < prev    next >
Encoding:
Text File  |  2017-09-21  |  1.5 KB  |  58 lines

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