You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Implement View Map mode [commit 4]: draw arrows OAM and refactor previous commit to support this (#29)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user