Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_ow_controller_Draw_64

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var xx = 140
4
var xx2 = 180
5
var yy = 220
6
var yy2 = 230
7
var hp_current = global.current_hp_self / global.max_hp_self
8
draw_set_color(c_black)
9
draw_set_alpha(gui_alpha)
10
draw_set_color(c_white)
11
draw_rectangle((xx - 2), (yy - 2), (xx2 + 2), (yy2 + 2), false)
12
draw_healthbar(xx, yy, xx2, yy2, (hp_current * 100), c_red, c_yellow, c_yellow, 0, true, false)
13
draw_set_alpha(1)