Logic to manage PAL_OW_MISC (#3)

This commit is contained in:
xCrystal
2024-01-03 17:24:26 +01:00
parent ce4ca85494
commit 16e7328439
9 changed files with 101 additions and 17 deletions

View File

@@ -74,3 +74,12 @@ DIE_SIZE EQU DIE_WIDTH * DIE_HEIGHT
DIE_NUMBER_WIDTH EQU 2
DIE_NUMBER_HEIGHT EQU 2
DIE_NUMBER_SIZE EQU DIE_NUMBER_WIDTH * DIE_NUMBER_HEIGHT
; PAL_OW_MISC groups (high nybble of wCurOverworldMiscPal)
const_def 0, $10
const PAL_OW_MISC_BOARD_MENU_ITEMS
const PAL_OW_MISC_BOARD_DICE
const PAL_OW_MISC_BOARD_COINS
DEF NUM_PAL_OW_MISC_PAL_GROUPS EQU const_value / $10
PAL_OW_MISC_PAL_GROUP_MASK EQU %11110000