From 00b0b0bb9089684b4b7824e079cbefd006214afd Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sun, 28 Jul 2019 19:17:39 -0500 Subject: remove hardcoded VRAM and EWRAM addresses --- src/contest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/contest.c') diff --git a/src/contest.c b/src/contest.c index 9652e999e..c41f25077 100644 --- a/src/contest.c +++ b/src/contest.c @@ -2459,7 +2459,7 @@ u8 unref_sub_80AE908(void) &gMonFrontPicTable[species], gMonFrontPicCoords[species].coords, gMonFrontPicCoords[species].y_offset, - (void *)0x02000000, + (void *)EWRAM, gUnknown_081FAF4C[1], species); LoadCompressedPalette(gMonPaletteTable[species].data, 0x110, 32); @@ -2485,7 +2485,7 @@ u8 sub_80AE9FC(u16 species, u32 otId, u32 personality) &gMonBackPicTable[species], gMonBackPicCoords[species].coords, gMonBackPicCoords[species].y_offset, - 0x02000000, + EWRAM, gUnknown_081FAF4C[0], species, personality); -- cgit v1.2.3