Commit Graph

11252 Commits

Author SHA1 Message Date
Kurt
b4c5bd96e6 Gen3: Rewrite IsNicknamedByUser detection 2026-04-27 23:43:43 -05:00
Kurt
72847381cc Gen3: RSE default trainer trash
Adds all possible options for all languages.
2026-04-27 22:31:57 -05:00
Lusamine
a85257da7d Additional documentation for LA cavern alpha correction 2026-04-27 02:28:49 -05:00
BtEtta
c2bb4188e5 Add a movement threshold for initiating drag & drop operations (#4794) 2026-04-26 16:49:49 -05:00
BtEtta
906cae24e8 Fix/optimisation pass on all PNG images (#4788)
Closes #4785
2026-04-25 12:22:16 -05:00
Coki628
2ff7ad40d9 Gen2 HP Up item name fix (#4787)
* Update text_ItemsG2_ja.txt
`ポイントアップ` means PP Up in Japanese, not HP Up.
HP Up is `マックスアップ`.

Updated unit tests to ensure all gen1-3 string lists are unique item names.
2026-04-25 12:16:54 -05:00
Kurt
cc7708e9d4 Misc fixes
Apply relearn moves when static8=>pk8 for dlc2 horses
Fix tera import regen; the PKH=>PK9 is correct, this rejuv was just undoing it.
2026-04-24 17:50:17 -05:00
Kurt
3d7a371395 Gen3: encounter legality tweaks
Gen3-5: Egg (breeding) requesting shiny now loops to match criteria.
Gen3: Add evolution nickname bypass for trash byte application
Gen3: Fix japanese OT prefill check from not actually working
Gen3: Add missing Voltorb encounter (was superseded by Wild slot, but aggressive checks since added).
2026-04-22 23:37:11 -05:00
Kurt
8a1c364207 Add threshold for transparent pixel handling
Artwork Pokemon Sprites have artefacts when rendering Sprite Glow due to them having small-value ARGB pixels. PKHeX was originally designed with the assumption of pure pixels, and not blurred edges from downscaling.

Co-Authored-By: abcboy101 <16735361+abcboy101@users.noreply.github.com>

#4785

#4785
2026-04-22 22:59:00 -05:00
Manu
0a1e955007 Handle HOME ZA gifts (#4786)
* Handle PA9 <-> PKH IsAlpha conversion

* IsHomeGift checks

* Read Ribbons, Scale, Height and Weight from HOME cards

* Extended legality checks
2026-04-21 22:31:59 -05:00
Ka-n00b
e3fd457272 Update Translations (#4784)
* Update const_oras_es-419.txt

* Update const_oras_es.txt

* Update flags_oras_es-419.txt

* Update flags_oras_es.txt

* Update flags_oras_ko.txt

* Update flags_sm_es-419.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 lang_de.txt

* Update lang_ko.txt

* Update lang_fr.txt

* Update lang_zh-Hant.txt

* Update lang_fr.txt

* Update lang_it.txt

* Update lang_fr.txt

* Update lang_ko.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_es.txt

* Update lang_es-419.txt

* Update lang_it.txt

* Update lang_ko.txt

* Update lang_es-419.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_zh-Hans.txt

* Update lang_zh-Hant.txt

* Update lang_ja.txt

* Update lang_de.txt

* Update lang_de.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_de.txt

* Update lang_ko.txt

* Update lang_de.txt

* Update lang_es-419.txt

* Update lang_es.txt

* Update lang_de.txt

* Update lang_es.txt

* Update lang_es-419.txt

* Update legality_es-419.json

* Update legality_es.json

* Update lang_de.txt
2026-04-21 01:17:41 -05:00
Kurt
08178f70fe Fix g1 outsider trade evo message
https://projectpokemon.org/home/forums/topic/67931-bug-report-transferring-haunter-from-red-save-file-to-blue-save-file-giving-error/#comment-300058
2026-04-19 22:08:44 -05:00
Kurt
75e2a7a497 Rearrange tab indexes to follow visual
Closes #4781
2026-04-17 23:10:10 -05:00
Ka-n00b
516cc25d91 Update Translations (#4782)
* Update legality_de.json

* 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 lang_zh-Hant.txt

* Update lang_en.txt

* Update lang_fr.txt

* Update lang_it.txt

* Update lang_de.txt
2026-04-17 22:50:57 -05:00
Joel Suárez
4007eb7ca8 Battle Chateau rank editor for XY trainer data (#4780)
Directly edit Rank and Points
Translated rank titles
2026-04-17 22:50:25 -05:00
Kurt
452c8b5b81 Misc tweaks
SAV9ZA: Fix pc data import
SAV9ZA: More metadata writing for party; only write first `01` for non-basepatch saves.
2026-04-17 22:26:15 -05:00
Kurt
ee79ba2f61 WC9: Permit 255-all hisuian zoroark size
HOME misapplying PLA's size fixing, fun. Seems it was fixed in 4.0.0 (after 3.2.1?) or server side. A last-minute redeem=>deposit was "fixed" to 255, so the full date range of the card is allowed to be mutated.
2026-04-16 00:36:38 -05:00
Lusamine
dfcd86d950 Replace colon in French translation
Colon was previously removed because the label is too long, but it is still too long. Better fix would be to realign the labels (tbd).
2026-04-15 22:00:28 -05:00
Ka-n00b
c58981e365 Update Translations (#4776)
- Updated and revised the encountered Ground Tiles for generation 4 to match up with English in all other languages.
- Update Event Constants for some Spanish and Korean games.
- Additional translation additions, revisions, spacing adjustments, and typo fixes.
2026-04-15 21:49:36 -05:00
Kurt
2f9512e33b Misc tweaks
Fix box export (individual files) not including party data in the bin. Previous behavior would have 00'd party data if not force-calculated. Just calculate party stats if not present for the format. Log Database entity as party format, just to avoid using the Stored format size.
Revise gen2 odd egg declarations to group shiny eggs together, and enforce the Shiny property for object filtering. If IVs are specified, then Shininess property needs to be provided (rather than "random" which is untrue).
Simplify some logic paths for trade1/trade2. Extract some of the nuance of transferred Hiragana Dugtrio so the unit test is xref'd nicely.
2026-04-15 21:49:07 -05:00
ry
234f402beb update odd egg IVs (#4777) 2026-04-14 15:40:14 -05:00
Kurt
021b93b87f HT lang: allow LATAM iff 9a
also allow WA9 latam lang (get/set was defaulting to english which probably matched anyway)
add a sanity check to TryGetSpecies which was only used by Gen1 with a hardcoded language ID. maybe someone will use it in their own project, might as well prevent an exception.
2026-04-12 10:20:23 -05:00
Kurt
227b9aaf13 Misc transfer regression for x=>SV 2026-04-11 20:16:12 -05:00
Kurt
2ece772735 Misc tweaks for Z-A slot presence
Not really an issue cuz the game sets them to `0` or `1` on startup, but clearing boxes/slots should match runtime behavior. livehex after clearing boxes can result in slots that don't update until the game is rebooted. no more ;)

should probably refactor the API a little better to avoid virtual spaghetti
2026-04-11 19:47:40 -05:00
Kurt
2cb62f7aa4 Update 26.04.11 26.04.11 2026-04-11 18:53:56 -05:00
Kurt
6b8599b6ed Revise PKM editor nickname check for gen4/5
Closes #4773
2026-04-11 18:33:00 -05:00
Kurt
b449867e72 Remove SAV.SetPKM formarg auto-fixing
Circling back to my notes on formarg updating; it's not ideal to update these values automatically, as it's wiping the streak values for the current game, or if carried forward into future games. The user will have to manage them since the legality flagging now handles warning the user. Better than hiding and overwriting values to something the user can't control.
5e7fc6c817
2026-04-11 18:06:08 -05:00
Kurt
9c03ef1f23 Support champions set imports 2026-04-11 18:00:42 -05:00
Kurt
4568392f61 Widen move 16px, extrabyte +4px
Shifted down extrabyte edits a little more for aesthetics.
Move combobox werent as wide as the relearn moves, so +16 to make them match.

update translation resources with latest additions
2026-04-11 10:45:51 -05:00
Kurt
2b4a01512e Add setting to quiet every other sound made
Closes #4774
2026-04-10 00:48:34 -05:00
sora10pls
13110adfd7 Add Pokémon and item icons from Champions 2026-04-08 10:08:14 -04:00
Kurt
2321e764cb Update GameDataPC9.cs 2026-04-08 01:43:01 -05:00
Kurt
298a53130c Refine home's champions data
PC9 in RAM is loosely deserialized, not a sequential blob. Will need to see how the json is stored in the at-rest savedata. Probably won't be something useful to directly integrate into PKHeX since it's online-only.
2026-04-08 00:10:42 -05:00
Ka-n00b
d7284ce590 Update Translations (#4772)
* Update lang_es.txt

* Update lang_es-419.txt

* Update lang_it.txt

* Update lang_fr.txt

* Update lang_de.txt

* Update lang_zh-Hant.txt

* Update lang_ko.txt

* Update lang_ko.txt

* Update lang_ko.txt

* Update lang_ko.txt

* Update lang_it.txt
2026-04-07 01:03:04 -05:00
Kurt
301bf1bec0 Add donut generator
Closes #4669
better late than never
2026-04-06 22:28:30 -05:00
Kurt
fc80208a06 Reattach form(arg) changed events
not sure how they were unhooked
slight unnoticeable tweaks to layout
2026-04-06 14:34:50 -05:00
Kurt
9742ed43da Bump test case for eh4
No structural change besides the first u16 `03` => `04`.
2026-04-06 10:13:49 -05:00
Kurt
0ebf575a03 gen5: fix dex skin footer, fix musical terminator
Closes #4603
Add some filename import length sanitization
2026-04-06 01:04:26 -05:00
Kurt
097ff3a870 Update SAV_Trainer7.cs
Fixes #4770
2026-04-05 23:59:07 -05:00
Kurt
6da88d6232 Reflow pkm editor main & ot tabs as TableLayout
less designer code (-250) so I think this is a win

* Friendship moved to OT/Misc tab since it is much less relevant in current formats; HT now shows the friendship rather than flexing CurrentFriendship.
2026-04-05 23:48:23 -05:00
Kurt
e132a2719a Remove unnecessary legality check text
Eggs no longer yield with event forms, so there's no need to say "this specific event form is not valid" when it's already flagged as such.
2026-04-05 23:44:04 -05:00
Kurt
5e7fc6c817 Rewrite formargument editing control
A fair bit of these SetPKM updaters need to stop touching FormArgument now.
2026-04-05 23:43:17 -05:00
Kurt
245873aa8a Extract formarg verification logic for tri-days 2026-04-05 23:42:31 -05:00
Kurt
f31503ac7c Update handling for HOME=>ZA edge cases 2026-04-04 15:53:27 -05:00
Kurt
8d24b16fe3 Misc tweaks
the final "TODO ZA" and "TODO HOME ZA"
remove champions from blank save selection (would need PC9 docs first)
2026-04-03 01:07:51 -05:00
Kurt
d21bc2ff6d Allow pkh => import 2026-04-03 00:41:09 -05:00
Kurt
7c4b15bffa Disallow affixed ribbons in ZA/LA w/o transfer 2026-04-03 00:11:52 -05:00
Kurt
02eaca9a0c Add initial legality handling for ZA HOME transfer 2026-04-02 23:55:01 -05:00
Ka-n00b
dc2a60f830 Update Spanish Event Flags (#4768)
Some more names, and also 2 small typo fixes in the French UI text adding s at the end of "Solde" for the Pass Powers.
2026-04-02 21:44:04 -05:00
Ka-n00b
d09a425e6a Update Translations (#4767)
- Translations mostly complete for the UI and legality message strings in Spanish, Korean, and Traditional Chinese,
- Includes the titles for generation 5 Pass Powers, generation 6 O-Powers, as well as officially used terms for things such as Memories, Athlete Points etc.
- Some official nouns used in the Spain's Spanish translation were using a mix of LATAM terms; they've been corrected to the ones used for that version, and LATAM was corrected or retained to what it should use.
- Made some text shorter in some languages to fit the UI labels and buttons.
- A few typo corrections and additional translation text to the German, Spanish, and Korean READMEs.
2026-04-02 12:25:29 -05:00