diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 12:15:44 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 12:15:44 -0400 |
commit | a19abb50459f29c895af53c57b477c03d1e0f644 (patch) | |
tree | 5a0bef24e07c39c80ea3690f32af95993b6dccae /engine | |
parent | 61598ad92556072233fa3bae28b07999cabf0c99 (diff) |
Use const_skip and const_next macros for brevity
Diffstat (limited to 'engine')
-rw-r--r-- | engine/items/items.asm | 2 | ||||
-rw-r--r-- | engine/phone/phone.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm index ef0f10dd..a08f76d3 100644 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -570,7 +570,7 @@ GetItemPrice: ; Return the price of wCurItem in de. push hl push bc - ld a, ITEMATTR_PRICE + ld a, ITEMATTR_PRICE_LO call GetItemAttr ld e, a ld a, ITEMATTR_PRICE_HI diff --git a/engine/phone/phone.asm b/engine/phone/phone.asm index 551f1552..2b939033 100644 --- a/engine/phone/phone.asm +++ b/engine/phone/phone.asm @@ -360,7 +360,7 @@ Function901a1: ld hl, PHONE_CONTACT_SCRIPT1_BANK add hl, de ld b, [hl] - ld hl, PHONE_CONTACT_SCRIPT1_ADDR_LO + ld hl, PHONE_CONTACT_SCRIPT1_ADDR add hl, de ld a, [hli] ld h, [hl] |