diff options
| author | Vortyne <104168801+Vortyne@users.noreply.github.com> | 2024-09-29 18:54:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-29 18:54:41 -0400 |
| commit | 1aa3fb24ec2d5002dc7b755776f42e855b709970 (patch) | |
| tree | f00a69c046526d3a4caeb0d92560975c594133d7 /engine/overworld/cut.asm | |
| parent | Implement .pic to .2bpp decompression (#470) (diff) | |
| download | pokeyellow-1aa3fb24ec2d5002dc7b755776f42e855b709970.tar.gz pokeyellow-1aa3fb24ec2d5002dc7b755776f42e855b709970.tar.xz pokeyellow-1aa3fb24ec2d5002dc7b755776f42e855b709970.zip | |
`dbsprite` is the wrong macro for `WriteOAMBlock` data (#472)
Diffstat (limited to 'engine/overworld/cut.asm')
| -rw-r--r-- | engine/overworld/cut.asm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engine/overworld/cut.asm b/engine/overworld/cut.asm index 3e514672..2f839f8c 100644 --- a/engine/overworld/cut.asm +++ b/engine/overworld/cut.asm @@ -119,12 +119,15 @@ LoadCutGrassAnimationTilePattern: WriteCutOrBoulderDustAnimationOAMBlock: call GetCutOrBoulderDustAnimationOffsets ld a, $9 - ld de, CutOrBoulderDustAnimationTilesAndAttributes + ld de, .OAMBlock jp WriteOAMBlock -CutOrBoulderDustAnimationTilesAndAttributes: - dbsprite 2, -1, 0, 4, $fd, OAM_OBP1 - dbsprite 2, -1, 0, 6, $ff, OAM_OBP1 +.OAMBlock: +; tile ID, attributes + db $fc, OAM_OBP1 + db $fd, OAM_OBP1 + db $fe, OAM_OBP1 + db $ff, OAM_OBP1 GetCutOrBoulderDustAnimationOffsets: ld hl, wSpritePlayerStateData1YPixels |
