mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-08 02:23:20 +01:00
Merge pull request #1273 from ghoulslash/battle_anims
Fix Terrain BG on new battles
This commit is contained in:
commit
38b61ac5a0
@ -45,7 +45,8 @@ void FreeBattleResources(void)
|
|||||||
{
|
{
|
||||||
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
|
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
|
||||||
FreeTrainerHillBattleStruct();
|
FreeTrainerHillBattleStruct();
|
||||||
|
|
||||||
|
gFieldStatuses = 0;
|
||||||
if (gBattleResources != NULL)
|
if (gBattleResources != NULL)
|
||||||
{
|
{
|
||||||
FREE_AND_SET_NULL(gBattleStruct);
|
FREE_AND_SET_NULL(gBattleStruct);
|
||||||
|
Loading…
Reference in New Issue
Block a user