Commit graph

1375 commits

Author SHA1 Message Date
Kaphotics
e65224e5f5 Merge pull request #114 from Eskuero/patch-1
Don't check base moves if the pkm can't be hatched
2016-05-23 10:53:11 -07:00
Eskuero
b404740b2c Don't check base moves if the pkm can't be hatched
There's no point of saying a Landorus, per example, is missing Fissure, Block, Mud Shot and Rock Romb as relearn moves just because it was hatched from an egg because to start with the species cannot be hatched.
2016-05-23 17:41:11 +01:00
Kaphotics
b5caf36fec Remove tab indentations
Change to 4space
2016-05-21 11:28:04 -07:00
Kaphotics
8a4ebf461b Add loading encrypted pkm files
Also fix 220 byte pkm file loading
2016-05-20 18:55:06 -07:00
Kaphotics
eb519f683f Merge pull request #113 from chenzw95/boxlayout-fix
Fix truncation of box unlocked BG flags
2016-05-20 01:33:20 -07:00
chenzw95
908195fe46 Fix truncation of box unlocked BG flags 2016-05-20 16:26:24 +08:00
Kaphotics
8941dd39de Fix non-event event location
Deoxys (story) is the only other pkm that can be received with a fateful
encounter, so exclude it.
2016-05-18 19:07:25 -07:00
Kaphotics
7aa96a3a16 Fix Secret Base editor button not appearing
Default state is not-visible instead of not-enabled; flip the correct
property.
2016-05-17 17:36:31 -07:00
Kaphotics
abc33893c8 Use exact methods when transferring save pkm
Allows bad hacks to be transferred.
2016-05-17 00:00:10 -07:00
Kaphotics
06f615bb3b Fix G5 save box r/w
There's a 0x10 byte gap in between each box (presumably updateCounter
and Checksum)
2016-05-16 23:26:54 -07:00
Kaphotics
a6d94f237c Fix bad eggs aborting past gen dump
Thanks xtreme1!
2016-05-16 23:05:21 -07:00
Kaphotics
a317d38bf4 Fix Gen5 save file detection
Thanks xtreme1!
2016-05-16 22:09:26 -07:00
Kaphotics
c0a2a4b2a7 Update 05-16-16
Update changelog
2016-05-15 22:17:45 -07:00
Kaphotics
03821c1f9d Add past gen save file box dumping (gen4/5)
Dumps all of the box contents to a user specified folder.
2016-05-15 15:35:43 -07:00
Kaphotics
1036ee3ccb Simplify past gen crypto methods
Seed bypass used by PGT supplied checksum; this is what the fixed
methods do already (so remove the parameter).
2016-05-15 15:29:36 -07:00
Kaphotics
58babfff71 Past gen fixes + improvements
Fixed crypt of past gen pkms (use chk not PID), add gen4 save, add save
version detection
2016-05-15 15:24:31 -07:00
Kaphotics
75b5cfd646 Return actual box name
Better indication of what box a pkm is in when viewing the database.
2016-05-14 11:59:07 -07:00
Kaphotics
608592a906 Update changelog 2016-05-12 23:59:05 -07:00
Kaphotics
70c21fc813 Cleanup
Condense code to instead indicate if it is valid or not, remove
duplicate returns, handle ConsoleRegion values that are not 012456 (init
valid to false!).
2016-05-11 21:18:05 -07:00
Kaphotics
4c20c4198d Merge pull request #112 from Eskuero/master
Geolocation and memory 49 checks
2016-05-11 17:10:07 -07:00
Oliver Garcia
099f2104f7 Checks for memory 49: Was able to remember 2016-05-12 00:37:51 +01:00
Oliver Garcia
816ec2537d Check if the country is avalaible on the 3DS region 2016-05-12 00:20:31 +01:00
Kaphotics
0ae2a82fc1 Fix legal egg locations
Battle Resort can't be the egg met location. It's set to 60002 (daycare)
2016-05-10 22:35:17 -07:00
Kaphotics
ffa044d4db Fix String->Int conversion with spaces in middle
Replace instead of trim, then trim.
2016-05-10 22:21:23 -07:00
Kaphotics
3539bf6af0 Fix offsets
00 00 01 00 02 00 03 00 04 00 is at the front of this data
2016-05-10 17:53:35 -07:00
Kaphotics
a8ae56f6f0 Add ItemInfo block
Just exposing these properties
2016-05-10 17:51:12 -07:00
Kaphotics
c07f452448 Merge pull request #111 from Eskuero/master
Checks for memories 16/48 and fix Smeargle exception
2016-05-10 09:32:40 -07:00
Oliver Garcia
1807fd31a9 Checks for memories 16 & 48: Know method 2016-05-10 17:06:52 +01:00
Oliver Garcia
9a37eda9ba Check if the specified move is valid as Sketch move 2016-05-10 17:03:51 +01:00
Kaphotics
e6b6005fc9 Check valid encounter slots to capture trade-evos
Thanks theSLAYER!
2016-05-10 08:09:36 -07:00
Kaphotics
608d751f06 Add Pokémon Village static encounters
Thanks @ReignOfComputer
2016-05-10 08:04:32 -07:00
Kaphotics
ea229b4c70 Fix level 2 blissey with Cleffa egg move
Other other splitbreed with 3 species in chain are Roselia (evo by Item)
and Marill (evo @ 18); this hard check is hacky but works.
2016-05-09 21:09:38 -07:00
Kaphotics
c44f596e08 Fix Egg evolution lineage check
If [i]'s evolution chain has (species), add i to list.
Previously it only looked downward (metapod -> caterpie), now with this
it looks upward (beedrill <- metapod)

Thanks nymeros!
2016-05-09 20:58:12 -07:00
Kaphotics
8f45608437 Cleanup
Commit the rest of the code
why github
2016-05-09 19:24:52 -07:00
Kaphotics
ed32471327 Cleanup
Add remaining logic methods for memories (not hooked up yet), removed
unused code.

TMHM checks are now done in the getMoves method.
2016-05-09 19:24:18 -07:00
Kaphotics
fb4847b1cb Split move fetch into more flexible methods
Allows the use of one method to filter move sources
2016-05-09 19:03:58 -07:00
Kaphotics
6f0bc1172a Add Memory 21
None of my database mons even had this memory :\
2016-05-09 18:19:31 -07:00
Kaphotics
e4b1e5fe47 Disallow Tutor Moves pkm that have never visited AO
Allow tutors only if ORAS origin or have been traded.
2016-05-09 18:07:26 -07:00
Kaphotics
5a21b70d11 Rearrange logic for Location
Get game ID once, check pk6 game first. Will be easy to insert a third
case if/when the time comes.
2016-05-09 17:51:35 -07:00
Kaphotics
ab687288f5 Merge pull request #110 from Eskuero/master
Checks for PKM Center memories
2016-05-09 17:40:00 -07:00
Oliver Garcia
9eb28533de Checks for PKM Center memories 2016-05-10 00:09:40 +01:00
Kaphotics
72ff630be8 Merge pull request #108 from Eskuero/patch-1
Add Smeargle exception
2016-05-08 18:26:20 -07:00
Kaphotics
4e9ea707f9 Fix untraded Glalie/Steelix link gift history chk
Has an OT, HT=player but doesn't get a geolocation, behaves like a wc6
gift.
2016-05-08 18:11:31 -07:00
Eskuero
2840e46cb5 Add Smeargle exception
This boy can learn any HM move through Sketch so any memory regarding HMs is legal for him.
2016-05-08 23:56:08 +02:00
Kaphotics
2b364f0ed3 Add WC6 OT Memory checks 2016-05-08 14:29:08 -07:00
Kaphotics
1249380ce4 Merge pull request #107 from chenzw95/league-locationfix
Distinguish between Leagues of both regions in location dropdown
2016-05-08 06:25:07 -07:00
chenzw95
fde1c95700 Distinguish between Leagues of both regions
An oddity will otherwise force the smaller index (Kalos') to be selected instead.
2016-05-08 18:47:22 +08:00
Kaphotics
e98ab01c2a Tower of Mastery X/Y
Thanks @chenzw95!
2016-05-07 10:24:05 -07:00
Kaphotics
06023d10f6 Add Berry Field encounters
Resolves #105
Thanks @chenzw95 !
2016-05-07 01:19:58 -07:00
Kaphotics
8c1dc42566 Merge pull request #106 from chenzw95/legality-movememories
Add legality checks for HM-specific memories
2016-05-07 00:56:20 -07:00