summaryrefslogtreecommitdiff
path: root/scripts/ceruleancity.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/ceruleancity.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/ceruleancity.asm')
-rwxr-xr-xscripts/ceruleancity.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/ceruleancity.asm b/scripts/ceruleancity.asm
index c2ecf26c..419dbd8c 100755
--- a/scripts/ceruleancity.asm
+++ b/scripts/ceruleancity.asm
@@ -10,8 +10,7 @@ CeruleanCityScript_1948c: ; 1948c (6:548c)
ld [W_CERULEANCITYCURSCRIPT], a
ld a, $5
ld [wcc4d], a
- ld a, $11
- jp Predef
+ predef_jump HideObject
CeruleanCityScriptPointers: ; 1949d (6:549d)
dw CeruleanCityScript0
@@ -91,8 +90,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8)
.asm_19535
ld a, $5
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
ld de, CeruleanCityMovement1
ld a, $1
ld [$ff8c], a
@@ -208,8 +206,7 @@ CeruleanCityScript3: ; 19610 (6:5610)
ret nz
ld a, $5
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
xor a
ld [wJoyIgnore], a
call Func_2307