diff options
author | Eldred Habert <eldredhabert0@gmail.com> | 2019-03-03 18:36:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-03 18:36:42 +0100 |
commit | ce7e955d10ce86109a458dca23845bf5e64c6db0 (patch) | |
tree | 0eb508ded97642636d022cb4d55b79073824de95 | |
parent | c170810ad4952e3add1b1453db7436c5a8c16cce (diff) |
Correct Metal Powder fix
The cap would be applied when it shouldn't - if the high byte was below `HIGH(MAX_STAT_VALUE)` (and thus the value below the cap) but the low byte above `LOW(MAX_STAT_VALUE)`
-rw-r--r-- | docs/bugs_and_glitches.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md index 72a333757..baa0a52de 100644 --- a/docs/bugs_and_glitches.md +++ b/docs/bugs_and_glitches.md @@ -126,6 +126,7 @@ Some fixes are mentioned as breaking compatibility with link battles. This can b + ld a, HIGH(MAX_STAT_VALUE) + cp b + jr c, .cap ++ ret nz + ld a, LOW(MAX_STAT_VALUE) + cp c + ret nc |