summaryrefslogtreecommitdiff
path: root/src/intro.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-18 13:01:55 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-18 13:01:55 -0400
commit5d04fe94d9eed2980ac0b439b0e45af13c792037 (patch)
treebf9f0c1eaecbcf25e9de4ef6d5c99c16f132e5a4 /src/intro.c
parent02af81bc95367d4557189fda0f1dccccf16c852a (diff)
parent13ff901d46f1726d5c0680cf8593484e0e9bbc4d (diff)
Merge remote-tracking branch 'origin/master' into field_map_obj_data
Diffstat (limited to 'src/intro.c')
-rw-r--r--src/intro.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/intro.c b/src/intro.c
index ba2197ae7..f13bd04e6 100644
--- a/src/intro.c
+++ b/src/intro.c
@@ -1,9 +1,10 @@
#include "global.h"
#include "gba/m4a_internal.h"
#include "intro.h"
-#include "asm.h"
#include "data2.h"
#include "decompress.h"
+#include "hall_of_fame.h"
+#include "intro_credits_graphics.h"
#include "libgncmultiboot.h"
#include "link.h"
#include "m4a.h"
@@ -18,9 +19,7 @@
#include "task.h"
#include "title_screen.h"
#include "trig.h"
-
-extern void *species_and_otid_get_pal(/*TODO: arg types*/);
-extern void sub_8143680(int, u8);
+#include "unknown_task.h"
extern struct SpriteTemplate gUnknown_02024E8C;
extern u16 gUnknown_02039318;
@@ -33,16 +32,9 @@ extern u16 gSaveFileStatus;
extern u8 gReservedSpritePaletteCount;
extern const u8 gInterfaceGfx_PokeBall[];
extern const u16 gInterfacePal_PokeBall[];
-extern const struct SpriteSheet gIntro2BrendanSpriteSheet;
-extern const struct SpriteSheet gIntro2MaySpriteSheet;
-extern const struct SpriteSheet gIntro2BicycleSpriteSheet;
-extern const struct SpriteSheet gIntro2LatiosSpriteSheet;
-extern const struct SpriteSheet gIntro2LatiasSpriteSheet;
-extern const struct SpritePalette gIntro2SpritePalettes[];
extern const u8 gIntroCopyright_Gfx[];
extern const u16 gIntroCopyright_Pal[];
extern const u16 gIntroCopyright_Tilemap[];
-extern const u16 gUnknown_08393E64[];
extern void *const gUnknown_0840B5A0[];
//--------------------------------------------------
@@ -1780,7 +1772,7 @@ void sub_813CE30(u16 scrX, u16 scrY, u16 zoom, u16 alpha)
static u16 sub_813CE88(u16 species, s16 x, s16 y, u16 d, u8 front)
{
- void *pal;
+ const u16 *pal;
u8 spriteId;
if (front)