Add explanatory comment to function CheckBagItemExist ($3493).

hg-commit-id: 1765b4515253
This commit is contained in:
Sawakita 2012-01-08 14:12:18 +01:00
parent e590a10b81
commit 4b11f36a0a

View file

@ -1091,8 +1091,9 @@ HiddenPrefix:
INCBIN "baserom.gbc",$3040,$3493 - $3040 INCBIN "baserom.gbc",$3040,$3493 - $3040
CheckBagItemExist: ; $3493: ; 3493 CheckBagItemExist: ; $3493: ; 3493
; XXX what does this do ; given an item_id in b
; related to Pokémon Tower and ghosts ; set zero flag if item isn't in player's bag
; else reset zero flag
ld a,$1C ld a,$1C
call Predef call Predef
ld a,b ld a,b