Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_musicalbullet_controller_Other_10

(view raw script w/o annotations or w/e)
1
var a = choose(0, 1);
2
if (a == 0)
3
{
4
    with (instance_nearest(x - 200, y, obj_musicenemy_boombox))
5
        makebullet = 1;
6
}
7
if (a == 1)
8
{
9
    with (instance_nearest(x + 200, y, obj_musicenemy_boombox))
10
        makebullet = 1;
11
}