Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[British Tea's First Script]
- #Text[I'm not glad of this]
- #Player[REIMU, MARISA]
- #ScriptVersion[2]
- script_enemy_main {
- #include_function "lib\SHOT_REPLACE\shot_replace.dnh";
- let CSD = GetCurrentScriptDirectory;
- let imgBoss = CSD ~ "IMG\RussSprite.png";
- let frame = 0;
- @Initialize {
- shotinit;
- LoadGraphic(imgBoss);
- SetLife(3000);
- SetTimer(80);
- SetInvincibility(30);
- SetMovePosition01(GetCenterX, GetCenterY, 90);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 16);
- if(frame==30){
- CreateShot01(GetX, GetY, 2, 80, RED01, 10);
- CreateShot01(GetX, GetY, 2, 90, RED01, 10);
- frame = 0;
- }
- frame++;
- }
- @DrawLoop {
- SetTexture(imgBoss);
- SetGraphicRect(0,0,48,88);
- DrawGraphic(GetX,GetY);
- }
- @Finalize {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement