ref: 3648afda1694fcb4d6fe6625b14f5a3f8bc29c38
dir: /data/mon_menu.asm/
; MonMenuOptionStrings indexes const_def 1 const MONMENUVALUE_STATS ; 1 const MONMENUVALUE_SWITCH ; 2 const MONMENUVALUE_ITEM ; 3 const MONMENUVALUE_CANCEL ; 4 const MONMENUVALUE_MOVE ; 5 const MONMENUVALUE_MAIL ; 6 const MONMENUVALUE_ERROR ; 7 DEF NUM_MONMENUVALUES EQU const_value - 1 MonMenuOptionStrings: ; entries correspond to MONMENUVALUE_* constants list_start MonMenuOptionStrings li "STATS" li "SWITCH" li "ITEM" li "CANCEL" li "MOVE" li "MAIL" li "ERROR!" assert_list_length NUM_MONMENUVALUES MonMenuOptions: ; category, item, value; actions are in PokemonActionSubmenu (see engine/pokemon/mon_menu.asm) table_width 3, MonMenuOptions ; moves db MONMENU_FIELD_MOVE, MONMENUITEM_CUT, CUT db MONMENU_FIELD_MOVE, MONMENUITEM_FLY, FLY db MONMENU_FIELD_MOVE, MONMENUITEM_SURF, SURF db MONMENU_FIELD_MOVE, MONMENUITEM_STRENGTH, STRENGTH db MONMENU_FIELD_MOVE, MONMENUITEM_FLASH, FLASH db MONMENU_FIELD_MOVE, MONMENUITEM_WATERFALL, WATERFALL db MONMENU_FIELD_MOVE, MONMENUITEM_WHIRLPOOL, WHIRLPOOL db MONMENU_FIELD_MOVE, MONMENUITEM_DIG, DIG db MONMENU_FIELD_MOVE, MONMENUITEM_TELEPORT, TELEPORT db MONMENU_FIELD_MOVE, MONMENUITEM_SOFTBOILED, SOFTBOILED db MONMENU_FIELD_MOVE, MONMENUITEM_HEADBUTT, HEADBUTT db MONMENU_FIELD_MOVE, MONMENUITEM_ROCKSMASH, ROCK_SMASH db MONMENU_FIELD_MOVE, MONMENUITEM_MILKDRINK, MILK_DRINK db MONMENU_FIELD_MOVE, MONMENUITEM_SWEETSCENT, SWEET_SCENT ; options db MONMENU_MENUOPTION, MONMENUITEM_STATS, MONMENUVALUE_STATS db MONMENU_MENUOPTION, MONMENUITEM_SWITCH, MONMENUVALUE_SWITCH db MONMENU_MENUOPTION, MONMENUITEM_ITEM, MONMENUVALUE_ITEM db MONMENU_MENUOPTION, MONMENUITEM_CANCEL, MONMENUVALUE_CANCEL db MONMENU_MENUOPTION, MONMENUITEM_MOVE, MONMENUVALUE_MOVE db MONMENU_MENUOPTION, MONMENUITEM_MAIL, MONMENUVALUE_MAIL db MONMENU_MENUOPTION, MONMENUITEM_ERROR, MONMENUVALUE_ERROR assert_table_length NUM_MONMENUITEMS db -1 ; end