Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_circle_opener_Draw_0

(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 hint_scale = 1.5 + (sin(current_time / 100)) * 0.5
7
    draw_set_font(fnt_battle)
8
    draw_set_color(c_white)
9
    draw_set_halign(fa_center)
10
    draw_set_valign(fa_middle)
11
    draw_set_alpha(hint_alpha)
12
    draw_text_transformed((battle_box.bbox_left - 20), battle_box.y, global.cancel_key, hint_scale, hint_scale, 0)
13
    draw_set_halign(fa_left)
14
    draw_set_valign(fa_top)
15
    draw_set_alpha(1)
16
}