Added bug fix for: "Cautious" AI may fail to discourage residual moves (#1178)

This commit is contained in:
Hannabart Pekopon
2025-05-31 12:07:23 -07:00
committed by GitHub
parent a15a2970a1
commit 34aae0d20f
2 changed files with 28 additions and 0 deletions

View File

@@ -3086,6 +3086,7 @@ AI_Cautious:
pop hl
jr nc, .loop
; BUG: "Cautious" AI may fail to discourage residual moves (see docs/bugs_and_glitches.md)
call Random
cp 90 percent + 1
ret nc