summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 22:24:43 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 22:24:43 -0500
commit59ee673775b20b4859842c98b8199991fa55790c (patch)
tree0755adf123e5c24f9e617558d159d176b0977554 /engine
parente29a1f8f948a5353c1ba8d631aa9352185ca6e29 (diff)
Consistent pointer labels in WRAM
Diffstat (limited to 'engine')
-rw-r--r--engine/phone.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/phone.asm b/engine/phone.asm
index 69d685622..9fe3da7a1 100644
--- a/engine/phone.asm
+++ b/engine/phone.asm
@@ -381,11 +381,11 @@ Function90199: ; 90199 (24:4199)
.DoPhoneCall:
ld a, b
- ld [wd002], a
+ ld [PhoneScriptBank], a
ld a, l
- ld [wd003], a
+ ld [PhoneCaller], a
ld a, h
- ld [wd004], a
+ ld [PhoneCaller + 1], a
ld b, BANK(UnknownScript_0x90205)
ld de, UnknownScript_0x90205
call ExecuteCallbackScript
@@ -495,9 +495,9 @@ PhoneCall:: ; 9029a
ld a, b
ld [PhoneScriptBank], a
ld a, e
- ld [PhoneCallerLo], a
+ ld [PhoneCaller], a
ld a, d
- ld [PhoneCallerHi], a
+ ld [PhoneCaller + 1], a
call Phone_FirstOfTwoRings
call Phone_FirstOfTwoRings
callba TrainerRankings_PhoneCalls
@@ -523,9 +523,9 @@ Phone_CallerTextboxWithName2: ; 902c9
inc hl
ld a, [PhoneScriptBank]
ld b, a
- ld a, [PhoneCallerLo]
+ ld a, [PhoneCaller]
ld e, a
- ld a, [PhoneCallerHi]
+ ld a, [PhoneCaller + 1]
ld d, a
call FarPlaceString
ret