--- /dev/null
+#define THP_ICON 0x33
+#define TMP_ICON 0x37
+
+ ; update the UI
+ ; this should only be called
+ ; during blanking
+ui_draw:
+ ; draw hp string
+ ld hl, STR_HP
+ ld de, SCRN0_UI
+ call puts
+
+ ; draw mp string
+ ld hl, STR_MP
+ ld de, SCRN0_UI+10
+ call puts
+
+ ; draw hp UI
+ ld a, THP_ICON
+ ld hl, SCRN0_UI+SCRN_W
+ ld [hl+], a
+ inc a
+ ld [hl+], a
+ inc a
+ ld [hl+], a
+ inc a
+ ld [hl+], a
+
+ ; draw mp UI
+ ld a, TMP_ICON
+ ld hl, SCRN0_UI+SCRN_W+10
+ ld [hl+], a
+
+ ld a, THP_ICON+1 ; the bar
+
+ ld [hl+], a
+ inc a
+ ld [hl+], a
+ inc a
+ ld [hl+], a
+
+ ret