Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_space_frog_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_space_rock_space)
4
    instance_destroy()
5
with (obj_battle_space_frog_bullet)
6
    instance_destroy()
7
with (obj_battle_enemy_attack_space_rock)
8
    instance_destroy(id, false)
9
with (obj_battle_enemy_attack_space_rock_debris)
10
    instance_destroy()
11
with (obj_battle_enemy_attack_space_frog)
12
    instance_destroy()
13
if (instance_exists(obj_battle_enemy_attack_space_green_frog) && frog_green_noloop == true)
14
    global.turns_passed -= 2
15
with (obj_battle_enemy_attack_space_green_frog)
16
    instance_destroy()
17
with (obj_dialogue_box_battle_transformation_any)
18
    event_user(0)