summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldred Habert <eldredhabert0@gmail.com>2019-03-03 18:10:03 +0100
committerGitHub <noreply@github.com>2019-03-03 18:10:03 +0100
commitc170810ad4952e3add1b1453db7436c5a8c16cce (patch)
tree421782c84f9d560f92e651dec6715fc3c2838853
parentadd58fb00d73495655243c4cf13b730bbc1b3242 (diff)
Correct indentation
Add spaces before unchanged lines
-rw-r--r--docs/bugs_and_glitches.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 020090329..72a333757 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -182,8 +182,8 @@ This bug existed for all battles in Gold and Silver, and was only fixed for sing
+ ; Thus chance will be subtracted from 0, guaranteeing a carry
+ call c, BattleRandom
cp [hl]
- pop hl
- ret c
+ pop hl
+ ret c
.failed
ld a, 1
@@ -199,12 +199,12 @@ If you wish to keep compatibility with standard Pokémon Crystal, you can disabl
+ cp LINK_COLOSSEUM
+ scf ; Force RNG to be called
+ jr z, .nofix ; Don't apply fix in link battles, for compatibility
- ld a, [hl]
- sub 100 percent
- ; If chance was 100%, RNG won't be called (carry not set)
- ; Thus chance will be subtracted from 0, guaranteeing a carry
-+ .nofix
- call c, BattleRandom
+ ld a, [hl]
+ sub 100 percent
+ ; If chance was 100%, RNG won't be called (carry not set)
+ ; Thus chance will be subtracted from 0, guaranteeing a carry
++.nofix
+ call c, BattleRandom
```
## Belly Drum sharply boosts Attack even with under 50% HP