summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSawakita <sawakitanoodles@gmail.com>2012-01-08 14:12:18 +0100
committerSawakita <sawakitanoodles@gmail.com>2012-01-08 14:12:18 +0100
commit4b11f36a0aff0751dedf2b536b40b5424b3b3871 (patch)
tree47f3fb1c0b40b906ef68f818874ed4612593e063
parente590a10b8136656570d84af27f2907f2e1f57e3c (diff)
Add explanatory comment to function CheckBagItemExist ($3493).
hg-commit-id: 1765b4515253
-rw-r--r--pokered.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/pokered.asm b/pokered.asm
index e25e9c81..248dbb1e 100644
--- a/pokered.asm
+++ b/pokered.asm
@@ -1091,8 +1091,9 @@ HiddenPrefix:
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