Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_create_attack_boundary

(view raw script w/o annotations or w/e)
1
function scr_create_attack_boundary
scr_create_attack_boundary

function scr_create_attack_boundary(argument0, argument1, argument2, argument3, argument4, argument5) //gml_Script_scr_create_attack_boundary { instance_create(0, 0, obj_attack_boundary_creator) obj_attack_boundary_creator.create_x = argument0 obj_attack_boundary_creator.create_y = argument1 obj_attack_boundary_creator.width = argument2 obj_attack_boundary_creator.height = argument3 obj_attack_boundary_creator.thickness = argument4 obj_attack_boundary_creator.unique_id = argument5 with (obj_attack_boundary_creator) event_user(0) }
(argument0, argument1, argument2, argument3, argument4, argument5) //gml_Script_scr_create_attack_boundary
2
{
3
    instance_create(0, 0, obj_attack_boundary_creator)
4
    obj_attack_boundary_creator.create_x = argument0
5
    obj_attack_boundary_creator.create_y = argument1
6
    obj_attack_boundary_creator.width = argument2
7
    obj_attack_boundary_creator.height = argument3
8
    obj_attack_boundary_creator.thickness = argument4
9
    obj_attack_boundary_creator.unique_id = argument5
10
    with (obj_attack_boundary_creator)
11
        event_user(0)
12
}