Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_couch_video_Create_0

(view raw script w/o annotations or w/e)
1
var offset = scr_is_switch_os() ? 0.015 : 0;
2
text_list = [new 
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
It's now time for our feature presentation
"It's now time for our feature presentation", "obj_ch3_couch_video_slash_Create_0_gml_4_0"
), 0.02 + offset, 0.13 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
Coming straight from your house
"Coming straight from your house", "obj_ch3_couch_video_slash_Create_0_gml_6_0"
), 0.22 + offset, 0.27 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
Coming straight from YOUR house
"Coming straight from YOUR house", "obj_ch3_couch_video_slash_Create_0_gml_7_0"
), 0.28 + offset, 0.32 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
He's the One
"He's the One", "obj_ch3_couch_video_slash_Create_0_gml_8_0"
), 0.34 + offset, 0.39 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
He's GROOVY and NEVER glooby!
"He's GROOVY and NEVER glooby!", "obj_ch3_couch_video_slash_Create_0_gml_9_0"
), 0.44 + offset, 0.51 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
You can't get this from an EGG!
"You can't get this from an EGG!", "obj_ch3_couch_video_slash_Create_0_gml_10_0"
), 0.52 + offset, 0.57 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
The sensation of your screen
"The sensation of your screen", "obj_ch3_couch_video_slash_Create_0_gml_11_0"
), 0.58 + offset, 0.62 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
The show that makes you scream
"The show that makes you scream", "obj_ch3_couch_video_slash_Create_0_gml_12_0"
), 0.63 + offset, 0.67 + offset), new
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
(stringsetloc(
Say it with him, folks!
"Say it with him, folks!", "obj_ch3_couch_video_slash_Create_0_gml_13_0"
), 0.68 + offset, 0.73 + offset)];
3
if (global.lang == "ja")
4
{
5
    array_insert(text_list, 1, new 
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
("はぢまるヨ!", 0.17 + offset, 0.21 + offset));
6
    array_insert(text_list, 5, new 
scr_video_caption
scr_video_caption

function
scr_video_caption(arg0, arg1, arg2) constructor
{ caption_text = arg0; time_start = arg1; time_end = arg2; }
("ユイーツ ムニの", 0.4 + offset, 0.43 + offset));
7
}
8
text_index = 0;
9
house_index = (global.lang == "ja") ? 3 : 2;
10
var file_name = (global.lang == "ja") ? "tennaIntroJPf1_compressed_28" : "tennaIntroF1_compressed_28";
11
video_open("vid/" + file_name + ".mp4");
12
video_enable_loop(false);
13
if (!global.is_console)
14
    video_set_volume(0.3);
15
videochromasampler = -4;
16
var _format = video_get_format();
17
if (_format == 1)
18
    videochromasampler = shader_get_sampler_index(shd_video_yuv, "v_chroma");
19
target_duration = 0;
20
if (scr_is_switch_os())
21
    target_duration = 1224;
22
video_position = 0;