diff options
| author | Colton G. Rushton <colton51919@gmail.com> | 2022-07-09 18:18:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-09 17:18:20 -0400 |
| commit | c0085ea1b21a171ef9f4c73ad28a5306558f2cc3 (patch) | |
| tree | 311a4a64f13395e2f711b46f8b13bbc1b5ff849e /engine/battle/core.asm | |
| parent | Fix typo: HeatButt -> HeadButt (diff) | |
| download | pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.gz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.xz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.zip | |
wOAMBuffer -> wShadowOAM (#95)
Diffstat (limited to 'engine/battle/core.asm')
| -rw-r--r-- | engine/battle/core.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 03566487..23cac58a 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -108,7 +108,7 @@ SlidePlayerAndEnemySilhouettesOnScreen: ; instead, the enemy pic is part of the background and uses the scroll register, while the player's head is a sprite and is slid by changing its X coordinates in a loop SlidePlayerHeadLeft: push bc - ld hl, wOAMBuffer + $01 + ld hl, wShadowOAMSprite00XCoord ld c, $15 ; number of OAM entries ld de, $4 ; size of OAM entry .loop @@ -6511,7 +6511,7 @@ LoadPlayerBackPic: ASSERT BANK(RedPicBack) == BANK(ProfOakPicBack) call UncompressSpriteFromDE predef ScaleSpriteByTwo - ld hl, wOAMBuffer + ld hl, wShadowOAM xor a ldh [hOAMTile], a ; initial tile number ld b, $7 ; 7 columns |
