diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-09-09 15:09:51 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-09-09 15:09:51 -0400 |
| commit | ae022e1420ee16032cb7afb1a365bc32fc2a2c9b (patch) | |
| tree | 871e3f210173548fc3b87325b47535efe13b54c0 /engine/phone | |
| parent | 84cfbc70fac02032d1608f89e9f551ab3d987315 (diff) | |
Curr -> Cur
Diffstat (limited to 'engine/phone')
| -rw-r--r-- | engine/phone/phone.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/phone/phone.asm b/engine/phone/phone.asm index 39962bed2..f5fc0b610 100644 --- a/engine/phone/phone.asm +++ b/engine/phone/phone.asm @@ -321,7 +321,7 @@ Function90199: jr nz, .OutOfArea ; If the person can't take a call at that time, don't do the call ld a, b - ld [wCurrentCaller], a + ld [wCurCaller], a ld hl, PhoneContacts ld bc, PHONE_TABLE_WIDTH call AddNTimes @@ -389,7 +389,7 @@ LoadCallerScript: nop nop ld a, e - ld [wCurrentCaller], a + ld [wCurCaller], a and a jr nz, .actualcaller ld a, BANK(WrongNumber) @@ -463,7 +463,7 @@ RingTwice_StartCall: ret Phone_CallerTextboxWithName: - ld a, [wCurrentCaller] + ld a, [wCurCaller] ld b, a call Function90363 ret @@ -680,12 +680,12 @@ Phone_GetTrainerClassName: ret GetCallerLocation: - ld a, [wCurrentCaller] + ld a, [wCurCaller] call GetCallerTrainerClass ld d, c ld e, b push de - ld a, [wCurrentCaller] + ld a, [wCurCaller] ld hl, PhoneContacts + PHONE_CONTACT_MAP_GROUP ld bc, PHONE_TABLE_WIDTH call AddNTimes |
