Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_goosic_dead_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_alpha = 0
4
if (!audio_is_playing(snd_undertale_explosion))
5
    audio_play_sound(snd_undertale_explosion, 20, 0)
6
instance_create_depth(x, y, (depth + 2), obj_robot_destroy_explosion)
7
instance_create_depth((x - 25), (y + 42), depth, obj_goosic_leg_back_destroy)
8
instance_create_depth(x, y, depth, obj_goosic_body_destroy)
9
instance_create_depth((x + 16), (y + 44), depth, obj_goosic_leg_destroy)
10
instance_create_depth((x - 39), (y + 21), depth, obj_goosic_neck_destroy)
11
instance_create_depth((x - 52), (y + 9), depth, obj_goosic_neck_destroy)
12
instance_create_depth((x - 57), (y - 9), depth, obj_goosic_neck_destroy)
13
instance_create_depth((x - 57), (y - 25), depth, obj_goosic_neck_destroy)
14
instance_create_depth((x - 48), (y - 43), depth, obj_goosic_neck_destroy)
15
instance_create_depth((x - 48), (y - 90), depth, obj_goosic_crown_destroy)
16
instance_create_depth((x - 33), (y - 66), depth, obj_goosic_head_destroy)
17
instance_create_depth((x + 10), (y - 70), depth, obj_goosic_mouth_destroy)