summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorPokeglitch <pokeglitchx@gmail.com>2018-06-14 21:46:09 -0400
committerPokeglitch <pokeglitchx@gmail.com>2018-06-14 21:46:09 -0400
commitc955c8d353f63c07cc4ac71160e4a13061192c8a (patch)
treef15070cf4b28f82ac8fa6f266d909ca11a26dcf4 /engine/items
parentd6b67710739c96b357f64b9457cac8750c46d1ca (diff)
Disassembled teleport
Diffstat (limited to 'engine/items')
-rwxr-xr-xengine/items/inventory.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/items/inventory.asm b/engine/items/inventory.asm
index a95f2ac..5927f6d 100755
--- a/engine/items/inventory.asm
+++ b/engine/items/inventory.asm
@@ -596,7 +596,8 @@ GetNumberedTMHM: ; 03:4D1A
SECTION "_CheckTossableItem", ROMX[$53AD], BANK[$03]
-; Return 1 in wItemAttributeParamBuffer and carry if wCurItem can't be removed from the bag.
+; Return 1 in wItemAttributeParamBuffer and
+; carry if wCurItem can't be removed from the bag.
_CheckTossableItem: ; 03:53AD
ld a, ITEMATTR_PERMISSIONS
call GetItemAttr
@@ -605,7 +606,8 @@ _CheckTossableItem: ; 03:53AD
and a
ret
-; Return 1 in wItemAttributeParamBuffer and carry if wCurItem can't be selected.
+; Return 1 in wItemAttributeParamBuffer
+; and carry if wCurItem can't be selected.
CheckSelectableItem: ; 03:53B8
ld a, ITEMATTR_PERMISSIONS
call GetItemAttr