aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/itemfinder.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/items/itemfinder.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/items/itemfinder.asm')
-rwxr-xr-xengine/items/itemfinder.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/items/itemfinder.asm b/engine/items/itemfinder.asm
index 87acf48c..d7e5b3ce 100755
--- a/engine/items/itemfinder.asm
+++ b/engine/items/itemfinder.asm
@@ -11,8 +11,7 @@ HiddenItemNear: ; 7481f (1d:481f)
ld hl, wd6f0
ld c, b
ld b, $2
- ld a, $10 ; FlagActionPredef
- call Predef
+ predef FlagActionPredef
ld a, c
pop hl
pop bc