Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_take_aim_checker_Destroy_0

(view raw script w/o annotations or w/e)
1
with (obj_battle_enemy_attack_starlo_take_aim_target)
2
    instance_destroy()
3
with (obj_battle_enemy_attack_starlo_take_aim_shot)
4
    instance_destroy()
5
with (obj_battle_enemy_attack_starlo_take_aim_shot_collider)
6
    instance_destroy()
7
with (obj_heart_battle_fighting_parent)
8
    moveable = false
9
if (starlo_take_aim_rope_hit == false)
10
{
11
    with (obj_dialogue_box_battle_transformation_any)
12
        event_user(0)
13
    global.turns_passed = 10
14
    return;
15
}
16
else if (starlo_take_aim_rope_hit == true)
17
{
18
    instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
19
    instance_create(0, 0, obj_quote_battle_starlo_rope_hit)
20
    instance_destroy(obj_battle_enemy_attack_starlo_rope)
21
    global.attack_cycle += 1
22
    global.last_text_move_select = -1
23
}