Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_sousborg_season_generator_Create_0

(view raw script w/o annotations or w/e)
1
if (!(layer_exists("Attack Layer")))
2
    layer_create((obj_heart_battle_fighting_parent.depth - 2), "Attack Layer")
3
attack_sequence = layer_sequence_create("Attack Layer", 320, 320, 20)
4
text_box_noloop = false
5
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) }
()
6
instance_create_depth(320, (obj_dialogue_box_battle_transformation_any.bbox_bottom - 4), (obj_heart_battle_fighting_parent.depth - 1), obj_sousborg_perfectly_edible_egg)