1 | if (global.plot < 51) |
2 | { |
3 | extflag = "npc2"; |
4 | sprite_index = spr_plugboy_cower; |
5 | scr_depth(); |
6 | } |
7 | else |
8 | { |
9 | var plugboy_npc = instance_create(x, y, obj_npc_room); |
10 | plugboy_npc.sprite_index = spr_npc_plugboy; |
11 | with (plugboy_npc) |
12 | scr_depth(); |
13 | instance_destroy(); |
14 | } |