{#if battlePhase === 'main' && !processingTurn && !battleEnded}
{:else if battleEnded}
window.history.back()}> Continue
{/if}