Kurt
b5262d69b0
Dispose of file-loaded bitmap after use
...
Image.FromFile locks the file until the object is disposed; adjust all uses of Image.FromFile to dispose when finished.
Closes #3857 ty @SNBeast !
2023-04-12 23:22:33 -07:00
Kurt
4caf749064
Misc tweaks
...
do things a little more directly
blank ctor: we already have the ctor, just invoke it ourselves instead of having to rediscover it
2023-04-10 01:26:54 -07:00
Kurt
ebd061dcd9
location list public (class still internal)
2023-04-10 00:50:11 -07:00
Kurt
6d0c2d9520
Add more overload methods
...
Learnset: slightly quicker check.
SCBlock: assists when you have Key separate from the encoded data.
2023-04-10 00:49:39 -07:00
Kurt
6182f889a6
Add learnset moves similar to games
...
Instead of looping, if the moveset is full and a new move is added, the game shifts all arr[1..] down one slot then adds the move at the end.
Since we don't need to keep track of PP/PP Ups, we can just defer the shifting and do n % 4 rotations at the end instead of n rotations (one on each move added).
2023-04-08 12:20:18 -07:00
Kurt
7b0313aa6a
Update 23.04.06
2023-04-06 21:52:23 -07:00
Jonathan Herbert
7ea0e21b7d
Add Button To Unlock All Fashion in BDSP Misc Edits ( #3856 )
2023-04-06 20:54:42 -07:00
Kurt
0dfb012e5c
Add Ditto distribution raids 👛
...
Adds a helper method for SCBlock to measure a size from header.
2023-04-06 19:28:10 -07:00
Kurt
340578b671
Update PGT.cs
2023-04-04 15:03:14 -07:00
Kurt
aeb6595887
Show move elemental type in PKM Editor
...
Note this is only SV types, so moves that had their type changed (=>dark/steel/fairy) will be inaccurate in past game formats.
Would need time to dump the info.
2023-04-04 14:38:07 -07:00
Manu
43c67fd455
Add wc5full compatibility ( #3854 )
...
* Add WC5Full compatibility
* Add .wc5full to mystery gift filter
2023-04-04 07:19:54 -07:00
Kurt
e53ca4b1af
Allow setting to 11th slot for !PCD
...
Oops
2023-04-03 15:43:13 -07:00
Kurt
d6ec64fb00
Update MoveListSuggest.cs
2023-04-02 16:19:56 -07:00
Kurt
fcad4f8e08
Handle WC9.Scale spec per v1.2.0 patch changes
...
Unnoticed, undocumented, now both.
Pivot based on March 1st for the 4 gift-poke cards that already existed. On that day onward, games must be on v1.2.0 in order to redeem, and thus must follow the fixed scale spec.
2023-04-02 01:19:33 -07:00
Kurt
37eb076bd4
Use placeholder sprite for not-yet-affixed
...
ty matt
2023-04-01 17:46:10 -07:00
Kurt
c3e51d414d
Add click event for affixing ribbons easier
...
Click affix ribbon via cosmetic tab to open Ribbons (same as Ribbons Button). None affixed, but ribbons/marked available, will show an empty square.
Click possessed ribbon to affix.
2023-04-01 17:23:04 -07:00
Kurt
3b54ac6ecc
Show affixedribbon next to markings
...
new Visual Studio version made my designer code ugly
maybe I should refactor the GUI like they recommend :P
2023-04-01 16:52:12 -07:00
Kurt
0d3bbe15b7
Add lechonk wc9 to pickle
2023-04-01 15:20:14 -07:00
Lusamine
d6e1019233
Add met dates for TCG Lechonk and end date for Fly Pikachu
2023-04-01 09:34:15 -05:00
sora10pls
2f5b66f49a
Allow Master Rank Ribbon on Treasures of Ruin
2023-03-31 20:04:52 -04:00
Kurt
c81c0d84d4
Add GSC swarm fishing slots
...
https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/?do=findComment&comment=282691
9f52f8fb7c
Thanks SegNin !
2023-03-31 13:02:27 -07:00
Kurt
4384cadefc
Add more xmldoc
2023-03-31 13:00:34 -07:00
sora10pls
3bfd302633
Add latest distribution raid data 🦦
2023-03-30 20:07:19 -04:00
Jonathan Herbert
5cb31d660d
Add Enrollment Date To SaveBlockAccessor9SV and SAV9SV ( #3851 )
...
Add Epoch1900Value based on Epoch1970Value's API and the method @Lusamine described in #3800 to access the Enrollment Date From Scarlet and Violet Save
2023-03-29 20:44:04 -07:00
sora10pls
bd05da2b94
Revise SV stake collection cheat
...
Chains in front of the ruins are now removed when activating the cheat
Also reorder and label more blocks
2023-03-28 18:25:56 -04:00
sora10pls
6b5d4ec3ea
Add, label, and reorder more SV save blocks
...
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2023-03-28 16:01:21 -04:00
sora10pls
dd157813c4
Misc changes
...
Re-order tables according to National Dex ID instead of Dev ID
Label unknown fields for SV player appearance/fashion
2023-03-28 16:00:44 -04:00
Kurt
79ca670044
Replace party/boxdata get with more performant use
...
Read directly from the save file.
Batch Editor no longer updates dex, HT details, or updates acquired counts when placing back in the SAV.
2023-03-28 12:49:21 -07:00
Kurt
e6ebd20d83
Minor tweaks
...
Fix boxbin load being ignored
2023-03-28 11:29:29 -07:00
Kurt
5c13183d02
Less allocation, minor tweaks
...
NET 8 will have a Shuffle method, which can get rid of the overload in Util.
Batch Editor no longer crashes the program when selecting OT_Trash/HT_Trash/Nickname_Trash via dropdown.
2023-03-27 00:11:42 -07:00
Kurt
82309cf99d
Use Memory<byte> for Gen4 saves
...
Instead of allocating a buffer for Storage/General, just point within the raw Data, as a Memory<byte> reference. Most of the uses were already using it as span.
2023-03-26 15:16:12 -07:00
Lusamine
0e16b08482
Label step counters in SWSH for egg cycle and party friendship
2023-03-26 16:10:26 -05:00
Kurt
aa13c93e65
Add misc generic constraints
...
Resolves some allocation analyzer issues
2023-03-25 23:28:28 -07:00
Kurt
0087ccb44f
Use span for savefile slot API
...
No more offset fetch
2023-03-25 23:14:50 -07:00
Kurt
5ce3e734b8
Skip initial cctor alloc on non-byte primitives ( #3850 )
...
Runtime/jit repoints these to the dll rather than heap if we're Little Endian (always, otherwise will allocate like before).
Eliminates quite a few static constructors, so even faster startup. Items later.
2023-03-25 17:55:55 -07:00
Kurt
34c1473966
Misc tweaks
2023-03-25 17:48:49 -07:00
Kurt
081a48bbf6
Update LevelVerifier.cs
2023-03-24 23:48:35 -07:00
sora10pls
a68165cdd8
Add latest distribution raid data 🥚
2023-03-23 20:06:11 -04:00
Kurt
4615e3577a
Span-ify MoveSetApplicator
2023-03-21 21:02:13 -07:00
Kurt
46de8c4b06
Minor optimizations
...
Only fetch egg moves when using them
Localize KOR gen2 string directly instead of switch expression
Remap FRE gen4 chars directly, hot path instead of dictionary lookup
Uppercase chars in place
2023-03-21 17:20:13 -07:00
BlackShark
6247a61bd3
Fixed offset for MysteryEvent3RS checksum ( #3847 )
...
* Fixed offset for ME3RS checksum
* Added Subtitle for WonderCard3
2023-03-21 16:45:37 -07:00
BlackShark
a31217ef6a
Various changes to Gen 3 Mystery Data ( #3842 )
...
* Various changes to Gen 3 Mystery Data
* Update Gen3MysteryData.cs
2023-03-20 16:26:23 -07:00
Manu
8ab36f70fd
fix SetValue for SByte blocks ( #3843 )
2023-03-20 15:54:47 -07:00
Kurt
224283b7f8
Better spanify nth entry tsv fetch
...
Closes #3846
2023-03-20 15:52:27 -07:00
Manu
f611c4a728
Update Italian translation ( #3845 )
2023-03-20 07:13:05 -07:00
Manu
f9c55320f4
Label Active Outbreaks Number Save Block ( #3844 )
2023-03-20 06:07:30 -07:00
Kurt
30e3c94c8a
GB: Clamp ev stat to 255 again
...
https://github.com/kwsch/PKHeX/issues/3841#issuecomment-1475373250
2023-03-19 12:40:50 -07:00
javierhimura
7af65a4683
Filter Block Dump data ( #3840 )
...
* Allow the filter results in BlockDump combobox. Write a text in the dropdown
2023-03-19 12:33:12 -07:00
Kurt
ecbf6c06de
Permit pokewalker courses for all languages
...
Wrong: #3594
Pokewalkers can interact with games they're not paired to (and receive gifts!).
Closes #3837
2023-03-19 12:21:43 -07:00
Kurt
c8909a4326
GB stats: Ceil instead of +1
...
Wrong: #2265
Edge case (exact sqrt); Closes #3841
2023-03-19 12:18:10 -07:00