mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 15:13:42 +01:00
Merge pull request #1553 from GBAWiz420/Typo
Designate gBattleAnimBgImage_Attract and related as arrays
This commit is contained in:
commit
793947cd4b
@ -4637,9 +4637,9 @@ extern const u32 gBattleAnimSpritePal_RedHeart[];
|
||||
extern const u32 gBattleAnimSpritePal_RedOrb[];
|
||||
extern const u32 gBattleAnimSpritePal_EyeSparkle[];
|
||||
extern const u32 gBattleAnimSpritePal_PinkHeart[];
|
||||
extern const u32 gBattleAnimBgImage_Attract;
|
||||
extern const u32 gBattleAnimBgPalette_Attract;
|
||||
extern const u32 gBattleAnimBgTilemap_Attract;
|
||||
extern const u32 gBattleAnimBgImage_Attract[];
|
||||
extern const u32 gBattleAnimBgPalette_Attract[];
|
||||
extern const u32 gBattleAnimBgTilemap_Attract[];
|
||||
extern const u32 gBattleAnimSpritePal_Angel[];
|
||||
extern const u32 gBattleAnimSpritePal_Devil[];
|
||||
extern const u32 gBattleAnimSpritePal_Swipe[];
|
||||
|
@ -3259,9 +3259,9 @@ void AnimTask_HeartsBackground(u8 taskId)
|
||||
SetGpuReg(REG_OFFSET_BG1HOFS, gBattle_BG1_X);
|
||||
SetGpuReg(REG_OFFSET_BG1VOFS, gBattle_BG1_Y);
|
||||
GetBattleAnimBg1Data(&animBg);
|
||||
AnimLoadCompressedBgGfx(animBg.bgId, &gBattleAnimBgImage_Attract, animBg.tilesOffset);
|
||||
AnimLoadCompressedBgTilemapHandleContest(&animBg, &gBattleAnimBgTilemap_Attract, FALSE);
|
||||
LoadCompressedPalette(&gBattleAnimBgPalette_Attract, animBg.paletteId * 16, 32);
|
||||
AnimLoadCompressedBgGfx(animBg.bgId, gBattleAnimBgImage_Attract, animBg.tilesOffset);
|
||||
AnimLoadCompressedBgTilemapHandleContest(&animBg, gBattleAnimBgTilemap_Attract, FALSE);
|
||||
LoadCompressedPalette(gBattleAnimBgPalette_Attract, animBg.paletteId * 16, 32);
|
||||
gTasks[taskId].func = AnimTask_HeartsBackground_Step;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user