Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/constants/menu_constants.asm
1270 views
1
DEF BAG_ITEM_CAPACITY EQU 20
2
DEF PC_ITEM_CAPACITY EQU 50
3
4
; text box IDs
5
const_def 1
6
const MESSAGE_BOX ; $01
7
const_skip ; $02
8
const MENU_TEMPLATE_03 ; $03 unused
9
const FIELD_MOVE_MON_MENU ; $04
10
const JP_MOCHIMONO_MENU_TEMPLATE ; $05
11
const USE_TOSS_MENU_TEMPLATE ; $06
12
const MENU_TEMPLATE_07 ; $07 unused
13
const JP_SAVE_MESSAGE_MENU_TEMPLATE ; $08
14
const JP_SPEED_OPTIONS_MENU_TEMPLATE ; $09
15
const_skip ; $0a
16
const BATTLE_MENU_TEMPLATE ; $0b
17
const SWITCH_STATS_CANCEL_MENU_TEMPLATE ; $0c
18
const LIST_MENU_BOX ; $0d
19
const BUY_SELL_QUIT_MENU_TEMPLATE ; $0e
20
const MONEY_BOX_TEMPLATE ; $0f
21
const MENU_TEMPLATE_10 ; $10 unused
22
const MON_SPRITE_POPUP ; $11
23
const JP_AH_MENU_TEMPLATE ; $12
24
const MONEY_BOX ; $13
25
const TWO_OPTION_MENU ; $14
26
const BUY_SELL_QUIT_MENU ; $15
27
const_skip ; $16
28
const_skip ; $17
29
const_skip ; $18
30
const_skip ; $19
31
const JP_POKEDEX_MENU_TEMPLATE ; $1a
32
const SAFARI_BATTLE_MENU_TEMPLATE ; $1b
33
34
; two option menu constants
35
; TwoOptionMenuStrings indexes (see data/yes_no_menu_strings.asm)
36
const_def
37
const YES_NO_MENU ; 0
38
const NORTH_WEST_MENU ; 1
39
const SOUTH_EAST_MENU ; 2
40
const WIDE_YES_NO_MENU ; 3
41
const NORTH_EAST_MENU ; 4
42
const TRADE_CANCEL_MENU ; 5
43
const HEAL_CANCEL_MENU ; 6
44
const NO_YES_MENU ; 7
45
DEF NUM_TWO_OPTION_MENUS EQU const_value
46
47
; wTwoOptionMenuID
48
DEF BIT_SECOND_MENU_OPTION_DEFAULT EQU 7
49
50
; menu exit method constants for list menus and the buy/sell/quit menu
51
DEF CHOSE_MENU_ITEM EQU 1 ; pressed A
52
DEF CANCELLED_MENU EQU 2 ; pressed B
53
54
; menu exit method constants for two-option menus
55
DEF CHOSE_FIRST_ITEM EQU 1
56
DEF CHOSE_SECOND_ITEM EQU 2
57
58
; move mon constants
59
const_def
60
const BOX_TO_PARTY ; 0
61
const PARTY_TO_BOX ; 1
62
const DAYCARE_TO_PARTY ; 2
63
const PARTY_TO_DAYCARE ; 3
64
65
; party menu types
66
; PartyMenuMessagePointers indexes (see engine/menus/party_menu.asm)
67
const_def
68
const NORMAL_PARTY_MENU ; $00
69
const USE_ITEM_PARTY_MENU ; $01
70
const BATTLE_PARTY_MENU ; $02
71
const TMHM_PARTY_MENU ; $03
72
const SWAP_MONS_PARTY_MENU ; $04
73
const EVO_STONE_PARTY_MENU ; $05
74
; party menu message IDs
75
; PartyMenuItemUseMessagePointers indexes (see engine/menus/party_menu.asm)
76
const_next $F0
77
DEF FIRST_PARTY_MENU_TEXT_ID EQU const_value
78
const ANTIDOTE_MSG ; $F0
79
const BURN_HEAL_MSG ; $F1
80
const ICE_HEAL_MSG ; $F2
81
const AWAKENING_MSG ; $F3
82
const PARALYZ_HEAL_MSG ; $F4
83
const POTION_MSG ; $F5
84
const FULL_HEAL_MSG ; $F6
85
const REVIVE_MSG ; $F7
86
const RARE_CANDY_MSG ; $F8
87
88
; naming screen types
89
const_def
90
const NAME_PLAYER_SCREEN ; 0
91
const NAME_RIVAL_SCREEN ; 1
92
const NAME_MON_SCREEN ; 2
93
94