|
1
|
with (shine)
|
|
2
|
{
|
|
3
|
if (myinteract == 3)
|
|
4
|
{
|
|
5
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_alpha", 1, 0, 15);
|
|
6
|
global.interact = 1;
|
|
7
|
global.flag[1092 ch3_bibliox_state] = 6;
|
|
8
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
9
|
msgsetloc(0, * (You thought you saw something on the ground...Delay 11 but you must've already had it.)Wait for inputClose Message"* (You thought you saw something on the ground..^1. but you must've already had it.)/%", "obj_room_ranking_b_slash_Step_0_gml_12_0_b" );
|
|
10
|
d_make();
|
|
11
|
myinteract = 4;
|
|
12
|
}
|
|
13
|
if (myinteract == 4 && !d_ex())
|
|
14
|
{
|
|
15
|
snd_play(snd_egg);
|
|
16
|
scr_keyitemgetscr_keyitemget
function scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (18);
|
|
17
|
global.interact = 0;
|
|
18
|
instance_destroy();
|
|
19
|
}
|
|
20
|
}
|
|
21
|
if (global.flag[1226 got_1225_room] == 1)
|
|
22
|
exit;
|
|
23
|
if (i_ex(gatrig))
|
|
24
|
{
|
|
25
|
if (gatrig.myinteract == 3)
|
|
26
|
{
|
|
27
|
gatrig.myinteract++;
|
|
28
|
global.interact = 1;
|
|
29
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("susie");
|
|
30
|
msgsetloc(0, Face 5* Kris,Delay 11 gimme your feet. I'm shoving you up there.Wait for input"\\E5* Kris^1, gimme your feet. I'm shoving you up there./", "obj_room_ranking_b_slash_Step_0_gml_10_0" );
|
|
31
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", 0);
|
|
32
|
var rastring = stringsetloc(Face 0* (I think we use that machine on the right...?)Wait for inputClose Message"\\E0* (I think we use that machine on the right...?)/%", "obj_room_ranking_b_slash_Step_0_gml_12_0" );
|
|
33
|
msgnext(rastring);
|
|
34
|
if (garead == 1)
|
|
35
|
{
|
|
36
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("ralsei");
|
|
37
|
msgset(0, rastring);
|
|
38
|
}
|
|
39
|
d_make();
|
|
40
|
garead = 1;
|
|
41
|
}
|
|
42
|
if (gatrig.myinteract == 4 && !d_ex())
|
|
43
|
{
|
|
44
|
gatrig.myinteract = 0;
|
|
45
|
global.interact = 0;
|
|
46
|
}
|
|
47
|
}
|
|
48
|
if (gacha_con < 0)
|
|
49
|
exit;
|
|
50
|
if (gacha_con == 0 && !d_ex())
|
|
51
|
{
|
|
52
|
gacha_con = 1;
|
|
53
|
global.interact = 1;
|
|
54
|
if (!gacha_active)
|
|
55
|
prompt_text = stringsetloc(* INSERT 100+ POINTs TO PLAY.Wait for inputClose Message"* INSERT 100+ POINTs TO PLAY./%", "obj_room_ranking_b_slash_Step_0_gml_41_0" );
|
|
56
|
else
|
|
57
|
prompt_text = stringsetloc(* PLAY AGAIN?Wait for inputClose Message"* PLAY AGAIN?/%", "obj_room_ranking_b_slash_Step_0_gml_44_0" );
|
|
58
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
59
|
msgset(0, prompt_text);
|
|
60
|
var d = d_make();
|
|
61
|
d.stay = 5;
|
|
62
|
}
|
|
63
|
if (gacha_con == 1 && !d_ex())
|
|
64
|
{
|
|
65
|
global.choice = -1;
|
|
66
|
global.choicemsg[0] = stringsetloc(#INSERT POINTs"#INSERT POINTs", "obj_room_ranking_b_slash_Step_0_gml_59_0" );
|
|
67
|
global.choicemsg[1] = stringsetloc(#Don't"#Don't", "obj_room_ranking_b_slash_Step_0_gml_60_0" );
|
|
68
|
global.choicemsg[2] = stringset("");
|
|
69
|
global.choicemsg[3] = stringset("");
|
|
70
|
instance_create(0, 0, obj_pointdisplay);
|
|
71
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
72
|
msgset(0, "\\C2");
|
|
73
|
d_make();
|
|
74
|
gacha_con = 2;
|
|
75
|
}
|
|
76
|
if (gacha_con == 2 && global.choice != -1)
|
|
77
|
{
|
|
78
|
k_d();
|
|
79
|
if (global.choice == 0)
|
|
80
|
{
|
|
81
|
var can_afford = global.flag[1044 points] >= 100;
|
|
82
|
if (can_afford)
|
|
83
|
{
|
|
84
|
gacha_con = 3;
|
|
85
|
}
|
|
86
|
else
|
|
87
|
{
|
|
88
|
regain_control();
|
|
89
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
90
|
msgsetloc(0, * INSUFFICIENT POINTs.Wait for inputClose Message"* INSUFFICIENT POINTs./%", "obj_room_ranking_b_slash_Step_0_gml_89_0" );
|
|
91
|
d_make();
|
|
92
|
}
|
|
93
|
}
|
|
94
|
else
|
|
95
|
{
|
|
96
|
regain_control();
|
|
97
|
k_d();
|
|
98
|
}
|
|
99
|
}
|
|
100
|
if (gacha_con == 3)
|
|
101
|
{
|
|
102
|
gacha_con = 3.5;
|
|
103
|
numentry = instance_create(x, y, obj_numberentry);
|
|
104
|
numentry.minnum = 100;
|
|
105
|
numentry.maxnum = global.flag[1044 points];
|
|
106
|
numentry.biginc = 50;
|
|
107
|
numentry.numinc = 5;
|
|
108
|
numentry.buffmoddefault = 2;
|
|
109
|
numentry.drawbox = false;
|
|
110
|
numentry.xoff = 56;
|
|
111
|
numentry.yoff = 171;
|
|
112
|
numentry.num = gachacost;
|
|
113
|
numentry.nokill = true;
|
|
114
|
var off1 = 0;
|
|
115
|
if (global.lang == "ja")
|
|
116
|
off1 = 2;
|
|
117
|
global.msg[0] = stringsetsubloc("~1 CONFIRM", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (4), "obj_room_ranking_b_slash_Step_0_gml_114_0");
|
|
118
|
controltext1 = instance_create(camerax() + 40 + 192, ((cameray() + 40 + 281) - 2) + off1, obj_writer);
|
|
119
|
controltext1.skipme = 1;
|
|
120
|
var off = 0;
|
|
121
|
if (global.lang == "ja")
|
|
122
|
off = 6;
|
|
123
|
global.msg[0] = stringsetsubloc("~1 CANCEL", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (5), "obj_room_ranking_b_slash_Step_0_gml_118_0");
|
|
124
|
controltext2 = instance_create(camerax() + 40 + 192, cameray() + 40 + 24 + 281 + off, obj_writer);
|
|
125
|
controltext2.skipme = 1;
|
|
126
|
}
|
|
127
|
if (gacha_con == 3.5)
|
|
128
|
{
|
|
129
|
if (numentry.result != -1)
|
|
130
|
{
|
|
131
|
if (numentry.result == -2)
|
|
132
|
{
|
|
133
|
regain_control();
|
|
134
|
safe_delete(numentry);
|
|
135
|
safe_delete(controltext1);
|
|
136
|
safe_delete(controltext2);
|
|
137
|
}
|
|
138
|
else if (numentry.result == 1225)
|
|
139
|
{
|
|
140
|
numentry.stayvis = true;
|
|
141
|
global.interact = 1;
|
|
142
|
timer = 0;
|
|
143
|
gacha_con = 120;
|
|
144
|
}
|
|
145
|
else
|
|
146
|
{
|
|
147
|
snd_play(snd_equip);
|
|
148
|
snd_play(snd_coin);
|
|
149
|
gachacost = numentry.result;
|
|
150
|
gacha_con = 4;
|
|
151
|
global.flag[1044 points] -= gachacost;
|
|
152
|
timer = 0;
|
|
153
|
safe_delete(numentry);
|
|
154
|
safe_delete(controltext1);
|
|
155
|
safe_delete(controltext2);
|
|
156
|
}
|
|
157
|
}
|
|
158
|
}
|
|
159
|
if (gacha_con == 4)
|
|
160
|
{
|
|
161
|
timer++;
|
|
162
|
var count = min(round(gachacost / 10) + 1, 30);
|
|
163
|
if (timer == 1)
|
|
164
|
{
|
|
165
|
gachaslot.visible = true;
|
|
166
|
var coinoff = -16;
|
|
167
|
var targx = obj_ch3_gachapon.x + 108 + coinoff;
|
|
168
|
var targy = obj_ch3_gachapon.y + 212 + coinoff;
|
|
169
|
for (var i = 0; i < count; i++)
|
|
170
|
{
|
|
171
|
var coin = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (camerax() + ((i * 608) / count) + irandom_range(-30, 30), cameray() - 32 - irandom(90), spr_board_pointsGet, 2, 2, undefined, undefined, undefined, 10);
|
|
172
|
with (coin)
|
|
173
|
{
|
|
174
|
depth = 96771;
|
|
175
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (id, 55);
|
|
176
|
var transitionlength = 30 + irandom(15);
|
|
177
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_alpha", 0, 1.2, transitionlength);
|
|
178
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, targx, transitionlength - 3, 2, "in");
|
|
179
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, targy + 32, transitionlength, 2, "in");
|
|
180
|
var snd = 21;
|
|
181
|
snd_stop_delay(snd, transitionlength);
|
|
182
|
snd_play_delay(snd, transitionlength, 1, 1);
|
|
183
|
}
|
|
184
|
}
|
|
185
|
}
|
|
186
|
if (timer == 60)
|
|
187
|
{
|
|
188
|
gachaslot.visible = false;
|
|
189
|
gacha_con = 5;
|
|
190
|
start_gacha_event();
|
|
191
|
}
|
|
192
|
}
|
|
193
|
if (gacha_con == 90 && !d_ex())
|
|
194
|
{
|
|
195
|
gacha_con = -1;
|
|
196
|
global.interact = 0;
|
|
197
|
global.facing = 0;
|
|
198
|
}
|
|
199
|
if (gacha_con == 120)
|
|
200
|
{
|
|
201
|
timer++;
|
|
202
|
if (timer == 1)
|
|
203
|
{
|
|
204
|
snd_free_all();
|
|
205
|
drawblue = true;
|
|
206
|
bgalpha = 0;
|
|
207
|
freezewall = true;
|
|
208
|
with (obj_border_controller)
|
|
209
|
set_custom_effect(2, 1);
|
|
210
|
}
|
|
211
|
if (timer >= 120)
|
|
212
|
{
|
|
213
|
safe_delete(numentry);
|
|
214
|
safe_delete(controltext1);
|
|
215
|
safe_delete(controltext2);
|
|
216
|
drawblue = false;
|
|
217
|
var blend = scr_marker_blendscr_marker_blend
function scr_marker_blend(arg0 = x, arg1 = y, arg2 = sprite_index, arg3 = 1, arg4 = image_xscale, arg5 = image_yscale, arg6 = image_index, arg7 = image_speed, arg8 = image_alpha, arg9 = 16777215, arg10 = depth, arg11 = -1)
{
var thismarker = instance_create(arg0, arg1, obj_marker_blendmode);
with (thismarker)
{
blendmode = arg3;
sprite_index = arg2;
image_speed = arg7;
image_xscale = arg4;
image_yscale = arg5;
image_index = arg6;
image_blend = arg9;
image_alpha = arg8;
depth = arg10;
}
if (arg11 > 0)
scr_doom(thismarker, arg11);
return thismarker;
} (0, 0, spr_pxwhite, 1, room_width, room_height, undefined, undefined, 0.5, #0B0B3B, 0);
|
|
218
|
var dark = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (0, 0, spr_pxwhite, room_width, room_height, 0, 0, #0B0B3B, gachapon.depth + 10, undefined, undefined, 0.2);
|
|
219
|
with (obj_marker)
|
|
220
|
{
|
|
221
|
if (sprite_index == spr_shine_white)
|
|
222
|
instance_destroy();
|
|
223
|
}
|
|
224
|
scr_setpartyscr_setparty
function scr_setparty(arg0, arg1, arg2)
{
var kris = obj_mainchara;
var slot = 0;
var __make = true;
if (!i_ex(kris))
__make = false;
scr_losechar();
safe_delete(obj_caterpillarchara);
if (arg0 == true)
{
scr_getchar(2);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 2, slot))
{
halign = (global.darkzone == 0) ? 3 : 6;
valign = (global.darkzone == 0) ? 6 : 16;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg1 == true)
{
scr_getchar(3);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 3, slot))
{
halign = 2;
valign = 12;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg2 == true)
{
scr_getchar(4);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 4, slot))
{
halign = (global.darkzone == 0) ? 2 : 4;
valign = (global.darkzone == 0) ? 9 : 18;
x -= halign;
y -= valign;
}
}
slot++;
}
} (0);
|
|
225
|
with (obj_doorAny)
|
|
226
|
instance_destroy();
|
|
227
|
with (obj_readable_room1)
|
|
228
|
{
|
|
229
|
if (extflag == "vending")
|
|
230
|
instance_destroy();
|
|
231
|
}
|
|
232
|
with (gacha_block)
|
|
233
|
instance_destroy();
|
|
234
|
with (obj_npc_sign)
|
|
235
|
instance_destroy();
|
|
236
|
with (instance_create(280, 560, obj_solidblocksized))
|
|
237
|
image_xscale = 4;
|
|
238
|
with (instance_create(230, 280, obj_solidblocksized))
|
|
239
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (1.75, 2.6);
|
|
240
|
with (instance_create(346, 280, obj_solidblocksized))
|
|
241
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (1.7, 2.6);
|
|
242
|
safe_delete(gatrig);
|
|
243
|
slot = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (gachapon.x + 86, gachapon.y + 254, spr_dw_tv_gachapon_doorslot, 2, 2);
|
|
244
|
slot.depth = gachapon.depth;
|
|
245
|
gachapon.depth += 1;
|
|
246
|
scr_marker_blendscr_marker_blend
function scr_marker_blend(arg0 = x, arg1 = y, arg2 = sprite_index, arg3 = 1, arg4 = image_xscale, arg5 = image_yscale, arg6 = image_index, arg7 = image_speed, arg8 = image_alpha, arg9 = 16777215, arg10 = depth, arg11 = -1)
{
var thismarker = instance_create(arg0, arg1, obj_marker_blendmode);
with (thismarker)
{
blendmode = arg3;
sprite_index = arg2;
image_speed = arg7;
image_xscale = arg4;
image_yscale = arg5;
image_index = arg6;
image_blend = arg9;
image_alpha = arg8;
depth = arg10;
}
if (arg11 > 0)
scr_doom(thismarker, arg11);
return thismarker;
} (0, 0, spr_pxwhite, 1, room_width, room_height, undefined, undefined, undefined, #0B0B3B, gachapon.depth + 10);
|
|
247
|
with (instance_create(302, 332, obj_doorAny))
|
|
248
|
{
|
|
249
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (1.05, 1.075);
|
|
250
|
doorRoom = room_ch3_gacharoom_unknown;
|
|
251
|
doorDelay = 120;
|
|
252
|
doorFadeMusic = 1;
|
|
253
|
doorFadeMusicTime = 120;
|
|
254
|
doorEntrance = "A";
|
|
255
|
doorFacing = 2;
|
|
256
|
}
|
|
257
|
gacha_con = 121;
|
|
258
|
global.interact = 0;
|
|
259
|
}
|
|
260
|
}
|
|
261
|
if (gacha_con == 121 && global.is_console)
|
|
262
|
{
|
|
263
|
var fade_out = false;
|
|
264
|
with (obj_doorAny)
|
|
265
|
{
|
|
266
|
if (doorRoom == room_ch3_gacharoom_unknown)
|
|
267
|
{
|
|
268
|
if (touched)
|
|
269
|
fade_out = true;
|
|
270
|
}
|
|
271
|
}
|
|
272
|
if (fade_out)
|
|
273
|
{
|
|
274
|
gacha_con = 122;
|
|
275
|
with (obj_border_controller)
|
|
276
|
hide_border(0.008);
|
|
277
|
}
|
|
278
|
}
|
|
279
|
if (freezewall)
|
|
280
|
{
|
|
281
|
with (obj_dw_green_room_wall_fx)
|
|
282
|
{
|
|
283
|
bg_speed = 0;
|
|
284
|
bg_speed_y = 0;
|
|
285
|
}
|
|
286
|
}
|