Update related tile animation constants

This commit is contained in:
SatoMew 2020-11-29 21:28:38 +00:00
parent a7dca30971
commit 083cb38e33
7 changed files with 34 additions and 34 deletions

View file

@ -6865,7 +6865,7 @@ _InitBattleCommon:
ld [wLetterPrintingDelayFlags], a
pop af
ld [wMapPalOffset], a
ld a, [wSavedTilesetType]
ld a, [wSavedTileAnimations]
ldh [hTileAnimations], a
scf
ret

View file

@ -1,6 +1,6 @@
InitBattleVariables:
ldh a, [hTileAnimations]
ld [wSavedTilesetType], a
ld [wSavedTileAnimations], a
xor a
ld [wActionResultOrTookBattleTurn], a
ld [wBattleResult], a

View file

@ -69,7 +69,7 @@ LoadSAV0:
ld de, wSpriteDataStart
ld bc, wSpriteDataEnd - wSpriteDataStart
call CopyData
ld a, [sTilesetType]
ld a, [sTileAnimations]
ldh [hTileAnimations], a
ld hl, sCurBoxData
ld de, wBoxDataStart
@ -218,7 +218,7 @@ SaveSAVtoSRAM0:
ld bc, wBoxDataEnd - wBoxDataStart
call CopyData
ldh a, [hTileAnimations]
ld [sTilesetType], a
ld [sTileAnimations], a
ld hl, sPlayerName
ld bc, sMainDataCheckSum - sPlayerName
call SAVCheckSum