From f9ff7316d5c7277eb7482e30121388cd65f4ecfc Mon Sep 17 00:00:00 2001 From: nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> Date: Wed, 5 Dec 2018 22:31:01 +0800 Subject: Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs --- src/fieldmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fieldmap.c') diff --git a/src/fieldmap.c b/src/fieldmap.c index aef17d49d..7e1fc03eb 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -496,7 +496,7 @@ u16 GetBehaviorByMetatileId(u16 metatile) } else { - return INVALID_U8; + return 0xFF; } } @@ -922,7 +922,7 @@ void sub_8088B94(int x, int y, int a2) bool8 sub_8088BF0(u16* a0, u16 a1, u8 a2) { - if (a2 == INVALID_U8) + if (a2 == 0xFF) return FALSE; if (a2 == 0) -- cgit v1.2.3