__approach_callback_mode = 2
if event.approach and not event.has_entered then
	atc_set_ars_disable(true)
	atc_set_lzb_tsr(1)
	return
end

if event.train then
	if atc_arrow then
		atc_set_ars_disable(false)
		atc_send("S3")
		F.add_rc("S27_EXIT_BRIDGE")
		return
	end
	atc_send("S1")
	step_fc()
end