summaryrefslogtreecommitdiff
path: root/src/contest.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2019-07-28 19:17:39 -0500
committercamthesaxman <cameronghall@cox.net>2019-07-28 19:17:39 -0500
commit00b0b0bb9089684b4b7824e079cbefd006214afd (patch)
treef7ddb4acd6a65b457663a642f097953dfe000966 /src/contest.c
parentbc09f81a9a6a8280480a08e0daf33541ba255fb4 (diff)
remove hardcoded VRAM and EWRAM addresses
Diffstat (limited to 'src/contest.c')
-rw-r--r--src/contest.c4
1 files changed, 2 insertions, 2 deletions
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);