mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
fix PushOAM references in VBlank
This commit is contained in:
parent
28fd514bef
commit
abce472354
@ -131,8 +131,8 @@ VBlank0: ; 2b1
|
|||||||
|
|
||||||
; update oam by dma transfer
|
; update oam by dma transfer
|
||||||
call hPushOAM
|
call hPushOAM
|
||||||
; 403f:
|
; @PushOAM:
|
||||||
; ld a, $c4
|
; ld a, Sprites >> 8
|
||||||
; ld [rDMA], a
|
; ld [rDMA], a
|
||||||
; ld a, $28
|
; ld a, $28
|
||||||
; .loop
|
; .loop
|
||||||
@ -233,8 +233,8 @@ VBlank1: ; 337
|
|||||||
call LoadTiles
|
call LoadTiles
|
||||||
; update oam by dma transfer
|
; update oam by dma transfer
|
||||||
call hPushOAM
|
call hPushOAM
|
||||||
; 403f:
|
; @PushOAM:
|
||||||
; ld a, $c4
|
; ld a, Sprites >> 8
|
||||||
; ld [rDMA], a
|
; ld [rDMA], a
|
||||||
; ld a, $28
|
; ld a, $28
|
||||||
; .loop
|
; .loop
|
||||||
@ -342,8 +342,8 @@ VBlank3: ; 396
|
|||||||
|
|
||||||
; update oam by dma transfer
|
; update oam by dma transfer
|
||||||
call hPushOAM
|
call hPushOAM
|
||||||
; 403f:
|
; @PushOAM:
|
||||||
; ld a, $c4 ; Sprites / $100
|
; ld a, Sprites >> 8
|
||||||
; ld [rDMA], a
|
; ld [rDMA], a
|
||||||
; ld a, $28
|
; ld a, $28
|
||||||
; .loop
|
; .loop
|
||||||
@ -414,8 +414,8 @@ VBlank4: ; 3df
|
|||||||
|
|
||||||
; update oam by dma transfer
|
; update oam by dma transfer
|
||||||
call hPushOAM
|
call hPushOAM
|
||||||
; 403f:
|
; @PushOAM:
|
||||||
; ld a, $c4
|
; ld a, Sprites >> 8
|
||||||
; ld [rDMA], a
|
; ld [rDMA], a
|
||||||
; ld a, $28
|
; ld a, $28
|
||||||
; .loop
|
; .loop
|
||||||
|
Loading…
Reference in New Issue
Block a user