2ÅÀ¤ª´ê¤¤¤·¤Þ¤¹¡£
¡txt¤ÎÌäÂê¤ò¥é¥ó¥À¥à¤Ë½ÐÂꤹ¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤Ç¤·¤ç¤¦¤«¡©
¢*judge¤Ë¤ª¤¤¤Æ¡¢Àµ²ò¤ÎºÝ¡¢mes¤ò¡ÖÀµ²ò¡×°Ê³°¤Ë¡Ö¤¤¤¤¤¾¡ª¡×¡Ö¤ä¤ë¤Ê¡ª¡×¡ÖÅ·ºÍ¤À¡ª¡×¤Ê¤É¤ÎÇ®¤¤¸ÀÍÕ¤ò¥é¥ó¥À¥à¤Ëɽ¼¨¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤·¤¿¤é¤è¤¤¤Ç¤·¤ç¤¦¤«¡©
¥¹¥¯¥ê¥×¥È°Æ¡¢²òÀâ¤ò¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£
°Ê²¼¡¢¸½ºß¤Î¥¹¥¯¥ê¥×¥È¤Ç¤¹¡£
*Start
mmload"sht_a01.mp3",0,1
mmload"startsound.mp3",1,2
mmload"sht_a06.mp3",2,1
screen 0,600,400
mmplay 0
title "½¤Â¤ENGLISH"
redraw 0
color:boxf
celload "266-0.png",1
color 255,0,0:font "HGÌÀÄ«E",50:pos (870-50*11)/2,100:mes "½¤Â¤ENGLISH"
color $FF,$FF,$00:font "HGÌÀÄ«E",30:pos (600-30* 6)/2,180:mes "¡ÁLEVEL1¡Á"
color 255,255,255:font "HGÌÀÄ«E",30:pos (400- 8*15)/2,250:mes "¥¹¥¿¡¼¥È(Enter)"
:pos (400- 8*15)/2,275:mes "²Ý¶â(SPC)"
pos (400- 8*15)/2,300:mes "½ªÎ»(ESC)"
redraw 1
repeat
pos 400,200
celput 1
stick key
if(key&32):mmplay 1:break
if(key&16):mmplay 1:goto*kakin
if(key&128):mmplay 1:end
await 20
loop
mmplay 2
notesel buf
ab=0
ac=1
time=500 : ; await 20¤ò500²ó¤¯¤êÊÖ¤¹¤³¤È¤ÇÌó10ÉäËÊѹ¹¡£
noteload "type1.txt",50000 : ; ³°¤Ë½Ð¤¹¡£
sdim kaitou,500 : ; ³°¤Ë½Ð¤¹¡£½é´ü²½¤ÏÂåÆþ¤Ç¹Ô¤¦¡£
*main
cls ; ¤³¤Î¥¹¥¯¥ê¥×¥È¤Ê¤écls¤Ç¤¤¤¤¤È»×¤¦¡£
pos 270,100
celput 1
pos 0,0
font "MS ¥´¥·¥Ã¥¯",48,1
mes "Àµ²ò="+seikai+"":mes "ÉÔÀµ²ò="+huseikai+""
noteget a,ab
mes a
noteget b,ac
kaitou="" : ; ½é´ü²½¡£
objmode 2 : ; cls¤ò»Ä¤·¤¿¤Î¤Ç¡¢¤³¤ì¤é¤â»Ä¤¹¡£
font msgothic,48
objsize 250,50
input kaitou
objsel 0 : ; ¤³¤ì¤¬Ìµ¤¤¤È2²óÌܰʹߤËinput¥Ü¥Ã¥¯¥¹Æâ¤ËÆþÎÏ¥«¡¼¥½¥ë¤¬¥Ç¥Õ¥©¤Ç½Ð¤Ê¤¤¡£
mes "PUSH ENTER"
; main¤ò2¤Ä¤Ëʬ¤±¤ë¡£
*main_2
time=time-1
redraw 0 : ; ²èÌ̤ΥÁ¥é¥Ä¥¤òËɤ°¡£
color 255,255,255 : boxf 300,300,599,399 : ; »Ä¤ê»þ´Ö¤Îɽ¼¨¤ò¾Ãµî¡£
color 0,0,0 : ; ¾Ãµî¤ÎºÝ¤Ë¿§¤òÊѤ¨¤¿¤Î¤Ç¡¢Ê¸»ú¤Î¿§¤Ë¹õ¤ò»ØÄê¡£
pos 300,300
mes "»Ä¤ê»þ´Ö:"+str((time+49)/50) : ; time¤¬49°Ê²¼¤Ë¤Ê¤ë¤È0¤Èɽ¼¨¤µ¤ì¤ë¤Î¤òËɤ°¤¿¤á¤Ë49¤ò¤¹¡£
redraw 1
if time<1:goto *gameover : ; »Ä¤ê»þ´Ö¤òɽ¼¨¤µ¤»¤Æ¤«¤é*gameover¤ËÈô¤Ö¤è¤¦¤Ë½çÈÖÊѹ¹¡£
; wait 100¤Ï»È¤ï¤Ê¤¤¡£
stick ky
if (ky&32)!=0 :goto *judge : ; if¤Ï»ä¤Î¹¥¤ß¤Î½ñ¤Êý¤Ê¤À¤±¤ÎÊѹ¹¡£gosub¤ògoto¤ËÊѹ¹¡£
await 20 : ; wait 1¤òÊѹ¹¡£
goto *main_2 : ; Êѹ¹¡£
*judge
if kaitou=b{
mes "Àµ²ò"
seikai=seikai+1
}else{
mes "ÉÔÀµ²ò"
huseikai=huseikai+1
}
wait 100
ab=ab+2
ac=ac+2
if huseikai=3:goto*gameover
goto *main : ; gosub¤ògoto¤ËÊѤ¨¤¿¤Î¤Çreturn¤âÊѹ¹
*gameover
clrobj:await 16
cls
redraw 1
pos 80,170:color 255,0,0
font "MS gothic",96
mes"Game Over"
pos 100,300
font "MS gothic",20
objsize 100,50
button"one more",*main
pos 300,300
button"finish",*Start
stop; ÊÌ¥é¥Ù¥ë¤ËÈô¤Ö¤è¤¦¤ËÊѹ¹¡£
*longmode
mmplay 2
notesel buf
ab=0
ac=1
time=1000 : ; await 20¤ò500²ó¤¯¤êÊÖ¤¹¤³¤È¤ÇÌó10ÉäËÊѹ¹¡£
noteload "type1.txt",50000 : ; ³°¤Ë½Ð¤¹¡£
sdim kaitou,500 : ; ³°¤Ë½Ð¤¹¡£½é´ü²½¤ÏÂåÆþ¤Ç¹Ô¤¦¡£
goto*main
*kakin
cls
font "MS gothic",96
pos 80,170:color 255,0,0
mes "2480±ß"
pos 100,300
font "MS gothic",20
objsize 100,50
button "¹ØÆþ",*oto
stop
*oto
mmplay 1
goto*longmode