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 --- engine/pokemon/add_mon.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/pokemon/add_mon.asm') diff --git a/engine/pokemon/add_mon.asm b/engine/pokemon/add_mon.asm index c49a0a77..46a8b2b9 100644 --- a/engine/pokemon/add_mon.asm +++ b/engine/pokemon/add_mon.asm @@ -259,7 +259,7 @@ AddPartyMon_WriteMovePP: push de push bc ld hl, Moves - ld bc, MoveEnd - Moves + ld bc, MOVE_LENGTH call AddNTimes ld de, wcd6d ld a, BANK(Moves) -- cgit v1.3.1-sl0p