summaryrefslogtreecommitdiff
path: root/scripts/museum1f.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 /scripts/museum1f.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/museum1f.asm')
-rwxr-xr-xscripts/museum1f.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/museum1f.asm b/scripts/museum1f.asm
index 5e1bb792..e593cf39 100755
--- a/scripts/museum1f.asm
+++ b/scripts/museum1f.asm
@@ -103,8 +103,7 @@ Museum1FText1: ; 5c135 (17:4135)
ld hl, wTrainerFacingDirection
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubBCDPredef
- call Predef
+ predef SubBCDPredef
ld a, $13
ld [wd125], a
call DisplayTextBoxID
@@ -203,8 +202,7 @@ Museum1FText3: ; 5c256 (17:4256)
set 1, [hl]
ld a, $34
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld hl, ReceivedOldAmberText
jr .asm_52e0f ; 0x5c27e
.BagFull