Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_flowey_alone_Draw_64

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_font(fnt_main)
4
draw_set_color(c_white)
5
draw_set_halign(fa_left)
6
if (letter_array == -1)
7
    return;
8
for (var i = 1; i <= letter_current; i++)
9
{
10
    if (shake == true)
11
    {
12
        text_x_mod = random_range(-0.5, 0.5)
13
        text_y_mod = random_range(-0.5, 0.5)
14
    }
15
    draw_text_ext((text_x[i] + text_x_mod), (text_y[i] + text_y_mod), string_hash_to_newline(letter_array[i]), 20, -1)
16
}