Skip to content

Commit 2ee8ce2

Browse files
committed
Comment on the CooltrainerFAI bug
Fixes pret#308
1 parent e4845d3 commit 2ee8ce2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎engine/battle/trainer_ai.asm‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,10 @@ CooltrainerMAI:
342342
jp AIUseXAttack
343343

344344
CooltrainerFAI:
345+
; The intended 25% chance to consider switching will not apply.
346+
; Uncomment the line below to fix this.
345347
cp 25 percent + 1
348+
; ret nc
346349
ld a, 10
347350
call AICheckIfHPBelowFraction
348351
jp c, AIUseHyperPotion

0 commit comments

Comments
 (0)