Skip to content

Add pokemon form trigger conditions#1578

Open
dyp1109 wants to merge 1 commit into
PokeAPI:masterfrom
dyp1109:feat/link-form-changes-methods
Open

Add pokemon form trigger conditions#1578
dyp1109 wants to merge 1 commit into
PokeAPI:masterfrom
dyp1109:feat/link-form-changes-methods

Conversation

@dyp1109

@dyp1109 dyp1109 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Change description

Addressing issues #1549 by adding new form triggers fields in /api/v2/pokemon-form/ endpoints.

Changes included:

  • New PokemonFormMethod and PokemonFormCondition models to store how a form is activated,
  • New pokemon_form_methods.csv to define trigger types, and pokemon_form_conditions.csv to link forms to their trigger methods.
  • New za mega-stones in items.csv

AI coding assistance disclosure

I use AI assistant for formatting.

Contributor check list

  • I have written a description of the contribution and explained its motivation.
  • I have written tests for my code changes (if applicable).
  • I have read and understood the AI Assisted Contribution guidelines.
  • I will own this change in production, and I am prepared to fix any bugs caused by my code change.

@Naramsim Naramsim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi, can you merge the migrations into a single one?

Can you address the failing tests?

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