Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[Fujiwara no Mokou N1]
- #Text[NonSpell. Classic]
- #ScriptVersion[2]
- script_enemy_main
- #include_function".\lib\lib_anime_Mokou.txt";
- #include_function".\UserShot.dnh";
- let ImgBoss = GetCurrentScriptDirectory ~ "IMAGE\CHAR\DOT\Mokou.png";
- @Initialize {
- LoadGraphic(ImgBoss);
- SetLife(230);
- SetDamageRate(20,100);
- SetMovePosition01(GetX, GetY, 120);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 16);
- if(frame==60){
- CreateShot01(GetX, GetY, 3, GetAngleToPlayer, US_BILL_RED, 10);
- CreateShot01(GetX, 120, 4, 0, US_BILL_RED, 0);
- CreateShot01(180, 130, 2.5, rand(0.5, 0.5), US_BILL_RED, 20);
- frame = 0;
- }
- @DrawLoop {
- SetTexture(ImgBoss);
- SetRenderState(ALPHA);
- SetGraphicRect(32, 32, 96, 96);
- let BossName="Fujiwara No Mokou";
- DrawText(BossName, 36, 39, 12, 225);
- if(GetSpeedX()>0){SetAction(ACT_MOVE,0)}
- if(GetSpeedX()<0){SetAction(ACT_MOVE,0)}
- DrawBoss(ImgBoss);
- }
- @Finalize {
- DeleteGraphic(ImgBoss);
- }
Advertisement
Add Comment
Please, Sign In to add comment