mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Label and document hFFD7 more accurately
This commit is contained in:
parent
6adbaefde1
commit
242b2e05cf
19 changed files with 45 additions and 45 deletions
|
|
@ -23,7 +23,7 @@ LoadTilesetHeader:
|
|||
dec c
|
||||
jr nz, .copyTilesetHeaderLoop
|
||||
ld a, [hl]
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
xor a
|
||||
ldh [hMovingBGTilesCounter1], a
|
||||
pop hl
|
||||
|
|
|
|||
|
|
@ -52,11 +52,11 @@ RedrawMapView:
|
|||
ret z
|
||||
ldh a, [hAutoBGTransferEnabled]
|
||||
push af
|
||||
ldh a, [hTilesetType]
|
||||
ldh a, [hTileAnimations]
|
||||
push af
|
||||
xor a
|
||||
ldh [hAutoBGTransferEnabled], a
|
||||
ldh [hTilesetType], a ; no flower/water BG tile animations
|
||||
ldh [hTileAnimations], a ; no flower/water BG tile animations
|
||||
call LoadCurrentMapView
|
||||
call RunDefaultPaletteCommand
|
||||
ld hl, wMapViewVRAMPointer
|
||||
|
|
@ -112,7 +112,7 @@ RedrawMapView:
|
|||
dec c
|
||||
jr nz, .redrawRowLoop
|
||||
pop af
|
||||
ldh [hTilesetType], a
|
||||
ldh [hTileAnimations], a
|
||||
pop af
|
||||
ldh [hAutoBGTransferEnabled], a
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue