diff options
author | yenatch <yenatch@gmail.com> | 2017-12-25 19:01:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 19:01:36 -0500 |
commit | 73db02d3cdaf81a214ec6faa5462195618a80a48 (patch) | |
tree | b4d1a5187fda9da6186c52c03e836a5ff8f4dd90 /docs/bugs_and_glitches.md | |
parent | ec8c9688ce970b9c3b63a5b287a99542f0bc9984 (diff) | |
parent | 29b41068cb0644956494dd2b7b75331a336b8d26 (diff) |
Merge pull request #433 from roukaour/master
More code cleanup
Diffstat (limited to 'docs/bugs_and_glitches.md')
-rw-r--r-- | docs/bugs_and_glitches.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md index b38ec12ee..bf170881a 100644 --- a/docs/bugs_and_glitches.md +++ b/docs/bugs_and_glitches.md @@ -72,16 +72,16 @@ This is a bug with `SpeciesItemBoost` in [battle/effect_commands.asm](/battle/ef sla l rl h - ld a, 999 / $100 + ld a, HIGH(MAX_STAT_VALUE) cp h jr c, .cap - ld a, 999 % $100 + ld a, LOW(MAX_STAT_VALUE) cp l ret nc .cap - ld h, 999 / $100 - ld l, 999 % $100 + ld h, HIGH(MAX_STAT_VALUE) + ld l, LOW(MAX_STAT_VALUE) ret ``` @@ -128,16 +128,16 @@ This is a bug with `DittoMetalPowder` in [battle/effect_commands.asm](/battle/ef scf rr c - ld a, 999 / $100 + ld a, HIGH(MAX_STAT_VALUE) cp b jr c, .cap - ld a, 999 % $100 + ld a, LOW(MAX_STAT_VALUE) cp c ret nc .cap - ld b, 999 / $100 - ld c, 999 % $100 + ld b, HIGH(MAX_STAT_VALUE) + ld c, LOW(MAX_STAT_VALUE) ret ``` @@ -1398,7 +1398,7 @@ ClearWRAM:: ; 25a push af ld [rSVBK], a xor a - ld hl, $d000 + ld hl, wRAM1Start ld bc, $1000 call ByteFill pop af |