Skip to content

Enable new Pokemon by default#382

Closed
Mygod wants to merge 1 commit into
WatWowMap:mainfrom
Mygod:patch-3
Closed

Enable new Pokemon by default#382
Mygod wants to merge 1 commit into
WatWowMap:mainfrom
Mygod:patch-3

Conversation

@Mygod

@Mygod Mygod commented Jan 30, 2022

Copy link
Copy Markdown
Collaborator

ok thanks

@TurtIeSocks TurtIeSocks left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test these changes as I don't think this is going to do what you think it will, thanks!

@TurtIeSocks

Copy link
Copy Markdown
Collaborator

Closing due to inactivity.

jfberry added a commit to jfberry/ReactMap that referenced this pull request Jul 20, 2026
…pgap

Golbat WatWowMap#382 now decodes TEMP_EVO_BRANCH_RESOURCE (reward type 20 — temp-evo
branch = mega energy) into info.pokemon_id/amount, filling the generated
quest_pokemon_id/quest_reward_amount columns exactly like a MEGA_RESOURCE
(type 12) reward. So type 20 is now handled as mega everywhere:

- SQL getAll: mega matching broadened to quest_reward_type IN (12, 20).
- SQL getAvailable: queries.mega/megaAlt advertise (12, 20); type 20 excluded
  from the u<type> fallback set; megaBranchFallback machinery removed.
- SQL search: a 'mega' reward-type search also matches type 20.
- parseRdmRewards: any type-20 reward carrying info.pokemon_id is normalized to
  type 12 so the mega branch keys it as m<id>-<amount> (sourceQuestRewardType
  still preserves a u20 filter).
- Endpoint DNF (buildPokestopDnfFilters): mega clauses emit quest_reward_type
  [12, 20] so Golbat returns type-20 mega stops.

The empty-info GoFest 2026 Mewtwo stopgap (applyGoFest2026MewtwoRewardFallback
+ hardcoded m150-150) is retired — it required empty info and stops matching
once Golbat WatWowMap#382 populates it. Requires deployed Golbat >= PR WatWowMap#382.

Addresses Mygod review comment WatWowMap#3 (type-20 mega retrievability).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants