diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:33:05 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:44:41 -0400 |
commit | 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch) | |
tree | 5a7b79846bd7f07e40310da46b21873774a08ef7 /data/yes_no_menu_strings.asm | |
parent | e1f6bb53939be34f55e05cbbd19cd758936b3422 (diff) |
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'data/yes_no_menu_strings.asm')
-rw-r--r-- | data/yes_no_menu_strings.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/yes_no_menu_strings.asm b/data/yes_no_menu_strings.asm index db2eeb4c..e6e23279 100644 --- a/data/yes_no_menu_strings.asm +++ b/data/yes_no_menu_strings.asm @@ -5,6 +5,7 @@ ENDM TwoOptionMenuStrings: ; entries correspond to *_MENU constants + table_width 5, TwoOptionMenuStrings ; width, height, blank line before first menu item?, text pointer two_option_menu 4, 3, FALSE, .YesNoMenu two_option_menu 6, 3, FALSE, .NorthWestMenu @@ -14,6 +15,7 @@ TwoOptionMenuStrings: two_option_menu 7, 3, FALSE, .TradeCancelMenu two_option_menu 7, 4, TRUE, .HealCancelMenu two_option_menu 4, 3, FALSE, .NoYesMenu + assert_table_length NUM_TWO_OPTION_MENUS .NoYesMenu: db "NO" |