Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_splashscreen_Create_0

(view raw script w/o annotations or w/e)
1
xx = __view_get(e__VW.XView, 0);
2
yy = __view_get(e__VW.YView, 0);
3
text_alpha_a = 0;
4
text_alpha_b = 0;
5
loaded = false;
6
heart_pos_y = yy + 288;
7
heart_pos_y_ja = yy + 328;
8
heart_pos_x_padding = (global.lang == "ja") ? -20 : -10;
9
heart_pos_x_default = xx + 200 + heart_pos_x_padding;
10
heart_pos_x = heart_pos_x_default;
11
heart_pos_x_h_padding = (global.lang == "ja") ? 140 : 155;
12
line_height = 50;
13
line_height_ja = 33;
14
select_padding = 45;
15
confirming = false;
16
visit_shop = false;
17
selected = false;
18
buffer = 0;
19
played_text_en = "This program is intended for players#who are already familiar with UNDERTALE.";
20
played_text_ja_1 = "このプログラムは、";
21
played_text_ja_2 = "すでに「UNDERTALE」をプレイした方向けです。";
22
check_text_en = "Would you like to check out UNDERTALE first?";
23
check_text_ja_1 = "まだプレイしたことのない方は、";
24
check_text_ja_2 = "まずは「UNDERTALE」をチェックしてみませんか?";
25
shop_options = (global.lang == "en") ? ["Yes", "No"] : ["はい", "いいえ"];
26
shop_text = (global.lang == "en") ? "Nintendo eShop" : "ニンテンドーeショップ";
27
if (os_type == os_ps4 || os_type == os_ps5)
28
    shop_text = (global.lang == "en") ? "Playstation Store" : "Playstation Store";
29
check_undertale = (global.lang == "en") ? "Check Out UNDERTALE" : "「UNDERTALE」をチェック";
30
start_dr = (global.lang == "en") ? "Start DELTARUNE" : "「DELTARUNE」をプレイ";
31
global.currentroom = scr_get_id_by_room_index(room);
32
33
enum e__VW
34
{
35
    XView,
36
    YView,
37
    WView,
38
    HView,
39
    Angle,
40
    HBorder,
41
    VBorder,
42
    HSpeed,
43
    VSpeed,
44
    Object,
45
    Visible,
46
    XPort,
47
    YPort,
48
    WPort,
49
    HPort,
50
    Camera,
51
    SurfaceID
52
}