Battle Progress

{#each battleState.battle_updates as update}
{update}
{/each}

{currentPlayerPiclet.typeId}

{battleState.player_pokemon_hp}

{battleState.player_pokemon_status}

{enemyPiclet.typeId}

{battleState.enemy_pokemon_hp}

{battleState.enemy_pokemon_status}

{#if battleState.next_to_act === 'player' && !isProcessing}

Choose Your Action:

{#each battleState.available_actions as action} {/each} {#if rosterPiclets && rosterPiclets.length > 1} {/if}
{#if showPicletSelector && rosterPiclets}

Choose Piclet:

{#each rosterPiclets as piclet} {#if piclet.id !== currentPlayerPiclet.id} {/if} {/each}
{/if} {:else if isProcessing}

Processing battle turn...

{:else}

Enemy is deciding their move...

{/if}