Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_encounter_bullet_Collision_obj_mainchara

(view raw script w/o annotations or w/e)
1
if (active == 1)
2
{
3
    with (creator)
4
    {
5
        global.ambush = 1;
6
        event_user(0);
7
    }
8
}
9
with (obj_encounter_bullet)
10
{
11
    active = 0;
12
    instance_destroy();
13
}