aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-16 13:25:46 -0700
committeryenatch <yenatch@gmail.com>2014-06-16 13:25:46 -0700
commitd10108a066c102bf2d167ac656d79308e41f304e (patch)
tree8e23833f9b0b2cbffe7114212da8af13e0ef85d1 /home
parentFix a typo in home/vcopy.asm. (diff)
downloadpokeyellow-d10108a066c102bf2d167ac656d79308e41f304e.tar.gz
pokeyellow-d10108a066c102bf2d167ac656d79308e41f304e.tar.xz
pokeyellow-d10108a066c102bf2d167ac656d79308e41f304e.zip
Use macros to define predefs.
Diffstat (limited to 'home')
-rw-r--r--home/init.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/home/init.asm b/home/init.asm
index 1518218e..b79b19d9 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -95,8 +95,7 @@ rLCDC_DEFAULT EQU %11100011
ei
- ld a, $40 ; PREDEF_SGB_BORDER
- call Predef
+ predef LoadSGB
ld a, BANK(SFX_1f_67)
ld [wc0ef], a
@@ -108,8 +107,7 @@ rLCDC_DEFAULT EQU %11100011
dec a
ld [wcfcb], a
- ld a, $32 ; PREDEF_INTRO
- call Predef
+ predef PlayIntro
call DisableLCD
call ClearVram