diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index f2311f198..e51b426a0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -8992,9 +8992,14 @@ static void Cmd_various(void) return; case VARIOUS_JUMP_IF_LEAF_GUARD_PROTECTED: if (IsLeafGuardProtected(gActiveBattler)) + { + gBattlerAbility = gActiveBattler; gBattlescriptCurrInstr = T1_READ_PTR(gBattlescriptCurrInstr + 3); + } else + { gBattlescriptCurrInstr += 7; + } return; }