Commit Graph

1039 Commits

Author SHA1 Message Date
Kurt
dfdbce758f Trycatch some file loading issues 2021-08-08 17:04:40 -07:00
Kurt
c690c1b637 Don't have using for generic bclim write
Line 243: using calls Close() in the dispose implementation, which then closes the underlying MemoryStream.

Fixes #486

Ideally, this should be rewritten, but it's old code and works for what it needs to do. Removed the useless `ref` inputs, as the reference is never replaced.
2021-05-26 22:48:07 -07:00
Kurt
3d1e3b6e8b Revert implicit byte cast
similar to earlier pkNX/pkhex commit; this wasn't an intended c# feature
2021-05-26 22:45:45 -07:00
Kurt
6ce4f351d7 Check if directory still exists on startup
Closes #440
2021-01-23 14:58:36 -08:00
Kurt
d3d01ac4e7 Fix progress bar label % showing 0
int / int when x/y < 0 will always show 0 when dividing raw ints :P
2021-01-23 14:44:56 -08:00
Kurt
c04013c155 Fix image loading
Suspected that Marshal.UnsafeAddrOfPinnedArrayElement was the culprit; just reuse the logic from PKHeX/pkNX/NHSE for safely generating an image.

Closes #479
2021-01-23 14:44:03 -08:00
Jacob Erly
3cff2cc06d
Fixed logic for Type Themed Trainers. (#477)
The logic failed to properly detect "GYM6" as a GYM trainer that needed to have Type themed Pokemon. Same for ELITE trainers.

Type themed trainers still sometimes have non-typed Pokemon. Looking into that now. 

Also want to reduce duplicate Pokemon.
2021-01-14 21:37:57 -08:00
Matt
927830bf11
Add Akala Outskirts to SM Inaccessible Tables (#471) 2020-12-30 19:08:36 -08:00
Kurt
87c93cde1f Enhance logging, widen location dropdown 2020-12-30 17:57:58 -08:00
Kurt
761a7e8b11 Track zone ID 2020-12-30 17:03:01 -08:00
Kurt
eaae428fa7 Update Gen7SlotDumper.cs 2020-12-30 16:50:47 -08:00
Kurt
6da6e8a258 Update Gen7SlotDumper.cs 2020-12-30 16:43:56 -08:00
Kurt
2703908811 Update Gen7SlotDumper.cs 2020-12-26 20:08:24 -08:00
Kurt
28347df8ea Revert struct->class changes
Yay null behavior from uninitialized objects.
Program boots now.
2020-12-26 19:40:35 -08:00
Kurt
754b9b8d95 Update g7 slot dumper to skip inaccessible zones
ty @sora10pls for the list
2020-12-26 18:32:48 -08:00
Kurt
55c75f3540 Facelift 2020, no functional change
Update to net46
Update to c#9
Handle the majority of compiler messages/warnings
2020-12-26 18:32:23 -08:00
Kurt
b6bea36fac Extract g7 wild dump to pk3ds.core 2020-10-10 17:48:18 -07:00
Kurt
f11e91b55c Update dumper to only dump SOS slots if base wild can SOS 2020-10-09 21:50:36 -07:00
Matt
f1833e74a8
Add every level evolution randomizer (#463)
Similar implementation to pkNX; could be cleaner but it works.
Also add in form randomization to evolution randomizer (missing for almost 4 years, lol)
2020-09-23 16:01:54 -07:00
Koopa
a58c7f90cd
Add more move availability modifiers (#462)
* Add full TM compat. to Gen6

* Fix variable name

* Add full TM compat. to Gen7

* Use Items.Count rather than hardcoding

* Add "All move tutors" button to Gen6

* Make the move tutor name/label less misleading

* Add "Add all" for move tutors and beach tutors for Gen7

* Revert unintentional changes
2020-09-16 17:18:05 -07:00
Kurt
f7646eec86 Load value using same culture as the one that writes it
Closes #456
2020-08-03 18:27:30 -07:00
haggys22
82af1d63aa
Fix data type of BasicStartersPerGen (#451)
Co-authored-by: haggys22 <haggys22@users.noreply.gitlab.com>
2020-07-10 07:43:16 -05:00
Kurt
d17891d340
Merge pull request #450 from haggys22/haggys22-basic-starters-same-gen
Pick Basic Starters of Same Gen only if both checkboxes are checked
2020-07-09 20:20:43 -05:00
haggys22
652322db17 Remove newline at end of file 2020-07-10 03:12:08 +02:00
haggys22
4069d087fb
Pick Basic Starters of Same Gen (Gen6) 2020-07-10 03:01:06 +02:00
haggys22
34a91ac81d
Add "Basic Starters" per generation 2020-07-10 02:50:25 +02:00
Kurt
24f6184217
Merge pull request #431 from tom-overton/extract_and_rebuild_updates
Allow users to extract game files from CXI and 3DS files, and also allow them to rebuild into a trimmed 3DS file
2019-10-08 14:16:08 -07:00
Kurt
6c8d85d8b2
Merge pull request #432 from egzonqj/misc-staticpkm
Port Move buttons (Current Levelup/High Attack Levelup) to StaticEncounter for Gen7
2019-10-08 14:15:42 -07:00
Egzon Qukovci Jusufi
59ba986d98 Port the Current Levelup Moves and High Attack Levelup Moves buttons/behavior from SMTE to StaticEncounterEditor7.
Also add autocomplete settings to avoid unnecessary breakings.
2019-10-08 22:48:35 +02:00
tom-overton
44279537c1 Add 3DS extracting, and move extracting to its own thread 2019-10-05 20:51:30 -07:00
tom-overton
aaf8fef862 Add CXI extraction and Trimmed 3DS rebuilding 2019-10-05 18:54:42 -07:00
tom-overton
ec3ace043e Add support for recognizing SuMo and USUM 2019-10-05 18:51:30 -07:00
Kurt
86c8cb9ba5
Fix opower efficacy copy 2019-07-15 14:34:19 -07:00
Kurt
5faeb58378
Merge pull request #421 from sora10pls/xitems
Add X Item Mart blacklist option
2019-06-30 22:59:18 -07:00
sora10pls
7b34bc4cdd Add X Item Mart blacklist option 2019-06-30 22:42:22 -04:00
Kurt
94e02d5ffc Minor overworld clarifications 2019-05-21 20:37:34 -07:00
Kurt
775b065c72 Update warp documentation
Same as gen5, thanks Xanatus !
2019-05-19 23:29:39 -07:00
Kurt
263f7ca909 Add advanced evo/move based personal randomization
nonfunctional/nontested
2019-05-04 22:11:07 -07:00
Kurt
fb2e5dca89
Merge pull request #412 from sora10pls/g7-ai
Expose Gen 7 Trainer AI bits
2019-04-07 10:03:54 -07:00
sora10pls
0ef2227747 Expose Gen 7 Trainer AI bits 2019-04-06 11:38:53 -04:00
Kurt
48c0dbb748 Expose individual field effect bits
Closes #407
Also fix boostacc getset (oops)
2019-01-07 17:50:31 -08:00
Kurt
ee169dcfbb Split Consumable byte to 4&4
flutes appear as '16', which is 0x10 (4th bit) flag.
2019-01-02 23:45:14 -08:00
Kurt
d971af11b4 Split pp bitflags into separate properties 2019-01-02 17:51:08 -08:00
Kurt
2c159e7d6f Add battle mode property & gui
Closes #399
2018-12-27 20:29:56 -08:00
Kurt
e3e6268f90 Fix index access exception 2018-11-19 15:01:38 -08:00
Kurt
e6aa4df384 Add makefile
Closes #396
Thanks @iskunk !
2018-11-13 22:21:55 -08:00
Kurt
f3282e9c8c Fix maison tr dump off by 1
Closes #393
2018-11-09 21:01:07 -08:00
J. Lord
2abd4a2441 Fix #391: prevent Metronome Mode softlock (#392)
* Fix #391: Metronome Mode causes catching tut. softlock

* Fix #391: Metronome Mode causes catching tut. softlock
2018-11-05 18:05:34 -08:00
Kurt
ba01343f35
Merge pull request #386 from sora10pls/misc-updates
Misc updates
2018-10-10 13:13:43 -07:00
sora10pls
46f4c74c38 Misc updates 2018-10-10 14:54:04 -04:00