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 80ce1ad commit 00fa23f
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 @@ -65,7 +65,7 @@ AIChooseMove:
ld hl, TrainerClassAttributes + TRNATTR_AI_MOVE_WEIGHTS
ld a, [wTrainerClass]
dec a
ld bc, 7 ; Trainer2AI - Trainer1AI
ld bc, NUM_TRAINER_ATTRIBUTES
call AddNTimes
lb bc, CHECK_FLAG, 0
push bc
Expand Down

0 comments on commit 00fa23f

Please sign in to comment.