diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:21 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:21 -0500 |
commit | 205fd1ac81c2d1dcec010c478979bd6159edc72d (patch) | |
tree | 00b70faa84c87265b6ee4e68f0df1fc4946afca2 /engine/items | |
parent | b6ec1cd884e34cd67c18e6faae7054b5b30b6c9e (diff) |
Identify hUILayoutFlags and hPikachuSpriteVRAMOffset
Diffstat (limited to 'engine/items')
-rw-r--r-- | engine/items/item_effects.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 00a575f1..9b584e9b 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -1168,15 +1168,15 @@ ItemUseMedicine: call AddNTimes ; calculate coordinates of HP bar of pokemon that used Softboiled ld a, SFX_HEAL_HP call PlaySoundWaitForCurrent - ldh a, [hFlagsFFFA] + ldh a, [hUILayoutFlags] set 0, a - ldh [hFlagsFFFA], a + ldh [hUILayoutFlags], a ld a, $02 ld [wHPBarType], a predef UpdateHPBar2 ; animate HP bar decrease of pokemon that used Softboiled - ldh a, [hFlagsFFFA] + ldh a, [hUILayoutFlags] res 0, a - ldh [hFlagsFFFA], a + ldh [hUILayoutFlags], a pop af ld b, a ; store heal amount (1/5 of max HP) ld hl, wHPBarOldHP + 1 @@ -1323,15 +1323,15 @@ ItemUseMedicine: jr z, .playStatusAilmentCuringSound ld a, SFX_HEAL_HP call PlaySoundWaitForCurrent - ldh a, [hFlagsFFFA] + ldh a, [hUILayoutFlags] set 0, a - ldh [hFlagsFFFA], a + ldh [hUILayoutFlags], a ld a, $02 ld [wHPBarType], a predef UpdateHPBar2 ; animate the HP bar lengthening - ldh a, [hFlagsFFFA] + ldh a, [hUILayoutFlags] res 0, a - ldh [hFlagsFFFA], a + ldh [hUILayoutFlags], a ld a, REVIVE_MSG ld [wPartyMenuTypeOrMessageID], a ld a, [wcf91] |