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
@@ -9025,7 +9025,7 @@ CopyBackpic:
|
||||
ret
|
||||
|
||||
.LoadTrainerBackpicAsOAM:
|
||||
ld hl, wVirtualOAMSprite00
|
||||
ld hl, wShadowOAMSprite00
|
||||
xor a
|
||||
ldh [hMapObjectIndex], a
|
||||
ld b, 6
|
||||
|
@@ -57,7 +57,7 @@ BattleIntroSlidingPics:
|
||||
ret
|
||||
|
||||
.subfunction3
|
||||
ld hl, wVirtualOAMSprite00XCoord
|
||||
ld hl, wShadowOAMSprite00XCoord
|
||||
ld c, $12 ; 18
|
||||
ld de, SPRITEOAMSTRUCT_LENGTH
|
||||
.loop3
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user