summaryrefslogtreecommitdiff
path: root/scripts/halloffameroom.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/halloffameroom.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/halloffameroom.asm')
-rwxr-xr-xscripts/halloffameroom.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/halloffameroom.asm b/scripts/halloffameroom.asm
index f88d8498..1273305e 100755
--- a/scripts/halloffameroom.asm
+++ b/scripts/halloffameroom.asm
@@ -25,8 +25,7 @@ HallofFameRoomScript2: ; 5a4bb (16:64bb)
push af
xor a
ld [wJoyIgnore], a
- ld a, $55
- call Predef
+ predef HallOfFamePC
pop af
ld [wd358], a
ld hl, W_FLAGS_D733
@@ -101,8 +100,7 @@ HallofFameRoomScript1: ; 5a52b (16:652b)
ld [wJoyIgnore], a
ld a, $8
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, $2
ld [W_HALLOFFAMEROOMCURSCRIPT], a
ret