Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_PGS01B_convo_Create_0

(view raw script w/o annotations or w/e)
1
auto_talk = false;
2
convo_index = 0;
3
if (room == room_dw_couch_overworld_03)
4
    convo_index = 2;
5
if (room == room_dw_couch_overworld_04)
6
    convo_index = 3;
7
if (room == room_dw_couch_overworld_05)
8
    convo_index = 5;
9
parallel_active = true;
10
start_convo = false;
11
talk_timer = 0;
12
convo_queue = 0;
13
marker_index = 0;
14
check_point = true;
15
current_convo = -1;
16
current_line_index = 0;
17
var markers = layer_get_all_elements("DIALOGUE_MARKERS");
18
for (var i = 0; i < array_length(markers); i++)
19
{
20
    if (layer_get_element_type(markers[i]) == 4)
21
        dialogue_marker[i] = new Vector2(layer_sprite_get_x(markers[i]), layer_sprite_get_y(markers[i]));
22
}
23
layer_set_visible("DIALOGUE_MARKERS", 0);
24
instance_create(0, 0, obj_ch3_PGS01B_slide_check);