Skip to content

Merge upstream 6 commits #36

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

Merged
merged 6 commits into from
Aug 18, 2024
Merged

Merge upstream 6 commits #36

merged 6 commits into from
Aug 18, 2024

Conversation

Xieon
Copy link

@Xieon Xieon commented Aug 18, 2024

merge 6 commits including stenee, sylveon , go research timed for Worlds

Summary by CodeRabbit

  • New Features

    • Enhanced Pokérus functionality with encounter-related checks for better accuracy.
    • Added event entries for "WCS 2024 Steenee" and "Tomoya's Sylveon" with specified date ranges.
    • Introduced new Research10 enumeration value for Pokémon captured after completing Field Research.
  • Bug Fixes

    • Corrected minor formatting issues in Pokémon data entries.
  • User Experience Improvements

    • Added a system sound when modifying all entries in the Pokédex.
  • Refactor

    • Simplified and improved readability of various methods across the application.

9Bitdo and others added 6 commits August 16, 2024 20:29
Remove GameVersion from IShadow3, lessening usage of fake gameversion IDs
fix sav3 with absurdly high record values (int.MaxValue -> uint.MaxValue)
PLA sneasel -> transfer, catch virus -> PLA, evolve => was flagged. Need to check the encounter species-form, not the current species-form.
List all the species-form that are of consideration.
Wyrdeer, Kleavor, Ursaluna, Sneasler, Overqwil, Basculegion
projectpokemon/PoGoEncTool@f2296cc update pickles because Necrozma encounter types had to be incremented by one
@Xieon Xieon merged commit b94b3e3 into Xieons-Gaming-Corner:master Aug 18, 2024
Copy link

coderabbitai bot commented Aug 18, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

The recent changes enhance the functionality and flexibility of the PKHeX project, particularly focusing on the Pokérus mechanics, encounter data handling, and user interface improvements. Key modifications include the integration of encounter-related parameters in various methods, new event entries, and updates to the Pokémon type enumerations. Additionally, minor refinements in code readability and user experience have been implemented across different components.

Changes

File Path Change Summary
PKHeX.Core/Editing/Pokerus.cs Enhanced Pokérus methods to incorporate encounter data, including a new method for strain origin.
PKHeX.Core/Legality/Encounters/Data/Gen3/EncountersWC3.cs Minor formatting adjustment by removing a trailing comma in an object initializer.
PKHeX.Core/Legality/Encounters/Data/Live/EncounterServerDate.cs Added new event entries for "WCS 2024 Steenee" and "Tomoya's Sylveon" with date ranges.
PKHeX.Core/Legality/Encounters/Templates/GO/PogoType.cs Added Research10 to the PogoType enum for Pokémon from Field Research, updated related logic.
PKHeX.Core/Legality/Encounters/Templates/Gen3/Colo/IShadow3.cs Removed Version property from IShadow3 interface.
PKHeX.Core/Legality/Encounters/Templates/Gen3/XD/EncounterShadow3XD.cs Adjusted condition in IsMatchLocation method for broader match criteria.
PKHeX.Core/Legality/Encounters/Templates/Gen3/XD/EncounterSlot3XD.cs Updated ConvertToPKM method to use new game version parameter for encounter moves.
PKHeX.Core/Legality/Moves/GameData.cs Added EFL option to move learning source switches.
PKHeX.Core/Legality/RNG/CXD/LockFinder.cs Refactored code for readability without functional changes.
PKHeX.Core/Legality/Verifiers/MiscVerifier.cs Modified VerifyMiscPokerus method to utilize encounter-specific data for strain validity.
PKHeX.Core/PKM/Util/EntityDetection.cs Removed constants SIZE_9STORED and SIZE_9PARTY from size identifiers.
PKHeX.Core/Saves/Substructures/Gen5/BattleSubwayPlay5.cs Removed an unused static import statement.
PKHeX.Core/Saves/Substructures/Gen8/BS/Zukan8b.cs Added methods to retrieve gender flags based on shiny status.
PKHeX.Core/Saves/Substructures/PokeDex/Gen9/Zukan9Kitakami.cs Updated SeenAll method to manage Pokémon visibility based on shiny status.
PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs Adjusted numeric control limits to non-negative integers.
PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_PokedexBDSP.cs Added system sound on ModifyAll execution for user feedback.
PKHeX.WinForms/Subforms/Save Editors/SAV_SimplePokedex.cs Changed loop from for to foreach for better readability in AddAllSpecies.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Pokerus
    participant Encounter

    User->>Pokerus: Call IsObtainable(PKM, ISpeciesForm)
    Pokerus->>Encounter: Check encounter data
    Encounter-->>Pokerus: Return encounter status
    Pokerus-->>User: Return Pokérus obtainability
Loading
sequenceDiagram
    participant User
    participant MiscVerifier

    User->>MiscVerifier: Call VerifyMiscPokerus(PKM)
    MiscVerifier->>Encounter: Retrieve encounter data
    Encounter-->>MiscVerifier: Return data
    MiscVerifier-->>User: Return validity of Pokérus strain
Loading

🐇
Hopping through code with glee,
Enhancements made, oh what a spree!
Encounter data now in play,
Making Pokérus more than just a fray.
With each tweak, the magic's clear,
A better world for Pokémon near!
🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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.

4 participants