diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-03 19:53:07 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-03 19:53:07 -0500 |
| commit | c88c4a834094e91f1505eab0e22294963e1dd987 (patch) | |
| tree | ddfc0116b06e1327cf206abf5ed16e79e159fdb4 /engine/phone | |
| parent | 826e070f0443b50ff31a49b4faf7c66577f1e26e (diff) | |
Identify more uses of wBuffer1-6
Diffstat (limited to 'engine/phone')
| -rw-r--r-- | engine/phone/phone.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/phone/phone.asm b/engine/phone/phone.asm index 5b808cf67..08ef07280 100644 --- a/engine/phone/phone.asm +++ b/engine/phone/phone.asm @@ -62,7 +62,7 @@ Phone_FindOpenSlot: GetRemainingSpaceInPhoneList: xor a - ld [wBuffer1], a + ld [wRegisteredPhoneNumbers], a ld hl, PermanentNumbers .loop ld a, [hli] @@ -76,7 +76,7 @@ GetRemainingSpaceInPhoneList: ld c, a call _CheckCellNum jr c, .permanent - ld hl, wBuffer1 + ld hl, wRegisteredPhoneNumbers inc [hl] .permanent pop hl @@ -87,7 +87,7 @@ GetRemainingSpaceInPhoneList: .done ld a, CONTACT_LIST_SIZE - ld hl, wBuffer1 + ld hl, wRegisteredPhoneNumbers sub [hl] ret |
