Skip to content

Commit

Permalink
Use NUM_TRAINER_ATTRIBUTES const in AI scoring Layers
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandth committed Jul 28, 2024
1 parent fed587f commit 9ae0531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/battle/ai/move.asm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ AIChooseMove:

ld a, [wTrainerClass]
dec a
ld bc, 7 ; Trainer2AI - Trainer1AI
ld bc, NUM_TRAINER_ATTRIBUTES
call AddNTimes

.battle_tower_skip
Expand Down

0 comments on commit 9ae0531

Please sign in to comment.