Merge pull request #1273 from ghoulslash/battle_anims

Fix Terrain BG on new battles
This commit is contained in:
ghoulslash 2020-12-08 11:28:26 -07:00 committed by GitHub
commit 38b61ac5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,8 @@ void FreeBattleResources(void)
{
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
FreeTrainerHillBattleStruct();
gFieldStatuses = 0;
if (gBattleResources != NULL)
{
FREE_AND_SET_NULL(gBattleStruct);