("enter_court",
[
(store_script_param_1, ":center_no"),
(assign, "$talk_context", tc_court_talk),
(set_jump_mission,"mt_visit_town_castle"),
(party_get_slot, ":castle_scene", ":center_no", slot_town_castle),
(modify_visitors_at_site,":castle_scene"),
(reset_visitors),
#Adding guards
(store_faction_of_party, ":center_faction", ":center_no"),
(faction_get_slot, ":guard_troop", ":center_faction", slot_faction_guard_troop),
(try_begin),
(le, ":guard_troop", 0),
(assign, ":guard_troop", "trp_swadian_infantry"),
(try_end),
(set_visitor, 6, ":guard_troop"),
(set_visitor, 7, ":guard_troop"),
(assign, ":cur_pos", 16),
(call_script, "script_get_heroes_attached_to_center", ":center_no", "p_temp_party"),
(party_get_num_companion_stacks, ":num_stacks","p_temp_party"),
(try_for_range, ":i_stack", 0, ":num_stacks"),
(party_stack_get_troop_id, ":stack_troop","p_temp_party",":i_stack"),
(lt, ":cur_pos", 32), # spawn up to entry point 32
(set_visitor, ":cur_pos", ":stack_troop"),
(val_add,":cur_pos", 1),
(try_end),
(try_for_range, ":cur_troop", heroes_begin, heroes_end),
(troop_slot_eq, ":cur_troop", slot_troop_occupation, slto_kingdom_lady),
(troop_slot_eq, ":cur_troop", slot_troop_cur_center, ":center_no"),
(lt, ":cur_pos", 32), # spawn up to entry point 32
(set_visitor, ":cur_pos", ":cur_troop"),
(val_add,":cur_pos", 1),
(try_end),
###ALRIC
(try_begin),
(eq, ":castle_scene", "scn_castle_25_interior"),
(set_visitor, ":cur_pos", "trp_alric"),
(try_end),
###ALRIC
(jump_to_scene,":castle_scene"),
(scene_set_slot, ":castle_scene", slot_scene_visited, 1),
(change_screen_mission),
]),