Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_castle_02_controller_party_member_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
pmember = global.party_member
4
if (pmember == noone || (!instance_exists(pmember)))
5
{
6
    instance_destroy()
7
    return;
8
}
9
fg_layer_id = layer_get_id("foreground_pillars")
10
depth = -239
11
pmember.image_alpha = 0