1 | if (!instance_exists(obj_rndenc)) |
2 | return; |
3 | obj_rndenc.enc_time = 0 |
4 | enc_flag = true |
5 | instance_destroy() |
6 | if (ds_map_find_value(global.npc_map, npc_id) != enc_flag) |
7 | ds_map_replace(global.npc_map, npc_id, enc_flag) |