aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menus/save.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-12-15 11:05:12 -0600
committerdannye <33dannye@gmail.com>2020-12-15 11:05:12 -0600
commit2654da5d157540d482790308f1c2948e1431fa46 (patch)
tree265d64b9fb8f6e8bd580cb6a5ec3c59224e9fdeb /engine/menus/save.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
parentUpdate rgbdscheck.asm (diff)
downloadpokeyellow-2654da5d157540d482790308f1c2948e1431fa46.tar.gz
pokeyellow-2654da5d157540d482790308f1c2948e1431fa46.tar.xz
pokeyellow-2654da5d157540d482790308f1c2948e1431fa46.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/menus/save.asm')
-rw-r--r--engine/menus/save.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/menus/save.asm b/engine/menus/save.asm
index bcb27ddf..13fdf729 100644
--- a/engine/menus/save.asm
+++ b/engine/menus/save.asm
@@ -67,8 +67,8 @@ LoadSAV0:
ld de, wSpriteDataStart
ld bc, wSpriteDataEnd - wSpriteDataStart
call CopyData
- ld a, [sTilesetType]
- ldh [hTilesetType], a
+ ld a, [sTileAnimations]
+ ldh [hTileAnimations], a
ld hl, sCurBoxData
ld de, wBoxDataStart
ld bc, wBoxDataEnd - wBoxDataStart
@@ -211,8 +211,8 @@ SaveSAVtoSRAM0:
ld de, sCurBoxData
ld bc, wBoxDataEnd - wBoxDataStart
call CopyData
- ldh a, [hTilesetType]
- ld [sTilesetType], a
+ ldh a, [hTileAnimations]
+ ld [sTileAnimations], a
ld hl, sPlayerName
ld bc, sMainDataCheckSum - sPlayerName
call SAVCheckSum