Use assert to ensure correct base data size

This commit is contained in:
Rangi 2020-11-17 16:14:45 -05:00
parent 97e981985b
commit 145e752266
1 changed files with 2 additions and 0 deletions

View File

@ -283,3 +283,5 @@ INCLUDE "data/pokemon/base_stats/tyranitar.asm"
INCLUDE "data/pokemon/base_stats/lugia.asm"
INCLUDE "data/pokemon/base_stats/ho_oh.asm"
INCLUDE "data/pokemon/base_stats/celebi.asm"
.End:
assert BaseData.End - BaseData == NUM_POKEMON * BASE_DATA_SIZE