From 9ae05312d6c039902d885de98d49407ffe3a3c79 Mon Sep 17 00:00:00 2001 From: vulcandth Date: Sat, 27 Jul 2024 21:58:54 -0500 Subject: [PATCH] Use NUM_TRAINER_ATTRIBUTES const in AI scoring Layers --- engine/battle/ai/move.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/battle/ai/move.asm b/engine/battle/ai/move.asm index cf0c09bb97b..adf458f0a54 100644 --- a/engine/battle/ai/move.asm +++ b/engine/battle/ai/move.asm @@ -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