mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-20 19:23:38 +01:00
changed B_WEATHER_FORM_SUPPRESS config to preproc
This commit is contained in:
parent
b269cc6906
commit
7b08713707
@ -16605,14 +16605,15 @@ void BS_ItemRestorePP(void)
|
||||
void BS_TryRevertWeatherForm(void)
|
||||
{
|
||||
NATIVE_ARGS();
|
||||
if (B_WEATHER_FORM_SUPPRESS >= GEN_5
|
||||
&& TryBattleFormChange(gBattlerTarget, FORM_CHANGE_BATTLE_WEATHER))
|
||||
#if B_WEATHER_FORM_SUPPRESS >= GEN_5
|
||||
if (TryBattleFormChange(gBattlerTarget, FORM_CHANGE_BATTLE_WEATHER))
|
||||
{
|
||||
gBattleScripting.battler = gBattlerTarget;
|
||||
BattleScriptPush(cmd->nextInstr);
|
||||
gBattlescriptCurrInstr = BattleScript_TargetFormChangeWithStringNoPopup;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
gBattlescriptCurrInstr = cmd->nextInstr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user