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

@@ -120,3 +120,10 @@ BranchArrowsOAM:
dbsprite 7, 10, 4, 0, BRANCH_ARROWS_OAM_FIRST_TILE + 1, PAL_OW_RED ; left
dbsprite 9, 8, 4, 0, BRANCH_ARROWS_OAM_FIRST_TILE + 2, PAL_OW_RED ; up
dbsprite 9, 12, 4, 0, BRANCH_ARROWS_OAM_FIRST_TILE + 3, PAL_OW_RED ; down
ViewMapModeArrowsOAM:
; the PAL_ argument is unused (actual palette comes from the player gender)
dbsprite 10, 18, 4, 4, VIEW_MAP_MODE_OAM_FIRST_TILE + 3, PAL_OW_RED ; down
dbsprite 10, 2, 4, 4, VIEW_MAP_MODE_OAM_FIRST_TILE + 2, PAL_OW_RED ; up
dbsprite 1, 10, 4, 0, VIEW_MAP_MODE_OAM_FIRST_TILE + 1, PAL_OW_RED ; left
dbsprite 19, 10, 4, 0, VIEW_MAP_MODE_OAM_FIRST_TILE, PAL_OW_RED ; right