Implement View Map mode [commit 4]: draw arrows OAM and refactor previous commit to support this (#29)

This commit is contained in:
xCrystal
2023-11-04 13:04:25 +01:00
parent c2e7422ba0
commit 8f3e9b04e2
11 changed files with 194 additions and 50 deletions

View File

@@ -48,3 +48,13 @@ LoadBranchArrowsGFX::
.BranchArrowsOAMGFX:
INCBIN "gfx/board/branch_arrows.2bpp"
LoadViewMapModeGFX::
ld de, .ViewMapModeArrowsOAMGFX
ld hl, vTiles0 + VIEW_MAP_MODE_OAM_FIRST_TILE * LEN_2BPP_TILE
lb bc, BANK(.ViewMapModeArrowsOAMGFX), NUM_DIRECTIONS
call Get2bppViaHDMA
ret
.ViewMapModeArrowsOAMGFX:
INCBIN "gfx/board/view_map_arrows.2bpp"