ref: 4b11f36a0aff0751dedf2b536b40b5424b3b3871
parent: e590a10b8136656570d84af27f2907f2e1f57e3c
author: Sawakita <[email protected]>
date: Sun Jan 8 09:12:18 EST 2012
Add explanatory comment to function CheckBagItemExist ($3493). hg-commit-id: 1765b4515253
--- a/pokered.asm
+++ b/pokered.asm
@@ -1091,8 +1091,9 @@
INCBIN "baserom.gbc",$3040,$3493 - $3040
CheckBagItemExist: ; $3493: ; 3493
-; XXX what does this do
-; related to Pokémon Tower and ghosts
+; given an item_id in b
+; set zero flag if item isn't in player's bag
+; else reset zero flag
ld a,$1C
call Predef
ld a,b