summaryrefslogtreecommitdiff
path: root/engine/hp_bar.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-23 15:11:09 -0700
committeryenatch <yenatch@gmail.com>2014-05-23 15:11:09 -0700
commit0dea0cc3fb815aae7d7a5e856aabf9b402d45cd0 (patch)
treed6bf1cd5291e9c0b5598182ceb6a7a67ef202314 /engine/hp_bar.asm
parent15427f532085846ab6b51719be687951a094cb6c (diff)
Comment some bank 0 functions, and add wram labels for Predef.
Diffstat (limited to 'engine/hp_bar.asm')
-rwxr-xr-xengine/hp_bar.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/hp_bar.asm b/engine/hp_bar.asm
index 8ba52247..79416f8a 100755
--- a/engine/hp_bar.asm
+++ b/engine/hp_bar.asm
@@ -1,5 +1,5 @@
UpdateHPBar_LoadRegisters: ; f9dc (3:79dc)
- call Load16BitRegisters
+ call GetPredefRegisters
; calculates bc * 48 / de, the number of pixels the HP bar has
; the result is always at least 1
@@ -72,7 +72,7 @@ UpdateHPBar: ; fa1d (3:7a1d)
ld a, $1
.HPdecrease
ld [wHPBarDelta], a
- call Load16BitRegisters
+ call GetPredefRegisters
ld a, [wHPBarNewHP]
ld e, a
ld a, [wHPBarNewHP+1]