mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Consolidate coord macros
This commit is contained in:
parent
0ad1153f16
commit
148d3f3cf2
58 changed files with 528 additions and 539 deletions
|
|
@ -913,7 +913,7 @@ ItemUseMedicine: ; dabb (3:5abb)
|
|||
sbc b
|
||||
ld [hl],a
|
||||
ld [wHPBarNewHP+1],a
|
||||
hlCoord 4, 1
|
||||
coord hl, 4, 1
|
||||
ld a,[wWhichPokemon]
|
||||
ld bc,2 * 20
|
||||
call AddNTimes ; calculate coordinates of HP bar of pokemon that used Softboiled
|
||||
|
|
@ -2095,7 +2095,7 @@ ItemUseTMHM: ; e479 (3:6479)
|
|||
call PrintText
|
||||
ld hl,TeachMachineMoveText
|
||||
call PrintText
|
||||
hlCoord 14, 7
|
||||
coord hl, 14, 7
|
||||
ld bc,$080f
|
||||
ld a,TWO_OPTION_MENU
|
||||
ld [wTextBoxID],a
|
||||
|
|
@ -2486,7 +2486,7 @@ TossItem_: ; e6f1 (3:66f1)
|
|||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
ld hl,IsItOKToTossItemText
|
||||
call PrintText
|
||||
hlCoord 14, 7
|
||||
coord hl, 14, 7
|
||||
ld bc,$080f
|
||||
ld a,TWO_OPTION_MENU
|
||||
ld [wTextBoxID],a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue