mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
wOAMBuffer -> wShadowOAM (#370)
This commit is contained in:
parent
b045ac4f16
commit
cc46b0e510
29 changed files with 105 additions and 105 deletions
|
|
@ -27,7 +27,7 @@ SetupOwnPartyPokeballs:
|
|||
ld [hl], a
|
||||
ld a, 8
|
||||
ld [wHUDPokeballGfxOffsetX], a
|
||||
ld hl, wOAMBuffer
|
||||
ld hl, wShadowOAM
|
||||
jp WritePokeballOAMData
|
||||
|
||||
SetupEnemyPartyPokeballs:
|
||||
|
|
@ -41,7 +41,7 @@ SetupEnemyPartyPokeballs:
|
|||
ld [hl], $20
|
||||
ld a, -8
|
||||
ld [wHUDPokeballGfxOffsetX], a
|
||||
ld hl, wOAMBuffer + PARTY_LENGTH * 4
|
||||
ld hl, wShadowOAMSprite06
|
||||
jp WritePokeballOAMData
|
||||
|
||||
SetupPokeballs:
|
||||
|
|
@ -174,7 +174,7 @@ SetupPlayerAndEnemyPokeballs:
|
|||
ld [hl], $40
|
||||
ld a, 8
|
||||
ld [wHUDPokeballGfxOffsetX], a
|
||||
ld hl, wOAMBuffer
|
||||
ld hl, wShadowOAM
|
||||
call WritePokeballOAMData
|
||||
ld hl, wEnemyMons
|
||||
ld de, wEnemyPartyCount
|
||||
|
|
@ -183,7 +183,7 @@ SetupPlayerAndEnemyPokeballs:
|
|||
ld a, $50
|
||||
ld [hli], a
|
||||
ld [hl], $68
|
||||
ld hl, wOAMBuffer + $18
|
||||
ld hl, wShadowOAMSprite06
|
||||
jp WritePokeballOAMData
|
||||
|
||||
; four tiles: pokeball, black pokeball (status ailment), crossed out pokeball (fainted) and pokeball slot (no mon)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue