summaryrefslogtreecommitdiff
path: root/src/battle_controller_pokedude.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_controller_pokedude.c')
-rw-r--r--src/battle_controller_pokedude.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_controller_pokedude.c b/src/battle_controller_pokedude.c
index 5d057e2bf..50d93d0cd 100644
--- a/src/battle_controller_pokedude.c
+++ b/src/battle_controller_pokedude.c
@@ -2055,7 +2055,7 @@ static void PokedudeHandleExpUpdate(void)
static void PokedudeHandleStatusIconUpdate(void)
{
- if (!mplay_80342A4(gActiveBattler))
+ if (!IsBattleSEPlaying(gActiveBattler))
{
u8 battlerId;
struct Pokemon *mon;
@@ -2073,7 +2073,7 @@ static void PokedudeHandleStatusIconUpdate(void)
static void PokedudeHandleStatusAnimation(void)
{
- if (!mplay_80342A4(gActiveBattler))
+ if (!IsBattleSEPlaying(gActiveBattler))
{
InitAndLaunchChosenStatusAnimation(gBattleBufferA[gActiveBattler][1],
gBattleBufferA[gActiveBattler][2] | (gBattleBufferA[gActiveBattler][3] << 8) | (gBattleBufferA[gActiveBattler][4] << 16) | (gBattleBufferA[gActiveBattler][5] << 24));