Commit Graph

11329 Commits

Author SHA1 Message Date
Ka-n00b
c8d0ea450e
Update lang_de.txt 2026-06-08 13:10:58 -04:00
Ka-n00b
2055fbdb08
Update MessageStrings_es.txt 2026-06-08 11:45:12 -04:00
Ka-n00b
d3f0fff273
Update MessageStrings_es-419.txt 2026-06-08 11:45:10 -04:00
Ka-n00b
ffca6aeb55
Update MessageStrings_ko.txt 2026-06-08 11:43:18 -04:00
Ka-n00b
660d251eb6
Update MessageStrings_de.txt 2026-06-08 11:41:39 -04:00
Lusamine
a71b808b77 Label SV block for current location ID 2026-06-07 23:50:49 -05:00
Kurt
a052f59ffe Gen5 entree: remove erroneous Invisible flag
was just an impossible form bitflag that causes the game to wig out when set
2026-06-07 18:24:16 -05:00
Kurt
c4d4af2719 Sanity check criteria ability before generating
no more stunlocking the generator by requesting hidden ability mons from wild encounter slots
2026-06-07 17:45:55 -05:00
Kurt
9eb5b4737d gen5: musical prop unlocks as list 2026-06-07 17:15:32 -05:00
Kurt
8cb7a133c5 pk3.Korean always false
even if language ID is hacked to Korean, don't return true (since it doesn't exist).
2026-06-07 17:14:24 -05:00
Kurt
edc6c7c29b Re-flow SAV editor button panels 2026-06-07 16:32:24 -05:00
Kurt
092d760ae9 enc->pk: Minor perf improvement
Move the %25 into the Criteria check method; only done in 1 method rather than across a few dozen.
can potentially skip % operations depending on inputs.

also inline some gender calls where gender isn't needed further in the generation pattern, so it can be skipped.
2026-06-07 16:15:05 -05:00
Kurt
76c3b72ae4 Gen5: Flesh out a few more blocks, PGL editor
Run a quick translation of the save troubleshooter (force loader)
Adds a PGL editor GUI
Fleshes out the adventure info block, GTS block, and battle box block; thanks to the PGL DW effort aggregating over 100 save files to give a varied expression of fields :D
Fix SpriteUtil failing to yield an item sprite (due to the split of artwork-item/big-item, the method was never repointed).

fix wishmkr shiny request failing to return correctly; add in ganlon/salac item set
2026-06-07 15:50:53 -05:00
Ka-n00b
04eb8cbe8b
Translation updates (#4816)
* Update legality_de.json

* Update lang_ja.txt

* Update lang_en.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_fr.txt

* Update lang_it.txt

* Update lang_de.txt

* Update lang_ko.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_de.txt

* Update lang_it.txt
2026-06-07 15:05:02 -05:00
Kurt
5767ab85cf Update SAV3RSBox.cs
Closes #4815
ty @MrPerson0
2026-06-04 00:01:53 -05:00
Kurt
d860af34d2 Gen4 korean gts: nickname fallthru case
https: //github.com/kwsch/PKHeX/issues/4811#issuecomment-4612279177
Co-Authored-By: abcboy101 <16735361+abcboy101@users.noreply.github.com>
2026-06-03 23:52:05 -05:00
Kurt
2897b95723 Reduce padding in OT/Misc tab, gen6/7 was too tall 2026-06-02 22:31:20 -05:00
Kurt
7603943e25 Add save file force loader (CTRL-ALT-L)
Accessible on release builds too; now joined by the hex-clipboard &Import and the list-pl&Ugins

maybe I'll add these as a visible toolstrip. for now, feature is available to those in-the-know, and who should know-better.
does this allow loading of previous unsupported romhack savefiles? yeah. should it be used to do that? no.
2026-06-02 00:32:35 -05:00
Kurt
a0328c8330 Misc tweaks
Minor internal api safety to avoid potential memory leaks
2026-06-01 22:25:34 -05:00
Kurt
ff0ad621e3 HGSS: fix pokeathlon trainer name get/set
off by 4 lol
2026-06-01 22:20:46 -05:00
Kurt
57162fa739 Update SpeciesName.cs 2026-05-31 09:51:07 -05:00
Kurt
93661ea50d Update Gen4GlobalTradeRules.cs
Fix comparison to actually indicate Korean GTS exchange required
2026-05-30 23:31:44 -05:00
Kurt
0b6a1accde Minor tweaks
No functional change, extracting some APIs and adding more xmldoc

Store potential learn source group as flags, might change later.
2026-05-30 23:30:51 -05:00
abcboy101
801928d72c
Handle KOR Gen2 -> Gen1 transfers (#4814)
Mirror the Korean detection logic in StringConverter2 in StringConverter1
2026-05-30 11:21:47 -05:00
Kurt
0428865d03 Gen4: relax Korean<->International legality
Closes #4811
Follow-up needed (or never):
* OT names: any more?
* OT names: dependent on OT Version/Gender? Dependent on uploader Version/Gender?
* Trigger: on any char being within the Korean chartable span?
* Nicknames: wiped if triggered?
* Trash bytes: if nickname wiped, does it clear correctly? 5-char nickname on Muk would leave 1 char as trash.

Sad this was never common knowledge back in the day.
Add some utility methods to quickly check if sanitization should apply.
2026-05-29 23:50:04 -05:00
Kurt
3aeba927ab Misc tweaks 2026-05-29 15:12:07 -05:00
Ka-n00b
95e1247df1
Minor Translation Updates (#4813)
* Update lang_en.txt

* Update lang_de.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_fr.txt

* Update lang_it.txt

* Update lang_ja.txt

* Update lang_ko.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_en.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_es-419.txt

* Update lang_ko.txt
2026-05-28 22:04:48 -05:00
Kurt
dd76abdbb4 Add highdpi text/control setting, detect dark
Detects for system dark mode on startup since many users don't know about dark mode. Won't override any existing setting, just detects if no cfg exists `new()`.

Text/control dpi scaling is opt-in for high dpi users, reduces font blurriness.
https://github.com/kwsch/PKHeX/discussions/4458#discussioncomment-12362513
The hover-preview was rewritten in the past year to directly paint instead of updating many controls, so it works fine with `DpiUnawareGdiScaled`. I've not checked extensively to see if anything becomes broken, so user beware 💫
2026-05-27 11:28:16 -05:00
Kurt
3c6c7d71c2 Minor casting perf improvement
moves the cast to the return, registers are 32-bit and overflow is OK.
2026-05-26 23:26:47 -05:00
Kurt
8e7e02add5 swsh: another use of exeggutor static
https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/page/36/#findComment-300436
https://bulbapedia.bulbagarden.net/wiki/Workout_Sea#Wanderers
2026-05-26 10:48:12 -05:00
Kurt
ee2fd8428a WA9: check all IVs if all specified
Closes #4812
2026-05-26 00:33:34 -05:00
Kurt
5cbc796ad7 HGSS: Add Pokeathlon editor
Closes #4755
2026-05-26 00:26:10 -05:00
Kurt
3009531289 initial pokeathlon 2026-05-25 20:30:20 -05:00
Ka-n00b
a2bc573331
Update DPPt Event Flags + Translations (#4810)
* Update text_Games_ja.txt

* Update const_dp_en.txt

* Update const_dp_es-419.txt

* Update const_dp_fr.txt

* Update const_dp_ja.txt

* Update const_dp_ko.txt

* Update const_dp_zh-Hans.txt

* Update const_dp_zh-Hant.txt

* Update const_dp_es.txt

* Update const_pt_en.txt

* Update const_pt_es-419.txt

* Update const_pt_es.txt

* Update const_pt_fr.txt

* Update const_pt_ja.txt

* Update const_pt_ko.txt

* Update const_pt_zh-Hans.txt

* Update const_pt_zh-Hant.txt

* Update flags_dp_en.txt

* Update flags_dp_es.txt

* Update flags_dp_es-419.txt

* Update flags_dp_fr.txt

* Update flags_dp_ja.txt

* Update flags_dp_ko.txt

* Update flags_dp_zh-Hans.txt

* Update flags_dp_zh-Hant.txt

* Update flags_pt_en.txt

* Update flags_pt_es.txt

* Update flags_pt_es-419.txt

* Update flags_pt_fr.txt

* Update flags_pt_ja.txt

* Update flags_pt_ko.txt

* Update flags_pt_zh-Hans.txt

* Update flags_pt_zh-Hant.txt

* Update lang_de.txt

* Update lang_en.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_fr.txt

* Update lang_it.txt

* Update lang_ja.txt

* Update lang_ko.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update text_Games_zh-Hans.txt

* Update text_Games_zh-Hant.txt

* Update lang_ja.txt

* Update const_dp_en.txt
2026-05-24 00:21:01 -05:00
Kurt
62e9e63795 pk2: fix test with impossible EVs (tyrogue evo)
25600 is the max from vitamins (was 0 EVs for every other stat)
> Prior to Generation III, effort values were based on a system of stat experience and vitamins increased a stat by 2560 EV points, but could only be used until the stat had 25600 EVs.
change it from 65535 (raw max) to 25600 (legal max).
2026-05-24 00:18:47 -05:00
Kurt
2fb38b368a B2W2: extract medal editor, add habitat list
A bit more coherent to see a list of medals rather than one at a time.
Add a few more properties, along with the Habitat List.

Remove maximize box from Join Avenue editor, consistent with other editors.
2026-05-24 00:13:08 -05:00
Kurt
10a141889f Inventory: Begin edit on cell select
Saves a click.
2026-05-23 23:54:54 -05:00
Kurt
934ec2afe7 B2W2: Add Join Avenue & editor
Adds i/o to save/import individual visitors/etc
2026-05-23 14:13:38 -05:00
Kurt
b8478a4488 Minor tweaks
Fix localization dump
LocalizedDescription duplicate property names: not per-class, so update the internal label to be more general.
2026-05-23 10:35:35 -05:00
Kurt
06c742ac78 Slot9a: overqwil defer, ignore hasTracker
https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/page/36/#findComment-300382
ZA origin can't travel to adjacent games to explore those evolution methods, so the formarg evo verification fails. Exert more preference for an exact species-match, don't settle for a Qwilfish just cuz it has a tracker.
2026-05-21 19:35:29 -05:00
Ka-n00b
78ac3e841f
Minor updates (#4806)
* Update ProgramLanguage.cs

* Update lang_zh-Hant.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_es.txt

* Update lang_de.txt

* Update lang_it.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_fr.txt

* Update lang_fr.txt

* Update lang_zh-Hant.txt

* Update lang_zh-Hant.txt

* Update text_Games_it.txt

* Update text_Games_de.txt

* Update text_Games_ko.txt

* Update lang_fr.txt

* Update lang_es.txt

* Update lang_es-419.txt
2026-05-19 22:59:40 -05:00
Kurt
a703b377f1 Update SAV_Misc5.cs
Closes #4807
2026-05-18 11:28:51 -05:00
Kurt
ac9285b977 Misc tweaks
Add more reflection usage attributes
Remove unnecessary casts
2026-05-16 13:24:04 -05:00
Kurt
f4622bacc6 Gen1/2: check egg EVs, check sus EVs
Also remove EXP match for Odd Egg due to Gen2 daycare EXP reset
Add notes re: Gen1/2 EV verification being not worth the *effort*.
2026-05-16 13:19:19 -05:00
Kurt
c924cfb469 Gen1/2=>7 add notes/visibility EXP-nature 2026-05-15 09:05:49 -05:00
Kurt
cf5cd280a8 Autosize event flag checkbox
Closes #4805
2026-05-13 21:10:30 -05:00
Kurt
4250bc8ae2 MysteryGift: Gen5+=>pk* respect criteria IVs
Extract a common IV generator method that has considerations for over-specified and under-specified criteria, rather than deadlocking/returning invalid IV spreads.
2026-05-13 00:03:09 -05:00
Kurt
8b635c9c8f skip strange ball giveall PLA, dishes SV 2026-05-11 22:24:41 -05:00
Kurt
90fb3d422c Gen4 Safari: add another branch for no-sync 31IV
Rearrange magic numbers for sync lock-out/lock-in for better JIT comparison (sequential range).

Previous improvement missed the "what if the lead is NOT synchronize". We already have a branch for YES synchronize. Magnemite test case solves for no-sync

Probably would be worthwhile to de-tangle this but meh
2026-05-10 15:35:45 -05:00
Kurt
4814b55403 Update EncounterDatabaseSettings.cs
forgot to save changes, 11 => 9 same as other db's
2026-05-10 15:20:23 -05:00