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

Bugfix for cable car hikerGraphicsIds array #2039

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

Scyrous
Copy link
Contributor

@Scyrous Scyrous commented Sep 29, 2024

Description

During the Cable Car transition cutscene, there's a 1/64 chance for an NPC sprite to appear walking below. The available NPCs include the Hiker, Camper, Picnicker, and Zigzagoon. However, due to the use of ARRAY_COUNT(hikerGraphicsIds) - 1, it is impossible for Zigzagoon to appear during the cable car cutscene.

It seems this is an oversight by Game Freak, as there is no clear rationale for including Zigzagoon in the array of NPCs if the intent was for it not to appear during this cutscene.

Proposed solution: remove the - 1 from the array count.

Discord contact info

Scyrous

@GriffinRichards GriffinRichards merged commit 37d104f into pret:master Oct 2, 2024
1 check passed
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