make field tasks compile

This commit is contained in:
DizzyEggg
2018-05-19 18:13:48 +02:00
parent d1798d0ed9
commit 1307fde8ca
8 changed files with 17 additions and 35 deletions

View File

@@ -394,7 +394,7 @@ static void DoStandardWildBattle(void)
gBattleTypeFlags = 0;
if (InBattlePyramid())
{
VarSet(VAR_0x400E, 0);
VarSet(VAR_TEMP_E, 0);
gBattleTypeFlags |= BATTLE_TYPE_PYRAMID;
}
CreateBattleStartTask(GetWildBattleTransition(), 0);
@@ -1258,7 +1258,7 @@ void BattleSetup_StartTrainerBattle(void)
if (InBattlePyramid())
{
VarSet(VAR_0x400E, 0);
VarSet(VAR_TEMP_E, 0);
gBattleTypeFlags |= BATTLE_TYPE_PYRAMID;
if (gNoOfApproachingTrainers == 2)