summaryrefslogtreecommitdiff
path: root/constants/menu_constants.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2021-03-08 07:01:30 -0800
committerGitHub <noreply@github.com>2021-03-08 07:01:30 -0800
commitf9431c6aab479601ee0229a109154fa4f8b8b889 (patch)
tree39a5c61fd37951b562c35db534d16146d531a7e5 /constants/menu_constants.asm
parentfb3e541e86ac6c95ad027d9c5dac055f00643aa7 (diff)
parente950809640f81c5d621c39becc4dcce15a82c064 (diff)
Merge pull request #69 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
Diffstat (limited to 'constants/menu_constants.asm')
-rw-r--r--constants/menu_constants.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/constants/menu_constants.asm b/constants/menu_constants.asm
index 69d3af36..6d7d9f85 100644
--- a/constants/menu_constants.asm
+++ b/constants/menu_constants.asm
@@ -63,6 +63,7 @@
const MONMENUITEM_MOVE ; 19
const MONMENUITEM_MAIL ; 20
const MONMENUITEM_ERROR ; 21
+NUM_MONMENUITEMS EQU const_value - 1
; MonMenuOptions categories
MONMENU_FIELD_MOVE EQU 0
@@ -85,6 +86,7 @@ HMENURETURN_ASM EQU %11111111
const PARTYMENUACTION_GIVE_MON
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
const PARTYMENUACTION_GIVE_ITEM
+NUM_PARTYMENUACTIONS EQU const_value
; PrintPartyMenuActionText arguments (see engine/pokemon/party_menu.asm)
const_next $f0
const PARTYMENUTEXT_HEAL_PSN