Undertale script viewer

← back to main script listing

gml_Object_obj_bulletbomb_Collision_740

(view raw script w/o annotations or w/e)
1
if (visible == true && shot == 0)
2
{
3
    playdo = 1;
4
    myloop = audio_play_sound(snd_mtt_prebomb, 40, true);
5
    with (other.id)
6
        instance_destroy();
7
    shot = 1;
8
    nowx = x;
9
    nowy = y;
10
}
11
if (instance_exists(obj_ratingsmaster))
12
    global.ratings += 15;