home *** CD-ROM | disk | FTP | other *** search
/ Curio City 11 / CURIO11.bin / pc / movie / shop / sakurain.dir / 00667.ls < prev    next >
Encoding:
Text File  |  1998-01-01  |  4.1 KB  |  122 lines

  1. global guserlist
  2.  
  3. on yokinzumidesu
  4.   set s to the sakuramoney of guserlist
  5.   if s = 0 then
  6.     unLoad()
  7.   else
  8.     beep()
  9.     alert("テウaテ」窶。テゥcテァテテ邃「テ窶テテ暗ィテ催ァテ。テテ陛Aテツョテ窶禿ツエティoテツオテツ敕ァナ禿窶ケテテセテニ津ツゥテテAテェVテテステ窶ヲテツョテウaテテ佚ャツクテテ催ツ催テヲテナステツ「テB")
  10.     go("atm-m")
  11.   end if
  12. end
  13.  
  14. on initsiharaicash
  15.   repeat with n = 31 to 35
  16.     set the visible of sprite n to 0
  17.   end repeat
  18.   updateStage()
  19. end
  20.  
  21. on siharaihyouji
  22.   global guserlist
  23.   set m to the money of guserlist
  24.   set s to the sakuramoney of guserlist
  25.   set gokei to s + getkinri()
  26.   put integer(gokei) into field "sakuMone"
  27.   setfontsakura()
  28.   set mojisuu to the length of field "sakuMone"
  29.   if value(mojisuu) <= 999990 then
  30.     if mojisuu = 2 then
  31.       set no1 to char 1 of field "sakuMone"
  32.       puppetSprite(31, 1)
  33.       set the castNum of sprite 31 to no1 + 720
  34.       set the visible of sprite 31 to 1
  35.     else
  36.       if mojisuu = 3 then
  37.         set no1 to char 1 of field "sakuMone"
  38.         set no2 to char 2 of field "sakuMone"
  39.         puppetSprite(31, 1)
  40.         puppetSprite(32, 1)
  41.         set the castNum of sprite 31 to no2 + 720
  42.         set the castNum of sprite 32 to no1 + 720
  43.         set the visible of sprite 31 to 1
  44.         set the visible of sprite 32 to 1
  45.       else
  46.         if mojisuu = 4 then
  47.           set no1 to char 1 of field "sakuMone"
  48.           set no2 to char 2 of field "sakuMone"
  49.           set no3 to char 3 of field "sakuMone"
  50.           puppetSprite(31, 1)
  51.           puppetSprite(32, 1)
  52.           puppetSprite(33, 1)
  53.           set the castNum of sprite 31 to no3 + 720
  54.           set the castNum of sprite 32 to no2 + 720
  55.           set the castNum of sprite 33 to no1 + 720
  56.           set the visible of sprite 31 to 1
  57.           set the visible of sprite 32 to 1
  58.           set the visible of sprite 33 to 1
  59.         else
  60.           if mojisuu = 5 then
  61.             set no1 to char 1 of field "sakuMone"
  62.             set no2 to char 2 of field "sakuMone"
  63.             set no3 to char 3 of field "sakuMone"
  64.             set no4 to char 4 of field "sakuMone"
  65.             puppetSprite(31, 1)
  66.             puppetSprite(32, 1)
  67.             puppetSprite(33, 1)
  68.             puppetSprite(34, 1)
  69.             set the castNum of sprite 31 to no4 + 720
  70.             set the castNum of sprite 32 to no3 + 720
  71.             set the castNum of sprite 33 to no2 + 720
  72.             set the castNum of sprite 34 to no1 + 720
  73.             set the visible of sprite 31 to 1
  74.             set the visible of sprite 32 to 1
  75.             set the visible of sprite 33 to 1
  76.             set the visible of sprite 34 to 1
  77.           else
  78.             if mojisuu = 6 then
  79.               set no1 to char 1 of field "sakuMone"
  80.               set no2 to char 2 of field "sakuMone"
  81.               set no3 to char 3 of field "sakuMone"
  82.               set no4 to char 4 of field "sakuMone"
  83.               set no5 to char 5 of field "sakuMone"
  84.               puppetSprite(31, 1)
  85.               puppetSprite(32, 1)
  86.               puppetSprite(33, 1)
  87.               puppetSprite(34, 1)
  88.               puppetSprite(35, 1)
  89.               set the castNum of sprite 31 to no5 + 720
  90.               set the castNum of sprite 32 to no4 + 720
  91.               set the castNum of sprite 33 to no3 + 720
  92.               set the castNum of sprite 34 to no2 + 720
  93.               set the castNum of sprite 35 to no1 + 720
  94.               set the visible of sprite 31 to 1
  95.               set the visible of sprite 32 to 1
  96.               set the visible of sprite 33 to 1
  97.               set the visible of sprite 34 to 1
  98.               set the visible of sprite 35 to 1
  99.             end if
  100.           end if
  101.         end if
  102.       end if
  103.     end if
  104.   else
  105.     puppetSprite(31, 1)
  106.     puppetSprite(32, 1)
  107.     puppetSprite(33, 1)
  108.     puppetSprite(34, 1)
  109.     puppetSprite(35, 1)
  110.     set the castNum of sprite 31 to 729
  111.     set the castNum of sprite 32 to 729
  112.     set the castNum of sprite 33 to 729
  113.     set the castNum of sprite 34 to 729
  114.     set the castNum of sprite 35 to 729
  115.     set the visible of sprite 31 to 1
  116.     set the visible of sprite 32 to 1
  117.     set the visible of sprite 33 to 1
  118.     set the visible of sprite 34 to 1
  119.     set the visible of sprite 35 to 1
  120.   end if
  121. end
  122.