#TouhouDanmakufu
#Title [NonSpell 5]
#Text [AHHH ITZ BOWSA AGAINZ OH NOES]
#BackGround[User(.\Background.png, 1, 0)]
#PlayLevel[Insanity]
#ScriptVersion[2]
#Player[FREE]


script_enemy_main {

     let angle = 200;
     let frame = 0;
    @Initialize {
        SetX(GetCenterX);
        SetY(GetClipMinY + 120);
        SetLife(3000);
        SetEnemyMarker(true);
        SetTimer(50);
        SetDurableSpellCard;
        MagicCircle(false);

        LoadGraphic("script\img\bowser_paper[1].png");
        SetTexture("script\img\bowser_paper[1].png");
        SetGraphicRect(0, 0, 256, 256);
    }

    @MainLoop {
        SetCollisionA(GetX, GetY, 24);
        SetCollisionB(GetX, GetY, 24);

        if(frame==1){
		CreateShot01(GetX, GetY, 3, angle, RED21, 12);
		angle += 3;

	frame = 0;
}
        
         frame++;
       
          
 }

      

    @DrawLoop {
        DrawGraphic(GetX, GetY);
        SetGraphicScale(0.45,0.45);
    }

    @Finalize{
        DeleteGraphic("script\img\bowser_paper[1].png");
     }
}
