diff options
Diffstat (limited to 'src/title_screen.c')
-rw-r--r-- | src/title_screen.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/title_screen.c b/src/title_screen.c index 8a2c01192..70a1a3449 100644 --- a/src/title_screen.c +++ b/src/title_screen.c @@ -1,4 +1,5 @@ #include "global.h" +#include "battle.h" #include "title_screen.h" #include "sprite.h" #include "gba/m4a_internal.h" @@ -18,6 +19,7 @@ #include "scanline_effect.h" #include "gpu_regs.h" #include "trig.h" +#include "graphics.h" #include "constants/rgb.h" #include "constants/songs.h" @@ -36,17 +38,6 @@ #define A_B_START_SELECT (A_BUTTON | B_BUTTON | START_BUTTON | SELECT_BUTTON) extern struct MusicPlayerInfo gMPlayInfo_BGM; -extern u16 gBattle_BG1_X; -extern u16 gBattle_BG1_Y; - -extern const u8 gTitleScreenEmeraldVersionGfx[]; -extern const u8 gTitleScreenPressStartGfx[]; -extern const u8 gTitleScreenPokemonLogoGfx[]; -extern const u8 gUnknown_08DE0644[]; -extern const u8 gUnknown_08DDE458[]; -extern const u16 gTitleScreenBgPalettes[]; -extern const u16 gTitleScreenPressStartPal[]; -extern const u16 gTitleScreenEmeraldVersionPal[]; // this file's functions static void MainCB2(void); @@ -68,10 +59,10 @@ static void SpriteCB_PokemonLogoShine(struct Sprite *sprite); // const rom data static const u16 sUnusedUnknownPal[] = INCBIN_U16("graphics/title_screen/unk_853EF78.gbapal"); -static const u8 sTitleScreenRayquazaGfx[] = INCBIN_U8("graphics/title_screen/rayquaza.4bpp.lz"); -static const u8 sTitleScreenRayquazaTilemap[] = INCBIN_U8("graphics/title_screen/rayquaza.bin.lz"); -static const u8 sTitleScreenLogoShineGfx[] = INCBIN_U8("graphics/title_screen/logo_shine.4bpp.lz"); -static const u8 sTitleScreenCloudsGfx[] = INCBIN_U8("graphics/title_screen/clouds.4bpp.lz"); +static const u32 sTitleScreenRayquazaGfx[] = INCBIN_U32("graphics/title_screen/rayquaza.4bpp.lz"); +static const u32 sTitleScreenRayquazaTilemap[] = INCBIN_U32("graphics/title_screen/rayquaza.bin.lz"); +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[] = { |