Skip to content

feat: Add move learnsets for later game generations, and localized texts - #1718

Open
FallenDeity wants to merge 4 commits into
PokeAPI:masterfrom
FallenDeity:switch-learnsets
Open

FallenDeity wants to merge 4 commits into
PokeAPI:masterfrom
FallenDeity:switch-learnsets

Conversation

@FallenDeity

@FallenDeity FallenDeity commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Change description

  • Add nihil light
  • add pla mastery support
  • add new moves along with localized flavor text names and desc from in game (including missing za moves, reminder moves, egg etc)
  • add missing machines for legends za from its dlc to main so the learnsets which are based on base game can use it (same for bdsp)
  • add localized texts for abilities
  • added missing version group and region linking

Closes #1717 #1316 #1534 #1370 #943

Partial
#1153 - this adds a reminder method distinction but this also ask for evolution move learn method trigger which is redundant imo since we already use a level 0 sentinel if users want they also derive the actual from the evolution endpoint and level learned at explicitly

Confusion with egg moves some of the issues that are open are regarding people being confused why the egg moves are not on evolved forms too we can close these issues but imo we should add some documentation in the site about it

#1503 #897 #828

cc: @jemarq04 @notblisy

AI coding assistance disclosure

Used it to orchestrate the mapping from original dumps to pokeapi and audit

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.

@FallenDeity

FallenDeity commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor Author

edit: reused the mastery col we had before for both za and pla enhancement move levels like plus moves and agile/strong we were not using this field before in build.py so it was never exposed renaming it shouldnt break anything

edit 2: i have a structure in mind for variant move stats which i have but this pr alone might be a bit big lmk if that is fine as part of this pr or i should make a separate pr

Comment thread data/v2/csv/moves.csv Resolved

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.

I can't comment on individual lines since there are so many changes, so I'll just put them in this thread.

Is there a reason you changed some of the order fields in this file? How did you determine they were wrong?

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.

I see you removed TM moves for certain pokemon with alternate regional forms (Typhlosion, Samurott, ...). I'm assuming this has to do with your work on that in your 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.

Why did larvesta lose its bug-bite move from TM?
Similarly, indeedee-female lost some moves from TM?

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.

I see some pokemon lost their level 0 level-up moves - likely replaced with the new reminder method. Same comment as before - we can leave this as-is since it can be treated as a "missed" level-up move that a player would need the reminder for.

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.

Of course, I couldn't review every line (especially the large number added at the end) so I'll trust you on those and we can just catch things as we find them in the future.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

reply to comments in order

image

matches the order present online in stuff like bulbapedia too https://bulbapedia.bulbagarden.net/wiki/Dragonite_(Pok%C3%A9mon)/Generation_VIII_learnset

image made a little visualizer to make it easier to review for me, what was removed was a wrong entry carried over from swsh to sv where it still learnt bug bite via level up which is wrong because in sv it learns it only via tm

for example currently live which is wrong
image

for indeedee there was a move leak between male and female which have diff moves which i fixed for example female cannot learn expanding force in sv it gets alluring voice instead

image

this fixes the discrepancy

  • they werent lost or removed for example leer as of now is level 0 on walking wake they were just moved to level 1 with level up as trigger they werent made reminder reason is level 0 is a sentinel we currently use for marking a move that a pokemon learn on evolution these myths/mons dont evolve so level 0 seemed wrong check Lack of distinction In Evolution and Reminder moves #1153 and rom had them as level 1 too so i used that

for other cases where a move is learnt on evo for ex annihlape shadow punch i left the level learned at to 0 same as our standard practice

also yeah ill resort the file so the additons stay near its relative position rather than eof should make it easier to review

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.

Great, thanks for the explanations! In that case, everything is looking good to me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

awesome let's see if we can get a review from blisy or naramsim once #1719 is merged we can merge this one in

jemarq04
jemarq04 previously approved these changes Nov 11, 2026
# Conflicts:
#	data/v2/csv/ability_names.csv
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.

Nihil Light Missing

2 participants