summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-08 16:20:15 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-10 20:03:46 -0400
commitc086de0c986330b09cd5e9fa384b950107ee4955 (patch)
tree6854c5ea9c5311b677bfbcae0616f0979b754060 /engine
parent6ca82e5c86279258bfd4b21195d4521f26082fd4 (diff)
Use const_skip and const_next macros for brevity
Diffstat (limited to 'engine')
-rw-r--r--engine/items/items.asm2
-rw-r--r--engine/phone/phone.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm
index ef0f10dda..a08f76d31 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 cb11aefde..042fe38f3 100644
--- a/engine/phone/phone.asm
+++ b/engine/phone/phone.asm
@@ -353,7 +353,7 @@ Function90199:
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]