summaryrefslogtreecommitdiff
path: root/src/compressors
diff options
context:
space:
mode:
authorDabomstew <dbs.stew@gmail.com>2016-02-21 22:08:17 +1300
committerDabomstew <dbs.stew@gmail.com>2016-02-21 22:08:17 +1300
commitb824cc40c298095ad46e2e02563688158e49a505 (patch)
tree664a9f1836b69eb0ef514781335b532d0184ddf0 /src/compressors
parentcfe8091b839c321454a13e8974b29fbb2678dfd8 (diff)
Gen5 pokemon pics (literally JigsawPuzzle%).
Also added missing credit for Gen2 algorithms. Gen4/5 credit coming as soon as I figure out exactly who/what needs crediting.
Diffstat (limited to 'src/compressors')
-rw-r--r--src/compressors/Gen2Decmp.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compressors/Gen2Decmp.java b/src/compressors/Gen2Decmp.java
index 762ea88..6c28ed9 100644
--- a/src/compressors/Gen2Decmp.java
+++ b/src/compressors/Gen2Decmp.java
@@ -1,5 +1,12 @@
package compressors;
+/**
+ * Pokemon Gen 2 sprite decompressor
+ * Source: https://github.com/pret/pokemon-reverse-engineering-tools/blob/master/pokemontools/lz.py
+ * (and gfx.py for flatten())
+ * Ported to Java by Dabomstew
+ *
+ */
public class Gen2Decmp {
private static final int LZ_END = 0xFF;