Skip to content

Add Gen IV Headbutt encounters#1520

Open
Machine-Maker wants to merge 3 commits into
PokeAPI:masterfrom
Machine-Maker:feature/gen-iv-headbutt
Open

Add Gen IV Headbutt encounters#1520
Machine-Maker wants to merge 3 commits into
PokeAPI:masterfrom
Machine-Maker:feature/gen-iv-headbutt

Conversation

@Machine-Maker
Copy link
Copy Markdown
Contributor

@Machine-Maker Machine-Maker commented May 9, 2026

Change description

Adds headbutt encounters for HG/SS in Gen IV.

I took the headbutt.json file from decompiled source for all the encounters and location. Claude helped come up with a mapping from location to location within pokeapi.

AI coding assistance disclosure

Claude Code helped me understand encounter mechanics by analyzing decompiled source for HG game.

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.

Closes #419

@Machine-Maker Machine-Maker marked this pull request as ready for review May 14, 2026 00:58
@Machine-Maker
Copy link
Copy Markdown
Contributor Author

Ok, PR is updated with latest changes on master.

Comment thread data/v2/csv/encounter_conditions.csv Outdated
Comment thread data/v2/csv/encounter_condition_values.csv Outdated
Copy link
Copy Markdown
Member

@jemarq04 jemarq04 left a comment

Choose a reason for hiding this comment

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

A few quick comments. I'll take a look at specific encounter data more in-depth after we've discussed these

Comment thread data/v2/csv/location_areas.csv
Comment thread data/v2/csv/encounter_conditions.csv Outdated
Comment thread data/v2/csv/encounter_condition_value_prose.csv Outdated
Comment thread data/v2/csv/encounter_condition_values.csv Outdated
Copy link
Copy Markdown
Member

@jemarq04 jemarq04 left a comment

Choose a reason for hiding this comment

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

Checked a few files and they look great, so I'll assume the rest is looking good. Thanks again for the contributions!

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.

missing pokemon encounters from headbutt trees

3 participants