Kaphotics
97a8825406
Add legality text exporting
...
WIP -- no text is returned from the called method.
Fixes the Control Click preview box not exporting ek6 (was right click
previously).
2016-03-08 19:20:29 -08:00
Kaphotics
e18aeedebb
Merge pull request #78 from easyworld/master
...
zh translation fix
2016-03-07 21:23:45 -08:00
easyworld
102697695b
update ja words to zh.
2016-03-08 13:12:38 +08:00
easyworld
eefeda79bd
Update some ja words to zh. Fix some bad translation.
2016-03-08 13:06:38 +08:00
Kaphotics
64759c7487
Remap unicode to ingame value
...
Don't rely on string setter either.
2016-03-07 19:31:22 -08:00
Kaphotics
eb4abb28d1
Unicode remap Nickname/OT
...
Thanks Localhorst! I suspect this isn't going to be final...
2016-03-07 18:49:42 -08:00
Kaphotics
0a4e27e501
Fix typo
2016-03-07 18:45:17 -08:00
Kaphotics
d284256088
Update EC for pre Gen6 randomPID/shiny
2016-03-06 22:21:54 -08:00
Kaphotics
9ab426aa80
RandomPID: Simplify + Add Gen6 return option
...
Although our origin checks are done every loop, the speed difference of
such checks is negligible compared to the benefit of readability
2016-03-06 20:00:33 -08:00
Kaphotics
caaad37cee
Merge pull request #77 from chenzw95/nature-pid
...
For Gen III & IV Pokemon, generate PIDs to ensure legal nature
2016-03-06 19:42:08 -08:00
chenzw95
f731dd9248
For Gen III & IV Pokemon, generate PIDs to ensure legal nature
2016-03-07 11:24:34 +08:00
Kaphotics
d34db0a4a9
Improve encounter level met check
...
DexNav boosts levels (up to 10?)
Non boosted => met level == slot level
2016-03-06 17:08:04 -08:00
Kaphotics
fea468e112
Encounter Slot met level check
...
Met Level should match the encounter slot's level.
Obviously for past gen checks this can't happen as the met level is
modified.
2016-03-06 16:46:07 -08:00
Kaphotics
bc71969277
Reduce legality checking footprint
...
No need to have recursion; profiler now indicates a >10x reduction in
processing power for this feature
2016-03-06 14:42:20 -08:00
Kaphotics
b1dfbdd419
Add Bank event checking
2016-03-06 11:19:09 -08:00
Kaphotics
ff64a875fc
ComboBox empty text => index 0
...
Easier clearing of values; instead of saying "stuff is wrong", it's
obvious the user deleted the text so just set it to the 0th item.
2016-03-05 16:59:16 -08:00
Kaphotics
e9a85e8a88
Cleanup
...
Unused code from donor project
2016-03-05 16:58:20 -08:00
Kaphotics
ce2f970bad
Simplify level calc
...
start at level 1, change loop to be less wordy
2016-03-05 07:58:22 -08:00
Kaphotics
6ece2a5f1e
Relocate JPEG code
...
-14 lines
2016-03-04 22:09:54 -08:00
Kaphotics
aa40e9af5a
Minor Fix (interpolation)
...
Line 2552 wasn't interpolated, leading to {BackupPath} getting spat out
literally.
With that I split up the nesting to make the logic more clear.
2016-03-04 20:48:27 -08:00
Kaphotics
464d686997
Refactor, Check WC6 evos, Check WC6 egg
...
Moved the wc6 fetch logic, added event egg; added a little linq finesse
and things are clean!
Added features and cleaned with 0 net lines 👍
2016-03-04 20:43:00 -08:00
Kaphotics
ea09161ffd
Min Size = Initial Size
...
One pixel less resizes the listbox to one entry smaller. Fix by making
it not able to do that.
2016-03-04 19:39:43 -08:00
Kaphotics
9b55c015b6
Refactoring
...
Fix getValidPreEvolutions not decrementing level (the evo level is the
actual value, not 1 for levelup.
Did some performance analysis and optimized a little; the Valid Moves
are now only obtained once instead of 4 times in a loop; used a list to
hold the moves instead of constantly ToArray() which is a little
computation intensive.
2016-03-03 22:12:22 -08:00
Kaphotics
83b0c2992e
Check TID for WC's
2016-03-02 15:46:22 -08:00
Kaphotics
2d5fb503f3
FixMemories loop
...
Cycles through
--X-X => XX--- instead of -X-X-
2016-03-01 20:15:08 -08:00
Kaphotics
54595b063b
Re-fix FixMoves
...
On second thought, that wasn't the best way. Just loop back and fix if
it created a hole. Coul always use a recursive call instead, but I think
this is a little cleaner.
The reverted change didn't fix PP or PP Ups for moves; I didn't think of
this new fix at the time!
2016-02-28 22:18:34 -08:00
Kaphotics
1817c52baa
Revert "Fix -X-X moves => X-X-, now XX--"
...
This reverts commit b03c106599
.
2016-02-28 22:10:35 -08:00
Kaphotics
b03c106599
Fix -X-X moves => X-X-, now XX--
...
Shortest way is using linq; this takes another line but is easier to
port for those unfamiliar with linq.
2016-02-28 17:16:53 -08:00
Kaphotics
5ea193819e
Add WC6 move checking
...
Using PPorg's wc6 database.
2016-02-28 17:05:38 -08:00
Kaphotics
82cdcf0e3b
Add pgf retrieval
2016-02-28 13:50:06 -08:00
Kaphotics
4cfa9e322f
Cleanup
...
Nothing.
2016-02-28 13:49:58 -08:00
Kaphotics
572e1b9e32
Add 5th Gen save file object
...
new SAV5(data) => easy access to boxdata/party for export.
2016-02-27 19:28:41 -08:00
Kaphotics
accbbd89eb
Add Sun/Moon Version IDs
...
We'll see if this guess holds up.
Possible that the VC games will have Version IDs afterwards.
2016-02-27 18:25:27 -08:00
Kaphotics
e024d7824b
Modifying Met Locations update Legality analysis
2016-02-27 18:10:02 -08:00
Kaphotics
37ad88a4ce
Feelings for Trades
...
0-9 Bank
0-19 Trade
Thanks suloku
2016-02-27 10:59:40 -08:00
Kaphotics
c6796a09f0
Fix Location bugginess with Legal checking
...
Thanks Odaxis.
2016-02-26 20:33:18 -08:00
Kaphotics
c618e1aac6
Add encounter slot checking, edge case handling
...
So much information is needed to check a given aspect that it's best to
just pass the pk6 around to functions.
2016-02-26 07:52:08 -08:00
Kaphotics
59afa57d6d
Fix evolution table
...
dex1 > dex2 failed to copy over
2016-02-26 07:50:46 -08:00
Kaphotics
47f53a3a57
Add Gardevoir Forme
...
Shift all afterwards by 2.
2016-02-25 22:02:51 -08:00
Kaphotics
cb6a3394d5
Add encounter tables
2016-02-25 16:19:59 -08:00
Kaphotics
4b7f253a1e
Add DexNav move legality checking
2016-02-24 16:36:26 -08:00
Kaphotics
264ae85509
Simplify references to local copy
...
Not going to reference main form besides open/close r/w.
2016-02-24 15:29:24 -08:00
Kaphotics
643b2afb52
Cleanup
...
Safe casts aren't needed for Array.IndexOf
Initial Ribbon images are already set up, no need to rereference
Slicker way of inverting checkboxes.
2016-02-24 14:59:03 -08:00
Kaphotics
11b8010992
Cleanup
...
Use less lines to do the same thing
2016-02-24 14:38:12 -08:00
Kaphotics
194de261cf
Minor cleanup
...
No functional changes.
2016-02-23 19:20:52 -08:00
Kaphotics
b3a4cc858e
Move Relearn checks to Analysis.cs
...
Keeping logic out of Main.cs
2016-02-23 19:19:25 -08:00
Kaphotics
c4f9819314
Use calculated level instead of stat level
2016-02-22 22:53:21 -08:00
Kaphotics
968eabd053
Reorganization for future changes
...
Moving legality stuff into separate class
2016-02-22 22:52:48 -08:00
Kaphotics
7a3b0699d0
Add battle resort = egg, add smeargle bypass
...
I still should move this to a legality checking core, will do after this
weekend's VGC.
2016-02-20 22:21:03 -08:00
Kaphotics
153d058d67
Fix nature reset 4->X
2016-02-19 17:12:10 -08:00