mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
wOAMBuffer -> wShadowOAM (#370)
This commit is contained in:
parent
b045ac4f16
commit
cc46b0e510
29 changed files with 105 additions and 105 deletions
|
|
@ -17,11 +17,11 @@ EmotionBubble:
|
|||
ld [wUpdateSpritesEnabled], a
|
||||
ld a, [wd736]
|
||||
bit 6, a ; are the last 4 OAM entries reserved for a shadow or fishing rod?
|
||||
ld hl, wOAMBuffer + 4 * 35 + $3 ; $8f
|
||||
ld de, wOAMBuffer + 4 * 39 + $3 ; $9f
|
||||
ld hl, wShadowOAMSprite35Attributes
|
||||
ld de, wShadowOAMSprite39Attributes
|
||||
jr z, .next
|
||||
ld hl, wOAMBuffer + 4 * 31 + $3 ; $7f
|
||||
ld de, wOAMBuffer + 4 * 35 + $3 ; $8f
|
||||
ld hl, wShadowOAMSprite31Attributes
|
||||
ld de, wShadowOAMSprite35Attributes
|
||||
|
||||
; Copy OAM data 16 bytes forward to make room for emotion bubble OAM data at the
|
||||
; start of the OAM buffer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue