Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_fmartlet_spawner_opener_2_Draw_73

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (hint_draw == true)
4
{
5
    var battle_box = obj_dialogue_box_battle_transformation_any
6
    var soul = obj_heart_battle_fighting_parent
7
    var hint_scale = 1.5 + (sin(current_time / 100)) * 0.5
8
    draw_set_font(fnt_battle)
9
    draw_set_color(c_white)
10
    draw_set_halign(fa_center)
11
    draw_set_valign(fa_middle)
12
    draw_set_alpha(hint_alpha)
13
    draw_text_transformed((battle_box.bbox_left - 20), soul.y, global.cancel_key, hint_scale, hint_scale, 0)
14
    draw_set_halign(fa_left)
15
    draw_set_valign(fa_top)
16
    draw_set_alpha(1)
17
}