Fix `make compare`

This commit is contained in:
Remy Oukaour 2017-12-12 20:21:08 -05:00
parent 78d489733c
commit ad620243d9
2 changed files with 3 additions and 3 deletions

View File

@ -434,7 +434,7 @@ This bug can allow you to talk to Eusine in Celadon City and encounter Ho-Oh wit
ld hl, PlayerName ld hl, PlayerName
rept PLAYER_NAME_LENGTH_JAPANESE - 1 ; should be PLAYER_NAME_LENGTH - 1 rept NAME_LENGTH_JAPANESE +- 2 ; should be PLAYER_NAME_LENGTH +- 2
ld a, [de] ld a, [de]
cp [hl] cp [hl]
jr nz, .notfound jr nz, .notfound
@ -456,7 +456,7 @@ endr
ret ret
``` ```
**Fix:** Change `rept PLAYER_NAME_LENGTH_JAPANESE - 1` to `rept PLAYER_NAME_LENGTH - 1`. **Fix:** Change `rept NAME_LENGTH_JAPANESE +- 2` to `rept PLAYER_NAME_LENGTH +- 2`.
## `HELD_CATCH_CHANCE` has no effect ## `HELD_CATCH_CHANCE` has no effect

View File

@ -219,7 +219,7 @@ CheckOwnMon: ; 0x4a7ba
ld hl, PlayerName ld hl, PlayerName
rept PLAYER_NAME_LENGTH_JAPANESE - 1 ; should be PLAYER_NAME_LENGTH - 1 rept NAME_LENGTH_JAPANESE +- 2 ; should be PLAYER_NAME_LENGTH +- 2
ld a, [de] ld a, [de]
cp [hl] cp [hl]
jr nz, .notfound jr nz, .notfound