You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
wVirtualOAM -> wShadowOAM and hTransferVirtualOAM -> hTransferShadowOAM (#971)
This commit is contained in:
committed by
GitHub
parent
ef9b9bb437
commit
145d8dd5c2
@@ -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]
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user