{#if currentView !== 'forcedSwap'}
{#each actions as action} {/each}
{/if} {#if currentView !== 'main'}
{#if currentView === 'moves'}
{#each moves as move, index} {@const isDisabled = move.currentPp <= 0} {@const enhancedMove = enhancedMoves[index]} {@const battleMove = enhancedMove?.move} {/each}
{:else if currentView === 'piclets'} {@const availableHealthyPiclets = availablePiclets.filter(p => p.currentHp > 0 && p.id !== currentPicletId )}
{#if availableHealthyPiclets.length === 0}
No other healthy piclets available
{:else} {#each availableHealthyPiclets as piclet} {/each} {/if}
{:else if currentView === 'items'}
{#if isWildBattle && enemyPiclet} {:else}
🎒
Items coming soon!
This feature is currently under development.
{/if}
{/if}
{/if} {#if processingTurn}
{/if}