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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
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