Correct indentation

Add spaces before unchanged lines
This commit is contained in:
Eldred Habert 2019-03-03 18:10:03 +01:00 committed by GitHub
parent add58fb00d
commit c170810ad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -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