Commit Graph

10552 Commits

Author SHA1 Message Date
Kurt
5bf9865f3f Add pokespot reverse/forward methods
Also adds partial IV specifying for cxd generating
2025-03-09 20:09:17 -05:00
Kurt
2fbe2feb52 Fix gen4 pcd sentinel set
Closes #4407
Bug: 0th PCD slot not being provided would set PGT slot0 to "inactive", rather than setting pcd slot0.
The modeled GUI is still very clunky (editing DP just ignores the flag, and assumes if data exists it is active).

fix a typo while we're on the topic of Gen4 :) -- ty 0blivion0athkeeper on discord
2025-03-08 11:13:35 -06:00
sora10pls
fed4a6e900 Add latest raid distribution data 🔥🐊🎤 2025-03-06 19:02:10 -05:00
Kurt
0de0bd4c0b Add setting to allow colliding gen3/4 egg pidivs
For those who think it is funny to RNG abuse egg PID/IVs to match a recognizable algorithm type. Opt-in setting because 99.9% of the time it's going to be a hack.
#4347
#3894
#3092
2025-03-06 09:37:26 -06:00
Kurt
4d702d261d Add ivs->channel seed recovery
Still lack IVs/nature/shiny request for the BACD/M2 variants, maybe in the future those can be added.
2025-03-05 22:45:41 -06:00
Kurt
8b5c07b07d Update Main.cs 2025-03-05 21:31:47 -06:00
Kurt
a74d882077 Loosen SV 2.0.0/3.0.0 size checks to ranges
Too many permutations of optional blocks to want to think about.
Since we already rely on hash validity, a range check should be more than sufficient to eager-check and prevent size clashes.
2025-03-05 00:13:11 -06:00
Kurt
3f305c9135 Handler check: bypass for blank saves
Revise "past gen" message since it's not past-gen only (now applies to cross-context like SV->BDSP)
2025-03-03 00:27:26 -06:00
Kurt
1ad7a6b5fb Autosize splash screen on startup
Higher scale was truncating, let it size up
2025-03-02 22:46:13 -06:00
Kurt
a084291532 Gen3 rse swarm: fix gen on rs, match
don't complain on random discords, actually report issues k thx
2025-03-02 22:45:51 -06:00
Kurt
356db93e9f Settings: version select typeable combobox
Was annoying cycling through all these versions that start with the same character. Works well enough to just do it

bv5: ignore checksum integrity, the checksum is over the decrypted data (not while encrypted).
2025-03-02 01:11:29 -06:00
Kurt
4adf450b08 Add gen4 mg timer indicator 2025-03-02 01:08:04 -06:00
Kurt
c47e595cd3 Enhance Stadium1 box read/initialization
Detect the current box buffer, initialize boxes if not already, and hide (delete) slots that aren't present (ignore ghost slots).
Compress storage before export.
Closes #4454
2025-03-01 20:07:26 -06:00
Kurt
78ccc92dea Update SecretBaseManager3.cs
Closes #4456
2025-02-28 00:10:39 -06:00
sora10pls
bf7441602e Add latest distribution raid/outbreak data 🐈🔴🟢🔵 2025-02-27 19:04:32 -05:00
abcboy101
6668350b68
Add Mainland China Melmetal gift (#4455) 2025-02-27 00:49:57 -06:00
Kurt
4bdd673fd0 Add label for LGPE arrived datetime
Allow editing of memories while an egg (SW/SH traded eggs with memories...)
2025-02-25 20:38:13 -06:00
Kurt
dfda71dddd Rename default label names 2025-02-25 20:37:34 -06:00
Kurt
dbff2695d7 More main editor appearance pixel tweaks 2025-02-24 22:38:21 -06:00
Kurt
6c8f312d17 Update PKMEditor.cs 2025-02-24 21:39:34 -06:00
Kurt
8626619b60 move combobox ordering oops 2025-02-24 21:31:16 -06:00
Kurt
7acc86ca61 Add API method for finding a legal shiny SID
if returns false, try a different TID
2025-02-24 18:17:45 -06:00
Kurt
7bfbc948c3 Enhance main form scale sizing 2025-02-24 18:17:27 -06:00
Kurt
9fb11b6041 Rework Cosmetic pane buttons into panel 2025-02-24 08:30:42 -06:00
Easy World
cb18310cee
Update zh-Hans localization strings for date validation and export legality (#4451) 2025-02-24 00:02:44 -06:00
Kurt
53d47e5c64 Update localizations 2025-02-23 23:34:11 -06:00
Kurt
87fb241a98 Update 25.02.23
fix bvid5 checksum check
Gen7b: add ReceivedDate/Time editor to OT/Misc tab, enable Ribbon button
2025-02-23 23:16:43 -06:00
Kurt
c8ec63992b Rework entity import settings param passing
Closes #4418

Introduce a readonly record struct to contain all the settings selected. Add simple static get for none/all to disable/force the updates.

Split the UpdateRecord behavior out of UpdatePKM (adapt to save file) so that it behaves similarly to UpdateDex.
Only AdaptToSaveFile when opening a file in the PKM Editor.
2025-02-23 15:50:17 -06:00
sora10pls
8f86e3fec0 GO: Handle Road to Unova Timed Research encounters
First time Level 20 Mythicals have been encounterable in Research, need to account for the minimum IV difference should any more occur in the future.
2025-02-23 15:49:29 -05:00
Kurt
65df18ae66 Extract entity/template game presence filter 2025-02-23 11:25:47 -06:00
Kurt
acfdd9bab3 misc tweaks
reduce allocation lol
2025-02-23 11:19:50 -06:00
Kurt
7279af79b2 Extract pk5->pk6 PID mutation logic 2025-02-23 11:19:33 -06:00
Kurt
a1ea915b52 Extract CuteCharm4 api 2025-02-23 11:19:03 -06:00
Kurt
8ac937b83c Fix Coronet Feebas SlotNumber tags
#4450
0deb19d1e8
2025-02-23 11:18:04 -06:00
Kurt
8cb14379a6 Resize Gen3 RTC editor buttons
Allows for long-winded languages like German to better label button text :)

Closes #4449
2025-02-21 20:07:48 -06:00
Kurt
5716ec25e3 Misc tweaks
Add some ease of use interaction to Trainer Database objects
Throw exception on bad picturebox early, instead of writing the file and aborting
2025-02-21 20:07:42 -06:00
Manu
e93425e137
Handle HOME Keldeo & Meltan; Revise WB7 (#4446)
* WC8: Handle HOME Keldeo
* WB7: Handle HOME Meltan fixed ability, scalars, AND HeightAbsolute and WeightAbsolute
* WB7: Fix PID get/set offset
* PB7: add ribbon get/set (Meltan has Souvenir ribbon and is retained on transfer to LGP/E)
* Legality: Verify Size Absolute for WB7 Home gifts, only check absolute scale when PB7
2025-02-21 20:00:28 -06:00
9Bitdo
96d779f9b5
Add Marco's Jumpluff date (#4448) 2025-02-21 19:43:51 -06:00
Kurt
3f3d43dca5 Gen1: Add Japanese tour mews 2025-02-19 19:19:39 -06:00
ShadowMario3
757f84db9e
Update EncounterGift1.cs (#4447)
Add more OTs for Gen 1 GB Mews.
2025-02-18 13:07:32 -06:00
sora10pls
f069b950ff Add latest distribution raid data 💘🍬 2025-02-13 19:04:23 -05:00
Taylor Rodríguez
b2f962f442
Fix LGPE local time validation (#4445)
The function `IsTimeValid` checks if the received hour, minute, and
second of the Pokémon is below 24, 60, and 60 respectively. For some
reason the current code includes a "+1" for each check, which results in
some legitimate Pokémon being marked as having an invalid timestamp.

Fixed edge cases:
- Received on the 23rd hour.
- Received on the 59th minute.
- Received on the 59th second.
2025-02-13 07:46:49 +00:00
Kurt
806548a456 Update MiscVerifier.cs 2025-02-13 05:08:30 +00:00
Kurt
93179c0281 Add LGPE received datetime r/w/lc 2025-02-13 04:53:37 +00:00
sora10pls
1fd1c0f67c Add preliminary handling for Keldeo & Meltan events
Shiny Meltan marks the first (and likely only) time where a LGPE event is server date restricted, so we need to extend those checks to include WB7s.

Also revise Manaphy & Enamorus start dates due to server date assignment logic changing at some point. In the past, it was always assigned according to UTC, but it is now determined by local server time, making January 27 possible in early time zones (Mountain, Pacific, etc.)
2025-02-12 14:58:08 -05:00
9Bitdo
03627b641e
Add Pokémon Day 2025 Flying Tera Type Eevee's date (#4440)
* Add Pokémon Day 2025 Flying Tera Type Eevee's date

* Refactor: add date bias for generate

---------

Co-authored-by: Kurt <kwsch@users.noreply.github.com>
2025-02-07 22:16:39 -06:00
BlackShark
c784edbe1b
Added setting to export with box and slot index (#4443) 2025-02-07 00:21:10 -06:00
Professor Dirty
4a706bcae7
Addition and correction of CHS translation (#4439) 2025-02-07 00:20:39 -06:00
sora10pls
7c25229236 Add latest distribution outbreak data 🐦🐦🐦 2025-02-06 19:06:15 -05:00
Ka-n00b
a1914105bf
Update Event Flags/Constants (#4437)
Adds some new and fixes grammar and formatting of existing ones. Additionally, renamed 2 Sword/Shield block names.
2025-02-03 23:38:13 -06:00