event_inherited() npc_id = room_get_name(room) + object_get_name(object_index) if is_undefined(ds_map_find_value(global.npc_map, npc_id)) ds_map_add(global.npc_map, npc_id, 0) npc_flag = ds_map_find_value(global.npc_map, npc_id) image_speed = 0 is_talking = 0 interact = false