summaryrefslogtreecommitdiff
path: root/engine/save.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-08-08 14:22:18 -0500
committerdannye <corrnondacqb@yahoo.com>2016-08-08 14:22:18 -0500
commit33ea880aa4f408624b967d4ab811c477e6a76784 (patch)
tree4498627a74bec31397c076c92d5db70c2565a450 /engine/save.asm
parentc7ce0a95184784f029779426611324ff84f2ef12 (diff)
Adding Glaceon test
An example to show adding a second new Pokemon and a new evolution item in pokered
Diffstat (limited to 'engine/save.asm')
-rwxr-xr-xengine/save.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/save.asm b/engine/save.asm
index 4fb2c4c8..59f81db7 100755
--- a/engine/save.asm
+++ b/engine/save.asm
@@ -117,7 +117,7 @@ LoadSAV2:
call CopyData
ld hl, sMainData
ld de, wPokedexOwned
- ld bc, wPokedexSeenEnd - wPokedexOwned
+ ld bc, wPokedexSeenEndOld - wPokedexOwned
call CopyData
and a
jp SAVGoodChecksum
@@ -260,7 +260,7 @@ SaveSAVtoSRAM2:
call CopyData
ld hl, wPokedexOwned ; pokédex only
ld de, sMainData
- ld bc, wPokedexSeenEnd - wPokedexOwned
+ ld bc, wPokedexSeenEndOld - wPokedexOwned
call CopyData
ld hl, sPlayerName
ld bc, sMainDataCheckSum - sPlayerName