diff options
Diffstat (limited to 'src/battle_controller_recorded_player.c')
-rw-r--r-- | src/battle_controller_recorded_player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_controller_recorded_player.c b/src/battle_controller_recorded_player.c index 4e71537b0..971a3e656 100644 --- a/src/battle_controller_recorded_player.c +++ b/src/battle_controller_recorded_player.c @@ -197,7 +197,7 @@ static void nullsub_120(void) { } -void SetBankFuncToRecordedPlayerBufferRunCommand(void) +void SetControllerToRecordedPlayer(void) { gBattleBankFunc[gActiveBank] = RecordedPlayerBufferRunCommand; } @@ -1808,7 +1808,7 @@ static void RecordedPlayerHandleCmd50(void) static void RecordedPlayerHandleSpriteInvisibility(void) { - if (AnimBankSpriteExists(gActiveBank)) + if (IsBankSpritePresent(gActiveBank)) { gSprites[gBankSpriteIds[gActiveBank]].invisible = gBattleBufferA[gActiveBank][1]; SetBattleSpriteInvisibilityBitToSpriteInvisibility(gActiveBank); |