Commit graph

11 commits

Author SHA1 Message Date
Kaphotics
cdd33c9d5f Add delete for mass editor
.Species=0
Sets data to zeroes.
2016-07-30 17:22:33 -07:00
Kaphotics
cd909d5cc5 Add Batch Editor => Shiny PID command
Also added Box/Slot filtering, for whatever reason is desired.

Thanks /u/exegg for the suggestion!
2016-07-28 23:05:26 -07:00
Kaphotics
419ed553cb Add randomization for PID/EC 2016-07-23 11:44:37 -07:00
Kaphotics
a41cb8bae0 Add advanced search to database
Can run certain queries using the same format as BatchEditor

Improved property filtering if filter is invalid.
2016-07-23 01:04:55 -07:00
Kaphotics
0362268e41 Unnecessary changes
Simplify usages
2016-07-21 22:45:20 -07:00
Kaphotics
dc11719902 Improve batch editor alerts
Add detection for incomplete commands (instead of throwing and catching
exceptions).
Add 'error' skip tracking, add counter for actual files iterated over
(930 -> actual count of nonempty files for a gen6 save).

Processing folder files now writes back ONLY if the file is modified.
2016-07-20 22:43:26 -07:00
Kaphotics
583859ffd3 Change Property combo to DropDown
Allows the user to type in the property -> SuggestAppend

When the typed text is not within the list of items, the selectedindex
is -1, so abort.
2016-07-20 22:21:09 -07:00
Kaphotics
45d99406f6 Only list settable & public properties
If there's anything private (like ribbon bytes) don't display em.
2016-07-19 22:26:07 -07:00
Kaphotics
760468fcae Add more user friendly command building
Thanks \ for the suggestion; user has to enter in the value (true/false,
integer).

Provides a list of properties for a pkm file that have setters
(CanWrite).
2016-07-17 17:06:50 -07:00
Kaphotics
7ed0f1adf8 Move property reflection to util 2016-07-16 10:00:50 -07:00
Kaphotics
a1ac548485 Add Batch Editor (HaX)
= acts as a 'modify if' filter
! acts as a 'do not modify if' filter
. acts as a 'set property to' to value

!HeldItem=0
^ do not modify if held item is zero

=HeldItem=5
^ only modify if held item is index 5

.Species=7
^ set species to 7

!SID=666
.TID=666
^ set TID to 666 if SID is not 666

.TID=666
!SID=666
^ set TID to 666 if SID is not 666 (filtering can be after property
settings)

Run one 'batch modify' script at a time.
2016-07-12 22:19:51 -07:00