More fixes for fixes

This commit is contained in:
Rangi
2019-04-23 19:07:41 -04:00
parent e4d60b4e5b
commit cca2afe827
2 changed files with 5 additions and 4 deletions

View File

@@ -1711,6 +1711,7 @@ This supports up to six entries.
call ValidateTempWildMonSpecies call ValidateTempWildMonSpecies
jr c, .nowildbattle jr c, .nowildbattle
- ld a, b ; This is in the wrong place.
cp UNOWN cp UNOWN
jr nz, .done jr nz, .done
``` ```
@@ -1726,7 +1727,7 @@ This supports up to six entries.
ld de, 3 ld de, 3
ld hl, .pointers ld hl, .pointers
call IsInArray call IsInArray
jr nc, .nope_bugged jr nc, .nope
pop bc pop bc
inc hl inc hl
@@ -1735,7 +1736,7 @@ This supports up to six entries.
ld l, a ld l, a
jp hl jp hl
.nope_bugged .nope
- ; pop bc - ; pop bc
+ pop bc + pop bc
xor a xor a

View File

@@ -560,7 +560,7 @@ TryObjectEvent:
ld de, 3 ld de, 3
ld hl, .pointers ld hl, .pointers
call IsInArray call IsInArray
jr nc, .nope_bugged jr nc, .nope
pop bc pop bc
inc hl inc hl
@@ -569,7 +569,7 @@ TryObjectEvent:
ld l, a ld l, a
jp hl jp hl
.nope_bugged .nope
; pop bc ; pop bc
xor a xor a
ret ret