mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-30 13:57:40 -05:00
Replaces STATUS2 usage with volatiles in code (#7262)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
This commit is contained in:
@@ -35,7 +35,7 @@ void BS_TrySetOctolock(void)
|
||||
else
|
||||
{
|
||||
gDisableStructs[battler].octolock = TRUE;
|
||||
gBattleMons[battler].status2 |= STATUS2_ESCAPE_PREVENTION;
|
||||
gBattleMons[battler].volatiles.escapePrevention = TRUE;
|
||||
gDisableStructs[battler].battlerPreventingEscape = gBattlerAttacker;
|
||||
gBattlescriptCurrInstr = cmd->nextInstr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user