Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_battle_Create_0

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