Struct pointers star standarizing
This commit is contained in:
@@ -61,7 +61,7 @@ static void Task_PlayMapChosenOrBattleBGM(u8 taskId);
|
||||
static bool8 ShouldGetStatBadgeBoost(u16 flagId, u8 battlerId);
|
||||
static u16 GiveMoveToBoxMon(struct BoxPokemon *boxMon, u16 move);
|
||||
static bool8 ShouldSkipFriendshipChange(void);
|
||||
static u8 SendMonToPC(struct Pokemon* mon);
|
||||
static u8 SendMonToPC(struct Pokemon *mon);
|
||||
|
||||
EWRAM_DATA static u8 sLearningMoveTableID = 0;
|
||||
EWRAM_DATA u8 gPlayerPartyCount = 0;
|
||||
@@ -4390,7 +4390,7 @@ u8 GiveMonToPlayer(struct Pokemon *mon)
|
||||
return MON_GIVEN_TO_PARTY;
|
||||
}
|
||||
|
||||
static u8 SendMonToPC(struct Pokemon* mon)
|
||||
static u8 SendMonToPC(struct Pokemon *mon)
|
||||
{
|
||||
s32 boxNo, boxPos;
|
||||
|
||||
@@ -6707,7 +6707,7 @@ static void Task_PokemonSummaryAnimateAfterDelay(u8 taskId)
|
||||
}
|
||||
}
|
||||
|
||||
void BattleAnimateFrontSprite(struct Sprite* sprite, u16 species, bool8 noCry, u8 panMode)
|
||||
void BattleAnimateFrontSprite(struct Sprite *sprite, u16 species, bool8 noCry, u8 panMode)
|
||||
{
|
||||
if (gHitMarker & HITMARKER_NO_ANIMATIONS && !(gBattleTypeFlags & (BATTLE_TYPE_LINK | BATTLE_TYPE_RECORDED_LINK)))
|
||||
DoMonFrontSpriteAnimation(sprite, species, noCry, panMode | SKIP_FRONT_ANIM);
|
||||
@@ -6715,7 +6715,7 @@ void BattleAnimateFrontSprite(struct Sprite* sprite, u16 species, bool8 noCry, u
|
||||
DoMonFrontSpriteAnimation(sprite, species, noCry, panMode);
|
||||
}
|
||||
|
||||
void DoMonFrontSpriteAnimation(struct Sprite* sprite, u16 species, bool8 noCry, u8 panModeAnimFlag)
|
||||
void DoMonFrontSpriteAnimation(struct Sprite *sprite, u16 species, bool8 noCry, u8 panModeAnimFlag)
|
||||
{
|
||||
s8 pan;
|
||||
switch (panModeAnimFlag & (u8)~SKIP_FRONT_ANIM) // Exclude anim flag to get pan mode
|
||||
@@ -6762,7 +6762,7 @@ void DoMonFrontSpriteAnimation(struct Sprite* sprite, u16 species, bool8 noCry,
|
||||
}
|
||||
}
|
||||
|
||||
void PokemonSummaryDoMonAnimation(struct Sprite* sprite, u16 species, bool8 oneFrame)
|
||||
void PokemonSummaryDoMonAnimation(struct Sprite *sprite, u16 species, bool8 oneFrame)
|
||||
{
|
||||
if (!oneFrame && HasTwoFramesAnimation(species))
|
||||
StartSpriteAnim(sprite, 1);
|
||||
@@ -6790,7 +6790,7 @@ void StopPokemonAnimationDelayTask(void)
|
||||
DestroyTask(delayTaskId);
|
||||
}
|
||||
|
||||
void BattleAnimateBackSprite(struct Sprite* sprite, u16 species)
|
||||
void BattleAnimateBackSprite(struct Sprite *sprite, u16 species)
|
||||
{
|
||||
if (gHitMarker & HITMARKER_NO_ANIMATIONS && !(gBattleTypeFlags & (BATTLE_TYPE_LINK | BATTLE_TYPE_RECORDED_LINK)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user