Undertale script viewer

← back to main script listing

gml_Object_obj_bluelaser_o_Alarm_0

(view raw script w/o annotations or w/e)
1
if (room != room_fire_core_laserfun)
2
{
3
    if (active != 2)
4
        active = 1;
5
}
6
global.border = 0;
7
global.flag[15 in_battle] = 0;
8
global.flag[16 type_heart_transition] = 0;
9
if (room == room_fire_core4 || room == room_fire_core_laserfun)
10
    global.flag[15 in_battle] = 1;