Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_chapter_continue_Create_0

(view raw script w/o annotations or w/e)
1
var chapter = string(global.chapter);
2
var next_chapter = string(global.chapter + 1);
3
choice_text[0] = (global.lang == "en") ? stringsetsub("Continue to Chapter ~1", next_chapter) : stringsetsub("Chapter ~1へ進む", next_chapter);
4
choice_text[1] = (global.lang == "en") ? stringsetsub("Keep Playing Chapter ~1", chapter) : stringsetsub("このままChapter ~1をプレイ", chapter);
5
choice_index = 0;
6
confirmed_selection = false;
7
text_alpha = 0;
8
move_noise = false;
9
select_noise = false;
10
base_text_ypos = __view_get(e__VW.YView, 0) + 180;
11
base_heart_ypos = __view_get(e__VW.YView, 0) + 195;
12
ypos_offset = 40;
13
init = 0;
14
snd_free_all();
15
16
enum e__VW
17
{
18
    XView,
19
    YView,
20
    WView,
21
    HView,
22
    Angle,
23
    HBorder,
24
    VBorder,
25
    HSpeed,
26
    VSpeed,
27
    Object,
28
    Visible,
29
    XPort,
30
    YPort,
31
    WPort,
32
    HPort,
33
    Camera,
34
    SurfaceID
35
}