summaryrefslogtreecommitdiff
path: root/src/contest_painting.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_painting.c
parentbc09f81a9a6a8280480a08e0daf33541ba255fb4 (diff)
remove hardcoded VRAM and EWRAM addresses
Diffstat (limited to 'src/contest_painting.c')
-rw-r--r--src/contest_painting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contest_painting.c b/src/contest_painting.c
index 0c5cdcd49..e3cc6cdae 100644
--- a/src/contest_painting.c
+++ b/src/contest_painting.c
@@ -341,7 +341,7 @@ static void sub_8106AC4(u16 species, u8 arg1)
&gMonFrontPicTable[species],
gMonFrontPicCoords[species].coords,
gMonFrontPicCoords[species].y_offset,
- 0x2000000,
+ EWRAM,
gUnknown_081FAF4C[1],
species,
(u32)gUnknown_03005E8C->personality
@@ -354,7 +354,7 @@ static void sub_8106AC4(u16 species, u8 arg1)
&gMonBackPicTable[species],
gMonBackPicCoords[species].coords,
gMonBackPicCoords[species].y_offset,
- 0x2000000,
+ EWRAM,
gUnknown_081FAF4C[0],
species,
(u32)gUnknown_03005E8C->personality