diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-03 17:07:08 -0400 | 
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-03 17:07:08 -0400 | 
| commit | 2ee8ce26da2d8195be9440335323d7ad9f9a168d (patch) | |
| tree | 7b01e7da2bc36c731671343420a6870581a8924b /engine | |
| parent | e4845d3d317cd00b97a96038cb7dc069ec0fae0e (diff) | |
Comment on the CooltrainerFAI bug
Fixes #308
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/battle/trainer_ai.asm | 3 | 
1 files changed, 3 insertions, 0 deletions
| 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 | 
