Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_falling_bells_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
spawn_pos = random_range((battle_box.bbox_left + 40), (battle_box.bbox_right - 40))
5
spawn_pos_last = -1000
6
alarm[0] = 20
alarm[0]

if live_call() return global.live_result; var battle_box = obj_dialogue_box_battle_transformation_any var bell_offset = 45 var bell = instance_create_depth(spawn_pos, (battle_box.bbox_top - 40), -1100, obj_battle_enemy_attack_ceroba_phase2_bell) bell.bullet_hit_points = 2 bell.fall_delay = 1 spawn_pos_last = spawn_pos alarm[0] = bell_offset
7
alarm[1] = 210
alarm[1]

instance_destroy()