diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-25 18:59:07 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-25 18:59:07 +0200 |
commit | a9bc67dbb090277c8c6c4df1cf16a43ad36e413b (patch) | |
tree | 41a766576d999f8556bd182cd3d8d32dd6c63561 /src/battle_controller_recorded_player.c | |
parent | 91b010299f13125b0424d13f8e8119c40266df2c (diff) |
recorded opponent controller is done
Diffstat (limited to 'src/battle_controller_recorded_player.c')
-rw-r--r-- | src/battle_controller_recorded_player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_controller_recorded_player.c b/src/battle_controller_recorded_player.c index 605268f13..4e71537b0 100644 --- a/src/battle_controller_recorded_player.c +++ b/src/battle_controller_recorded_player.c @@ -132,7 +132,7 @@ static void RecordedPlayerDoMoveAnimation(void); static void sub_818CC24(u8 taskId); static void sub_818CDF4(void); -static void (*const gRecordedPlayerBufferCommands[CONTOLLER_CMDS_COUNT])(void) = +static void (*const sRecordedPlayerBufferCommands[CONTOLLER_CMDS_COUNT])(void) = { RecordedPlayerHandleGetMonData, RecordedPlayerHandleGetRawMonData, @@ -206,8 +206,8 @@ static void RecordedPlayerBufferRunCommand(void) { if (gBattleExecBuffer & gBitTable[gActiveBank]) { - if (gBattleBufferA[gActiveBank][0] < ARRAY_COUNT(gRecordedPlayerBufferCommands)) - gRecordedPlayerBufferCommands[gBattleBufferA[gActiveBank][0]](); + if (gBattleBufferA[gActiveBank][0] < ARRAY_COUNT(sRecordedPlayerBufferCommands)) + sRecordedPlayerBufferCommands[gBattleBufferA[gActiveBank][0]](); else RecordedPlayerBufferExecCompleted(); } |