aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/items.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-06-27 15:32:24 -0400
committerGitHub <noreply@github.com>2020-06-27 15:32:24 -0400
commit4b853ad676e061a6c4b0fcc030855a2705776864 (patch)
treea6d6f2976827862f4a5f402e92c8479ccf7fb349 /engine/items/items.asm
parentMerge pull request #250 from Rangi42/master (diff)
downloadpokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.tar.gz
pokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.tar.xz
pokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.zip
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm (#251)
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
Diffstat (limited to 'engine/items/items.asm')
-rwxr-xr-xengine/items/items.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm
index 05dcf572..6e7bed1e 100755
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -1,4 +1,4 @@
-UseItem_:
+UseItem_::
ld a, 1
ld [wActionResultOrTookBattleTurn], a ; initialise to success value
ld a, [wcf91] ;contains item_ID
@@ -2588,7 +2588,7 @@ GetSelectedMoveOffset2:
; [wItemQuantity] = quantity to toss
; OUTPUT:
; clears carry flag if the item is tossed, sets carry flag if not
-TossItem_:
+TossItem_::
push hl
ld a, [wcf91]
call IsItemHM
@@ -2657,7 +2657,7 @@ TooImportantToTossText:
; [wIsKeyItem] = result
; 00: item is not key item
; 01: item is key item
-IsKeyItem_:
+IsKeyItem_::
ld a, $01
ld [wIsKeyItem], a
ld a, [wcf91]