summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-02-07 16:24:16 -0800
committerYamaArashi <shadow962@live.com>2015-02-07 16:24:16 -0800
commit4fd7a42b235b68ffc11d4f02305b695c2ed05549 (patch)
treede8727d33beb886cb451a8d5e693ee46aafde55d /engine/items
parent72265ab92abd235c2af6d26ae76dd0dcaecfd6ac (diff)
commented battle stuff
Diffstat (limited to 'engine/items')
-rwxr-xr-xengine/items/items.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm
index 05f77175..99c97fef 100755
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -919,15 +919,15 @@ ItemUseMedicine: ; dabb (3:5abb)
call AddNTimes ; calculate coordinates of HP bar of pokemon that used Softboiled
ld a,(SFX_02_3d - SFX_Headers_02) / 3
call PlaySoundWaitForCurrent ; play sound
- ld a,[$fff6]
+ ld a,[hFlags_0xFFF6]
set 0,a
- ld [$fff6],a
+ ld [hFlags_0xFFF6],a
ld a,$02
ld [wListMenuID],a
predef UpdateHPBar2 ; animate HP bar decrease of pokemon that used Softboiled
- ld a,[$fff6]
+ ld a,[hFlags_0xFFF6]
res 0,a
- ld [$fff6],a
+ ld [hFlags_0xFFF6],a
pop af
ld b,a ; store heal amount (1/5 of max HP)
ld hl,wHPBarOldHP + 1
@@ -1069,15 +1069,15 @@ ItemUseMedicine: ; dabb (3:5abb)
jr z,.playStatusAilmentCuringSound
ld a,(SFX_02_3d - SFX_Headers_02) / 3 ; HP healing sound
call PlaySoundWaitForCurrent ; play sound
- ld a,[$fff6]
+ ld a,[hFlags_0xFFF6]
set 0,a
- ld [$fff6],a
+ ld [hFlags_0xFFF6],a
ld a,$02
ld [wListMenuID],a
predef UpdateHPBar2 ; animate the HP bar lengthening
- ld a,[$fff6]
+ ld a,[hFlags_0xFFF6]
res 0,a
- ld [$fff6],a
+ ld [hFlags_0xFFF6],a
ld a,$f7 ; revived message
ld [wd07d],a
ld a,[wcf91]