Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_1_staff_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
battle_box = 3154;
4
instance_create_depth(battle_box.x, battle_box.y, -100, obj_attack_warning_exclamation_mark);
5
instance_create_depth(battle_box.bbox_left - 90, battle_box.y - 150, -100, obj_battle_enemy_attack_ceroba_staff_1);
6
var staff_right = instance_create_depth(battle_box.bbox_right + 90, battle_box.y - 150, -100, obj_battle_enemy_attack_ceroba_staff_1);
7
staff_right.image_xscale = -1;
8
rot_time = random_range(2, 4.5);