mirror of
https://github.com/zladx/LADX-Disassembly.git
synced 2024-11-23 04:49:57 +00:00
Label the memory location for the scrolling animated tiles.
This commit is contained in:
parent
f6f4574f65
commit
d6a7b02e4a
@ -407,7 +407,7 @@ CopyColorDungeonSymbols::
|
||||
ld a, BANK(ColorDungeonNpcTiles) ;; 00:0A33 $3E $35
|
||||
ld [rSelectROMBank], a ;; 00:0A35 $EA $00 $21
|
||||
ld hl, ColorDungeonNpcTiles + $F00 ;; 00:0A38 $21 $00 $4F
|
||||
ld de, wDCC0 ;; 00:0A3B $11 $C0 $DC
|
||||
ld de, wAnimatedScrollingTilesStorage ;; 00:0A3B $11 $C0 $DC
|
||||
ld bc, $20 ;; 00:0A3E $01 $20 $00
|
||||
call CopyData ;; 00:0A41 $CD $14 $29
|
||||
jp RestoreStackedBankAndReturn ;; 00:0A44 $C3 $73 $09
|
||||
@ -4909,7 +4909,7 @@ LoadIndoorTiles::
|
||||
call AdjustBankNumberForGBC ;; 00:2C9C $CD $0B $0B
|
||||
ld [rSelectROMBank], a ;; 00:2C9F $EA $00 $21
|
||||
ld hl, Items1Tiles + $3C0 ;; 00:2CA2 $21 $C0 $47
|
||||
ld de, wDCC0 ;; 00:2CA5 $11 $C0 $DC
|
||||
ld de, wAnimatedScrollingTilesStorage ;; 00:2CA5 $11 $C0 $DC
|
||||
ld bc, TILE_SIZE * $4 ;; 00:2CA8 $01 $40 $00
|
||||
call CopyData ;; 00:2CAB $CD $14 $29
|
||||
|
||||
|
@ -413,8 +413,8 @@ Data_019_7AB6:
|
||||
._03 dw func_019_7B04
|
||||
|
||||
func_019_7ABE:
|
||||
ld hl, wDCCF ;; 19:7ABE $21 $CF $DC
|
||||
ld de, wDCCF ;; 19:7AC1 $11 $CF $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage + 15 ;; 19:7ABE $21 $CF $DC
|
||||
ld de, wAnimatedScrollingTilesStorage + 15 ;; 19:7AC1 $11 $CF $DC
|
||||
ld a, [hl-] ;; 19:7AC4 $3A
|
||||
push af ;; 19:7AC5 $F5
|
||||
ld a, [hl-] ;; 19:7AC6 $3A
|
||||
@ -441,8 +441,8 @@ func_019_7ABE:
|
||||
ret ;; 19:7ADA $C9
|
||||
|
||||
func_019_7ADB:
|
||||
ld hl, wDCD0 ;; 19:7ADB $21 $D0 $DC
|
||||
ld de, wDCD0 ;; 19:7ADE $11 $D0 $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage.tile1 ;; 19:7ADB $21 $D0 $DC
|
||||
ld de, wAnimatedScrollingTilesStorage.tile1 ;; 19:7ADE $11 $D0 $DC
|
||||
ld a, [hl+] ;; 19:7AE1 $2A
|
||||
push af ;; 19:7AE2 $F5
|
||||
ld a, [hl+] ;; 19:7AE3 $2A
|
||||
@ -469,7 +469,7 @@ func_019_7ADB:
|
||||
ret ;; 19:7AF7 $C9
|
||||
|
||||
func_019_7AF8:
|
||||
ld hl, wDCE0 ;; 19:7AF8 $21 $E0 $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage.tile2 ;; 19:7AF8 $21 $E0 $DC
|
||||
ld e, $10 ;; 19:7AFB $1E $10
|
||||
|
||||
.loop_7AFD
|
||||
@ -481,7 +481,7 @@ func_019_7AF8:
|
||||
ret ;; 19:7B03 $C9
|
||||
|
||||
func_019_7B04:
|
||||
ld hl, wDCF0 ;; 19:7B04 $21 $F0 $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage.tile3 ;; 19:7B04 $21 $F0 $DC
|
||||
ld e, $10 ;; 19:7B07 $1E $10
|
||||
|
||||
.loop_7B09
|
||||
|
@ -2995,7 +2995,7 @@ func_036_51DF::
|
||||
ld hl, Data_036_51BF ;; 36:51EA $21 $BF $51
|
||||
add hl, de ;; 36:51ED $19
|
||||
ld e, [hl] ;; 36:51EE $5E
|
||||
ld hl, wDCC0 ;; 36:51EF $21 $C0 $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage ;; 36:51EF $21 $C0 $DC
|
||||
add hl, de ;; 36:51F2 $19
|
||||
ld [hl], $00 ;; 36:51F3 $36 $00
|
||||
ret ;; 36:51F5 $C9
|
||||
|
@ -341,7 +341,7 @@ AnimateLavaTilesGroup::
|
||||
jp LoadAnimatedTilesFrame ;; 00:1CA6 $C3 $51 $1C
|
||||
|
||||
AnimateDungeon2TilesGroup::
|
||||
ld hl, wDCC0 ;; 00:1CA9 $21 $C0 $DC
|
||||
ld hl, wAnimatedScrollingTilesStorage ;; 00:1CA9 $21 $C0 $DC
|
||||
ldh a, [hMapId] ;; 00:1CAC $F0 $F7
|
||||
cp MAP_COLOR_DUNGEON ;; 00:1CAE $FE $FF
|
||||
jr nz, label_1CB8 ;; 00:1CB0 $20 $06
|
||||
|
@ -3738,25 +3738,20 @@ wDrawCommandVRAM1::
|
||||
.data
|
||||
ds $2C ; DC93 - DCBF
|
||||
|
||||
; Unlabeled
|
||||
wDCC0::
|
||||
ds 15 ; DCC0 - DCCE
|
||||
; Stores the 4 animated tiles for belts that are scrolled for the animation.
|
||||
wAnimatedScrollingTilesStorage::
|
||||
ds $10 ; DCC0 - DCCE
|
||||
|
||||
; Unlabeled
|
||||
wDCCF::
|
||||
ds 1 ; DCCF
|
||||
.tile1::
|
||||
ds $10 ; DCD0 - DCDF
|
||||
|
||||
; Unlabeled
|
||||
wDCD0::
|
||||
ds $10 ; DCD0 -DCDF
|
||||
.tile2::
|
||||
ds $10 ; DCE0 - DCEF
|
||||
.tile3::
|
||||
ds $10 ; DCF0 - DCFF
|
||||
|
||||
; Unlabeled
|
||||
wDCE0::
|
||||
ds $10 ; DCE0 -DCEF
|
||||
|
||||
; Unlabeled
|
||||
wDCF0::
|
||||
ds $E1 ; DCF0 -DDD0
|
||||
; Unused data?
|
||||
ds $D1 ; DD00 - DDD0
|
||||
|
||||
; Palette flags for copying palettes to hardware.
|
||||
; bit 0: If set, copy background palette to hardware during vblank
|
||||
|
Loading…
Reference in New Issue
Block a user