changed B_WEATHER_FORM_SUPPRESS config to preproc
This commit is contained in:
parent
b269cc6906
commit
7b08713707
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue