summaryrefslogtreecommitdiff
path: root/src/title_screen.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-09 21:07:07 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-09 21:07:07 -0500
commit45297797e6f038ecf30a78306a15cdf5d33a859c (patch)
tree871fcb4c7acadb49fea1d4d456b9d6468e47ea91 /src/title_screen.c
parent6f1d2b870c1426e7f405f3b3bc4ff2b9edb380e1 (diff)
Document the intro movie state machine
Need to study the water droplet animation more closely before they can be renamed; otherwise, this names every major symbol in this file.
Diffstat (limited to 'src/title_screen.c')
-rw-r--r--src/title_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/title_screen.c b/src/title_screen.c
index 48571ff96..06bb066bb 100644
--- a/src/title_screen.c
+++ b/src/title_screen.c
@@ -64,7 +64,7 @@ static const u32 sTitleScreenRayquazaTilemap[] = INCBIN_U32("graphics/title_scre
static const u32 sTitleScreenLogoShineGfx[] = INCBIN_U32("graphics/title_screen/logo_shine.4bpp.lz");
static const u32 sTitleScreenCloudsGfx[] = INCBIN_U32("graphics/title_screen/clouds.4bpp.lz");
-const u16 gUnknown_0853FF70[] =
+const u16 gIntroWaterDropData[] =
{
0x0010, 0x0110, 0x0210, 0x0310, 0x0410, 0x0510, 0x0610, 0x0710,
0x0810, 0x0910, 0x0a10, 0x0b10, 0x0c10, 0x0d10, 0x0e10, 0x0f10,
@@ -324,7 +324,7 @@ static void SpriteCB_VersionBannerLeft(struct Sprite *sprite)
sprite->pos1.y++;
if (sprite->data[0] != 0)
sprite->data[0]--;
- SetGpuReg(REG_OFFSET_BLDALPHA, gUnknown_0853FF70[sprite->data[0]]);
+ SetGpuReg(REG_OFFSET_BLDALPHA, gIntroWaterDropData[sprite->data[0]]);
}
}
@@ -542,7 +542,7 @@ void CB2_InitTitleScreen(void)
gMain.state = 4;
break;
case 4:
- sub_816F2A8(0x78, 0x50, 0x100, 0);
+ PanFadeAndZoomScreen(0x78, 0x50, 0x100, 0);
SetGpuReg(REG_OFFSET_BG2X_L, -29 * 256);
SetGpuReg(REG_OFFSET_BG2X_H, -1);
SetGpuReg(REG_OFFSET_BG2Y_L, -32 * 256);