aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/item_effects.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:30:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:30:10 -0400
commit13129459f11e73df8c556f0c02cd4fca7266a346 (patch)
treef0157c5ba3e66a48eba01fef6ce7283f1dece57a /engine/items/item_effects.asm
parentUse HIGH() and LOW() (diff)
downloadpokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.tar.gz
pokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.tar.xz
pokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.zip
Sync coordinate macros with pokecrystal
Diffstat (limited to 'engine/items/item_effects.asm')
-rwxr-xr-xengine/items/item_effects.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index b2901615..b04f11fb 100755
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -1044,7 +1044,7 @@ ItemUseMedicine:
sbc b
ld [hl], a
ld [wHPBarNewHP+1], a
- coord hl, 4, 1
+ hlcoord 4, 1
ld a, [wWhichPokemon]
ld bc, 2 * SCREEN_WIDTH
call AddNTimes ; calculate coordinates of HP bar of pokemon that used Softboiled
@@ -2221,7 +2221,7 @@ ItemUseTMHM:
call PrintText
ld hl, TeachMachineMoveText
call PrintText
- coord hl, 14, 7
+ hlcoord 14, 7
lb bc, 8, 15
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
@@ -2607,7 +2607,7 @@ TossItem_::
call CopyStringToCF4B ; copy name to wcf4b
ld hl, IsItOKToTossItemText
call PrintText
- coord hl, 14, 7
+ hlcoord 14, 7
lb bc, 8, 15
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a