--- # nuzlocke-tracker-fv7w title: Add boss team match rule status: in-progress type: feature priority: normal created_at: 2026-02-20T19:56:22Z updated_at: 2026-02-20T21:01:36Z parent: nuzlocke-tracker-49xj --- When enabled, hint to the player that they should limit their active party to the same number of Pokemon as the next boss fight. This is a self-imposed difficulty rule — the tracker cannot enforce it since it doesn't track the active party, but it can surface the information. ## Design **Rule:** Add `bossTeamMatch: boolean` to `NuzlockeRules` (default: `false`, category: `playstyle`). **Display:** When enabled and the sticky boss banner is shown, add a hint next to the boss name showing their team size, e.g. "Next: Brock (2 Pokemon — match their team)". This reuses the existing `nextBoss` and its `pokemon` array. **Variant bosses:** Some bosses have conditional teams (e.g. rival starter choice). Use the same logic as `BossTeamPreview`: count pokemon without a `conditionLabel` plus those matching the auto-detected variant (via `matchVariant`). Falls back to first variant if no match is detected. **Scope:** Frontend-only. No backend or data model changes needed. ## Checklist - [x] Add `bossTeamMatch: boolean` to `NuzlockeRules` interface and `DEFAULT_RULES` (default: false) - [x] Add `RuleDefinition` entry (category: `playstyle`) - [x] Show boss team size hint in the sticky level cap banner when the rule is enabled - [x] Handle variant boss teams (use auto-matched variant count when available)