ref: 4fe0d93d4c0536b3517ba4b58822e5f6b1019382
parent: 9ecc991814986fdadecd83247adf13e10eaf77ed
author: Rangi <[email protected]>
date: Sun Jan 27 09:00:21 EST 2019
Fix some of the issues explained in #595
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -281,7 +281,7 @@
ld a, [hli]
or [hl]
- ret z
-+ jp z, .failed
++ jr z, .failed
```
Add this to the end of each file:
@@ -712,7 +712,7 @@
## Moon Ball does not boost catch rate
-**Fix:** Edit `MoonBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
+**Fix:** Edit `MoonBallMultiplier` in [items/item_effects.asm](/engine/items/item_effects.asm):
```diff
-; Moon Stone's constant from Pokémon Red is used.
@@ -730,7 +730,7 @@
## Love Ball boosts catch rate for the wrong gender
-**Fix:** Edit `LoveBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
+**Fix:** Edit `LoveBallMultiplier` in [items/item_effects.asm](/engine/items/item_effects.asm):
```diff
.wildmale
@@ -746,7 +746,7 @@
## Fast Ball only boosts catch rate for three Pokémon
-**Fix:** Edit `FastBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
+**Fix:** Edit `FastBallMultiplier` in [items/item_effects.asm](/engine/items/item_effects.asm):
```diff
.loop
@@ -972,7 +972,7 @@
+ jr nz, .loop
+
+.okay
-+ ld de, MON_LEVEL - MON_HP
++ ld de, MON_LEVEL - MON_HP - 1
+ add hl, de
ld de, 0
- ld a, [wBattleMonLevel]
@@ -1067,10 +1067,10 @@
+.skip_trainer
+ dec b
+ jr z, .got_trainer
-+.loop1
++.skip_party
+ ld a, [hli]
+ cp $ff
-+ jr nz, .loop1
++ jr nz, .skip_party
+ jr .skip_trainer
+.got_trainer
+