2018-01-23 13:08:43 -08:00
|
|
|
; MenuHeader flags
|
2018-01-14 02:59:56 -08:00
|
|
|
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
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
; VerticalMenu/DoNthMenu/SetUpMenu/_2DMenu MenuData flags
|
2018-01-14 02:59:56 -08:00
|
|
|
; 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
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
; ScrollingMenu MenuData flags
|
2018-01-14 02:59:56 -08:00
|
|
|
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
|
2018-01-23 07:46:26 -08:00
|
|
|
|
|
|
|
; MonMenuOptions indexes (see data/mon_menu.asm)
|
2018-04-01 08:01:51 -07:00
|
|
|
; used by PokemonActionSubmenu (see engine/menus/start_menu.asm)
|
2018-01-31 08:38:45 -08:00
|
|
|
const_def 1
|
|
|
|
; moves
|
2018-01-23 07:46:26 -08:00
|
|
|
const MONMENUITEM_CUT ; 1
|
|
|
|
const MONMENUITEM_FLY ; 2
|
|
|
|
const MONMENUITEM_SURF ; 3
|
|
|
|
const MONMENUITEM_STRENGTH ; 4
|
|
|
|
const MONMENUITEM_WATERFALL ; 5
|
|
|
|
const MONMENUITEM_FLASH ; 6
|
|
|
|
const MONMENUITEM_WHIRLPOOL ; 7
|
|
|
|
const MONMENUITEM_DIG ; 8
|
|
|
|
const MONMENUITEM_TELEPORT ; 9
|
|
|
|
const MONMENUITEM_SOFTBOILED ; 10
|
|
|
|
const MONMENUITEM_HEADBUTT ; 11
|
|
|
|
const MONMENUITEM_ROCKSMASH ; 12
|
|
|
|
const MONMENUITEM_MILKDRINK ; 13
|
|
|
|
const MONMENUITEM_SWEETSCENT ; 14
|
2018-01-31 08:38:45 -08:00
|
|
|
; options
|
2018-01-23 07:46:26 -08:00
|
|
|
const MONMENUITEM_STATS ; 15
|
|
|
|
const MONMENUITEM_SWITCH ; 16
|
|
|
|
const MONMENUITEM_ITEM ; 17
|
|
|
|
const MONMENUITEM_CANCEL ; 18
|
|
|
|
const MONMENUITEM_MOVE ; 19
|
|
|
|
const MONMENUITEM_MAIL ; 20
|
|
|
|
const MONMENUITEM_ERROR ; 21
|
|
|
|
|
|
|
|
; MonMenuOptions categories
|
|
|
|
MONMENU_FIELD_MOVE EQU 0
|
|
|
|
MONMENU_MENUOPTION EQU 1
|
|
|
|
|
|
|
|
NUM_MONMENU_ITEMS EQU 8
|
2018-01-25 14:30:13 -08:00
|
|
|
|
|
|
|
; start/select menu return values
|
|
|
|
HMENURETURN_SCRIPT EQU %10000000
|
|
|
|
HMENURETURN_ASM EQU %11111111
|
2018-01-25 19:19:24 -08:00
|
|
|
|
|
|
|
; PartyMenuQualityPointers indexes (see data/party_menu_qualities.asm)
|
|
|
|
const_def
|
|
|
|
const PARTYMENUACTION_CHOOSE_POKEMON
|
|
|
|
const PARTYMENUACTION_HEALING_ITEM
|
|
|
|
const PARTYMENUACTION_SWITCH
|
|
|
|
const PARTYMENUACTION_TEACH_TMHM
|
|
|
|
const PARTYMENUACTION_MOVE
|
|
|
|
const PARTYMENUACTION_EVO_STONE
|
|
|
|
const PARTYMENUACTION_GIVE_MON
|
|
|
|
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
|
|
|
|
const PARTYMENUACTION_GIVE_ITEM
|
|
|
|
const PARTYMENUACTION_MOBILE ; mobile
|
2018-04-01 08:01:51 -07:00
|
|
|
; PrintPartyMenuActionText arguments (see engine/pokemon/party_menu.asm)
|
2018-01-31 08:38:45 -08:00
|
|
|
const_def $f0
|
2018-01-25 19:19:24 -08:00
|
|
|
const PARTYMENUTEXT_HEAL_PSN
|
|
|
|
const PARTYMENUTEXT_HEAL_BRN
|
|
|
|
const PARTYMENUTEXT_HEAL_FRZ
|
|
|
|
const PARTYMENUTEXT_HEAL_SLP
|
|
|
|
const PARTYMENUTEXT_HEAL_PAR
|
|
|
|
const PARTYMENUTEXT_HEAL_HP
|
|
|
|
const PARTYMENUTEXT_HEAL_ALL
|
|
|
|
const PARTYMENUTEXT_REVIVE
|
|
|
|
const PARTYMENUTEXT_LEVEL_UP
|
|
|
|
const PARTYMENUTEXT_HEAL_CONFUSION
|