summaryrefslogtreecommitdiff
path: root/docs/bugs_and_glitches.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/bugs_and_glitches.md')
-rw-r--r--docs/bugs_and_glitches.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 145f23403..60880d0f4 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -1250,11 +1250,13 @@ As Pryce's dialog ("That BADGE will raise the SPECIAL stats of POKéMON.") impli
call BattleRandom
cp c
jr nc, .loop_enemy
+ ; b = player level / 4
srl b
srl b
- cp b
-- ; This should be jr c, .failed
+- ; This should be "jr c, .failed"
- ; As written, it makes enemy use of Teleport always succeed if able
++ ; If the random number >= player level / 4, Teleport will succeed
+ cp b
- jr nc, .run_away
+ jr c, .failed
```