Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/11/24 in all areas

  1. https://www.linqpad.net/ https://www.nuget.org/packages/PKHeX.Core, but some logic might only be available on the current working code (continuous improvements!). NuGet has integrations to Visual Studio, however you can always download `nupkg`'s manually and just change the extension to .zip and get the .dll that way. https://github.com/kwsch/PKHeX https://visualstudio.microsoft.com/vs/community/ PKHeX.Core is essentially the backend API that the GUI uses to do all the calculations. Unlike ladder logic, it's the usual code programming (like structured text? but so much less ugly!) The only real documentation is the source code itself, which (biased take, since I'm the primary author) isn't too bad. There's just a LOT, but understanding the terminology will get you 99% of the way there when looking for things.
    1 point
  2. Gender is determined from PID and the Species' gender ratio, which is stored in the "personal info" for the game. var ratio = PersonalTable.E[Species].Gender; var gender = EntityGender.GetFromPIDAndRatio(pid, ratio); if (gender != 1) // Female continue; for ralts: var ratio = PersonalTable.E[(int)Species.Ralts].Gender; For your specific case, the only (1) result is a male. You'd have to hatch it on a different save file (TID/SID) which would be an entirely different PID-IV (nature) spread. You can potentially remove the constraint of shininess to get more results, and add the gender constraint (and even an attack IV = 0 constraint) or whatever other constraints you want to filter down the list, and calculate what TID/SID combination would make that spread shiny.
    1 point
  3. You'd need to know the details about how the encounter is created, and how to bruteforce the entire range of results. That's what those search programs (and this script) do. Writing the code is pretty straightforward if it's focused on checking one type of result.
    1 point
  4. There isn't any tool written to search these events for a valid PIDIV for your specs, but that doesn't prevent anyone from writing one. Here's a LINQPad script using PKHeX.Core to iterate through all possible seeds matching your criteria. Note that there are only 2^16 seeds, and with Ralts+Wish being 1:8 (2^3) chance, and shiny (1:8192, aka 2^13) there'll usually only be 1 result for a given TID/SID/gift choice, usually 0-2 shiny results for a given request (ignoring Pichu). Punching in the result from the script, you get a legal result inside PKHeX.
    1 point
  5. I originally created a thread to check my own pokemon for legality, and although it proved sucessful, it made me realize that many members pose questions about legality of there pokemon or if someone may check the legality of them. Sadly, many members do not know where to look. This thread is intended to aid members in the legalizing of their pokemon through checking over trash bytes, running pkms through the legality checker, and answering questions not already answered in the Legality guide. Simply attached a post with the question, Error message, and/or pkm needing to be legalized. Our team of checkers/Legalizers will act as quickly as possible to solve your issue. From time to time I may post my own pkm because I may need some help as well. Legality can take a while to understand. RULES: -a maximum of 10 pkms may be posted every 2 days by a single member - always check the Legality Guide (by Greencat) first before asking a question - do not PM People contributing to this thread asking why they have not completed your question yet. They will always post here if they are not availible or have answered your question Further rules may be added in the future CONTRIBUTORS: -Metalbear- Legality and Trash Bytes/ Pkm Attributes -Aarux- Pkm Attribute's -Sabresite- Legality Results/ "Why Does ____ Result Show Up?"/ Pkm Attributes -Toffeuy- Legality and Trash Bytes *** If you wish to help in the success of this thread, PM me!*** Moderators: if there is already a similar topic, please delete this one. This was intended to make it easier to ask questions, find answers, and cut down on "Thread Spam"
    1 point
×
×
  • Create New...