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

@@ -9025,7 +9025,7 @@ CopyBackpic:
ret
.LoadTrainerBackpicAsOAM:
ld hl, wVirtualOAMSprite00
ld hl, wShadowOAMSprite00
xor a
ldh [hMapObjectIndex], a
ld b, 6

View File

@@ -57,7 +57,7 @@ BattleIntroSlidingPics:
ret
.subfunction3
ld hl, wVirtualOAMSprite00XCoord
ld hl, wShadowOAMSprite00XCoord
ld c, $12 ; 18
ld de, SPRITEOAMSTRUCT_LENGTH
.loop3

View File

@@ -26,7 +26,7 @@ ShowPlayerMonsRemaining:
ld [hl], a
ld a, 8
ld [wPlaceBallsDirection], a
ld hl, wVirtualOAMSprite00
ld hl, wShadowOAMSprite00
jp LoadTrainerHudOAM
ShowOTTrainerMonsRemaining:
@@ -41,7 +41,7 @@ ShowOTTrainerMonsRemaining:
ld [hl], 4 * 8
ld a, -8
ld [wPlaceBallsDirection], a
ld hl, wVirtualOAMSprite00 + PARTY_LENGTH * SPRITEOAMSTRUCT_LENGTH
ld hl, wShadowOAMSprite00 + PARTY_LENGTH * SPRITEOAMSTRUCT_LENGTH
jp LoadTrainerHudOAM
StageBallTilesData:
@@ -187,7 +187,7 @@ LinkBattle_TrainerHuds:
ld [hl], 8 * 8
ld a, 8
ld [wPlaceBallsDirection], a
ld hl, wVirtualOAMSprite00
ld hl, wShadowOAMSprite00
call LoadTrainerHudOAM
ld hl, wOTPartyMon1HP
@@ -197,7 +197,7 @@ LinkBattle_TrainerHuds:
ld a, 10 * 8
ld [hli], a
ld [hl], 13 * 8
ld hl, wVirtualOAMSprite00 + PARTY_LENGTH * SPRITEOAMSTRUCT_LENGTH
ld hl, wShadowOAMSprite00 + PARTY_LENGTH * SPRITEOAMSTRUCT_LENGTH
jp LoadTrainerHudOAM
LoadTrainerHudOAM: