wVirtualOAM -> wShadowOAM and hTransferVirtualOAM -> hTransferShadowOAM (#971)

This commit is contained in:
Colton G. Rushton
2022-07-09 18:18:22 -03:00
committed by GitHub
parent ef9b9bb437
commit 145d8dd5c2
37 changed files with 113 additions and 113 deletions

View File

@@ -340,7 +340,7 @@ EvolutionAnimation:
inc a
and $7
ld b, a
ld hl, wVirtualOAMSprite00Attributes
ld hl, wShadowOAMSprite00Attributes
ld c, NUM_SPRITE_OAM_STRUCTS
.loop6
ld a, [hl]

View File

@@ -302,7 +302,7 @@ DrawTitleGraphic:
ret
InitializeBackground:
ld hl, wVirtualOAMSprite00
ld hl, wShadowOAMSprite00
ld d, -$22
ld e, $0
ld c, 5
@@ -342,7 +342,7 @@ AnimateTitleCrystal:
; Stop at y=6
; y is really from the bottom of the sprite, which is two tiles high
ld hl, wVirtualOAMSprite00YCoord
ld hl, wShadowOAMSprite00YCoord
ld a, [hl]
cp 6 + 2 * TILE_WIDTH
ret z

View File

@@ -48,7 +48,7 @@ UnusedTitleScreen: ; unreferenced
jr nz, .copy
ld hl, UnusedTitleFG_OAM
ld de, wVirtualOAMSprite00
ld de, wShadowOAMSprite00
ld bc, SPRITEOAMSTRUCT_LENGTH * NUM_SPRITE_OAM_STRUCTS
call CopyBytes