Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_cs_1_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
instance_create_depth(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), (obj_dialogue_box_battle_transformation_any.bbox_top - 52), -100, obj_battle_enemy_attack_cactony_needle_top_generator_duo)
4
var box = 3154
5
snake_spawn_last = 0
6
attack_tick = 0
7
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() //gml_Script_scr_enable_battle_box_surface { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer) }
()