Commit graph

1758 commits

Author SHA1 Message Date
Kaphotics
d72db5ae72 MarkByte => MarkValue
Includes marking coloring for main form as well
changes type from byte to int
2016-10-30 19:15:48 -07:00
Kaphotics
91dfe269c9 Add gen7 native symbol (+) 2016-10-30 16:40:19 -07:00
Kaphotics
85859f9db3 Fix daycare offsets
Daycare seeds are now 128 bits instead of 64.
Remove overrides that duplicate virtual method
2016-10-29 19:11:47 -07:00
Kaphotics
91134a4883 Sync remaining piece of refactor
Oops
2016-10-29 19:10:40 -07:00
Kaphotics
8540b00ca1 Refactoring
No functional change besides changing the default save to sav7.

Main changes are moving the string data fetching out of the
winforms-specific Main.cs
2016-10-29 15:41:55 -07:00
Kaphotics
a9648f021b Generalize box viewer
Need to update string tables for all games
2016-10-29 11:33:53 -07:00
Kaphotics
ade97e0067 Generalize box wallpaper interaction
Move get/set logic into abstract class, only offset fetch is overridden
2016-10-29 11:32:21 -07:00
Kaphotics
5e54466816 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-10-29 09:39:19 -07:00
Kaphotics
2e9bfaafd3 Decouple personal tables, use pinfo 2016-10-29 09:39:11 -07:00
ajtudela
9a28aed56e Minor spanish update for Pokemon Sun and Moon (#337) 2016-10-29 08:18:49 -07:00
Kaphotics
5c3ee751c6 Personal Table per PKM
Not by AO only (now works for species > 721)
2016-10-28 23:41:22 -07:00
Kaphotics
0998775360 Add sav7 trainer editor
Map coordinates X/Z appear to be *100 for decimal precision?
remove unused trainingmedal resource
reorder pouches to match game
fix money read offset
2016-10-27 21:30:21 -07:00
Kaphotics
540cd5ac99 Use PC inventory sprite for g1/2 2016-10-27 19:59:19 -07:00
Kaphotics
da2f1cbe12 Fix z-crystal tables
Bead/Piece tables were in the demo, easy mine.
Add pouch sprites for Free/Z-Crystal, as well as a PC (unused) provided
by Suloku in #237
2016-10-27 19:53:19 -07:00
Kaphotics
9f1ee13851 Fix MysteryGift type comparisons
WC6 -> MysteryGift as intended, as we want the abstract class.
Other classes don't inherit, thus BaseType stays the same.

Thanks Odaxis!
2016-10-27 18:26:14 -07:00
Kaphotics
81547107a0 Add more s/m stuff
Inventory editing, mystery gift editing, trainer info (soon)
2016-10-26 22:06:03 -07:00
Kaphotics
9e2743ad82 Dynamically generate gift table controls
New game threw a snag. This looks better, anyway.
2016-10-26 18:49:40 -07:00
Kaphotics
518cf8a407 Add placeholder strings
Still need to add met location information
2016-10-24 20:05:22 -07:00
Kaphotics
2a1b1c99ff Continued updates
Add gen7 games to list, add gen3 starter ball banlist, relocate legality
info that isn't generation specific.
2016-10-24 20:04:47 -07:00
Kaphotics
4033bb6081 Rename LinkGifts
Specify that these gifts are for gen6 only
2016-10-23 22:07:13 -07:00
Kaphotics
a462c09743 Legality refactoring continued
Finish removing explicit gen6 objects so that multiple generations of
information can be checked.

Still only supports gen6, but will be much much easier to add in other
generations in the future.

Tested a few pk6's and the legality checks appear to be functioning the
same.
2016-10-23 22:03:19 -07:00
Kaphotics
ed14ab7436 Add personalinfo references per PKM format
Fix possible hang in pk6/pk7 if country/region is unset (continues
loop).

PersonalInfo references are not to be used when calculating stats (use
the savefile table instead)
2016-10-23 22:01:39 -07:00
Kaphotics
26ff17fd24 Use added maxspecies from legal
Instead of a hard-coded number.

Maybe I should have a species/move/Ability/Item/Ball enum
2016-10-23 21:59:27 -07:00
Kaphotics
8cf0a7b0ec Add some sanity checking for ranges 2016-10-23 21:57:43 -07:00
Kaphotics
53d577a191 Add legalspecies & sm TMs 2016-10-23 21:57:04 -07:00
Kaphotics
d4bf111cd7 Add indication for invalid wondercards
Should clear up confusion when relearnmoves are all invalid.
2016-10-23 21:56:14 -07:00
Kaphotics
bbee007429 Implement placeholder pk7 conversion
For all generations that can transfer; pk1->7 is still disabled but the
framework is set up for when that information arrives.
2016-10-23 13:11:26 -07:00
Kaphotics
0fec576831 Refactor Legality engine
Beginnings of multi-generational support; removed all references to PK6
(child) and changed to PKM (abstract parent).

The core portion still needs revision to not be hard-coded for XY/ORAS
info tables.
2016-10-23 12:48:49 -07:00
Kaphotics
e3d7a7ebce Partial work towards c-gear
Getting this out of my changes list, still very WIP
2016-10-23 12:46:32 -07:00
Kaphotics
14550828ed Add more S/M editing capability
Add Daycare and Resort storage, updated offset map with information
provided by Falo (thanks!!!)
2016-10-23 12:45:27 -07:00
Kaphotics
75a512c40b Move legality6 table to proper filename
Made sense when gen6 was the only legality user, but with multigen let's
make it have the right name.
2016-10-22 20:24:27 -07:00
Kaphotics
7091049372 Add more S&M support
Pokedex flag setting added, no forme setting for now.
2016-10-22 20:09:22 -07:00
Kaphotics
26b2a07392 Fix indentation
No change.
2016-10-22 20:07:03 -07:00
Kaphotics
af553adf2f Fix pgf import
while loop hung, fix comparators
Thanks Odaxis!
2016-10-22 20:04:59 -07:00
Kaphotics
58981dcaab Add unown form editing gen2
Also add in some sun/moon form info (may not trigger)
Passing eventargs feels janky but works.

Should resolve query in #334
2016-10-22 10:38:33 -07:00
Kaphotics
897e05800e Fix gen2 unown exception
Closes #334 , thanks @Ninjistix !
2016-10-22 09:16:08 -07:00
Kaphotics
cdd82be704 Fix arceus form 4->5
Form needs to be reset when removing the held plate
2016-10-21 21:55:26 -07:00
Easy World
d053be9d5b Update official translation (#335)
* update offcial name

* fix some text mistake

* Update official translation

based on the pokemon sun and moon special demo version

* update official translation
2016-10-21 08:21:43 -07:00
Kaphotics
9553975801 Add new pk7 ribbons
includes sprites
temp names for now
2016-10-20 19:29:02 -07:00
Kaphotics
a614947e3a Misc pkm structure updates
4 new ribbon flags later, just updating based off code RE.
2016-10-20 01:26:47 -07:00
Kaphotics
09018e81d5 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-10-19 18:19:04 -07:00
Kaphotics
68b5e65139 Initial Sun/Moon Support
Loads the save file, still not finished.
2016-10-19 18:19:01 -07:00
Easy World
8ee56807ba Update offcial item names (#332)
* update offcial name

* fix some text mistake
2016-10-19 17:49:41 -07:00
Evan Dixon
adf7f5529a B/detect save null reference (#333)
* Fixed null reference exception in certain cases in save auto-loading

* Fixed form close warning showing with no changes made since start

* Fixed abort button in ErrorWindow

* Simplified implementation
2016-10-19 17:47:43 -07:00
Evan Dixon
475aad5480 Added warning when closing PKHeX with unsaved changes (#327)
* Added warning when closing PKHeX with unsaved changes

* Changed to MessageBox.Show to Util.Prompt
2016-10-18 10:44:36 -07:00
Evan Dixon
0b7d108245 Added "All Files" to save filters (#323) 2016-10-17 07:49:40 -07:00
Kaphotics
ed2f6f238f Fix 12char HoF nickname length
Thanks Holla!

Totally not worth refactoring into a get/set class
2016-10-15 21:38:42 -07:00
Kaphotics
a36eca40e6 Update shortcut listing 2016-10-15 21:28:36 -07:00
Kaphotics
283ee64e4f Convert battle video interaction to class obj
Makes it easier for gen7 battle videos; none of this info is new (comes
from pkBV).
2016-10-15 21:28:14 -07:00
Kaphotics
bc9893415b Refactoring
Simplify HeldItem / SpriteItem
Egg Nicknaming user automation added (checks nicknamed & adds egg if
isEgg ticked)
Remove some unnecessary data caching
Allow QR codes for games NDS+ (for program use only, no QR browser
exploit works
2016-10-11 22:59:19 -07:00