summaryrefslogtreecommitdiff
path: root/src/rom_8034C54.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/rom_8034C54.c
parent405f1bb529809b8169364737087189df0fcca1d2 (diff)
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
Diffstat (limited to 'src/rom_8034C54.c')
-rw-r--r--src/rom_8034C54.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rom_8034C54.c b/src/rom_8034C54.c
index 47d9eaf70..e175ecc64 100644
--- a/src/rom_8034C54.c
+++ b/src/rom_8034C54.c
@@ -255,7 +255,7 @@ static void sub_8035164(struct UnkStruct2 *arg0, s32 arg1, bool32 arg2)
u32 r5 = arg0->field_14;
gUnknown_03000DD4 = arg0->firstOamId;
gUnknown_03000DD8 = 0;
- gUnknown_03000DDC = INVALID_S32;
+ gUnknown_03000DDC = -1;
while (r5 != 0)
{
@@ -263,12 +263,12 @@ static void sub_8035164(struct UnkStruct2 *arg0, s32 arg1, bool32 arg2)
arg1 -= (r4 * r5);
r5 /= 10;
- if (r4 != 0 || gUnknown_03000DDC != INVALID_S32 || r5 == 0)
+ if (r4 != 0 || gUnknown_03000DDC != -1 || r5 == 0)
{
gMain.oamBuffer[gUnknown_03000DD4].tileNum = (r4 * arg0->field_9) + arg0->tileStart;
gMain.oamBuffer[gUnknown_03000DD4].affineMode = 0;
- if (gUnknown_03000DDC == INVALID_S32)
+ if (gUnknown_03000DDC == -1)
gUnknown_03000DDC = gUnknown_03000DD8;
}
else