diff --git a/engine/vblank.asm b/engine/vblank.asm index 44b3195f8..36f1f7cbe 100644 --- a/engine/vblank.asm +++ b/engine/vblank.asm @@ -131,8 +131,8 @@ VBlank0: ; 2b1 ; update oam by dma transfer call hPushOAM -; 403f: -; ld a, $c4 +; @PushOAM: +; ld a, Sprites >> 8 ; ld [rDMA], a ; ld a, $28 ; .loop @@ -233,8 +233,8 @@ VBlank1: ; 337 call LoadTiles ; update oam by dma transfer call hPushOAM -; 403f: -; ld a, $c4 +; @PushOAM: +; ld a, Sprites >> 8 ; ld [rDMA], a ; ld a, $28 ; .loop @@ -342,8 +342,8 @@ VBlank3: ; 396 ; update oam by dma transfer call hPushOAM -; 403f: -; ld a, $c4 ; Sprites / $100 +; @PushOAM: +; ld a, Sprites >> 8 ; ld [rDMA], a ; ld a, $28 ; .loop @@ -414,8 +414,8 @@ VBlank4: ; 3df ; update oam by dma transfer call hPushOAM -; 403f: -; ld a, $c4 +; @PushOAM: +; ld a, Sprites >> 8 ; ld [rDMA], a ; ld a, $28 ; .loop diff --git a/main.asm b/main.asm index 0f7e9e39e..b5e04bbd5 100644 --- a/main.asm +++ b/main.asm @@ -9199,7 +9199,7 @@ LoadPushOAM: ; 4031 ; 403f PushOAM: ; 403f - ld a, $c4 + ld a, Sprites >> 8 ld [rDMA], a ld a, $28 .loop