Is it possible to add a "use SuperQuake Attack, instead of Hurricane Spin" function to this script(s)?
I'd be really happy if someone can help me.
item script FlareSwordItem{ void run(int nothing, int firesprite){ int name[] = "FlareSwordFFC"; int args[8]; args[0] = firesprite; RunFFCScript(Game->GetFFCScript(name), args); } } ffc script FlareSwordFFC {void run(int firesprite) { int SwordX; int SwordY; int PreviousSwordX; int PreviousSwordY; int SwordDmg; while(true){ SwordX = -1000; SwordY = -1000; for (int i = Screen->NumLWeapons(); i > 0; i--) { lweapon wpn = Screen->LoadLWeapon(i); if ( wpn->ID == LW_SWORD ) { SwordX = wpn->X; SwordY = wpn->Y; SwordDmg = wpn->Damage; } } if ( SwordX == -1000 && SwordY == -1000 ) Quit(); if ( Link->Action != LA_CHARGING && Link->Action != LA_GOTHURTLAND && (SwordX != PreviousSwordX || SwordY != PreviousSwordY) ) { Game->PlaySound(13); lweapon wpn = CreateLWeaponAt(LW_FIRE, SwordX, SwordY); wpn->UseSprite(firesprite); wpn->Damage = SwordDmg; wpn->Step = 0; } PreviousSwordX = SwordX; PreviousSwordY = SwordY; Waitframe(); } } }