aboutsummaryrefslogtreecommitdiffstats
path: root/engine/link
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-18 21:41:58 -0400
committerGitHub <noreply@github.com>2024-09-18 21:41:58 -0400
commit5a622f628de6908210091a05956b0d8ce3620237 (patch)
tree9cc32420b50f09531c58f4c5019ef167e133b95c /engine/link
parentSplit `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462) (diff)
downloadpokeyellow-5a622f628de6908210091a05956b0d8ce3620237.tar.gz
pokeyellow-5a622f628de6908210091a05956b0d8ce3620237.tar.xz
pokeyellow-5a622f628de6908210091a05956b0d8ce3620237.zip
Identify remaining uses of `wd0b5` and `wd11e` (#463)
Diffstat (limited to 'engine/link')
-rw-r--r--engine/link/cable_club.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/link/cable_club.asm b/engine/link/cable_club.asm
index 4ade66e3..cbb8a358 100644
--- a/engine/link/cable_club.asm
+++ b/engine/link/cable_club.asm
@@ -660,7 +660,7 @@ TradeCenter_PrintPartyListNames:
ld a, [de]
cp $ff
ret z
- ld [wd11e], a
+ ld [wNamedObjectIndex], a
push bc
push hl
push de
@@ -697,7 +697,7 @@ TradeCenter_Trade:
ld b, 0
add hl, bc
ld a, [hl]
- ld [wd11e], a
+ ld [wNamedObjectIndex], a
call GetMonName
ld hl, wNameBuffer
ld de, wNameOfPlayerMonToBeTraded
@@ -709,7 +709,7 @@ TradeCenter_Trade:
ld b, 0
add hl, bc
ld a, [hl]
- ld [wd11e], a
+ ld [wNamedObjectIndex], a
call GetMonName
ld hl, WillBeTradedText
bccoord 1, 14