Undertale script viewer

← back to main script listing

gml_Object_obj_testmonster_Alarm_6

(view raw script w/o annotations or w/e)
1
blcon = instance_create(x + sprite_width, y, obj_blconsm);
2
mycommand = round(random(100));
3
if (mycommand >= 0 && mycommand < 30)
4
    global.msg[0] = "Ribbit,&ribbit.";
5
if (mycommand >= 30 && mycommand < 50)
6
    global.msg[0] = "Croak,&croak.";
7
if (mycommand >= 50 && mycommand < 80)
8
    global.msg[0] = "Hop,&hop.";
9
if (mycommand >= 80 && mycommand <= 100)
10
    global.msg[0] = "Meow.";
11
if (whatiheard == 1)
12
{
13
    global.msg[0] = "(Blushes&deeply.)&Ribbit..";
14
    alarm[5] = 108;
gml_Object_obj_testmonster_Alarm_5.gml

with (blconwd) instance_destroy(); with (blcon) instance_destroy(); talked = 0; whatiheard = -1; global.mnfight = 2;
15
}
16
if (whatiheard == 3)
17
    global.msg[0] = "(Shiver)";
18
global.msg[1] = "%%%";
19
global.typer = 2;
20
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
21
global.border = 3;
22
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
23
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;