Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_special_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
letter_array = -1
4
letter_current = 1
5
letter_waiter = 0
6
line_current = 0
7
letter_speed = 1
8
sndfnt = 391
9
message[0] = ""
10
message_current = 0
11
message_advance = false
12
position = 0
13
if instance_exists(obj_pl)
14
{
15
    obj_pl.state = gml_Script_scr_frozen_state
16
    if (obj_pl.y > ((__view_get((1 << 0), 0)) + 150))
17
        position = 1
18
    else
19
        position = 0
20
}
21
can_skip = false
22
can_draw = false
23
text_x[1] = 30
24
text_col = 16777215
25
text_x_mod = 0
26
text_y_mod = 0
27
mode = "swirl"
28
swirl_deg = 360
29
skippable = true
30
alarm[1] = 1
alarm[1]

can_draw = true if (position == 0) text_y[1] = 170 else text_y[1] = 15
31
global.dialogue_open = true
32
draw_set_font(fnt_main)
33
str_width = string_width("w")