Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let csd = GetCurrentScriptDirectory;
- #include_function ".\SHOT_REPLACE\shot_replace.dnh"
- let spellcard = false;
- let life = 3000;
- let dscale = [100,50];
- let time = 60;
- let initinv = 0;
- let name = "NULL";
- let startwait = 60;
- let startmove = [GetCenterX,160];
- let collide = true;
- @Initialize {
- shotinit;
- SetInvincibility(startwait);
- SetMovePosition02(startmove[0], startmove[1], startwait);
- SetTimer(time);
- //Concentration01(startwait);
- SetDamageRate(0,0);
- start_wait;
- if(spellcard||name!="NULL"){spellcard_init;}
- SetEnemyMarker(true);
- SetLife(life);
- }
- let clearpoints = 2000000;
- sub spellcard_init{
- if(name=="NULL"){name="Untitled";}
- SetScore(clearpoints);
- CutIn(YOUMU, name, "", 0, 0, 0, 0);
- }
- task start_wait{
- init;
- loop(startwait){yield;}
- main;
- loop(initinv){yield;}
- loop{
- if(!collide||(OnBomb&&spellcard)) {
- SetDamageRate(0,0);
- } else {
- SetDamageRate(dscale[0], dscale[1]);
- }
- yield;
- }
- }
- @MainLoop {
- if(collide&&(!OnBomb||!spellcard)){SetCollisionA(GetX, GetY, 32);}
- yield;
- }
Add Comment
Please, Sign In to add comment