Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
position = 0;
4
position_array[0] = -1;
5
if (instance_exists(obj_pl))
6
{
7
    obj_pl.state = scr_frozen_state;
8
    if (obj_pl.y > (__view_get(e__VW.YView, 0) + 150))
9
        position = 1;
10
    else
11
        position = 0;
12
}
13
choice = false;
14
ch[1] = "";
15
ch[2] = "";
16
ch[3] = "";
17
ch[4] = "";
18
p = 1;
19
ch_msg = -1;
20
ch_delay = -1;
21
ch_alpha = 1;
22
alpha_fade = false;
23
alpha_fade_out = false;
24
outcome = 0;
25
textWidth = 210;
26
textSep = 16;
27
message_current = 0;
28
message_actual = "";
29
message_actual_col[0] = "";
30
message_reset = false;
31
cutoff = 0;
32
text_speed = 1;
33
counter = 0;
34
message_timer = -1;
35
mT = -1;
36
portrait = true;
37
prt[0] = 0;
38
image_speed = 0.2;
39
message[0] = "";
40
talker[0] = -4;
41
talker_current = 0;
42
message_col[0][0] = "";
43
col_modif[0] = 16711680;
44
col_modif[1] = 255;
45
color = false;
46
color_set = false;
47
sndfnt = 99;
48
sndfnt_array[0] = -4;
49
global.dialogue_open = true;
50
dialogue_is_minishop = false;
51
skippable = true;
52
dialogue_font = 9;
53
portrait_idle_animated = 0;
54
portrait_idle_frame = 0;
55
portrait_can_animate = true;
56
force_skip = false;
57
58
enum e__VW
59
{
60
    XView,
61
    YView,
62
    WView,
63
    HView,
64
    Angle,
65
    HBorder,
66
    VBorder,
67
    HSpeed,
68
    VSpeed,
69
    Object,
70
    Visible,
71
    XPort,
72
    YPort,
73
    WPort,
74
    HPort,
75
    Camera,
76
    SurfaceID
77
}