Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_car_Alarm_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
instance_create_depth(x + (sign(hspeed) * 14), y + 5, depth + 1, obj_battle_enemy_attack_macro_car_smoke);
4
alarm[0] = smoke_delay;
gml_Object_obj_battle_enemy_attack_macro_car_Alarm_0.gml

if (live_call()) return global.live_result; instance_create_depth(x + (sign(hspeed) * 14), y + 5, depth + 1, obj_battle_enemy_attack_macro_car_smoke); alarm[0] = smoke_delay;