Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[spell]
- #Text[HURR DURR]
- #Player[REIMU, MARISA]
- #ScriptVersion[2]
- script_enemy_main {
- #include_function "lib\SHOT_REPLACE\shot_replace.dnh";
- let CSD = GetCurrentScriptDirectory;
- let imgBoss = CSD ~ "img/SSprite.png";
- let imgCutIn = CSD ~ "img\SCutIn.png";
- let f = 0;
- @Initialize {
- shotinit;
- LoadGraphic(imgBoss);
- SetLife(4000);
- SetTimer(50);
- SetInvincibility(30);
- CutIn(YOUMU,"Power Sign "\""Chaotic Spin"\", imgCutIn, 0, 0, 380, 600);
- SetScore(150000);
- Concentration01(180);
- MagicCircle(true);
- SetEffectForZeroLife(180, 100, 1);
- SetMovePosition02(GetCenterX, GetCenterY-100, 0);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 16);
- if(frame==60){
- CreateShot02(GetX, GetY, 2, 90, 3, -1, RED01, 10);
- frame = 0;
- }
- }
- @DrawLoop {
- SetColor(255,255,255);
- SetRenderState(ALPHA);
- SetTexture(imgBoss);
- SetGraphicRect(0,0,50,91);
- DrawGraphic(GetX,GetY);
- }
- @Finalize {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement