Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_jandroid_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 - 60), (depth + 2), obj_robot_destroy_explosion)
7
instance_create_depth(x, y, depth, obj_jandroid_body_bottom_destroy)
8
instance_create_depth((x - 10), (y - 43), depth, obj_jandroid_body_top_destroy)
9
instance_create_depth((x + 67), (y - 47), depth, obj_jandroid_broom_destroy)
10
instance_create_depth((x - 6), (y - 95), depth, obj_jandroid_headphones_destroy)
11
instance_create_depth((x + 2), (y - 62), depth, obj_jandroid_head_destroy)
12
instance_create_depth((x + 62), (y - 86), depth, obj_jandroid_hand_destroy)
13
instance_create_depth((x + 58), (y - 39), depth, obj_jandroid_hand_destroy)