summaryrefslogtreecommitdiff
path: root/src/contest.c
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2019-07-28 20:26:50 -0400
committerGitHub <noreply@github.com>2019-07-28 20:26:50 -0400
commitd442be12102ed3493c04b3688f37a4ffad6606f7 (patch)
treec5479a8bbf29b7a91ae5e8d41acdae847cb356a1 /src/contest.c
parente8dda92d7b30268bf2716b0756952510850b0416 (diff)
parent00b0b0bb9089684b4b7824e079cbefd006214afd (diff)
Merge pull request #749 from camthesaxman/vram
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);