Added metatile behaviors to mart and center signs

This commit is contained in:
pkmnsnfrn 2024-07-25 19:44:26 -07:00
parent c6f89d1996
commit 2a5f384e66
3 changed files with 4 additions and 4 deletions

View file

@ -32,8 +32,8 @@
#define MB_SHOAL_CAVE_ENTRANCE 0x1C
#if OW_AUTO_SIGNPOST == TRUE
#define MB_SIGNPOST 0x1D
#define MB_SIGNPOST_POKECENTER 0x1E
#define MB_SIGNPOST_POKEMART 0x1F
#define MB_POKEMON_CENTER_SIGN 0x1E
#define MB_POKEMART_SIGN 0x1F
#else
#define MB_UNUSED_1D 0x1D
#define MB_UNUSED_1E 0x1E

View file

@ -1416,7 +1416,7 @@ bool8 MetatileBehavior_IsSignpost(u8 mb)
bool8 MetatileBehavior_IsPokemonCenterSign(u8 mb)
{
#if OW_AUTO_SIGNPOST == TRUE
return (mb == MB_SIGNPOST_POKECENTER);
return (mb == MB_POKEMON_CENTER_SIGN);
#else
return FALSE;
#endif
@ -1425,7 +1425,7 @@ bool8 MetatileBehavior_IsPokemonCenterSign(u8 mb)
bool8 MetatileBehavior_IsPokeMartSign(u8 mb)
{
#if OW_AUTO_SIGNPOST == TRUE
return (mb == MB_SIGNPOST_POKEMART);
return (mb == MB_POKEMART_SIGN);
#else
return FALSE;
#endif