diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-17 16:56:13 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-17 16:56:13 -0400 |
commit | f5a444af5d4e7b33706bc051c3e932d3d75d8a24 (patch) | |
tree | a7a567d55a07f077903164a4d500c0fb0bb7bf0a /src/battle_ai_switch_items.c | |
parent | 42650e1507008d0ad3a710e0b8ec27d8ad97bd26 (diff) |
Replace simple ewram access with battle struct, 2
Diffstat (limited to 'src/battle_ai_switch_items.c')
-rw-r--r-- | src/battle_ai_switch_items.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index f83334be3..9de1e9b1f 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -82,7 +82,7 @@ static bool8 ShouldSwitchIfWonderGuard(void) continue; GetMonData(&gEnemyParty[i], MON_DATA_SPECIES); // Unused return value. GetMonData(&gEnemyParty[i], MON_DATA_ALT_ABILITY); // Unused return value. - + for (opposingBattler = GetBattlerAtPosition(B_POSITION_PLAYER_LEFT), j = 0; j < MAX_MON_MOVES; ++j) { move = GetMonData(&gEnemyParty[i], MON_DATA_MOVE1 + j); |