Commit Graph

10748 Commits

Author SHA1 Message Date
Kurt
c331d97e89 Fix 2 localization mis-mapped
tested 100k, no more thrown Exception's
2025-07-28 02:11:26 -05:00
Kurt
fb814ac878 Add xmldoc 2025-07-28 00:14:33 -05:00
Kurt
904fd2020c Add external legality check functionality 2025-07-27 23:47:45 -05:00
Kurt
b3d3c9e562 Minor fixup on localization resources 2025-07-27 21:49:22 -05:00
Kurt
65420b0878 Actually test the bulk check result formatting 2025-07-27 21:20:34 -05:00
Kurt
d99ec943fe Fix stragglers from dual PR merge 2025-07-27 21:03:19 -05:00
Kurt
44486fdf85 Merge branch 'master' of https://github.com/kwsch/PKHeX 2025-07-27 21:00:38 -05:00
Kurt
f370c0cc39 Memory<byte> Refactoring (#4527)
`SaveFile` and `PKM` classes now use `Memory<byte>` instead of `byte[]` to store their primary backing array data.
2025-07-27 20:57:10 -05:00
Kurt
13a4d472bc Deferred Humanization of LegalityAnalysis (#4531) 2025-07-27 20:54:58 -05:00
Easy World
a5cdb0e27c Update Simplified Chinese translations (#4529)
* Update translation

* Update Simplified Chinese translations

Improves and corrects Simplified Chinese translations in legality check strings, program messages, and WinForms UI. Updates terminology for better localization accuracy and user clarity.

* revert legality check strings

Will be manually updated in future commit by kwsch -- avoiding merge conflicts for now

---------

Co-authored-by: Kurt <kwsch@users.noreply.github.com>
2025-07-27 16:57:16 -05:00
sora10pls
ba2c397cb9 Add placeholder Shiny Treasures of Ruin date ranges
Wonder Card IDs to be determined, 9996-9999 until released
2025-07-27 15:49:49 -04:00
sora10pls
a49f832f3a Add placeholder Shiny Treasures of Ruin date ranges
Wonder Card IDs to be determined, 9999 until released
2025-07-27 10:06:43 -04:00
abcboy101
fef5ff3edb Translate DataGridViewColumn header text (#4528)
* Localization update

* Translate DataGridViewColumn header text

Temporary label hack in SAV_FolderList is no longer needed

* Localization update
2025-07-26 08:43:23 -05:00
Kurt
6fd644069c GUI: swap gen3 marking visual order
https://projectpokemon.org/home/forums/topic/66916-order-of-cosmetic-markings-in-gen-3/#comment-296256
2025-07-24 14:46:59 -05:00
Kurt
747d083975 Update EncounterEnumerator5.cs 2025-07-23 23:13:53 -05:00
Kurt
a02712e375 Add gen5 spin trade as valid link trade loc
ty Cappy for reporting, and @PP-theSLAYER & @Lusamine for testing.
https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/page/32/#findComment-296214

gen4 spin trades in pt/hgss do not set the wrong value -- gen5 only bug.
2025-07-23 22:37:39 -05:00
Kurt
9d49458787 add a new 0xFFFFFFFF legality check for gen5 eggs
lol nice gamefreak
2025-07-23 22:37:39 -05:00
Fábio H. Attard
ed9d46cad9 Fix SAV1 fallback detection for Yellow version, when starter is not set yet (#4526) 2025-07-23 01:03:22 -05:00
sora10pls
025a812e2c Add latest distribution outbreak data 🍃 2025-07-22 20:15:54 -04:00
Kurt
a548614646 Safeguard moveset suggestions for Gen2->Gen1 enc
Removes all gen2 moves from a suggestion when requestor is a gen1 format mon (can't have gen2 moves). This is the only case where moves are less available (ignoring HOME's multi-format moving, which cannot transfer moves to less-available contexts anyway).

ty Asia81
https://projectpokemon.org/home/forums/topic/66877-pokemon-red-unknown-suggested-moves-for-poliwhirl/
2025-07-21 17:05:49 -05:00
Xzonn
577278b7b8 Update Chinese translations from official translations (#4525)
* Update Chinese translations from 52Poke Wiki

* Fix memory translations

* Update feelings
2025-07-21 15:30:43 -05:00
Kurt
42835e9aac Misc tweaks
Adds a debug hex file loader from clipboard
sav1 current box if empty -> set if box is desync'd
wb7: add comment note of "real" value
2025-07-16 23:02:57 -05:00
Kurt
0e9a3129b4 Misc stuff
Adds GameSync ID for Gen5
Add GiftRibbons to gen3 mainline saves
Add defined chars from Transporter update 7 (latest)
2025-07-13 01:00:43 -05:00
Kurt
b4edc389bb Rearrange gen3/4 deferral enum
null check necessary for unset deferral needing to ignore max
2025-07-12 01:29:37 -05:00
sora10pls
6a9af0a4a3 Add latest distribution raid data 🤜🤛 2025-07-10 20:05:14 -04:00
Kurt
cdb5770f5f Minor tweaks
Fixes cosmetic issue on gen4 seed example times
no functional change otherwise
2025-07-08 23:00:27 -05:00
Kurt
0b77aa5729 Add swsh string check
Replace debug assert in SWSH encounter finder
Add dir arg for pogo pickle reload for debug builds
re-add latest outbreaks
2025-07-06 18:48:49 -05:00
Kurt
16f30ebe2d Handle gen6 wc's with bad OTs
https://projectpokemon.org/home/forums/topic/41065-gen-7-compilation-of-events-that-change-ot-when-traded/
2025-07-06 17:16:11 -05:00
Kurt
a957569caa Update WC9.cs 2025-07-06 11:40:26 -05:00
Kurt
aee9171249 Remove length check
Nope, doesn't check length
2025-07-06 09:56:02 -05:00
Kurt
d0f73c96c1 Ignore h/w odds on wc9 2025-07-06 09:35:17 -05:00
Kurt
31c52b6cd2 Add HOME trade OT replacement functions 2025-07-06 09:21:13 -05:00
Kurt
157210de08 Minor tweaks
Add a mutable trainer info class that mirrors the SimpleTrainerInfo
2025-07-06 09:03:44 -05:00
Kurt
082f9cb340 Add Title to some import dialog prompts 2025-07-06 09:02:44 -05:00
Kurt
89ada33e24 Add ReplaceTrainerName api 2025-07-06 02:15:10 -05:00
Kurt
59047cda25 Update outbreak pickle
More pkNX logic fixes (just now)
2025-07-05 16:31:17 -05:00
Kurt
7864907f81 Add Misty Mark recognition & weather bleed for slots (#4519)
Closes #4036
Weather now handled upstream in pkNX, with bleed applied to individual spawn points, serialized to consumable legality binary.
Misty marks thanks to @Lusamine and her discord helpers -- also utilized https://github.com/kwsch/MistyMarkVisualize to help visualize and filter entity dumps => spawn-position.
2025-07-05 00:08:29 -05:00
Kurt
607901dda1 Misc tweaks 2025-07-04 16:06:26 -05:00
Kurt
fbde4f585d Small enhancement to encdb ui
Shift click type checkbox to un-check others
Search button disables itself if the search would return nothing
When using tabs as criteria, if hyper training is available, only require the specified imperfect IVs for the encounter

enc9: be a little nicer and allow a slight search lag by only considering actual encounterable attempts (passing slot check). Can infrequently obtain a 0-speed shiny Foongus via encDB with a few attempts.
2025-07-04 01:35:48 -05:00
Kurt
c19a4605d5 Misc tweaks
No functional change
2025-07-04 01:32:25 -05:00
sora10pls
a471f1bd8c Add latest distribution outbreak data 🐭 2025-07-03 20:06:27 -04:00
Kurt
bda5baab88 PB7: Permit GO in BelongsTo check
Closes #4518
2025-07-03 18:12:08 -05:00
Kurt
e9d299fc92 Honor more shiny requests in gen6+ encounters 2025-07-02 01:08:50 -05:00
Kurt
e69f6b05f8 Revise bdsp egg gen to follow correlation
no, detecting this correlation is not realtime, and never will be (99.99999% sure).
allow generating of shiny eggs by spoofing a link trade on them.
2025-07-01 01:07:31 -05:00
Kurt
3b4661d40d Revise dmax adv shiny PID generating to match game 2025-06-28 12:32:45 -05:00
Kurt
1258d96883 Add some CodeAnalysis attributes 2025-06-28 00:38:05 -05:00
Kurt
5e0ee30235 Split ShinyUtil.GetIsShiny into separate methods
Some past gen usages weren't passing the bitXor compare `8` and were thus using the Gen6+ 16 value. Let's be explicit.
2025-06-28 00:36:46 -05:00
sora10pls
fd5b9f7db9 Add handling for GO Pass: Ancients Recovered level ranges
Regi encounters have a range of possible levels when encountered from "Ancients Recovered Timed Research: Legendary Giants", allowing for as low as Lv. 1
2025-06-22 17:44:24 -04:00
9Bitdo
cd587828df Add PJCS 2025 Ray Yamanaka's Amoonguss date (#4516) 2025-06-21 09:28:55 -05:00
Carbonara
15f61ef1ca DP - Add Spear Pillar related flags (#4512)
* DP - Add Spear Pillar related flags
* HGSS - Add flags tied to the Slowpoke Well
2025-06-20 23:45:07 -05:00