Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_holemouse_Collision_obj_caterpillarchara

(view raw script w/o annotations or w/e)
1
if (nointeract == false && con == 1 && other.name == "noelle" && other.visible == true)
2
{
3
    other.visible = false;
4
    scaredNoelle = instance_create(other.x, other.y, obj_noelle_scared);
5
    if (room == room_dw_city_mice)
6
    {
7
        scaredNoelle.targetx = 485;
8
        scaredNoelle.targety = 225;
9
    }
10
    if (room == room_dw_city_mice2)
11
        scaredNoelle.alarm[0] = 1;
12
}