mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use macros to define predefs.
This commit is contained in:
parent
94dc695543
commit
d10108a066
10 changed files with 123 additions and 113 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue