Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_final_Draw_73

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_alpha(white_alpha)
4
draw_set_color(c_white)
5
draw_rectangle(0, 0, 640, 480, false)
6
draw_set_alpha(1)
7
draw_set_alpha(hp_bar_alpha)
8
var hp = global.current_hp_self / global.max_hp_self * 100
9
draw_healthbar(270, 448, 370, 472, hp, c_red, c_yellow, c_yellow, 0, true, false)
10
draw_set_alpha(1)
11
shader_set(sh_yellow)
12
draw_sprite_ext(spr_pl_up, 0, (obj_heart_battle_fighting_yellow_final.x + clover_offset_x), (obj_heart_battle_fighting_yellow_final.y + clover_offset_y), 2, 2, 0, c_white, clover_alpha)
13
shader_reset()
14
shader_set(sh_flash)
15
with (obj_heart_battle_fighting_yellow_final)
16
    draw_sprite_ext(sprite_index, 0, x, y, image_xscale, image_yscale, 0, c_white, other.soul_overlay_alpha)
17
shader_reset()