summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-25 16:33:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-25 16:44:41 -0400
commit95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch)
tree5a7b79846bd7f07e40310da46b21873774a08ef7 /wram.asm
parente1f6bb53939be34f55e05cbbd19cd758936b3422 (diff)
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm11
1 files changed, 9 insertions, 2 deletions
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::