#東方弾幕風 #Title [緋蜂もどき〜Lunatic〜] #Text [ドSの提供する恐ろしい弾幕] #ScriptVersion[2] script_enemy_main { let imgBoss = "script\img\ExRumia.png"; let a = 0; let b = 0; let c = 180; let d = -90; let frame1 = 0; let e = 0; let f = 0; let g = -45; let h = 0; let i = 0; @Initialize { SetX(GetCenterX); SetY(GetClipMinY + 120); SetLife(8000); LoadGraphic(imgBoss); SetTexture(imgBoss); SetGraphicRect(0, 0, 63, 63); SetDamageRate(100,0); } @MainLoop { SetCollisionA(GetX, GetY, 24); SetCollisionB(GetX, GetY, 24); frame1++; if(frame1 == 2){ let a = b ; b += 5.1; loop(4) { CreateShot01(GetX, GetY, 4, a, RED21, 0); a += 90; } let e = f ; f -= 10.3; loop(4) { CreateShot01(GetX, GetY, 4, e, RED21, 0); e += 90; } } if(frame1 == 2){ g = h; loop(8){ CreateShotA(01,GetX,GetY,0); g +=45; SetShotDataA(01,0,1,g,+0.8,0.09,50,BLUE21); FireShot(01); } h += 10.5222; frame1 = 0; } } @DrawLoop { DrawGraphic(GetX, GetY); } @Finalize { DeleteGraphic(imgBoss); } }