summaryrefslogtreecommitdiff
path: root/src/save_failed_screen.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-02-17 12:37:06 -0600
committerGitHub <noreply@github.com>2019-02-17 12:37:06 -0600
commit9c33214510c63fea9a8041011fd061219d9b61b0 (patch)
treeece40e9b5161287e03ba64318b9aed24d344dfea /src/save_failed_screen.c
parent19b76bffda07d8878c1ff1a9005e1b57c549ffce (diff)
parent22657c708753df14e84d4bdae4afac0072803447 (diff)
Merge pull request #564 from garakmon/vram
use macros for VRAM offsets
Diffstat (limited to 'src/save_failed_screen.c')
-rw-r--r--src/save_failed_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/save_failed_screen.c b/src/save_failed_screen.c
index c668c1db0..2478ebbec 100644
--- a/src/save_failed_screen.c
+++ b/src/save_failed_screen.c
@@ -208,8 +208,8 @@ static void CB2_SaveFailedScreen(void)
DmaFill32(3, 0, OAM, OAM_SIZE);
DmaFill16(3, 0, PLTT, PLTT_SIZE);
LZ77UnCompVram(gBirchHelpGfx, (void *)VRAM);
- LZ77UnCompVram(gBirchBagTilemap, (void *)(VRAM + 0x7000));
- LZ77UnCompVram(gBirchGrassTilemap, (void *)(VRAM + 0x7800));
+ LZ77UnCompVram(gBirchBagTilemap, (void *)(BG_SCREEN_ADDR(14)));
+ LZ77UnCompVram(gBirchGrassTilemap, (void *)(BG_SCREEN_ADDR(15)));
LZ77UnCompVram(sSaveFailedClockGfx, (void *)(VRAM + 0x10020));
ResetBgsAndClearDma3BusyFlags(0);
InitBgsFromTemplates(0, gUnknown_085EFD88, 3);