Skip to content

Commit

Permalink
Comment on the CooltrainerFAI bug
Browse files Browse the repository at this point in the history
Fixes #308
  • Loading branch information
Rangi42 committed Nov 3, 2021
1 parent e4845d3 commit 2ee8ce2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/battle/trainer_ai.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ee8ce2

Please sign in to comment.