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 /constants/move_constants.asm | |
| parent | Remove unused _GREEN TitleMons data (diff) | |
| download | pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.gz pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.xz pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.zip | |
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'constants/move_constants.asm')
| -rw-r--r-- | constants/move_constants.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/constants/move_constants.asm b/constants/move_constants.asm index ecc28078..52c44210 100644 --- a/constants/move_constants.asm +++ b/constants/move_constants.asm @@ -170,10 +170,8 @@ const SUPER_FANG ; a2 const SLASH ; a3 const SUBSTITUTE ; a4 - -NUM_ATTACKS EQU const_value - 1 - const STRUGGLE ; a5 +NUM_ATTACKS EQU const_value - 1 ; Moves do double duty as animation identifiers. @@ -214,3 +212,5 @@ NUM_ATTACKS EQU const_value - 1 const HIDEPIC_ANIM ; monster disappears const ROCK_ANIM ; throw rock const BAIT_ANIM ; throw bait + +NUM_ATTACK_ANIMS EQU const_value - 1 |
