summaryrefslogtreecommitdiff
path: root/engine/link
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-04-27 15:49:59 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-04-27 15:49:59 -0400
commit6a31663c960a5c1da9dbbf12d49e0252860b96d0 (patch)
tree74c333d90fda4297a40748ddf0dd11771feb0832 /engine/link
parentbcc4380d40767983a0b253d486bb3c82f0f1fd07 (diff)
Use {interpolation} to generate sequences of RAM labels
Fixes #319
Diffstat (limited to 'engine/link')
-rw-r--r--engine/link/cable_club.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/link/cable_club.asm b/engine/link/cable_club.asm
index b6389fe3..f3bf3b5d 100644
--- a/engine/link/cable_club.asm
+++ b/engine/link/cable_club.asm
@@ -648,7 +648,7 @@ TradeCenter_DrawPartyLists:
ld de, wPartySpecies
call TradeCenter_PrintPartyListNames
hlcoord 2, 9
- ld de, wEnemyPartyMons
+ ld de, wEnemyPartySpecies
; fall through
TradeCenter_PrintPartyListNames:
@@ -701,7 +701,7 @@ TradeCenter_Trade:
ld bc, NAME_LENGTH
call CopyData
ld a, [wTradingWhichEnemyMon]
- ld hl, wEnemyPartyMons
+ ld hl, wEnemyPartySpecies
ld c, a
ld b, 0
add hl, bc
@@ -798,7 +798,7 @@ TradeCenter_Trade:
ld a, [wTradingWhichEnemyMon]
ld c, a
ld [wWhichPokemon], a
- ld hl, wEnemyPartyMons
+ ld hl, wEnemyPartySpecies
ld d, 0
ld e, a
add hl, de
@@ -818,7 +818,7 @@ TradeCenter_Trade:
ld a, $1
ld [wForceEvolution], a
ld a, [wTradingWhichEnemyMon]
- ld hl, wEnemyPartyMons
+ ld hl, wEnemyPartySpecies
ld b, 0
ld c, a
add hl, bc