diff options
author | ExpoSeed <> | 2020-07-27 21:22:16 -0500 |
---|---|---|
committer | ExpoSeed <> | 2020-07-27 21:22:16 -0500 |
commit | b401e2eb86dba8a48c12fec75c2201de7fb1ec63 (patch) | |
tree | 63b9e1cce193b9f71b3ae27f5905030940740aea | |
parent | 71dc5edf2e590c85b5874f82dde3b418e5769450 (diff) |
Fix naming style of function
-rw-r--r-- | include/battle_util.h | 2 | ||||
-rw-r--r-- | src/battle_util.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/battle_util.h b/include/battle_util.h index e145a5e9c..157ba8eb6 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -52,7 +52,7 @@ void CancelMultiTurnMoves(u8 battlerId); bool8 WasUnableToUseMove(u8 battlerId); void PrepareStringBattle(u16 stringId, u8 battlerId); void ResetSentPokesToOpponentValue(void); -void OpponentSwitchInResetSentPokesToOpponent(u8 battlerId); +void OpponentSwitchInResetSentPokesToOpponentValue(u8 battlerId); void UpdateSentPokesToOpponentValue(u8 battlerId); void BattleScriptPush(const u8* bsPtr); void BattleScriptPushCursor(void); diff --git a/src/battle_util.c b/src/battle_util.c index a579f7edd..89fe95fbc 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -259,7 +259,7 @@ void ResetSentPokesToOpponentValue(void) gSentPokesToOpponent[(i & BIT_FLANK) >> 1] = bits; } -void OpponentSwitchInResetSentPokesToOpponent(u8 battler) +void OpponentSwitchInResetSentPokesToOpponentValue(u8 battler) { s32 i = 0; u32 bits = 0; @@ -283,7 +283,7 @@ void UpdateSentPokesToOpponentValue(u8 battler) { if (GetBattlerSide(battler) == B_SIDE_OPPONENT) { - OpponentSwitchInResetSentPokesToOpponent(battler); + OpponentSwitchInResetSentPokesToOpponentValue(battler); } else { @@ -1250,7 +1250,7 @@ bool8 HandleFaintedMonActions(void) gBattleStruct->faintedActionsState = 3; break; case 2: - OpponentSwitchInResetSentPokesToOpponent(gBattlerFainted); + OpponentSwitchInResetSentPokesToOpponentValue(gBattlerFainted); if (++gBattleStruct->faintedActionsBattlerId == gBattlersCount) gBattleStruct->faintedActionsState = 3; else |