Commit Graph

133 Commits

Author SHA1 Message Date
Kurt
e1d7b1966d misc gui qol improvements
min sizes, control anchoring for resizing, error on bad json
2018-12-11 19:12:39 -08:00
Kurt
22151cefef Add hotkey/option to open current folder
qol update
2018-12-11 19:03:11 -08:00
Kurt
65beb0ada4 Misc qol fixes
typo fixed in trainer settings
center window for sub editors
2018-12-10 20:49:03 -08:00
Kurt
727b3cd711 check stab move count instead of ignoring setting
thanks @sora10pls
2018-12-07 16:39:16 -08:00
Kurt
3eb375d0ce Update beluga trade definition based on disassembly
sub_71002b8c50
FF C3 02 D1 FC 6F 05 A9  FA 67 06 A9 F8 5F 07 A9
2018-12-06 21:02:14 -08:00
Kurt
c8abf79e67 Fix folder modify tracking
Data[index] can be null if the file has never been loaded, which ends up
being ignored for modification tracking, thus never saving.
bulk imports didn't load all files, so just double check the file from
disk
2018-12-06 16:36:55 -08:00
Kurt
09d41bbcd9 Fix text importing for named textfiles
can't sanity check without filenames; not worth the effort since the
text files shouldn't ever be mutated that much.
2018-12-03 16:44:45 -08:00
Kurt
1f3cbdad71 Add type chart editor & randomizer
2% for immune, 17% for 2x/.5x
2018-12-01 21:57:01 -08:00
Kurt
62517ca742 Add TM editor 2018-12-01 16:54:44 -08:00
Kurt
c52e43dce1 Style fixes 2018-12-01 16:33:40 -08:00
Kurt
00d367b1b0 Add common sanitization util 2018-12-01 15:16:53 -08:00
Kurt
104a554e9a Make generic randomizer more generic
int -> T
add getmany method
2018-12-01 15:16:37 -08:00
Kurt
b085c1976b Misc fixes
fix: double-trainer battles forced to 3
fix: high powered trainer rand moves no longer errors
2018-12-01 14:35:26 -08:00
Kurt
8590f9a461 Cap jesse/james trainers to 3
side effect is that it forces them to have 3 always, which is fine.
2018-12-01 14:28:51 -08:00
Kurt
906c50b029 Disable alwaysshiny for gg
unk for now, maybe will revisit how to patch it since Fixed value works.
2018-12-01 13:17:59 -08:00
Kurt
ebcc5fe0b3 Fix load overwrite 2018-12-01 13:07:19 -08:00
Kurt
992b1e09a9 Fix compression skip 2018-12-01 12:56:12 -08:00
Kurt
0c0487f12f Add shiny rate editor
untested but probably works
2018-12-01 12:39:31 -08:00
Kurt
0062f6cf24 Add nso r/w (exefs)
compression results in different lengths (overall better) but I doubt it
will impact loading
2018-12-01 10:03:20 -08:00
Kurt
6611e2dd21 Update special count handling
no longer forces count=6 to be 6 regardless of setting
2018-11-30 19:05:39 -08:00
Kurt
a81af0773d Save personal data on program close
personal is unpacked differently, add special handling before Saving
All.
2018-11-30 19:01:18 -08:00
Kurt
f77454d3d4 Rework call for high powered moves
learn is a bit more complex; just add an overload with another param
2018-11-30 18:17:59 -08:00
Kurt
5676115f9b Save fully cached status 2018-11-30 18:17:17 -08:00
Kurt
087089c2d5 Rework species-form-item randomization for gg 2018-11-29 19:43:31 -08:00
Kurt
b85cffa383 Hide duration
doesn't work as a min/max duration
2018-11-29 18:21:31 -08:00
Kurt
18804139c7
Merge pull request #7 from sora10pls/fixed-count
Use fixed count indexes
2018-11-29 10:09:51 -08:00
sora10pls
5f2f0a70ee Use fixed count indexes 2018-11-29 13:07:17 -05:00
Kurt
a4b66f37ff Fix singlefile not being saved
gifts/statics/etc
so simple to overlook
2018-11-28 21:23:53 -08:00
Kurt
8084603cc4 unrestrict events, just ban m&m 2018-11-28 16:47:02 -08:00
Kurt
84264d7588 Set 0 for forme always
fix alolan stuff leaking through
2018-11-28 16:33:55 -08:00
Kurt
6b1e3e5cb2 Disallow melmetal/meltan for ggwe rand
they don't appear either; looks like only 1-151
2018-11-28 16:17:20 -08:00
Kurt
ec23818454 Update invalid folder logic
returns null rather than using it in GetManager

https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=238507
2018-11-28 15:22:24 -08:00
Kurt
8870d4e361 Hide forme column, no formes will spawn :( 2018-11-27 17:54:24 -08:00
Kurt
3b39701f52 Try to fix broken test environment
apparently doesn't like é
2018-11-27 17:49:48 -08:00
Kurt
5736e54cea Add exp yield amp button 2018-11-27 17:44:20 -08:00
Kurt
2db77e379a WildMega->WildAlolan
can't get wild megas
make wildalola toggleable rather than always true
2018-11-27 16:41:56 -08:00
Kurt
7ac8af06dd Use gg special classes 2018-11-27 16:38:40 -08:00
Kurt
c3642f7a36 Split out Crash classes 2018-11-27 16:36:37 -08:00
Kurt
acfc9a1e1d
Merge pull request #6 from sora10pls/trainers
Misc updates
2018-11-27 15:04:10 -08:00
sora10pls
eeec9af64d Misc updates 2018-11-27 17:34:07 -05:00
Kurt
28340d10f3 Save current entry on exit 2018-11-26 22:28:23 -08:00
Kurt
553516603d Fix header write 2018-11-26 22:24:44 -08:00
Kurt
3b8d3a5e4a Write single file instead of calling dump 2018-11-26 22:11:51 -08:00
Kurt
b5aa812e88 Add usage of file mitm to patch path instead of bak
Don't backup files in a separate folder; leave the original romfs
untouched!
When writing files, mitm the write path to the patch folder.
When reading files, mitm the read path to the patch file if it exists.
2018-11-26 22:02:42 -08:00
Kurt
ed485e0643 Add r/w mitm path replacements 2018-11-26 21:52:45 -08:00
Kurt
7572f7940f Set up container r/w mitm 2018-11-26 21:36:43 -08:00
Kurt
2e12e326ef Make GameManager abstract 2018-11-26 21:18:50 -08:00
Kurt
dec088766c Update singlefile usage 2018-11-26 17:07:21 -08:00
Kurt
ea6c8d3158 Track modification for single file edits 2018-11-26 17:05:42 -08:00
Kurt
507e1445bb Actually randomize via species not form
lol oops
2018-11-26 17:03:29 -08:00