summaryrefslogtreecommitdiff
path: root/src/save_failed_screen.c
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-02-17 00:25:48 -0500
committergarak <garakmon@gmail.com>2019-02-17 00:35:26 -0500
commit22657c708753df14e84d4bdae4afac0072803447 (patch)
treeece40e9b5161287e03ba64318b9aed24d344dfea /src/save_failed_screen.c
parent35575b57a01bbd5447fbcee3b30050d8d8c3d02e (diff)
use BG_SCREEN_ADDR macro for tilemap addresses
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);