summaryrefslogtreecommitdiff
path: root/src/battle_controller_recorded_player.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-26 23:12:48 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-26 23:12:48 +0200
commit15061844651c0d0cdbe5ec0a3097b054d58e7f88 (patch)
tree6994733eb96e290e7790c5b5b17e776ee91e45d8 /src/battle_controller_recorded_player.c
parentfa36e23683a27876156d74829c543f69fcd1f297 (diff)
battle controller opponent is done
Diffstat (limited to 'src/battle_controller_recorded_player.c')
-rw-r--r--src/battle_controller_recorded_player.c4
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);