mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Change names from MAP_AREA_ to MAP_GROUP_
This commit is contained in:
parent
7f70b629f5
commit
3181c64c64
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
// These groups are used by pokedex_area_screen.c to find wild
|
// These groups are used by pokedex_area_screen.c to find wild
|
||||||
// pokemon locations.
|
// pokemon locations.
|
||||||
#define MAP_AREA_OVERWORLD_MONS MAP_GROUP(PETALBURG_CITY)
|
#define MAP_GROUP_OVERWORLD_MONS MAP_GROUP(PETALBURG_CITY)
|
||||||
#define MAP_AREA_SPECIAL_MONS_1 MAP_GROUP(METEOR_FALLS_1F_1R)
|
#define MAP_GROUP_SPECIAL_MONS_1 MAP_GROUP(METEOR_FALLS_1F_1R)
|
||||||
#define MAP_AREA_SPECIAL_MONS_2 MAP_GROUP(SAFARI_ZONE_NORTHWEST)
|
#define MAP_GROUP_SPECIAL_MONS_2 MAP_GROUP(SAFARI_ZONE_NORTHWEST)
|
||||||
|
|
||||||
#endif // GUARD_CONSTANTS_MAPS_H
|
#endif // GUARD_CONSTANTS_MAPS_H
|
||||||
|
@ -341,11 +341,11 @@ static void FindMapsWithMon(u16 species)
|
|||||||
{
|
{
|
||||||
switch (sFeebasData[i][1])
|
switch (sFeebasData[i][1])
|
||||||
{
|
{
|
||||||
case MAP_AREA_OVERWORLD_MONS:
|
case MAP_GROUP_OVERWORLD_MONS:
|
||||||
SetAreaHasMon(sFeebasData[i][1], sFeebasData[i][2]);
|
SetAreaHasMon(sFeebasData[i][1], sFeebasData[i][2]);
|
||||||
break;
|
break;
|
||||||
case MAP_AREA_SPECIAL_MONS_1:
|
case MAP_GROUP_SPECIAL_MONS_1:
|
||||||
case MAP_AREA_SPECIAL_MONS_2:
|
case MAP_GROUP_SPECIAL_MONS_2:
|
||||||
SetSpecialMapHasMon(sFeebasData[i][1], sFeebasData[i][2]);
|
SetSpecialMapHasMon(sFeebasData[i][1], sFeebasData[i][2]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -358,11 +358,11 @@ static void FindMapsWithMon(u16 species)
|
|||||||
{
|
{
|
||||||
switch (gWildMonHeaders[i].mapGroup)
|
switch (gWildMonHeaders[i].mapGroup)
|
||||||
{
|
{
|
||||||
case MAP_AREA_OVERWORLD_MONS:
|
case MAP_GROUP_OVERWORLD_MONS:
|
||||||
SetAreaHasMon(gWildMonHeaders[i].mapGroup, gWildMonHeaders[i].mapNum);
|
SetAreaHasMon(gWildMonHeaders[i].mapGroup, gWildMonHeaders[i].mapNum);
|
||||||
break;
|
break;
|
||||||
case MAP_AREA_SPECIAL_MONS_1:
|
case MAP_GROUP_SPECIAL_MONS_1:
|
||||||
case MAP_AREA_SPECIAL_MONS_2:
|
case MAP_GROUP_SPECIAL_MONS_2:
|
||||||
SetSpecialMapHasMon(gWildMonHeaders[i].mapGroup, gWildMonHeaders[i].mapNum);
|
SetSpecialMapHasMon(gWildMonHeaders[i].mapGroup, gWildMonHeaders[i].mapNum);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user