Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follower Object Event refactor #6129

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

hedara90
Copy link
Collaborator

Description

Supersedes #6117
Fixes shiny pokemon object events and adds the possibility to female forms if they exist, also with shiny.
Also fixes the Swinub OW palette tag collision with the weather.
Refactored how follower graphicsIds are calculated.
Now they are calculated by taking the species number and adding1 << 13 to signify that it is an OW follower/object event.
Furthermore the bits 1 << 14 and 1 << 15 are used to signify if is shiny and female.

Images

pokeemerald-9
pokeemerald-8
pokeemerald-7
pokeemerald-10

Issue(s) that this PR fixes

Fixes #5683 , fixes #5147

People who collaborated with me in this PR

@AsparagusEduardo

Things to note in the release changelog:

  • Fixes OBJ_EVENT_GFX_SPECIES_SHINY
  • Adds OBJ_EVENT_GFX_SPECIES_FEMALE and OBJ_EVENT_GFX_SPECIES_SHINY_FEMALE

Discord contact info

hedara

@hedara90 hedara90 added bugfix Bugfixes category: overworld Pertains to out-of-battle mechanics labels Jan 27, 2025
@AlexOn1ine AlexOn1ine merged commit 58eb635 into rh-hideout:master Feb 6, 2025
1 check passed
hedara90 added a commit to hedara90/pokeemerald-expansion that referenced this pull request Feb 6, 2025
Co-authored-by: Hedara <hedara90@gmail.com>
@hedara90 hedara90 deleted the obj-event-refactor branch February 6, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: overworld Pertains to out-of-battle mechanics
Projects
None yet
2 participants