Undertale script viewer

← back to main script listing

gml_Object_obj_bara04_Alarm_6

(view raw script w/o annotations or w/e)
1
blcon = instance_create(x + 165, y + 55, obj_blconsm);
2
gg = floor(random(3));
3
mycommand = round(random(100));
4
if (mycommand >= 0 && mycommand < 25)
5
    global.msg[0] = "Hmph,&try not&to mess&this up.";
6
if (mycommand >= 25)
7
    global.msg[0] = "I'll&take you&down&alone!";
8
if (mycommand >= 50)
9
    global.msg[0] = "Sigh...&team&attack,&I guess.";
10
if (mycommand >= 75)
11
    global.msg[0] = "I'm a&one&woman&army.";
12
if (shake == 1)
13
    global.msg[0] = "D...&Dude...";
14
if (whatiheard == 3)
15
{
16
    global.msg[0] = "What&are you&talking&about?";
17
    if (toldhim == 1)
18
        global.msg[0] = "My...&glove...";
19
}
20
if (whatiheard == 1)
21
{
22
    global.msg[0] = "Don't&touch&that!!";
23
    if (toldhim == 1)
24
        global.msg[0] = ",..";
25
}
26
if (whatiheard == 12)
27
    global.msg[0] = "H-HEY,&STOP&THAT!!";
28
pop = scr_monstersum
scr_monstersum

return global.monster[0] + global.monster[1] + global.monster[2];
();
29
if (pop < 2)
30
{
31
    if (mycommand >= 0 && mycommand < 25)
32
        global.msg[0] = "03!&I didn't&want&this...";
33
    if (mycommand >= 25)
34
        global.msg[0] = "03...&03...";
35
    if (mycommand >= 50)
36
        global.msg[0] = "03...&answer&me...";
37
    if (mycommand >= 75)
38
        global.msg[0] = "...";
39
    if (freshdeath == 0 && mercymod < 1)
40
        global.msg[0] = "03!&I never&said&sorry...";
41
    if (freshdeath == 0 && mercymod > 100)
42
        global.msg[0] = "03...!?&Why,&you...";
43
    freshdeath = 1;
44
    mercymod = -99999;
45
}
46
global.msg[1] = "%%%";
47
global.typer = 2;
48
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
49
global.border = 15;
50
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
51
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;