Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lw_town_sideb_choicer_Create_0

(view raw script w/o annotations or w/e)
1
alarm[1]
 = 3;
gml_Object_obj_lw_town_sideb_choicer_Alarm_1.gml

canchoose = 1; if (global.darkzone == 1 && choicetotal == 2 && choicerstyle == 0) { hy += 39; hx += 31; }
2
canchoose = 0;
3
dar = global.darkzone + 1;
4
global.flag[33 choice_time_taken] = 0;
5
fighting = 0;
6
if (global.fighting == 1 && instance_exists(obj_battlecontroller))
7
    fighting = 1;
8
image_xscale = dar;
9
image_yscale = dar;
10
remfc = global.fc;
11
global.fc = 0;
12
xx = camerax();
13
yy = cameray();
14
d = -1;
15
if (instance_exists(obj_dialoguer))
16
    d = obj_dialoguer.side;
17
boardwriter = 0;
18
if (fighting == 1)
19
    d = 1;
20
d_add = 0;
21
chx = (140 * dar) + xx;
22
chy = ((36 + d_add) * dar) + yy + (fighting * 30);
23
hx = chx;
24
hy = chy;
25
mychoice = -1;
26
global.choice = -1;
27
choiced = 0;
28
choicetotal = 3;
29
textposx[0] = 0;
30
textposy[0] = 0;
31
textposx[1] = 0;
32
textposy[1] = 0;
33
textposx[2] = 0;
34
textposy[2] = 0;
35
textposx[3] = 0;
36
textposy[3] = 0;
37
heartSprite = 3711;
38
choicerstyle = 0;
39
side = 0;
40
cur_jewel = 0;