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 --- wram.asm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'wram.asm') diff --git a/wram.asm b/wram.asm index 3b1052d9..26f6f053 100644 --- a/wram.asm +++ b/wram.asm @@ -703,7 +703,10 @@ wPlayerMonAccuracyMod:: wPlayerMonEvasionMod:: ds 1 - ds 3 + ds 2 +wPlayerMonStatModsEnd:: + + ds 1 wEnemyMonUnmodifiedLevel:: ds 1 @@ -748,7 +751,10 @@ wEnemyMonEvasionMod:: wInGameTradeReceiveMonSpecies:: ds 1 - ds 2 + ds 1 +wEnemyMonStatModsEnd:: + + ds 1 wNPCMovementDirections2Index:: @@ -1997,6 +2003,7 @@ wMonHGrowthRate:: wMonHLearnset:: ; bit field flag_array NUM_TMS + NUM_HMS + ds 1 wMonHeaderEnd:: -- cgit v1.3.1-sl0p