Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_frogger_creator_Destroy_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
with (obj_battle_enemy_attack_macro_road)
4
    instance_destroy()
5
with (obj_battle_enemy_attack_macro_car_smoke)
6
    instance_destroy()
7
with (obj_battle_enemy_attack_macro_car)
8
    instance_destroy()
9
if instance_exists(obj_battle_enemy_attack_macro_frogger)
10
{
11
    global.turns_passed -= 2
12
    instance_destroy(obj_battle_enemy_attack_macro_frogger)
13
}
14
with (obj_dialogue_box_battle_transformation_any)
15
    event_user(0)