summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-05-29 16:49:46 -0400
committerGitHub <noreply@github.com>2020-05-29 16:49:46 -0400
commite0ae696479d629694ce55bffe0fd4599d734fc78 (patch)
tree94f2457ef39923444d1debbcf82ae958b242ea09 /src
parentd528d75af7ab8b9084e08fed7b4bb8616bc80f9c (diff)
parenta4509d06ef13549e45a142cc52a53746140f2c04 (diff)
Merge pull request #1027 from PikalaxALT/gbagfx_tilemap
Add tilemap rendering capability to gbagfx
Diffstat (limited to 'src')
-rw-r--r--src/title_screen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/title_screen.c b/src/title_screen.c
index 600dd18c8..aa91351df 100644
--- a/src/title_screen.c
+++ b/src/title_screen.c
@@ -546,11 +546,14 @@ void CB2_InitTitleScreen(void)
gMain.state = 1;
break;
case 1:
- LZ77UnCompVram(gTitleScreenPokemonLogoGfx, (void *)VRAM);
+ // bg2
+ LZ77UnCompVram(gTitleScreenPokemonLogoGfx, (void *)(BG_CHAR_ADDR(0)));
LZ77UnCompVram(gUnknown_08DE0644, (void *)(BG_SCREEN_ADDR(9)));
LoadPalette(gTitleScreenBgPalettes, 0, 0x1E0);
+ // bg3
LZ77UnCompVram(sTitleScreenRayquazaGfx, (void *)(BG_CHAR_ADDR(2)));
LZ77UnCompVram(sTitleScreenRayquazaTilemap, (void *)(BG_SCREEN_ADDR(26)));
+ // bg1
LZ77UnCompVram(sTitleScreenCloudsGfx, (void *)(BG_CHAR_ADDR(3)));
LZ77UnCompVram(gUnknown_08DDE458, (void *)(BG_SCREEN_ADDR(27)));
ScanlineEffect_Stop();