Jump to content

Kaphotics

Helpful Member
  • Posts

    7216
  • Joined

  • Last visited

  • Days Won

    357

Everything posted by Kaphotics

  1. Edit them in HxD or any other hex editor. Reference structure is at the bottom of here: https://github.com/kwsch/PKHeX/blob/029e0e0a0801d2d6075bcca32cb6a0736deb1543/PKHeX.Core/Saves/Substructures/Gen7/GP1.cs
  2. That's probably not saved in the PKM data, it's likely in the save file which gender it is. I don't think anyone has found where that info is stored. The game shouldn't have to dig through the pkm storage to find your starter, then to check the gender. It's likely precomputed and stored for easy reference
  3. Read the source code, or find a website that lists the new game's data.
  4. You can import & export gp1 files, and dump the current contents. Whatever is in the editor is what's currently available.
  5. example: folder name, tab, path.
  6. The batch editor is the go-to for finding what properties are named; they're the same as those used in the Advanced Search. =PKRS_Strain=0 ^ never infected
  7. I looked into the savedata stored for GO transfers, and the Move IDs are retained. If you've transferred things already, just leave them there. We may have this as an 'event gift' format file that can be shared and injected into save files.
  8. Older versions (back 8~ months ago) cleared OT affection when it shouldn't have; but maybe you hacked in the ribbon, idk Sure, ignore the wordfilter. It's just a warning I guess.
  9. 1) gen6 contests set +20 to OT affection. Not having valid OT affection with the ribbon = flagged; working as intended. 2) will have to add edge case handling, wasn't aware of this 3) the 3ds word filter is active for all generations as a general use precaution.
  10. PKHeX uses this site's event gallery to validate mystery gift encounters; if it's not in the repo then PKHeX doesn't know about it PKHeX checks for 100% matches for gifts... would have to be contributed (or added fake-legal gift data) for it to be recognized!
  11. @Sabresite @theSLAYER Could also be that their wiki is wrong. Not sure about the card validity.
  12. And yet it still has its Crystal met data, which should have been wiped on Gen2->Gen1 transfer before you taught it Reflect. Hacked; working as intended.
  13. Kaphotics

    pichu event ilegal

    Done: https://github.com/kwsch/PKHeX/commit/d5c22b1e510b9b7cb02c745008709e91d1bacf6d
  14. Hmm.... I used RNG Reporter to generate this list of possible lock frames. start @ -129 tid/sid +2 50166/18532 25f493e5 @ -127 5 25F493E5 Serious eddaf479 @ -116 16 EDDAF479 Hardy 86 B9270E4D Hardy 102 811C9F7C Hardy 14a61dfe @ -7 125 14A61DFE Quirky 127 C9AC37EC Quirky shadow 134 9480B1D7 Adamant Traversing forward we can see it would match the first 2 members, but would stop at the 14A61DFE. +7 from that would be frame 132 with a PID of A15BAA59. I dug a little deeper, looking at PKHeX's PIDIV matching. Holding control when requesting the legality report gives me this: Encounter Type: Static Encounter (XD) (Farfetch’d) Location: Mt. Battle (C) Citadark Isle (XD) [076] Origin Seed: 37EC9A38 PID Type: CXD Using that seed, the first PID generated in RNG Reporter is A15BAA59, therefore, this was detected as an antishiny XD spread. In PKHeX, the PIDIV is detected first (with some leeway provided for antishiny spreads). PKHeX only tests the shadow locks, but doesn't back-check the eventual shadow mon. Looks like there's another step that PKHeX doesn't do (final shadow validation). Will have to add on some new stuff to flag any more invalid cases
  15. PKHeX finds it possible to generate starting with seed 68d088a7 with no shiny skips required; the NPC TID/SID take the next 2 frames, then the pkm are generated from there. It could be that the Farfetch'd shadow locks are documented incorrectly instead generated team data: 68d088a7 @ -129 (start) tid/sid +2 25f493e5 @ -127 eddaf479 @ -116 14a61dfe @ -7 shadow mon public static readonly TeamLock XFarfetchd = new TeamLock { Species = 083, // Farfetch’d Locks = new[] { new NPCLock(282, 12, 0, 127), // Gardevoir (M) (Serious) new NPCLock(368, 00, 1, 127), // Gorebyss (F) (Hardy) new NPCLock(315, 24, 0, 127), // Roselia (M) (Quirky) }};
  16. Since the last release earlier this week, certain shadow checks were updated. As I previously noted, the release had incorrect data for Snorlax and Electabuzz. Suicune was probably not legal on older versions (it does not have any shadow checks), hence me stating that PKHeX doesn't recognize the met location as legal (which will have to be updated for).
  17. Snorlax and Electabuzz should be fixed with the latest release; Suicune is probably an undocumented met location.
  18. So what's the verdict for this topic?
  19. Shadow Lock checks were recently added. We didn't find any edge cases, but this may be one. Basically the game generates the non-shadow mons and shadow mons; they're forced to certain Nature/Gender/non-shininess, so the PID generation loops until a valid one is found. PKHeX probably isn't finishing the final verification to the OT -- I suspect that the NPC got a shiny reroll which throws things off a little. @Admiral_Fish if you're at all curious about this
  20. I think instead of it being version specific as previously thought: It's likely OT gender specific (inverted player gender)? Since player OT is never saved to the data, it means either PID encounter is not version specific. new EncounterTradePID { Species = 213, Ability = 2, TID = 04336, SID = 00001, OTGender = 0, Gender = 0, IVs = new[] {15,20,15,20,20,20}, PID = 0x000214D7, Level = 20, Location = 130, Moves = new[]{132,117,227,219}, Version = GameVersion.HG },// Kirk's Shuckle new EncounterTradePID { Species = 213, Ability = 2, TID = 04336, SID = 00001, OTGender = 0, Gender = 1, IVs = new[] {15,20,15,20,20,20}, PID = 0x00020003, Level = 20, Location = 130, Moves = new[]{132,117,227,219}, Version = GameVersion.SS },// Kirk's Shuckle Try removing the Version restriction at the end, recompile, and it should work?
  21. See here for Emerald overworld object flags: (1000) https://github.com/pret/pokeemerald/blob/b1b97c1da9f8190ef3d145acf30eb1708f50e3f3/include/constants/flags.h#L933-L1104 (500) https://github.com/pret/pokeemerald/blob/b1b97c1da9f8190ef3d145acf30eb1708f50e3f3/include/constants/flags.h#L516-L629 R/S: (1000) https://github.com/pret/pokeruby/blob/9d62ad060b05848a0cad1f09881c3863596455fd/include/constants/flags.h#L614-L749 (600) https://github.com/pret/pokeruby/blob/9d62ad060b05848a0cad1f09881c3863596455fd/include/constants/flags.h#L258-L357 Should be obvious that they chunk everything up, and start at nice round numbers
×
×
  • Create New...