¤È¤ê¤¢¤¨¤º¤³¤Î¤è¤¦¤Ê·Á¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¤É¤¦¤Ç¤·¤ç¤¦¤«¡£
title "£Ì£Å£Ä¥ë¡¼¥ì¥Ã¥È" ;¥¿¥¤¥È¥ë¤ÎÀßÄê
#include "hspusbio.as" ;hspusbio ¥×¥é¥°¥¤¥óÁȤ߹þ¤ß
;------------------ ÊÑ¿ôÅù½é´ü²½ -------------------------------
randomize ;Íð¿ôȯÀ¸¤Î½é´ü²½
wait_c=500 ;ÂÔ¤Á»þ´Ö¤ÎÀßÄê¡Ê1=0.01s¡Ë
dim x,12 ;¥Ü¥¿¥ó¤ÎXºÂɸÇÛÎó
dim y,12 ;¥Ü¥¿¥ó¤ÎYºÂɸÇÛÎó
screen 0,400,300 ;²èÌ̤ÎÂ礤µ¤òÀßÄê
x(5)=190 : y(5)=80 //ÇÛÎó¤Ï1¥¹¥¿¡¼¥È¤Ç¤Ï¤Ê¤¯0¥¹¥¿¡¼¥È¤Ê¤Î¤Ç½¤Àµ
x(4)=220 : y(4)=89
x(3)=242 : y(3)=109
x(2)=250 : y(2)=140
x(1)=242 : y(1)=171
x(0)=220 : y(0)=191
x(11)=190 : y(11)=200
x(10)=159 : y(10)=191
x(9)=139 : y(9)=171
x(8)=130 : y(8)=140
x(7)=139 : y(7)=109
x(6)=159 : y(6)=89
;------------------ ÅÀÌǽªÎ» -------------------------------
pos 350,270
objsize 45,25
button "½ªÎ»", *eend
*disp
port=0 : gosub *test
stop
*test
w_time=4 //x¤È¤¤¤¦ÊÑ¿ô̾¤Ï¤¹¤Ç¤ËÇÛÎóx¤È¤·¤Æ»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢Â¾¤ÎÊÑ¿ô̾¤ËÊѤ¨¤ë
objsize 20,20
p=rnd(12) //¥ë¡¼¥ì¥Ã¥È¤¬ÅÀÅô¤·¤Æ¤¤¤ë°ÌÃÖ¡£½é´ü°ÌÃÖ¤ò¥é¥ó¥À¥à¤Ë·è¤á¤ë¡£
repeat 12*6+rnd(12) //¥ë¡¼¥ì¥Ã¥È¤ò¤³¤Î¥³¥Þ¤À¤±¿Ê¤á¤ë¡£ºÇÄã6¼þ¤µ¤»¤¿¤¢¤È¡¢²¿¥³¥Þ¿Ê¤à¤«¤Ï¥é¥ó¥À¥à¡£
if cnt>0 { //ºÇ½é¤Î¥ë¡¼¥×¤Ç¤Ï¤³¤³¤Î½èÍý¤Ï¹Ô¤ï¤Ê¤¤¡£
clrobj b_id,b_id
p=(p+1)\12 //p¤ÎÃͤÏ0¡Á11¤Ç¥ë¡¼¥×¤µ¤»¤ë
if cnt\12=0 : w_time+=3 //¥ë¡¼¥ì¥Ã¥È¤¬1¼þ¤¹¤ë¤´¤È¤ËÂÔ¤Á»þ´Ö¤òÁý¤ä¤¹
}
byte=1<<p //¤³¤Î·×»»¤Çbyte¤ÎÃͤϵá¤Þ¤ë
pos x(p),y(p) : button "¡ü", *eend
b_id=stat //º£¸å¥Ü¥¿¥ó¤òÁý¤ä¤·¤¿»þ¤ËÈ÷¤¨¡¢¥Ü¥¿¥óID¤Ï1¤Ë·è¤áÂǤÁ¤»¤º¡¢ÅÔÅÙ¼èÆÀ¤¹¤ë
wait w_time
loop
return
*eend
end