mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Consolidate coord macros
This commit is contained in:
parent
0ad1153f16
commit
148d3f3cf2
58 changed files with 528 additions and 539 deletions
|
|
@ -184,17 +184,17 @@ CopyScreenTileBufferToVRAM::
|
|||
ld c, 6
|
||||
|
||||
ld hl, $600 * 0
|
||||
deCoord 0, 6 * 0
|
||||
coord de, 0, 6 * 0
|
||||
call .setup
|
||||
call DelayFrame
|
||||
|
||||
ld hl, $600 * 1
|
||||
deCoord 0, 6 * 1
|
||||
coord de, 0, 6 * 1
|
||||
call .setup
|
||||
call DelayFrame
|
||||
|
||||
ld hl, $600 * 2
|
||||
deCoord 0, 6 * 2
|
||||
coord de, 0, 6 * 2
|
||||
call .setup
|
||||
jp DelayFrame
|
||||
|
||||
|
|
@ -217,7 +217,7 @@ ClearScreen::
|
|||
; for the bg map to update.
|
||||
ld bc, 20 * 18
|
||||
inc b
|
||||
hlCoord 0, 0
|
||||
coord hl, 0, 0
|
||||
ld a, $7f
|
||||
.loop
|
||||
ld [hli], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue