Document pokedex area markers
This commit is contained in:
@@ -186,7 +186,7 @@ static u16 GetCurrentMapWildMonHeaderId(void)
|
||||
gSaveBlock1Ptr->location.mapNum == MAP_NUM(SIX_ISLAND_ALTERING_CAVE))
|
||||
{
|
||||
u16 alteringCaveId = VarGet(VAR_ALTERING_CAVE_WILD_SET);
|
||||
if (alteringCaveId > 8)
|
||||
if (alteringCaveId >= NUM_ALTERING_CAVE_TABLES)
|
||||
alteringCaveId = 0;
|
||||
|
||||
i += alteringCaveId;
|
||||
|
||||
Reference in New Issue
Block a user