Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_ribbon_attack_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
battle_box = obj_dialogue_box_battle_transformation_any
4
instance_create_depth(battle_box.x, (battle_box.bbox_top - 20), -100, obj_ceroba_ribbon_base)
5
lantern_offset = 120
6
alarm[0] = 30
alarm[0]

if live_call() return global.live_result; instance_create_depth((battle_box.bbox_left - 40), (battle_box.bbox_top - 80), -100, obj_ceroba_phase_2_p1_ribbon_lantern) instance_create_depth((battle_box.bbox_right + 40), (battle_box.bbox_bottom + 60), -100, obj_ceroba_phase_2_p1_ribbon_lantern) alarm[0] = lantern_offset
7
alarm[1] = 240
alarm[1]

instance_destroy()