summaryrefslogtreecommitdiff
path: root/src/safari_zone.c
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-05 22:31:01 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-06 10:38:28 +0800
commitf9ff7316d5c7277eb7482e30121388cd65f4ecfc (patch)
treeee8f4a9c338f880a3585d6e9ed9ed695f27cef3d /src/safari_zone.c
parent405f1bb529809b8169364737087189df0fcca1d2 (diff)
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
Diffstat (limited to 'src/safari_zone.c')
-rw-r--r--src/safari_zone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/safari_zone.c b/src/safari_zone.c
index 69914b565..accf94981 100644
--- a/src/safari_zone.c
+++ b/src/safari_zone.c
@@ -185,7 +185,7 @@ struct Pokeblock *SafariZoneGetPokeblockInFront(void)
{
GetPokeblockFeederInFront();
- if (gSpecialVar_Result == INVALID_U16)
+ if (gSpecialVar_Result == 0xFFFF)
return NULL;
else
return &sPokeblockFeeders[gSpecialVar_Result].pokeblock;
@@ -195,7 +195,7 @@ struct Pokeblock *SafariZoneGetActivePokeblock(void)
{
GetPokeblockFeederWithinRange();
- if (gSpecialVar_Result == INVALID_U16)
+ if (gSpecialVar_Result == 0xFFFF)
return NULL;
else
return &sPokeblockFeeders[gSpecialVar_Result].pokeblock;
@@ -245,7 +245,7 @@ bool8 GetInFrontFeederPokeblockAndSteps(void)
{
GetPokeblockFeederInFront();
- if (gSpecialVar_Result == INVALID_U16)
+ if (gSpecialVar_Result == 0xFFFF)
{
return FALSE;
}