Document intro, start intro_credits/credits
Before Width: | Height: | Size: 1.1 KiB |
@ -1,19 +0,0 @@
|
||||
JASC-PAL
|
||||
0100
|
||||
16
|
||||
0 0 0
|
||||
156 189 246
|
||||
172 205 246
|
||||
197 230 255
|
||||
213 246 255
|
||||
238 255 255
|
||||
156 180 172
|
||||
197 197 156
|
||||
172 189 164
|
||||
98 139 98
|
||||
98 156 57
|
||||
123 164 131
|
||||
156 213 82
|
||||
0 0 0
|
||||
0 0 0
|
||||
0 0 0
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
BIN
graphics/intro/scene_1/drops_logo.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 680 B |
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 796 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 742 B |
Before Width: | Height: | Size: 1023 B After Width: | Height: | Size: 1023 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
@ -3874,8 +3874,8 @@ extern const u32 gBagPalette[];
|
||||
extern const u32 gBerryCheckCircle_Gfx[];
|
||||
|
||||
//intro graphics
|
||||
extern const u32 gIntro1SparkleGfx[];
|
||||
extern const u32 gIntro1FlygonGfx[];
|
||||
extern const u32 gIntro1Sparkle_Gfx[];
|
||||
extern const u32 gIntro1Flygon_Gfx[];
|
||||
extern const u16 gIntro3LightningPal[];
|
||||
extern const u32 gIntroCopyright_Gfx[];
|
||||
extern const u32 gIntroCopyright_Tilemap[];
|
||||
@ -3886,8 +3886,8 @@ extern const u32 gIntro2ManectricGfx[];
|
||||
extern const u16 gIntro2VolbeatPal[];
|
||||
extern const u16 gIntro2TorchicPal[];
|
||||
extern const u16 gIntro2ManectricPal[];
|
||||
extern const u32 gIntro2BubblesGfx[];
|
||||
extern const u16 gIntro2BubblesPal[];
|
||||
extern const u32 gIntro3Bubbles_Gfx[];
|
||||
extern const u16 gIntro3Bubbles_Pal[];
|
||||
extern const u32 gIntro3LightningGfx[];
|
||||
extern const u32 gIntro3GroudonGfx[];
|
||||
extern const u32 gIntro3GroudonTilemap[];
|
||||
@ -3907,11 +3907,9 @@ extern const u32 gIntro3RayquazaTilemap[];
|
||||
extern const u32 gIntro3RayquazaGfx[];
|
||||
extern const u32 gIntro3Clouds2Gfx[];
|
||||
extern const u16 gIntro1GameFreakTextFadePal[];
|
||||
|
||||
//intro/credits graphics
|
||||
extern const u32 gIntro2BrendanNoTurnGfx[];
|
||||
extern const u32 gIntro2MayNoTurnGfx[];
|
||||
extern const u16 gIntro2BrendanNoTurnPal[];
|
||||
extern const u32 gIntro2BrendanGfx[];
|
||||
extern const u32 gIntro2MayGfx[];
|
||||
extern const u16 gIntro2PlayerPal[];
|
||||
extern const u16 gIntro2FlygonPal[];
|
||||
extern const u32 gIntro2FlygonGfx[];
|
||||
|
||||
|
@ -1,30 +1,37 @@
|
||||
#ifndef GUARD_INTRO_CREDITS_GRAPHICS_H
|
||||
#define GUARD_INTRO_CREDITS_GRAPHICS_H
|
||||
|
||||
extern u16 gUnknown_0203BD24;
|
||||
extern s16 gUnknown_0203BD26;
|
||||
extern s16 gUnknown_0203BD28;
|
||||
// States for gIntroCredits_MovingSceneryState
|
||||
enum {
|
||||
INTROCRED_SCENERY_MOVING,
|
||||
INTROCRED_SCENERY_DESTROY,
|
||||
INTROCRED_SCENERY_FROZEN,
|
||||
};
|
||||
|
||||
extern const struct CompressedSpriteSheet gIntro2BrendanSpriteSheet[];
|
||||
extern const struct CompressedSpriteSheet gIntro2MaySpriteSheet[];
|
||||
extern const struct CompressedSpriteSheet gIntro2BicycleSpriteSheet[];
|
||||
extern const struct CompressedSpriteSheet gIntro2FlygonSpriteSheet[];
|
||||
extern const struct SpritePalette gIntroBikeAndFlygonPalette[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085F5334[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085F5344[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085F5354[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085F53AC[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085F53BC[];
|
||||
extern const struct SpritePalette gUnknown_085F5384[];
|
||||
extern u16 gIntroCredits_MovingSceneryVBase;
|
||||
extern s16 gIntroCredits_MovingSceneryVOffset;
|
||||
extern s16 gIntroCredits_MovingSceneryState;
|
||||
|
||||
void load_intro_part2_graphics(u8 a);
|
||||
void sub_817B150(u8 a);
|
||||
void sub_817B1C8(u8);
|
||||
void sub_817B3A8(u8);
|
||||
u8 CreateBicycleAnimationTask(u8 a, u16 b, u16 c, u16 d);
|
||||
void sub_817B540(u8);
|
||||
u8 intro_create_brendan_sprite(s16 a, s16 b);
|
||||
u8 intro_create_may_sprite(s16 a, s16 b);
|
||||
u8 intro_create_flygon_sprite(s16 a, s16 b);
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_IntroBrendan[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_IntroMay[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_IntroBicycle[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_IntroFlygon[];
|
||||
extern const struct SpritePalette gSpritePalettes_IntroPlayerFlygon[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_CreditsBrendan[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_CreditsMay[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_CreditsBicycle[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_CreditsRivalBrendan[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_CreditsRivalMay[];
|
||||
extern const struct SpritePalette gSpritePalettes_Credits[];
|
||||
|
||||
void LoadIntroPart2Graphics(u8 scene);
|
||||
void SetIntroPart2BgCnt(u8 a);
|
||||
void LoadCreditsSceneGraphics(u8);
|
||||
void SetCreditsSceneBgCnt(u8);
|
||||
u8 CreateBicycleBgAnimationTask(u8 a, u16 b, u16 c, u16 d);
|
||||
void CycleSceneryPalette(u8);
|
||||
u8 CreateIntroBrendanSprite(s16 x, s16 y);
|
||||
u8 CreateIntroMaySprite(s16 x, s16 y);
|
||||
u8 CreateIntroFlygonSprite(s16 x, s16 y);
|
||||
|
||||
#endif // GUARD_INTRO_CREDITS_GRAPHICS_H
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_TITLE_SCREEN_H
|
||||
#define GUARD_TITLE_SCREEN_H
|
||||
|
||||
extern const u16 gIntroWaterDropAlphaBlend[];
|
||||
extern const u16 gTitleScreenAlphaBlend[64];
|
||||
|
||||
void CB2_InitTitleScreen(void);
|
||||
|
||||
|
@ -142,37 +142,37 @@ static const struct SubspriteTable sFlyingSandSubspriteTable[] =
|
||||
{ARRAY_COUNT(sFlyingSandSubsprites), sFlyingSandSubsprites},
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_BasicRock_0[] =
|
||||
static const union AnimCmd sAnim_Rock_Biggest[] =
|
||||
{
|
||||
ANIMCMD_FRAME(0, 1),
|
||||
ANIMCMD_END,
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_BasicRock_1[] =
|
||||
static const union AnimCmd sAnim_Rock_Bigger[] =
|
||||
{
|
||||
ANIMCMD_FRAME(16, 1),
|
||||
ANIMCMD_END,
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_WeatherBallRockDown_0[] =
|
||||
static const union AnimCmd sAnim_Rock_Big[] =
|
||||
{
|
||||
ANIMCMD_FRAME(32, 1),
|
||||
ANIMCMD_END,
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_WeatherBallRockDown_1[] =
|
||||
static const union AnimCmd sAnim_Rock_Small[] =
|
||||
{
|
||||
ANIMCMD_FRAME(48, 1),
|
||||
ANIMCMD_END,
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_TwisterRock_0[] =
|
||||
static const union AnimCmd sAnim_Rock_Smaller[] =
|
||||
{
|
||||
ANIMCMD_FRAME(64, 1),
|
||||
ANIMCMD_END,
|
||||
};
|
||||
|
||||
static const union AnimCmd sAnim_TwisterRock_1[] =
|
||||
static const union AnimCmd sAnim_Rock_Smallest[] =
|
||||
{
|
||||
ANIMCMD_FRAME(80, 1),
|
||||
ANIMCMD_END,
|
||||
@ -180,16 +180,12 @@ static const union AnimCmd sAnim_TwisterRock_1[] =
|
||||
|
||||
static const union AnimCmd *const sAnims_BasicRock[] =
|
||||
{
|
||||
sAnim_BasicRock_0,
|
||||
sAnim_BasicRock_1,
|
||||
sAnim_WeatherBallRockDown_0,
|
||||
sAnim_WeatherBallRockDown_1,
|
||||
};
|
||||
|
||||
static const union AnimCmd *const sAnims_TwisterRock[] =
|
||||
{
|
||||
sAnim_TwisterRock_0,
|
||||
sAnim_TwisterRock_1,
|
||||
sAnim_Rock_Biggest,
|
||||
sAnim_Rock_Bigger,
|
||||
sAnim_Rock_Big,
|
||||
sAnim_Rock_Small,
|
||||
sAnim_Rock_Smaller,
|
||||
sAnim_Rock_Smallest,
|
||||
};
|
||||
|
||||
const struct SpriteTemplate gAncientPowerRockSpriteTemplate =
|
||||
@ -281,7 +277,7 @@ const struct SpriteTemplate gTwisterRockSpriteTemplate =
|
||||
.tileTag = ANIM_TAG_ROCKS,
|
||||
.paletteTag = ANIM_TAG_ROCKS,
|
||||
.oam = &gOamData_AffineOff_ObjNormal_32x32,
|
||||
.anims = sAnims_TwisterRock,
|
||||
.anims = &sAnims_BasicRock[4],
|
||||
.images = NULL,
|
||||
.affineAnims = sAffineAnims_BasicRock,
|
||||
.callback = AnimMoveTwisterParticle,
|
||||
|
1168
src/credits.c
@ -1,48 +1,48 @@
|
||||
const u16 gIntro1GameFreakTextFadePal[] = INCBIN_U16("graphics/intro/intro1_text.gbapal"); // game freak text blue fade
|
||||
const u16 gIntro2BrendanNoTurnPal[] = INCBIN_U16("graphics/intro/intro2_brendan_noturn.gbapal");
|
||||
const u16 gIntro3BgPal[] = INCBIN_U16("graphics/intro/intro3.gbapal");
|
||||
const u16 gIntro2VolbeatPal[] = INCBIN_U16("graphics/intro/intro2_volbeat.gbapal");
|
||||
const u16 gIntro2TorchicPal[] = INCBIN_U16("graphics/intro/intro2_torchic.gbapal");
|
||||
const u16 gIntro2ManectricPal[] = INCBIN_U16("graphics/intro/intro2_manectric.gbapal");
|
||||
const u16 gIntro2FlygonPal[] = INCBIN_U16("graphics/intro/intro2_flygon.gbapal");
|
||||
const u16 gIntro1GameFreakTextFadePal[] = INCBIN_U16("graphics/intro/scene_1/text.gbapal"); // game freak text blue fade
|
||||
const u16 gIntro2PlayerPal[] = INCBIN_U16("graphics/intro/scene_2/player.gbapal");
|
||||
const u16 gIntro3BgPal[] = INCBIN_U16("graphics/intro/scene_3/bg.gbapal");
|
||||
const u16 gIntro2VolbeatPal[] = INCBIN_U16("graphics/intro/scene_2/volbeat.gbapal");
|
||||
const u16 gIntro2TorchicPal[] = INCBIN_U16("graphics/intro/scene_2/torchic.gbapal");
|
||||
const u16 gIntro2ManectricPal[] = INCBIN_U16("graphics/intro/scene_2/manectric.gbapal");
|
||||
const u16 gIntro2FlygonPal[] = INCBIN_U16("graphics/intro/scene_2/flygon.gbapal");
|
||||
|
||||
const u32 gIntro2VolbeatGfx[] = INCBIN_U32("graphics/intro/intro2_volbeat.4bpp.lz");
|
||||
const u32 gIntro2TorchicGfx[] = INCBIN_U32("graphics/intro/intro2_torchic.4bpp.lz");
|
||||
const u32 gIntro2ManectricGfx[] = INCBIN_U32("graphics/intro/intro2_manectric.4bpp.lz");
|
||||
const u32 gIntro2FlygonGfx[] = INCBIN_U32("graphics/intro/intro2_flygon.4bpp.lz");
|
||||
const u32 gIntro2BrendanNoTurnGfx[] = INCBIN_U32("graphics/intro/intro2_brendan_noturn.4bpp.lz");
|
||||
const u32 gIntro2MayNoTurnGfx[] = INCBIN_U32("graphics/intro/intro2_may_noturn.4bpp.lz");
|
||||
const u32 gIntro2VolbeatGfx[] = INCBIN_U32("graphics/intro/scene_2/volbeat.4bpp.lz");
|
||||
const u32 gIntro2TorchicGfx[] = INCBIN_U32("graphics/intro/scene_2/torchic.4bpp.lz");
|
||||
const u32 gIntro2ManectricGfx[] = INCBIN_U32("graphics/intro/scene_2/manectric.4bpp.lz");
|
||||
const u32 gIntro2FlygonGfx[] = INCBIN_U32("graphics/intro/scene_2/flygon.4bpp.lz");
|
||||
const u32 gIntro2BrendanGfx[] = INCBIN_U32("graphics/intro/scene_2/brendan.4bpp.lz");
|
||||
const u32 gIntro2MayGfx[] = INCBIN_U32("graphics/intro/scene_2/may.4bpp.lz");
|
||||
|
||||
const u32 gIntro3GroudonGfx[] = INCBIN_U32("graphics/intro/intro3_groudon.8bpp.lz");
|
||||
const u32 gIntro3GroudonTilemap[] = INCBIN_U32("graphics/intro/intro3_groudon.bin.lz");
|
||||
const u32 gIntro3GroudonGfx[] = INCBIN_U32("graphics/intro/scene_3/groudon.8bpp.lz");
|
||||
const u32 gIntro3GroudonTilemap[] = INCBIN_U32("graphics/intro/scene_3/groudon.bin.lz");
|
||||
|
||||
const u32 gIntro3KyogreGfx[] = INCBIN_U32("graphics/intro/intro3_kyogre.8bpp.lz");
|
||||
const u32 gIntro3KyogreTilemap[] = INCBIN_U32("graphics/intro/intro3_kyogre.bin.lz");
|
||||
const u32 gIntro3KyogreGfx[] = INCBIN_U32("graphics/intro/scene_3/kyogre.8bpp.lz");
|
||||
const u32 gIntro3KyogreTilemap[] = INCBIN_U32("graphics/intro/scene_3/kyogre.bin.lz");
|
||||
|
||||
const u32 gIntro3LegendBgGfx[] = INCBIN_U32("graphics/intro/legend_bg.4bpp.lz"); // groudon/kyogre/bg
|
||||
const u32 gIntro3LegendBgGfx[] = INCBIN_U32("graphics/intro/scene_3/legend_bg.4bpp.lz"); // groudon/kyogre bg
|
||||
|
||||
const u32 gIntro3GroudonBgTilemap[] = INCBIN_U32("graphics/intro/legend_bg1.bin.lz");
|
||||
const u32 gIntro3KyogreBgTilemap[] = INCBIN_U32("graphics/intro/legend_bg2.bin.lz");
|
||||
const u32 gIntro3GroudonBgTilemap[] = INCBIN_U32("graphics/intro/scene_3/legend_bg1.bin.lz");
|
||||
const u32 gIntro3KyogreBgTilemap[] = INCBIN_U32("graphics/intro/scene_3/legend_bg2.bin.lz");
|
||||
|
||||
const u32 gIntro3CloudsGfx[] = INCBIN_U32("graphics/intro/intro3_clouds.4bpp.lz");
|
||||
const u32 gIntro3Clouds1Tilemap[] = INCBIN_U32("graphics/intro/intro3_clouds1.bin.lz");
|
||||
const u32 gIntro3Clouds2Tilemap[] = INCBIN_U32("graphics/intro/intro3_clouds2.bin.lz");
|
||||
const u32 gIntro3Clouds3Tilemap[] = INCBIN_U32("graphics/intro/intro3_clouds3.bin.lz");
|
||||
const u32 gIntro3CloudsGfx[] = INCBIN_U32("graphics/intro/scene_3/clouds.4bpp.lz");
|
||||
const u32 gIntro3Clouds1Tilemap[] = INCBIN_U32("graphics/intro/scene_3/clouds1.bin.lz");
|
||||
const u32 gIntro3Clouds2Tilemap[] = INCBIN_U32("graphics/intro/scene_3/clouds2.bin.lz");
|
||||
const u32 gIntro3Clouds3Tilemap[] = INCBIN_U32("graphics/intro/scene_3/clouds3.bin.lz");
|
||||
|
||||
const u32 gIntro3LightningGfx[] = INCBIN_U32("graphics/intro/intro3_lightning.4bpp.lz");
|
||||
const u16 gIntro3LightningPal[] = INCBIN_U16("graphics/intro/intro3_lightning.gbapal");
|
||||
const u32 gIntro3LightningGfx[] = INCBIN_U32("graphics/intro/scene_3/lightning.4bpp.lz");
|
||||
const u16 gIntro3LightningPal[] = INCBIN_U16("graphics/intro/scene_3/lightning.gbapal");
|
||||
|
||||
const u32 gIntro3RayquazaGfx[] = INCBIN_U32("graphics/intro/intro3_rayquaza.4bpp.lz");
|
||||
const u32 gIntro3RayquazaTilemap[] = INCBIN_U32("graphics/intro/intro3_rayquaza.bin.lz");
|
||||
const u32 gIntro3RayquazaGfx[] = INCBIN_U32("graphics/intro/scene_3/rayquaza.4bpp.lz");
|
||||
const u32 gIntro3RayquazaTilemap[] = INCBIN_U32("graphics/intro/scene_3/rayquaza.bin.lz");
|
||||
|
||||
const u32 gUnknown_D8C374[] = INCBIN_U32("graphics/unknown/unknown_D8C374.bin.lz");
|
||||
const u32 gUnknown_D8C5C4[] = INCBIN_U32("graphics/unknown/unknown_D8C5C4.bin.lz");
|
||||
|
||||
const u32 gIntro3Clouds2Gfx[] = INCBIN_U32("graphics/intro/intro3_clouds2.4bpp.lz"); //clouds 2, during the rayquaza flash
|
||||
const u32 gIntro3Clouds4Tilemap[] = INCBIN_U32("graphics/intro/intro3_clouds4.bin.lz");
|
||||
const u32 gIntro3Clouds2Gfx[] = INCBIN_U32("graphics/intro/scene_3/clouds2.4bpp.lz"); // during the rayquaza flash
|
||||
const u32 gIntro3Clouds4Tilemap[] = INCBIN_U32("graphics/intro/scene_3/clouds4.bin.lz");
|
||||
|
||||
const u32 gIntro2BubblesGfx[] = INCBIN_U32("graphics/intro/intro2_bubbles.4bpp.lz");
|
||||
const u16 gIntro2BubblesPal[] = INCBIN_U16("graphics/intro/intro2_bubbles.gbapal");
|
||||
const u32 gIntro3Bubbles_Gfx[] = INCBIN_U32("graphics/intro/scene_3/bubbles.4bpp.lz");
|
||||
const u16 gIntro3Bubbles_Pal[] = INCBIN_U16("graphics/intro/scene_3/bubbles.gbapal");
|
||||
|
||||
const u32 gIntro1FlygonGfx[] = INCBIN_U32("graphics/intro/intro1_flygon.4bpp.lz");
|
||||
const u32 gIntro1SparkleGfx[] = INCBIN_U32("graphics/intro/intro1_sparkle.4bpp.lz");
|
||||
const u32 gIntro1Flygon_Gfx[] = INCBIN_U32("graphics/intro/scene_1/flygon.4bpp.lz");
|
||||
const u32 gIntro1Sparkle_Gfx[] = INCBIN_U32("graphics/intro/scene_1/sparkle.4bpp.lz");
|
||||
|
2615
src/intro.c
@ -64,7 +64,9 @@ static const u32 sTitleScreenCloudsGfx[] = INCBIN_U32("graphics/title_screen/clo
|
||||
|
||||
|
||||
|
||||
const u16 gIntroWaterDropAlphaBlend[] =
|
||||
// Used to blend "Emerald Version" as it passes over over the Pokémon banner.
|
||||
// Also used by the intro to blend the Game Freak name/logo in and out as they appear and disappear
|
||||
const u16 gTitleScreenAlphaBlend[64] =
|
||||
{
|
||||
BLDALPHA_BLEND(16, 0),
|
||||
BLDALPHA_BLEND(16, 1),
|
||||
@ -364,7 +366,7 @@ static void SpriteCB_VersionBannerLeft(struct Sprite *sprite)
|
||||
sprite->pos1.y++;
|
||||
if (sprite->data[0] != 0)
|
||||
sprite->data[0]--;
|
||||
SetGpuReg(REG_OFFSET_BLDALPHA, gIntroWaterDropAlphaBlend[sprite->data[0]]);
|
||||
SetGpuReg(REG_OFFSET_BLDALPHA, gTitleScreenAlphaBlend[sprite->data[0]]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -388,7 +390,7 @@ static void SpriteCB_PressStartCopyrightBanner(struct Sprite *sprite)
|
||||
{
|
||||
sprite->data[1]++;
|
||||
// Alternate between hidden and shown every 16th frame
|
||||
if (sprite->data[1] & 0x10)
|
||||
if (sprite->data[1] & 16)
|
||||
sprite->invisible = FALSE;
|
||||
else
|
||||
sprite->invisible = TRUE;
|
||||
|