1 | waiter = 0; |
2 | timer = -1; |
3 | npc_id = room_get_name(room) + object_get_name(object_index); |
4 | if (is_undefined(ds_map_find_value(global.npc_map, npc_id))) |
5 | ds_map_add(global.npc_map, npc_id, 0); |
6 | npc_flag = ds_map_find_value(global.npc_map, npc_id); |