mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-22 22:05:06 -05:00
fix ghost unveil animation
This commit is contained in:
parent
caa20e5277
commit
de72056f0d
|
|
@ -152,7 +152,7 @@ General_SilphScoped:
|
|||
monbg ANIM_ATTACKER
|
||||
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
||||
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
|
||||
createvisualtask AnimTask_TransformMon, 2, 255
|
||||
createvisualtask AnimTask_TransformMon, 3, FALSE, FALSE, TRUE
|
||||
waitsound
|
||||
waitforvisualfinish
|
||||
clearmonbg ANIM_ATTACKER
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ bool8 BattleInitAllSprites(u8 *state, u8 *battlerId);
|
|||
void ClearSpritesHealthboxAnimData(void);
|
||||
void CopyAllBattleSpritesInvisibilities(void);
|
||||
void CopyBattleSpriteInvisibility(u8 battlerId);
|
||||
void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bool8 trackEnemyPersonality, bool8 ghostUnveil);
|
||||
void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bool32 trackEnemyPersonality, bool32 ghostUnveil);
|
||||
void BattleLoadSubstituteOrMonSpriteGfx(u8 battlerId, bool8 loadMonSprite);
|
||||
void LoadBattleMonGfxAndAnimate(u8 battlerId, bool8 loadMonSprite, u8 spriteId);
|
||||
void TrySetBehindSubstituteSpriteBit(u8 battlerId, u16 move);
|
||||
|
|
|
|||
|
|
@ -652,7 +652,7 @@ void CopyBattleSpriteInvisibility(u8 battlerId)
|
|||
gBattleSpritesDataPtr->battlerData[battlerId].invisible = gSprites[gBattlerSpriteIds[battlerId]].invisible;
|
||||
}
|
||||
|
||||
void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bool8 trackEnemyPersonality, bool8 ghostUnveil)
|
||||
void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bool32 trackEnemyPersonality, bool32 ghostUnveil)
|
||||
{
|
||||
u32 personalityValue, position, paletteOffset, targetSpecies;
|
||||
bool8 isShiny;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user