item script StaffofJhkarr{ void run(int CaneonSFX, int CaneoffSFX){ if ( Game->Counter[CR_MAGIC] > 0 ) { if ( !byrnaOn && Link->MP > 0 ){ byrnaOn = true; Game->PlaySound(CaneonSFX); Link->CollDetection = false; Link->Invisible = false; } else if ( byrnaOn ){ byrnaOn = false; Game->PlaySound(CaneoffSFX); } } else { Game->PlaySound(SFX_ERROR); } } } item script staffPickup{ void run(){ ownStaff = true; } } item script falseStaff { void run() { if ( Link->MP > 0 && ownStaff == true ) { Link->Item[88] = true; } } }