aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/item.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
committeryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
commitb36f793667924f868282ce979fabab3e95d642a5 (patch)
tree580af2e7c0afc016ccf7a31b44e98898321176ac /engine/overworld/item.asm
parentUse macros to define predefs. (diff)
downloadpokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.gz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.xz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.zip
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'engine/overworld/item.asm')
-rw-r--r--engine/overworld/item.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/overworld/item.asm b/engine/overworld/item.asm
index a75c393c..a69ec106 100644
--- a/engine/overworld/item.asm
+++ b/engine/overworld/item.asm
@@ -32,8 +32,7 @@ PickupItem:
ld a, [$ffdb]
ld [wcc4d], a
- ld a, $11 ; HideObject
- call Predef
+ predef HideObject
ld a, 1
ld [wcc3c], a
ld hl, FoundItemText