diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-22 17:15:21 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-22 17:17:08 -0400 |
commit | 94057c7726995b0da484a39c22497876b7c22997 (patch) | |
tree | 4eb89c1047a1aea1806b52763f05ba2846be0676 /constants | |
parent | dbe2360ecd3eb11fd144168427e1323f5e1b2ec2 (diff) |
Verify uneven list sizes with list_start, li, and assert_list_length macros
This was discussed in #815
Diffstat (limited to 'constants')
-rw-r--r-- | constants/deco_constants.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/constants/deco_constants.asm b/constants/deco_constants.asm index 27fa09f2c..8ed1b2934 100644 --- a/constants/deco_constants.asm +++ b/constants/deco_constants.asm @@ -18,7 +18,8 @@ DECOATTR_STRUCT_LENGTH EQU _RS NUM_DECO_TYPES EQU const_value - 1 ; DecorationNames indexes (see data/decorations/names.asm) - const_def 1 + const_def + const CANCEL_DECO const PUT_IT_AWAY const MAGNAPLANT const TROPICPLANT @@ -44,6 +45,7 @@ NUM_DECO_TYPES EQU const_value - 1 const BLUE_CARPET const YELLOW_CARPET const GREEN_CARPET +NUM_DECO_NAMES EQU const_value ; DoDecorationAction2.DecoActions indexes (see engine/overworld/decorations.asm) const_def 1 |