mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 23:53:41 +01:00
Merge pull request #1288 from GriffinRichards/substitute
Fix substitute back sprite
This commit is contained in:
commit
bec799ef72
Binary file not shown.
BIN
graphics/battle_anims/sprites/substitute_back.png
Normal file
BIN
graphics/battle_anims/sprites/substitute_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 405 B |
@ -4087,8 +4087,8 @@ extern const u32 gConfetti_Gfx[];
|
|||||||
extern const u32 gConfetti_Pal[];
|
extern const u32 gConfetti_Pal[];
|
||||||
|
|
||||||
extern const u32 gUnknown_08C093F0[];
|
extern const u32 gUnknown_08C093F0[];
|
||||||
extern const u32 gSubstituteDollTilemap[];
|
extern const u32 gSubstituteDollBackGfx[];
|
||||||
extern const u32 gSubstituteDollGfx[];
|
extern const u32 gSubstituteDollFrontGfx[];
|
||||||
extern const u32 gSubstituteDollPal[];
|
extern const u32 gSubstituteDollPal[];
|
||||||
extern const u32 gHealthboxSinglesPlayerGfx[];
|
extern const u32 gHealthboxSinglesPlayerGfx[];
|
||||||
extern const u32 gHealthboxSinglesOpponentGfx[];
|
extern const u32 gHealthboxSinglesOpponentGfx[];
|
||||||
|
@ -997,11 +997,11 @@ void BattleLoadSubstituteOrMonSpriteGfx(u8 battlerId, bool8 loadMonSprite)
|
|||||||
position = GetBattlerPosition(battlerId);
|
position = GetBattlerPosition(battlerId);
|
||||||
|
|
||||||
if (IsContest())
|
if (IsContest())
|
||||||
LZDecompressVram(gSubstituteDollTilemap, gMonSpritesGfxPtr->sprites.ptr[position]);
|
LZDecompressVram(gSubstituteDollBackGfx, gMonSpritesGfxPtr->sprites.ptr[position]);
|
||||||
else if (GetBattlerSide(battlerId) != B_SIDE_PLAYER)
|
else if (GetBattlerSide(battlerId) != B_SIDE_PLAYER)
|
||||||
LZDecompressVram(gSubstituteDollGfx, gMonSpritesGfxPtr->sprites.ptr[position]);
|
LZDecompressVram(gSubstituteDollFrontGfx, gMonSpritesGfxPtr->sprites.ptr[position]);
|
||||||
else
|
else
|
||||||
LZDecompressVram(gSubstituteDollTilemap, gMonSpritesGfxPtr->sprites.ptr[position]);
|
LZDecompressVram(gSubstituteDollBackGfx, gMonSpritesGfxPtr->sprites.ptr[position]);
|
||||||
|
|
||||||
for (i = 1; i < 4; i++)
|
for (i = 1; i < 4; i++)
|
||||||
{
|
{
|
||||||
|
@ -867,8 +867,8 @@ const u32 gBattleAnimSpriteGfx_Confetti[] = INCBIN_U32("graphics/battle_anims/sp
|
|||||||
const u32 gBattleAnimSpritePal_Confetti[] = INCBIN_U32("graphics/battle_anims/sprites/confetti.gbapal.lz");
|
const u32 gBattleAnimSpritePal_Confetti[] = INCBIN_U32("graphics/battle_anims/sprites/confetti.gbapal.lz");
|
||||||
|
|
||||||
const u32 gSubstituteDollPal[] = INCBIN_U32("graphics/battle_anims/sprites/substitute.gbapal.lz");
|
const u32 gSubstituteDollPal[] = INCBIN_U32("graphics/battle_anims/sprites/substitute.gbapal.lz");
|
||||||
const u32 gSubstituteDollGfx[] = INCBIN_U32("graphics/battle_anims/sprites/substitute.4bpp.lz");
|
const u32 gSubstituteDollFrontGfx[] = INCBIN_U32("graphics/battle_anims/sprites/substitute.4bpp.lz");
|
||||||
const u32 gSubstituteDollTilemap[] = INCBIN_U32("graphics/battle_anims/sprites/substitute.bin.lz");
|
const u32 gSubstituteDollBackGfx[] = INCBIN_U32("graphics/battle_anims/sprites/substitute_back.4bpp.lz");
|
||||||
|
|
||||||
const u32 gBattleAnimSpriteGfx_GreenStar[] = INCBIN_U32("graphics/battle_anims/sprites/green_star.4bpp.lz");
|
const u32 gBattleAnimSpriteGfx_GreenStar[] = INCBIN_U32("graphics/battle_anims/sprites/green_star.4bpp.lz");
|
||||||
const u32 gBattleAnimSpritePal_GreenStar[] = INCBIN_U32("graphics/battle_anims/sprites/green_star.gbapal.lz");
|
const u32 gBattleAnimSpritePal_GreenStar[] = INCBIN_U32("graphics/battle_anims/sprites/green_star.gbapal.lz");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user