Undertale script viewer

← back to main script listing

gml_Object_obj_handbulletgen_Alarm_0

(view raw script w/o annotations or w/e)
1
if (type == 1)
2
{
3
    hand1 = instance_create(440, 352, obj_handbullet_new);
4
    hand1.type = 2;
5
    hand2 = instance_create(104, 176, obj_handbullet_new);
6
    hand2.type = 1;
7
}
8
if (type == 2)
9
{
10
    hand1 = instance_create(440, 382, obj_handbullet_new);
11
    hand1.type = 2;
12
    hand2 = instance_create(104, 146, obj_handbullet_new);
13
    hand2.type = 1;
14
    hand3 = instance_create(global.idealborder[0] - 10, 552, obj_handbullet_new);
15
    hand3.type = 4;
16
    hand4 = instance_create(global.idealborder[1] - 50, -50, obj_handbullet_new);
17
    hand4.type = 3;
18
}
19
if (type == 3)
20
{
21
    hand1 = instance_create(440, 382, obj_handbullet_new);
22
    hand1.type = 2;
23
    hand2 = instance_create(-250, 196, obj_handbullet_new);
24
    hand2.type = 5;
25
    hand3 = instance_create(global.idealborder[0] - 10, 512, obj_handbullet_new);
26
    hand3.type = 4;
27
    hand4 = instance_create(global.idealborder[1] - 50, -280, obj_handbullet_new);
28
    hand4.type = 3;
29
}