update: video adjust scroll now hapens in game update state instead of blank
authorLukas Krickl <lukas@krickl.dev>
Tue, 23 Sep 2025 17:08:16 +0000 (19:08 +0200)
committerLukas Krickl <lukas@krickl.dev>
Tue, 23 Sep 2025 17:08:16 +0000 (19:08 +0200)
src/update.s
src/video.s

index 016a04b94f2745ae1e02ea1f143a2984b2e8b027..d286ec0912911f5684eb4b1c90092f645d69bd39 100644 (file)
@@ -7,11 +7,14 @@ update_game:
 
   ; clear oam
   call shadow_oam_clear
+       
+       call video_map_adjust_scroll
 
        call player_draw
        call player_update
 
        call actor_update_all
+
        
   ret
 
index 408ff45e1496ef0b60a4a05928ee3a77fab2cea0..023252457df88f4d7c9c1191a318b526786d0745 100644 (file)
@@ -24,11 +24,7 @@ vblank:
   ; dma previous frame's oam
   call OAMDMAFN
 
-
   call scroll_write
-  
-
-       call video_map_adjust_scroll
 
   ld a, 1
   ld [frame_ready], a