diff options
author | Marcus Huderle <huderlem@gmail.com> | 2019-01-31 15:51:20 -0600 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2019-01-31 15:51:20 -0600 |
commit | 29d6221935d3e8e01dc11b4023ba977ff433f3c9 (patch) | |
tree | 0b7af297b60ce14bf03d6613952269ef0fa66676 /src/pokemon.c | |
parent | 5c1667b41a7d31df6d405d272833895bf8472cf6 (diff) |
Convert map data to JSON
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index cdb87f464..7f80e8d4e 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -37,6 +37,7 @@ #include "constants/battle_move_effects.h" #include "constants/hold_effects.h" #include "constants/items.h" +#include "constants/layouts.h" #include "constants/moves.h" #include "constants/songs.h" #include "constants/species.h" @@ -6848,7 +6849,7 @@ void SetWildMonHeldItem(void) var1 = 20; var2 = 80; } - if (gMapHeader.mapLayoutId == 0x1A4) + if (gMapHeader.mapLayoutId == LAYOUT_ALTERING_CAVE) { s32 alteringCaveId = GetWildMonTableIdInAlteringCave(species); if (alteringCaveId != 0) |