diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-12 17:06:31 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-12 17:06:31 +0100 |
commit | 9febe24d9fb41633d3d95b97899ebe1cf60486fc (patch) | |
tree | 5e81d40b08d9b30901828ec91721a79e20e559f8 /src/battle_controller_recorded_player.c | |
parent | cd879d6f8ad9d42d0a6ce66d90f2e044c0e634ce (diff) |
label some battle struct fields
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 8db7b5626..108200a33 100644 --- a/src/battle_controller_recorded_player.c +++ b/src/battle_controller_recorded_player.c @@ -1492,8 +1492,8 @@ static void RecordedPlayerHandleChooseItem(void) static void RecordedPlayerHandleChoosePokemon(void) { - *(gBattleStruct->field_5C + gActiveBank) = RecordedBattle_ReadBankAction(gActiveBank); - EmitChosenMonReturnValue(1, *(gBattleStruct->field_5C + gActiveBank), NULL); + *(gBattleStruct->monToSwitchIntoId + gActiveBank) = RecordedBattle_ReadBankAction(gActiveBank); + EmitChosenMonReturnValue(1, *(gBattleStruct->monToSwitchIntoId + gActiveBank), NULL); RecordedPlayerBufferExecCompleted(); } |