Commit Graph

10709 Commits

Author SHA1 Message Date
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
9Bitdo
4153b0aab7
Add PJCS 2025 Hyuma Hara's Flutter Mane date (#4514) 2025-06-20 23:44:19 -05:00
Kurt
8c85a03d78 simplify mysterygift clone
move declaration to derived class, can return specific type now
don't use AbilityType directly, use the ability permission computed property for legality checks. probably can remove this explicit MG method in the future.
2025-06-19 23:36:59 -05:00
Kurt
870dbb1ce3 MysteryGift.Empty -> IsEmpty 2025-06-19 23:35:21 -05:00
Kurt
e3ecf7b593 Fix multifolder mgdb set
no usages currently would pass multiple folders for mgdb, but this fixes that potential bug behavior where it sets the array every folder (gradually repeating allocation work).
2025-06-19 23:33:09 -05:00
sora10pls
554321e5b7 Add latest distribution raid data ❄️ 2025-06-19 20:04:15 -04:00
Kurt
fd72b6ea46 Misc tweaks
no functional change
2025-06-18 16:23:31 -05:00
Kurt
ec4cfc807f in 2025-06-18 16:23:07 -05:00
Kurt
7ce73eb55a Revise enc5 pid/gender setpinga
Some properties weren't being honored; lift nature/ability/IV assignment out of monochrome and do in each enc type.
2025-06-18 16:22:14 -05:00
Kurt
e10d272cde Update SummaryPreviewer.cs 2025-06-16 20:45:08 -05:00
Easy World
30d51fc880
fix(zh-Hans): update legality check messages for type and evolution validation (#4511) 2025-06-15 02:50:58 -05:00
Kurt
c274ff6f3a Add more generator filtering criteria
Gen6+ slots now try to give shinies if possible & requested
Gen3/4 slots now try to respect IV requests if only a couple are requested
Removes PIDGenerator; no remaining uses (either all inlined or extracted to specialized generator classes). API usage wasn't recommended anyway, as it was incomplete and did not honor all correlations. We want to try to generate it right the first time.
2025-06-14 21:45:16 -05:00
Kurt
a57914cf27 Add MonochromeRNG (gen5) generating methods
Extracts a bunch of logic from PIDGenerator
2025-06-14 21:42:47 -05:00
Kurt
422a082f98 Split shadow team tests from shadow test
Use TheoryData to wrap instead of `object`
2025-06-14 21:41:01 -05:00
Kurt
416e519073 Misc tweaks
No functional change, just xmldoc and small inlining
2025-06-14 21:39:49 -05:00
Kurt
fae4340b39 Fix typo 2025-06-14 21:38:10 -05:00
9Bitdo
8cb059e6f6
Add NAIC 2025 Wolfe's Incineroar date (#4510) 2025-06-13 11:16:32 -05:00
Kurt
9e501ea527 Add more xmldoc, fix item9 again
really not a fan of the abstract class, probably better to rewrite everything another day to be less dumb

bug was due to the trickle-down then clearing; object references ended up being duplicated when Unobtainable item placeholders were removed from the pouch and things trickled.

don't bother removing unreleased item data if its quantity is 0.
2025-06-11 22:02:34 -05:00
Kurt
d072f14570 Update EncounterCriteria.cs 2025-06-10 18:53:29 -05:00
Kurt
56e06dcbc1 Update SAV_MysteryGiftDB.cs 2025-06-09 16:55:41 -05:00
Kurt
58ae75cc6c Update 25.06.09 2025-06-08 16:34:06 -05:00
Kurt
ccfa58e5f1 Split PathUtil from Util, add more xmldoc 2025-06-08 16:33:31 -05:00
Lusamine
5b70ca0397 Document SV block for moon phases 2025-06-08 14:21:06 -05:00
Kurt
6784d5f045 Merge branch 'master' of https://github.com/kwsch/PKHeX 2025-06-08 08:38:36 -05:00
Lusamine
0de74b44ba Add LA block for in-game time in minutes 2025-06-07 11:19:40 -05:00
Kurt
ba2245d7d8 Add more xmldoc
Updated PIDIV tests to use IV32 rather than IV sequence checks. Now marked as Obsolete to prevent myself from reusing PKM.IVs getter :)
2025-06-07 09:41:02 -05:00
9Bitdo
5c77f79d88
Add PTC 2025 홍주영's Porygon2's date (#4508) 2025-06-07 08:12:26 -05:00
sora10pls
f78e929428 Pokémon Scarlet & Violet are finally playable 2025-06-04 20:05:50 -04:00
Kurt
d2594d7867 Misc tweaks
nothing needed for 4.0.0, everything works as-is
2025-06-02 21:01:16 -05:00
Carbonara
c17fc13fd2
GSC - Give proper name for decoration and puzzle flags (#4505)
Also fixes some lines in the French translation.

For the decorations, the formatting is based on the one of the games, but with names not written in ALL CAPS. As I do not have English copies for the names, I've used the formatting present on this page, https://bulbapedia.bulbagarden.net/wiki/List_of_decorations_in_Generation_II, and I've been using the Nintendo Power formatting for the plants.

There was an error of labelling: an entry was named DECO_PLANT_4, but there are only 3 plants available. After checking, this entry is actually the Town Map, that was listed separately as PLAYERS_ROOM_POSTER. As such, the entry named PLAYERS_ROOM_POSTER is incorrect. I have no idea what this is, if it does anything or not (doesn't seem to change anything when enabled or disabled at a first glance), so this would need someone to check that. For now, I removed the entry from the list, but feel free to readd it or cancel that change if it is needed anyways or if you can figure what it is.

On a similar domain, DECO_STARMIE_DOLL is actually a Staryu Doll, though the in-game name on its own is enough to fix the issue.

The zh_hans translation had some lines not translated in the proper order, so I corrected those lines by putting them in the proper order. (checked by combining translation software, wiki page https://wiki.52poke.com/wiki/%E8%A3%85%E9%A5%B0%E7%89%A9%E5%93%81%EF%BC%88%E5%9F%8E%E9%83%BD%EF%BC%89, and manual search of the Pokémon names to ensure everything was correct).

The decoration flags don't necessarily seem to fully work: they work to unlock a decoration, they work to remove it if unlocked through PkHex, but just disabling the switch on a save file that got the decoration through normal play doesn't seem to always work from what I can see, may need to be investigated.

Documenting the changes made for the French translation also.

Some of the decorations have different names between French Gold/Silver/Crystal and French Stadium 2, documenting them here:

French Gold/Silver/Crystal:
- "Lit à Plumes"
- "Lit :Rose"
- "Tapis :Rouge"
- "Tapis :Bleu"
- "Tapis :Jaune"
- "Tapis :Vert"

French Stadium 2:
- "Lit en Plumes"
- "Lit Rose"
- "Tapis Rouge"
- "Tapis Bleu"
- "Tapis Jaune"
- "Tapis Vert"

For the French translation, I'm using "Lit à Plumes", while for the other entries I'm using the names from Stadium 2 (no need for ":" in the names, and the formatting is odd).

I'm also adding a space for "JouetPikachu Surf" to be "Jouet Pikachu Surf" (space lacking due to the lack of space in the original text - Jouet should also normally be Poupée, but was translated as Toy due to the lack of space, but I'm not renaming it to not be confusing).

Fixing other French mistakes while I'm at it.
- Bec Pointu was written as Bec Pointy in the GSC flags
- Made the flag edit warning message be shorter to be able to be fully displayed
For the Entralink lines:
- Translated w/o to sauf, and wrote No in lower letters
- Changed NOUVEAU to NOUV. to fit in the textbox
- Changed Meilleurs records: to Total meilleurs scores to be clearer and not use ":" due to being odd
- Fixed Verrouillé and Déverrouillé being misspelled
- Changed Le plus de participants to Record nbr. joueurs to fix in the textbox and be more concise
- Fixed the line Verify status which wasn't using the same formatting than another similar line, and had several typos

The translations for the Entralink may not be final, it depends on if I revisit the translation of PkHex to complete it in some categories later on or not.
2025-06-02 18:38:20 -05:00
sora10pls
bc8ea34474 Add latest distribution outbreak data 🦆🖥️ 2025-06-01 20:05:14 -04:00
Kurt
602b1b6371 Add more xmldoc 2025-06-01 11:08:07 -05:00
Kurt
675c017a56 Merge branch 'master' of https://github.com/kwsch/PKHeX 2025-05-31 22:51:57 -05:00
Kurt
bf9e53efa1 Misc tweaks
Add more xmldoc
Simplify some expressions
Reduce unnecessary logic
2025-05-31 22:51:55 -05:00
Kurt
75cf9b0934
Use more modern PluginLoader implementation (#4503)
* Use System.Runtime.Loader to load plugins

Can now unload plugins if need be. Load->Update->Unload->Load(new) ?
2025-05-31 21:03:12 -05:00
Kurt
93d9292d83 Minor clean 2025-05-30 17:41:54 -05:00
sora10pls
af92d43650 Add more bugs to Pokémon Scarlet & Violet 2025-05-29 20:06:34 -04:00
Kurt
87d55fc303 revise xd ID check to exclude PAL
ty John_0902 on discord
2025-05-29 10:16:51 -05:00
Kurt
fd766a5506 Filter db search dropdowns for current context
"why can't I find Yveltal in SV?" because it doesn't exist in the game
now matches the dropdowns of the main PKM editor
2025-05-29 10:04:06 -05:00
Kurt
c9b8a5b893 Misc tweaks
No functional change
2025-05-29 10:03:17 -05:00