aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menu/pc.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/menu/pc.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/menu/pc.asm')
-rwxr-xr-xengine/menu/pc.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/menu/pc.asm b/engine/menu/pc.asm
index 5639bd99..6ec45f2e 100755
--- a/engine/menu/pc.asm
+++ b/engine/menu/pc.asm
@@ -1,4 +1,4 @@
-ActivatePC:
+ActivatePC::
call SaveScreenTilesToBuffer2
ld a, SFX_TURN_ON_PC
call PlaySound
@@ -115,7 +115,7 @@ AccessedMyPCText:
db "@"
; removes one of the specified item ID [hItemToRemoveID] from bag (if existent)
-RemoveItemByID:
+RemoveItemByID::
ld hl, wBagItems
ld a, [hItemToRemoveID]
ld b, a