diff --git a/src/state/gameSlice.ts b/src/state/gameSlice.ts index b7c8cc6..bf09eee 100644 --- a/src/state/gameSlice.ts +++ b/src/state/gameSlice.ts @@ -429,4 +429,7 @@ export const selectCollectedItems = (state: RootState) => export const selectCompletedQuests = (state: RootState) => state.game.completedQuests; +export const selectActivePokemonIndex = (state: RootState) => + state.game.activePokemonIndex; + export default gameSlice.reducer;