mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Update related tile animation constants
This commit is contained in:
parent
a7dca30971
commit
083cb38e33
7 changed files with 34 additions and 34 deletions
|
|
@ -6865,7 +6865,7 @@ _InitBattleCommon:
|
|||
ld [wLetterPrintingDelayFlags], a
|
||||
pop af
|
||||
ld [wMapPalOffset], a
|
||||
ld a, [wSavedTilesetType]
|
||||
ld a, [wSavedTileAnimations]
|
||||
ldh [hTileAnimations], a
|
||||
scf
|
||||
ret
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
InitBattleVariables:
|
||||
ldh a, [hTileAnimations]
|
||||
ld [wSavedTilesetType], a
|
||||
ld [wSavedTileAnimations], a
|
||||
xor a
|
||||
ld [wActionResultOrTookBattleTurn], a
|
||||
ld [wBattleResult], a
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue