CanoeHope
adcbc0221f
Update LegalityCheckStrings_ja.txt ( #3478 )
2022-04-11 15:10:04 -07:00
CanoeHope
cf901861e7
Update Shortcuts and Legality texts ( #3477 )
...
* Update LegalityCheckStrings_en.txt
* Update LegalityCheckStrings_de.txt
* Update LegalityCheckStrings_es.txt
* Update LegalityCheckStrings_fr.txt
* Update LegalityCheckStrings_it.txt
* Update shortcuts.txt
2022-04-11 15:09:42 -07:00
Kurt
a85737b8f6
Fix event flag row click set
2022-04-11 14:49:06 -07:00
Kurt
b8734dd3aa
Add ctrl/alt click for contest stats
...
Closes #3476
2022-04-11 11:57:55 -07:00
Kurt
f753afaae8
Minor clean
2022-04-11 11:56:56 -07:00
Kurt
a5ee845c3b
Decouple event flag/work from SaveFile
2022-04-09 18:12:57 -07:00
Kurt
a601180821
Extract Pokerus util logic
...
Simplify some GUI interactions when changing strain. Changing the day selection will update the visibility, no need to manually do it again.
2022-04-09 12:27:16 -07:00
Kurt
2f9e05972f
slick switch expression
...
Might be a target for future refactoring if Format(int) is changed in the future...
2022-04-09 12:25:19 -07:00
Kurt
5260c5214e
Move files
2022-04-09 12:01:43 -07:00
Kurt
0389624508
Extract unnecessary stringbuilding from pkmconvert
2022-04-09 11:58:52 -07:00
Kurt
e6cf5d0baf
Split PKMConverter into multiple classes
...
EntityFormat -> detects byte[] -> ctor() PKM
EntityConverter -> converts between pkm formats
RecentTrainerCache -> used by other classes (not within EntityConverter!)
EntityBlank -> creates blank PKM objects indirectly
2022-04-09 01:39:34 -07:00
Kurt
d3749bd4b6
Minor tweaks
...
Move sociability
inline dictionaries
2022-04-09 00:08:24 -07:00
Kurt
cc1c3e8d42
Refactor stat loading to allow spans
...
Can load stats without allocating
2022-04-08 21:08:06 -07:00
Kurt
274b613487
Change signature to set stackalloc ivs
2022-04-08 20:43:31 -07:00
Kurt
d40bfa63c7
Refactor gen2 mail data structure
...
Now reads/writes correctly in the GUI.
Closes #3470
Not going to handle slot swaps not matching the data, as this becomes problematic when cloning slots. Previous commit added the ability to manually move mail slots.
2022-04-02 23:36:56 -07:00
Kurt
13eb244bbd
Add arrows to move mail slots for gen2/3
...
#3470
2022-04-02 23:36:39 -07:00
Kurt
cec408e62a
Use different checksum algo (bytewise) if no impl
...
Closes #3471
2022-04-02 17:58:47 -07:00
Kurt
647b5a3f87
Remove duplicate home tracker flagging
2022-04-02 17:58:17 -07:00
Kurt
77473476da
Split savedata editing template
2022-04-02 17:58:05 -07:00
sora10pls
7e8e05befb
Update noble sprites
...
With actual detail now!
2022-04-02 10:45:18 -04:00
sora10pls
e02cc2ac93
Legends: Arceus custom sprite updates
...
Match latest icon dex project
2022-04-02 10:40:19 -04:00
sora10pls
1a082ecf04
Unban Darkrai, associated Met Locations, Sketch Dark Void
...
Also reformat Encounters8b to be consistent with other games' static encounter defs
2022-04-01 06:18:11 -04:00
sora10pls
1b39222edf
Add April Fool's 2022 distribution raid data 🌲
2022-03-31 20:03:40 -04:00
Kurt
50f63e4655
Merge branch 'master' of https://github.com/kwsch/PKHeX
2022-03-27 21:37:33 -07:00
Kurt
4199a93be1
Fix gen6 HoF write for TID
2022-03-27 21:37:32 -07:00
Kurt
92708ddc03
Fix some misbehaviors in mg slot swaps
...
PCD->PGT empty slot drops don't select the lowest empty slot, now fixed
dragdrop of empty slots (as the source) is now disallowed
2022-03-27 21:37:06 -07:00
Kurt
39b4f299a0
Fix some misbehaviors in mg slot swaps
...
PCD->PGT empty slot drops don't select the lowest empty slot, now fixed
dragdrop of empty slots (as the source) is now disallowed
2022-03-26 15:52:17 -07:00
Kurt
60de53063a
Minor tweaks
...
Extract some logic
2022-03-26 15:51:12 -07:00
Kurt
6deaf3cb74
More explicit type checks for Encounter class
...
A little more explicit on what it is actually checking for
2022-03-26 14:53:15 -07:00
Kurt
55083ee02c
Fill(0) -> Clear()
2022-03-26 13:33:58 -07:00
Kurt
977e977dbf
Rewrite GeniusCrypto (XD/Batrev)
...
More clear usage of span
slightly less allocation+copying
more comments for future readers
2022-03-26 13:28:29 -07:00
Kurt
8bf618008a
Remove structconverter
...
Won't work on bigendian architecture for non-byte fields, so just do it manually.
2022-03-25 19:47:23 -07:00
Kurt
51f2fe35a4
Trycatch backup file creation
...
Stop putting PKHeX in Program Files ya goofballs
2022-03-25 19:25:07 -07:00
Kurt
6a96ad2278
Disallow loading invalid BDSP savefile versions
...
rom hacks smh
2022-03-25 19:24:37 -07:00
Kurt
b91031cb14
Remove temp method
...
*PLA method handles Legends: Arceus
*BDSP method handles BDSP
this one caused (NPC) (NPC) for location :)
2022-03-25 19:24:15 -07:00
Kurt
fdd96494de
Update lang_fr.txt
...
Closes #3469
2022-03-23 12:03:26 -07:00
Kurt
d02537f16e
Make dragdrop work with exporting to discord
...
Hold shift when dropping into discord to have discord auto-send it; bump time delay to 20s for file deletes
Seems like it just wanted Effects.Copy instead of Effects.Move, nice. Used to work for a while until it didn't.
2022-03-22 23:02:46 -07:00
Kurt
2cbdd5dbe6
Add gen4 pokedex extdata reader
2022-03-22 10:25:53 -07:00
Kurt
68e3a4430d
Handle japanese RSBOX memcards
...
First 5 blocks are reserved for file accessing info, but we should include them when checking length
Closes #3468
Capture the bool indicating Japanese for the save file, so box names are now read correctly (if changed from game's default).
2022-03-21 19:20:06 -07:00
Kurt
46c83faa0e
Refactor hall extradata to read as a separate block
2022-03-21 18:53:24 -07:00
Kurt
0dc641453b
Condense some expressions
...
Getting close to weeding out all the easy inefficiencies to make me finally tackle the "stop gathering all moves instead of checking individual moves" allocation issue.
2022-03-20 23:28:18 -07:00
Kurt
3d759e1491
Move location lists to separate classes
2022-03-20 21:26:56 -07:00
Kurt
a4533b62d8
Reduce size of display-able met location arrays
...
shaves 5KB off the core DLL
2022-03-20 19:07:33 -07:00
Kurt
fadcf92dc8
Faster pokecrypto
...
net6 was 4x faster than 461 with the old implementation; now it is faster for both but not as disparate.
New implementation performance is always at least 30% better than the old implementation; even better for smaller chunks of data (40% less time).
Pretty much mimics bare metal value writes
2022-03-20 02:44:36 -07:00
Kurt
54f1e341f9
Spanify spawner object get
2022-03-20 01:46:24 -07:00
Kurt
1a26ecbf40
Update 22.03.18
2022-03-18 15:59:07 -07:00
sora10pls
f94c16c40f
Add new distribution raids 🦴
2022-03-17 20:04:14 -04:00
sora10pls
5b9b5e4faa
Update Tables8bs.cs
...
Sweet Heart still unobtainable (why did they give it a sprite if it's not functional ingame?)
Azure Flute is now obtainable
Sacred Ash was never obtainable
2022-03-17 14:40:35 -04:00
sora10pls
df408ced45
Revise Shining Pearl Hall of Origin location string
2022-03-17 13:29:40 -04:00
Jonathan Herbert
9222bfa919
Fix BDSP V1.3.0 Suffix ( #3465 )
2022-03-16 08:01:25 -07:00