Skip to content

The trainer ID randomization doesn't work, it's always 00001 #3

Description

@ViWalls

Both Mewdistro and Celebidistro don't give a randomized ID each time you trade or make.

Line 315 pPartyMember->original_trainer_id = (randw() % 65535) + 1; always resolves as 0 + 1, so the function is not working as expected. You can manually set the value you want by replacing 1 for the desired ID which is useful, but still code made me believe the original purpose was a randomized ID.

Also note that 00000 is a possible ID, so there is no need to give + 1 and just a number from 00000 to 65535 will be valid.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions