Generate region_map_sections from JSON (#677)

This commit is contained in:
GriffinR
2024-11-26 12:45:53 -05:00
committed by GitHub
parent bb50006fc9
commit d4eee4692f
9 changed files with 530 additions and 443 deletions
+1 -1
View File
@@ -5212,7 +5212,7 @@ static bool32 CurrentMonIsFromGBA(void)
static bool32 MapSecIsInKantoOrSevii(u8 mapSec)
{
if (mapSec >= MAPSECS_KANTO && mapSec < MAPSEC_NONE)
if (mapSec >= KANTO_MAPSEC_START && mapSec < MAPSEC_NONE)
return TRUE;
return FALSE;
}