From 6a31663c960a5c1da9dbbf12d49e0252860b96d0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 27 Apr 2021 15:49:59 -0400 Subject: Use {interpolation} to generate sequences of RAM labels Fixes #319 --- engine/battle/misc.asm | 2 +- engine/battle/read_trainer_party.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/battle') diff --git a/engine/battle/misc.asm b/engine/battle/misc.asm index 33af6f6f..524ec161 100644 --- a/engine/battle/misc.asm +++ b/engine/battle/misc.asm @@ -113,7 +113,7 @@ GetMonSpecies: ld hl, wBoxSpecies jr .getSpecies .enemyParty - ld hl, wEnemyPartyMons + ld hl, wEnemyPartySpecies .getSpecies ld d, 0 add hl, de diff --git a/engine/battle/read_trainer_party.asm b/engine/battle/read_trainer_party.asm index a0132a4f..a9e09a30 100644 --- a/engine/battle/read_trainer_party.asm +++ b/engine/battle/read_trainer_party.asm @@ -5,7 +5,7 @@ ReadTrainer: and a ret nz -; set [wEnemyPartyCount] to 0, [wEnemyPartyMons] to FF +; set [wEnemyPartyCount] to 0, [wEnemyPartySpecies] to FF ; XXX first is total enemy pokemon? ; XXX second is species of first pokemon? ld hl, wEnemyPartyCount -- cgit v1.3.1-sl0p