mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
More wOAMBuffer references.
This commit is contained in:
parent
40c17c906b
commit
f16f07c5ca
|
@ -356,7 +356,7 @@ Func_718ac: ; 718ac (1c:58ac)
|
|||
Func_718c3: ; 718c3 (1c:58c3)
|
||||
push af
|
||||
ld c, $10
|
||||
ld h, $c3
|
||||
ld h, wOAMBuffer / $100
|
||||
ld a, [H_DOWNARROWBLINKCNT2] ; $ff8c
|
||||
swap a
|
||||
ld l, a
|
||||
|
|
|
@ -14,7 +14,7 @@ WriteDMACodeToHRAM:
|
|||
|
||||
DMARoutine:
|
||||
; initiate DMA
|
||||
ld a, $c3
|
||||
ld a, wOAMBuffer / $100
|
||||
ld [$ff46], a
|
||||
|
||||
; wait for DMA to finish
|
||||
|
|
2
home.asm
2
home.asm
|
@ -9244,7 +9244,7 @@ StringCmp:: ; 3a8e (0:3a8e)
|
|||
; c = X coordinate of upper left corner of sprite
|
||||
; de = base address of 4 tile number and attribute pairs
|
||||
WriteOAMBlock:: ; 3a97 (0:3a97)
|
||||
ld h,$c3
|
||||
ld h,wOAMBuffer / $100
|
||||
swap a ; multiply by 16
|
||||
ld l,a
|
||||
call .writeOneEntry ; upper left
|
||||
|
|
Loading…
Reference in a new issue