Document bugs and glitches

This commit is contained in:
Remy Oukaour
2017-12-12 20:15:07 -05:00
parent f0ab091254
commit 93c32e3580
8 changed files with 954 additions and 525 deletions

View File

@@ -554,7 +554,7 @@ GetItemAttr: ; d460
ld a, [CurItem]
dec a
ld c, a
ld a, NUM_ITEMATTRS
ld a, ITEMATTR_STRUCT_LENGTH
call AddNTimes
ld a, BANK(ItemAttributes)
call GetFarByte

View File

@@ -219,7 +219,7 @@ CheckOwnMon: ; 0x4a7ba
ld hl, PlayerName
rept 4
rept PLAYER_NAME_LENGTH_JAPANESE - 1 ; should be PLAYER_NAME_LENGTH - 1
ld a, [de]
cp [hl]
jr nz, .notfound
@@ -227,7 +227,7 @@ CheckOwnMon: ; 0x4a7ba
jr z, .found ; reached end of string
inc hl
inc de
endr
endr
ld a, [de]
cp [hl]