From 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 25 Mar 2021 16:33:05 -0400 Subject: Verify data table and name list sizes with assertion macros Fixes #312 --- constants/move_constants.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'constants/move_constants.asm') 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 -- cgit v1.3.1-sl0p