diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:33:05 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:44:41 -0400 |
commit | 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch) | |
tree | 5a7b79846bd7f07e40310da46b21873774a08ef7 /engine/battle/trainer_ai.asm | |
parent | e1f6bb53939be34f55e05cbbd19cd758936b3422 (diff) |
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'engine/battle/trainer_ai.asm')
-rw-r--r-- | engine/battle/trainer_ai.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/trainer_ai.asm b/engine/battle/trainer_ai.asm index d70f98a1..0117a057 100644 --- a/engine/battle/trainer_ai.asm +++ b/engine/battle/trainer_ai.asm @@ -264,7 +264,7 @@ ReadMove: push bc dec a ld hl, Moves - ld bc, MoveEnd - Moves + ld bc, MOVE_LENGTH call AddNTimes ld de, wEnemyMoveNum call CopyData |