mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-09 04:13:03 -05:00
Merge pull request #2261 from SiliconA-Z/assertion
Fix fakematch in AllocateBattleResources
This commit is contained in:
commit
f9173995c1
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user