--- # nuzlocke-tracker-ymbd title: Implement randomize encounters status: completed type: feature priority: normal created_at: 2026-02-08T12:12:09Z updated_at: 2026-02-08T12:13:47Z --- Add per-route Randomize button in EncounterModal and bulk Randomize All on RunEncounters page. ## Checklist - [ ] Phase 1: Per-route randomize in EncounterModal.tsx - [ ] Add pickRandomPokemon helper function - [ ] Add Randomize/Re-roll button in Pokemon selection header - [ ] Phase 2: Bulk randomize backend - [ ] Add BulkRandomizeResponse schema in encounter.py - [ ] Add POST /runs/{run_id}/encounters/bulk-randomize endpoint - [ ] Phase 3: Bulk randomize frontend - [ ] Add bulkRandomizeEncounters() API function - [ ] Add useBulkRandomize() hook - [ ] Add Randomize All button on RunEncounters page