Undertale Yellow script viewer

← back to main script listing

gml_Object_part_steamworks_steam_controller_Alarm_0

(view raw script w/o annotations or w/e)
1
with (obj_steamworks_steam_blaster)
2
{
3
    if (steam_active)
4
    {
5
        if (obj_pl.y > y)
6
        {
7
            part_emitter_region(other.part_smokesys_back, other.part_smokeEm_back, x + 10, x + 10, y + 10, y + 10, 2, 1);
8
            part_emitter_burst(other.part_smokesys_back, other.part_smokeEm_back, other.part_smoke, -1);
9
        }
10
        else
11
        {
12
            part_emitter_region(other.part_smokesys_front, other.part_smokeEm_front, x + 10, x + 10, y + 10, y + 10, 2, 1);
13
            part_emitter_burst(other.part_smokesys_front, other.part_smokeEm_front, other.part_smoke, -1);
14
        }
15
    }
16
}
17
alarm[0] = 2;
gml_Object_part_steamworks_steam_controller_Alarm_0.gml

with (obj_steamworks_steam_blaster) { if (steam_active) { if (obj_pl.y > y) { part_emitter_region(other.part_smokesys_back, other.part_smokeEm_back, x + 10, x + 10, y + 10, y + 10, 2, 1); part_emitter_burst(other.part_smokesys_back, other.part_smokeEm_back, other.part_smoke, -1); } else { part_emitter_region(other.part_smokesys_front, other.part_smokeEm_front, x + 10, x + 10, y + 10, y + 10, 2, 1); part_emitter_burst(other.part_smokesys_front, other.part_smokeEm_front, other.part_smoke, -1); } } } alarm[0] = 2;