Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_bell_spawner_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
attack_stop = false
7
alarm[0] = 20
alarm[0]

if live_call() return global.live_result; if attack_stop return; var battle_box = obj_dialogue_box_battle_transformation_any instance_create_depth(spawn_pos, (battle_box.bbox_top - 40), -100, obj_battle_enemy_attack_ceroba_phase2_bell) spawn_pos_last = spawn_pos alarm[0] = 50 if (global.hotland_flag[2] == 2) alarm[0] = 30 if (global.hotland_flag[2] == 3) alarm[0] = 25
8
if (global.hotland_flag[2] >= 2)
9
    alarm[0] = 1
alarm[0]

if live_call() return global.live_result; if attack_stop return; var battle_box = obj_dialogue_box_battle_transformation_any instance_create_depth(spawn_pos, (battle_box.bbox_top - 40), -100, obj_battle_enemy_attack_ceroba_phase2_bell) spawn_pos_last = spawn_pos alarm[0] = 50 if (global.hotland_flag[2] == 2) alarm[0] = 30 if (global.hotland_flag[2] == 3) alarm[0] = 25