diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-12-12 23:28:01 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-12-12 23:30:51 -0500 |
commit | 81d95b9325ed2526ce638744408f453a8169abb4 (patch) | |
tree | e0f7100b6b35156f0868df537b2e3a149061dd52 /src/battle_ai_script_commands.c | |
parent | ba3021db64bd9518f324c1ad89e63e90278f0eb4 (diff) |
Use BUGFIX for some inline fixes
Diffstat (limited to 'src/battle_ai_script_commands.c')
-rw-r--r-- | src/battle_ai_script_commands.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/battle_ai_script_commands.c b/src/battle_ai_script_commands.c index 2423cfe37..651f9da2a 100644 --- a/src/battle_ai_script_commands.c +++ b/src/battle_ai_script_commands.c @@ -1613,8 +1613,10 @@ static void Cmd_if_status_not_in_party(void) if (species != SPECIES_NONE && species != SPECIES_EGG && hp != 0 && status == statusToCompareTo) { - gAIScriptPtr += 10; // UB: Still bugged in Emerald. Uncomment the return statement to fix. - // return; + gAIScriptPtr += 10; + #ifdef BUGFIX + return; + #endif } } |