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

Prof. Birch cannot identify Pokedex correctly #3874

Closed
katykat5099 opened this issue Dec 30, 2023 · 3 comments · Fixed by #3900
Closed

Prof. Birch cannot identify Pokedex correctly #3874

katykat5099 opened this issue Dec 30, 2023 · 3 comments · Fixed by #3900
Assignees
Labels
bug Bug status: unconfirmed This bug has not been reproduced yet

Comments

@katykat5099
Copy link

Description

If you set the entire pokedex completed in the debug menu and talk to Birch to evaluate the pokedex, or encounter him in any other situation where he checks your progress, he will not identify that you have completed the pokedex in any way.
Maybe related to the regional dex originally being a higher number?

profbirchdialogpokedex

Version

1.7.1 (Default)

Upcoming Version

515aa36

Discord contact info

kakarikiki

@katykat5099 katykat5099 added bug Bug status: unconfirmed This bug has not been reproduced yet labels Dec 30, 2023
@LOuroboros
Copy link
Collaborator

I think the cause is just the weird way in which the function that handles the logic for the rating message is written, in other words, GetPokedexRatingText.

@Bassoonian
Copy link
Collaborator

Bassoonian commented Jan 1, 2024

I think there's two possible options here: leave it as is because part of that code needs special handling for whichever mythical you have in your regional dex, or have the count < x scale dynamically based on the size of the dex. RSE has 200 + 2 (with a message for every 200 / 20 + completion), ORAS has 209 + 2 (thanks GF) so we could do 209 / 20 + completion with the necessary rounding shenanigans for these kind of issues, I suppose. If we don't magic number the +2, we could perhaps make a table with mythicals that aren't included in the count for completion ({ SPECIES_JIRACHI, SPECIES_DEOXYS }) and include that table size in the formula.

@LOuroboros
Copy link
Collaborator

or have the count < x scale dynamically based on the size of the dex.

we could perhaps make a table with mythicals that aren't included in the count for completion ({ SPECIES_JIRACHI, SPECIES_DEOXYS }) and include that table size in the formula.

I like that 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants