From 8e9706d8a42f9bda4224e86d07adbfcc50df3184 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Thu, 17 Oct 2024 17:28:27 -0400 Subject: [PATCH] Fix `AI_Smart_Curse` labels --- engine/battle/ai/scoring.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/battle/ai/scoring.asm b/engine/battle/ai/scoring.asm index abb7e6e9f..268043680 100644 --- a/engine/battle/ai/scoring.asm +++ b/engine/battle/ai/scoring.asm @@ -1818,17 +1818,17 @@ AI_Smart_Curse: jr z, .ghost_curse call AICheckEnemyHalfHP - jr nc, .encourage + jr nc, .discourage ld a, [wEnemyAtkLevel] cp BASE_STAT_LEVEL + 4 - jr nc, .encourage + jr nc, .discourage cp BASE_STAT_LEVEL + 2 ret nc ld a, [wBattleMonType1] cp GHOST - jr z, .greatly_encourage + jr z, .greatly_discourage cp SPECIAL ret nc ld a, [wBattleMonType2] @@ -1840,9 +1840,9 @@ AI_Smart_Curse: dec [hl] ret -.greatly_encourage +.greatly_discourage inc [hl] -.encourage +.discourage inc [hl] ret @@ -1851,7 +1851,7 @@ AI_Smart_Curse: jp nc, AIDiscourageMove call AICheckEnemyHalfHP - jr nc, .encourage + jr nc, .discourage ld a, [wPlayerSubStatus1] bit SUBSTATUS_CURSE, a