#“Œ•û’e–‹•— #Title[test] #Text[test] #Image[] #ScriptVersion[2] script_enemy_main { let imgBoss = "script\img\ExRumia.png"; let angle = 90; let frame = 0; let frame2 = 0; @Initialize { SetX(0); SetY(0); SetLife(2000); LoadGraphic(imgBoss); SetTexture(imgBoss); SetGraphicRect(0, 0, 63, 63); SetMovePosition03(GetCenterX,GetCenterY-60,10,6); } @MainLoop { SetCollisionA(GetX, GetY, 24); SetCollisionB(GetX, GetY, 24); frame2++; if(frame2 > 50) { frame++; if(frame == 30) { CreateShot01(GetX, GetY, 1, angle, WHITE01, 0); frame = 0; } } } @DrawLoop { DrawGraphic(GetX, GetY); } @Finalize { DeleteGraphic(imgBoss); } }