Merge pull request #2261 from SiliconA-Z/assertion

Fix fakematch in AllocateBattleResources
This commit is contained in:
Martin Griffin
2026-04-21 16:31:00 +01:00
committed by GitHub

View File

@@ -14,7 +14,10 @@
void AllocateBattleResources(void)
{
gBattleResources = gBattleResources; // something dumb needed to match
if (gBattleResources != NULL) {
// There was an assert here.
// But it didn't compile.
}
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
InitTrainerHillBattleStruct();