Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_garbage_cans_generator_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
attack_timer = room_speed * 8
4
alarm[0] = attack_timer
alarm[0]

instance_destroy()
5
var box = obj_dialogue_box_battle_transformation_any
6
instance_create_depth((box.x - 120), (box.bbox_top - 60), (obj_heart_battle_fighting_parent.depth - 1), obj_battle_enemy_attack_jandroid_garbage_can)
7
instance_create((obj_dialogue_box_battle_transformation_any.bbox_left - 25), obj_dialogue_box_battle_transformation_any.y, obj_battle_enemy_attack_jandroid_slippery_floor_warning)