:: PassageHeader
<<if (($version || 0) < Config.saves.version) && !tags().includes('noVersionUpdate')>>
    <<run setup.VersionControl.versionUpdate(State.variables)>>
<</if>>

<<set $callStackIndent = 0>>
<<set $callStack = [[passage(),$callStackIndent]]>>

<!-- This might be overwritten in case we return from an event in PassageDone -->
<<set _thisMainPassage = passage()>>
<<set _tags = tags()>>
<<set $here = passage()>>

<<set $connectedLocations = []>>

<<set _escPassage = undefined>>

<<set _autoCapture = {}>>

<<include 'PassageHeaderAll'>>


<<for _beforePassage range Story.lookup("tags", $here+'_before')>>
	<<include _beforePassage.title>>
<</for>>

:: PassageHeaderAll[include]
<!-- Also exists for subpassages and if CLA was called -->
<div id="connectedLocations"></div>
<div id="messagesContainter">
    <<if $msg_queue>>
        <<set _msg_queue = clone($msg_queue)>>
        <<for _label,_class range _msg_queue>>
            <<msg _label _class>>
        <</for>>
    <</if>>
</div>

<div id="actionBar"></div>

