summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNescientist <86188284+Nescientist@users.noreply.github.com>2021-06-20 16:56:11 +0200
committerGitHub <noreply@github.com>2021-06-20 10:56:11 -0400
commit80a3f7e1baea5a17ba039bdfe62d848f73288119 (patch)
tree895090374677d769f5a40ffaa96b1d5397ae9e53 /docs
parent72f3234e036a6fbff598858f2b8713268cf9fca0 (diff)
Fixing comments in BattleCommand_Teleport
Diffstat (limited to 'docs')
-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
```