summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/dabomstew/pkrandom/SettingsUpdater.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/SettingsUpdater.java b/src/com/dabomstew/pkrandom/SettingsUpdater.java
index bdd43f9..ed5464d 100644
--- a/src/com/dabomstew/pkrandom/SettingsUpdater.java
+++ b/src/com/dabomstew/pkrandom/SettingsUpdater.java
@@ -271,6 +271,15 @@ public class SettingsUpdater {
insertExtraByte(45, (byte) 0);
}
+ if (oldVersion < 314) {
+
+ // exp curve
+ insertExtraByte(46, (byte) 0);
+
+ // static level modifier
+ insertExtraByte(47, (byte) 50);
+ }
+
// fix checksum
CRC32 checksum = new CRC32();
checksum.update(dataBlock, 0, actualDataLength - 8);