summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-02-19 17:49:15 +0000
committerlibjet <libj3t@gmail.com>2020-02-19 17:49:15 +0000
commit3f9061ccea0b86c07408f9f5a33a83b3dae72d22 (patch)
tree7c74ad1d658cc30e609802b83d1e175e3f77423b /engine
parent336fe6b368c74bb95ff0d165c1b04cda18ac1fc2 (diff)
Add home/hp_pals.asm
Diffstat (limited to 'engine')
-rwxr-xr-xengine/items.asm8
-rwxr-xr-xengine/pack.asm4
2 files changed, 6 insertions, 6 deletions
diff --git a/engine/items.asm b/engine/items.asm
index 7d69c933..deafa60c 100755
--- a/engine/items.asm
+++ b/engine/items.asm
@@ -1,4 +1,4 @@
-ReceiveItem_:: ; d1e2 (3:51e2)
+_ReceiveItem:: ; d1e2 (3:51e2)
call CheckBagOrPC
jp nz, PutItemInPocketOrPC
push hl
@@ -38,7 +38,7 @@ ReceiveTMHM:
call GetTMHMNumber
jp PutItemInTMPocket
-TossItem_:: ; d21a (3:521a)
+_TossItem:: ; d21a (3:521a)
call CheckBagOrPC
jr nz, remove_item_from_bag_or_pc
push hl
@@ -79,7 +79,7 @@ RemoveNormalItem:
remove_item_from_bag_or_pc
jp RemoveItemAndQuantity
-CheckItem_:: ; d251 (3:5251)
+_CheckItem:: ; d251 (3:5251)
call CheckBagOrPC
jr nz, check_item_in_bag_or_pc
push hl
@@ -473,7 +473,7 @@ GetNumberedTM:
ld c, a
ret
-CheckTossableItem_:: ; d434 (3:5434)
+_CheckTossableItem:: ; d434 (3:5434)
ld a, $4
call GetItemAttr
bit 7, a
diff --git a/engine/pack.asm b/engine/pack.asm
index 210cb9b2..23a17c36 100755
--- a/engine/pack.asm
+++ b/engine/pack.asm
@@ -120,7 +120,7 @@ Pack_TMHMPocketMenu:
ld c, $1
call Function10cef
ret c
- farcall CheckTossableItem_
+ farcall _CheckTossableItem
ld a, [wItemAttributeParamBuffer]
and a
jr nz, .asm_1053a
@@ -228,7 +228,7 @@ Pack_BallsPocketMenu:
ret
Function105f5: ; 105f5 (4:45f5)
- farcall CheckTossableItem_
+ farcall _CheckTossableItem
ld a, [wItemAttributeParamBuffer]
and a
jr nz, .asm_10629