Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martha_npc_Create_0

(view raw script w/o annotations or w/e)
1
if (global.geno_complete[2] || global.dunes_flag[0] > 0 || global.route == 3)
2
    instance_destroy();
3
event_inherited();
4
if (npc_flag == 2 || npc_flag == 3)
5
    sprite_index = spr_martha_coffee_snowdin_yellow;
6
if (npc_flag == 4)
7
    sprite_index = spr_martha_snowdin_yellow;
8
waiter = 0;