Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_dunebud_chase_enemy_Other_7

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_dunebud_sink || sprite_index == spr_dunebud_sink_c)
2
{
3
    image_speed = 0
4
    image_index = image_number - 1
5
    global.id_store = id
6
    instance_create(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), (obj_dialogue_box_battle_transformation_any.bbox_top + 5), obj_battle_enemy_attack_dunebud_chase_attack)
7
}
8
if (sprite_index == spr_dunebud_rise || sprite_index == spr_dunebud_rise_c)
9
    instance_destroy()