Uhh, this code I had was working... Until I tried to make a spell while looking at the advanced tutorial... Now it doesn't work
This...
#TouhouDanmakufu
#Title[Marksman]
#Text[Prybetier has been gaming too much...]
#PlayLevel[Oni]
#BackGround[User(\script\Slackin\GapBridge.png, 0, 0)]
#BGM[\script\Slackin\Necrofantasia.mp3]
#Player[FREE]
#ScriptVersion[2]
script_enemy_main {
let frame = 0;
@Initialize {
SetLife(1000);
SetEnemyMarker(true);
MagicCircle(true);
SetDamageRate(30, 10);
SetTimer(60);
SetInvincibility(20);
}
@MainLoop {
SetCollisionA(220, 120, 32);
SetCollisionB(220, 120, 24);
if(frame==60){
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer, 100, 10, WHITE02, 5);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer, 100, 10, YELLOW02, 15);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer+40, 100, 10, WHITE02, 5);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer+40, 100, 10, YELLOW02, 15);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer-40, 100, 10, WHITE02, 5);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer-40, 100, 10, YELLOW02, 15);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer+15, 100, 10, WHITE02, 5);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer+15, 100, 10, YELLOW02, 15);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer-15, 100, 10, WHITE02, 5);
CreateLaser01(GetX, GetY, 2.5, GetAngleToPlayer-15, 100, 10, YELLOW02, 15);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer, 100, 8, ORANGE02, 5);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer, 100, 8, RED02, 10);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer+3, 100, 8, ORANGE02, 5);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer+3, 100, 8, RED02, 10);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer-3, 100, 8, ORANGE02, 5);
CreateLaser01(GetX, GetY, 5, GetAngleToPlayer-3, 100, 8, RED02, 10);
CreateLaser01(GetX, GetY, 10, GetAngleToPlayer, 100, 5, BLUE02, 5);
CreateLaser01(GetX, GetY, 10, GetAngleToPlayer, 100, 5, PURPLE02, 8);
CreateLaser01(GetX, GetY, 6.5, GetAngleToPlayer+2, 100, 7, AQUA02, 5);
CreateLaser01(GetX, GetY, 6.5, GetAngleToPlayer+2, 100, 7, GREEN02, 10);
CreateLaser01(GetX, GetY, 6.5, GetAngleToPlayer-2, 100, 7, AQUA02, 5);
CreateLaser01(GetX, GetY, 6.5, GetAngleToPlayer-2, 100, 7, GREEN02, 10);
frame = 30;
}
frame++;
}
@DrawLoop {
}
@Finalize {
}
}