-
Notifications
You must be signed in to change notification settings - Fork 205
/
mon_menu.asm
48 lines (46 loc) · 1.78 KB
/
mon_menu.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
; 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
NUM_MONMENUVALUES EQU const_value - 1
MonMenuOptionStrings:
list_start MonMenuOptionStrings
li "Stats"
li "Switch"
li "Item"
li "Cancel"
li "Moves"
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_FRESHSNACK, FRESH_SNACK
db MONMENU_FIELD_MOVE, MONMENUITEM_HEADBUTT, HEADBUTT
db MONMENU_FIELD_MOVE, MONMENUITEM_ROCKSMASH, ROCK_SMASH
; 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