From 0dea0cc3fb815aae7d7a5e856aabf9b402d45cd0 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 23 May 2014 15:11:09 -0700 Subject: Comment some bank 0 functions, and add wram labels for Predef. --- engine/hp_bar.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/hp_bar.asm') 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] -- cgit v1.3.1-sl0p