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

@@ -219,7 +219,7 @@ CheckOwnMon: ; 0x4a7ba
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]
cp [hl]
jr nz, .notfound