mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
11d67567d2
Added a bunch of constants for the bitflags of each kind of menu. Some are slightly vague or too long, but I'm not sure how to else name them.
34 lines
1.3 KiB
NASM
34 lines
1.3 KiB
NASM
; MenuDataHeader flags
|
|
const_def
|
|
shift_const MENU_RESTORE_TILES ; Will be set if MENU_BACKUP_TILES(_2) is set.
|
|
shift_const MENU_UNUSED_1
|
|
shift_const MENU_UNUSED_2
|
|
shift_const MENU_NO_CLICK_SFX
|
|
shift_const MENU_SPRITE_ANIMS
|
|
shift_const MENU_UNUSED_3
|
|
shift_const MENU_BACKUP_TILES
|
|
shift_const MENU_BACKUP_TILES_2
|
|
|
|
; VerticalMenu/DoNthMenu/SetUpMenu/_2DMenu MenuDataHeader2 flags
|
|
; Per flag the comment specifies which menus actually implement it
|
|
const_def
|
|
shift_const STATICMENU_DISABLE_B ; VerticalMenu/_2DMenu
|
|
shift_const STATICMENU_ENABLE_SELECT ; VerticalMenu/_2DMenu
|
|
shift_const STATICMENU_ENABLE_LEFT_RIGHT ; DoNthMenu/SetUpMenu
|
|
shift_const STATICMENU_ENABLE_START ; DoNthMenu/SetUpMenu
|
|
shift_const STATICMENU_PLACE_TITLE ; VerticalMenu
|
|
shift_const STATICMENU_WRAP ; All
|
|
shift_const STATICMENU_NO_TOP_SPACING ; VerticalMenu/_2DMenu
|
|
shift_const STATICMENU_CURSOR ; VerticalMenu/_2DMenu
|
|
|
|
; ScrollingMenu MenuDataHeader2 flags
|
|
const_def
|
|
shift_const SCROLLINGMENU_CALL_FUNCTION1_CANCEL
|
|
shift_const SCROLLINGMENU_CALL_FUNCTION3_NO_SWITCH
|
|
shift_const SCROLLINGMENU_ENABLE_LEFT
|
|
shift_const SCROLLINGMENU_ENABLE_RIGHT
|
|
shift_const SCROLLINGMENU_DISPLAY_ARROWS
|
|
shift_const SCROLLINGMENU_ENABLE_FUNCTION3
|
|
shift_const SCROLLINGMENU_ENABLE_START
|
|
shift_const SCROLLINGMENU_ENABLE_SELECT
|