From 2ee8ce26da2d8195be9440335323d7ad9f9a168d Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 3 Nov 2021 17:07:08 -0400 Subject: Comment on the CooltrainerFAI bug Fixes #308 --- engine/battle/trainer_ai.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/battle/trainer_ai.asm b/engine/battle/trainer_ai.asm index 0117a057..2ef60f5b 100644 --- a/engine/battle/trainer_ai.asm +++ b/engine/battle/trainer_ai.asm @@ -342,7 +342,10 @@ CooltrainerMAI: jp AIUseXAttack CooltrainerFAI: + ; The intended 25% chance to consider switching will not apply. + ; Uncomment the line below to fix this. cp 25 percent + 1 + ; ret nc ld a, 10 call AICheckIfHPBelowFraction jp c, AIUseHyperPotion -- cgit v1.2.3