aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-09-10 17:21:56 +0900
committerAstatin <astatin@redacted>2024-09-10 17:21:56 +0900
commit240deda011c7ad562507759c1839d8ece785de77 (patch)
tree1853df786794da9eb8c2b096b31147925c325989 /main.gbasm
parentc3d302cd8332d55bb477b5e93ea0f6027d26c632 (diff)
Use DMA OAM transfer to write entities to OAM
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.gbasm b/main.gbasm
index ad1fa44..eb1ea52 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -24,7 +24,7 @@ New_Dungeon:
VBLANK_Entrypoint:
CALL =Display_Prepared_Block
CALL =Display_Object
- CALL =Display_Entities
+ CALL $OAM_DMA_Transfer_routine
CALL =Object_Interactions_Check
@@ -32,6 +32,7 @@ VBLANK_Entrypoint:
CALL =Move_Bunny
CALL =Prepare_Scrolling_Map
+ CALL =Prepare_Entities
RET
.INCLUDE "tiles.gbasm"