Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_29_route_determine_Create_0

(view raw script w/o annotations or w/e)
1
if (global.geno_complete[3] == true)
2
    instance_create_depth(x, y, 0, obj_steamworks_29_controller_geno)
3
else if (global.route == 2)
4
    instance_create_depth(x, y, 0, obj_steamworks_29_controller_pacifist)
5
else if (global.route == 1)
6
    instance_create_depth(x, y, 0, obj_steamworks_29_controller_neutral)
7
instance_destroy()