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/learn_move.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/pokemon/learn_move.asm') diff --git a/engine/pokemon/learn_move.asm b/engine/pokemon/learn_move.asm index 4deb3f0b..fd92ec57 100644 --- a/engine/pokemon/learn_move.asm +++ b/engine/pokemon/learn_move.asm @@ -44,7 +44,7 @@ DontAbandonLearning: push de dec a ld hl, Moves - ld bc, MoveEnd - Moves + ld bc, MOVE_LENGTH call AddNTimes ld de, wBuffer ld a, BANK(Moves) -- cgit v1.3.1-sl0p