hm...
#TouhouDanmakufu
#Title[Flower Test]
#Text[????]
#Player[FREE]
#ScriptVersion[2]
script_enemy_main {
let BossImage = "script\img\ExRumia.png";
let frame = -60;
let a = 0;
let num = 10;
let graphic = [RED12, ORANGE12, YELLOW12, GREEN12, AQUA12, BLUE12, PURPLE12, WHITE12];
@Initialize {
SetLife(2400);
SetDamageRate(40, 0);
SetEnemyMarker(true);
LoadGraphic(BossImage);
SetMovePosition02(GetCenterX, GetClipMinY+100, 60);
CutIn(KOUMA,"「花の色は良いですか?」", "", 0, 0, 0, 0);
SetScore(1000000);
SetDurableSpellCard;
}
@MainLoop {
SetCollisionA(GetX, GetY, 32); //32 for boss, 10 for fairy
SetCollisionB(GetX, GetY, 24);//24 for boss, 5 for fairy
if(frame == 90) {
loop(num) {
ascent (i in 0..8) {
ascent (j in 0..8) {
CreateShot01(GetX, GetY, 0.75*(i+j*0.5)+1, a+i*2.75, graphic[j], 10);
CreateShot01(GetX, GetY, 0.75*(i+j*0.5)+1, a-i*2.75, graphic[j], 10);
}
}
a+=360/num;
}
a+=9.5;
frame = 0;
}
frame++;
}
@DrawLoop {
SetTexture(BossImage);
SetGraphicRect(0, 0, 64, 64);
DrawGraphic(GetX, GetY);
}
@Finalize {
DeleteGraphic(BossImage);
}
}