diff options
| author | dannye <33dannye@gmail.com> | 2024-10-09 21:56:57 -0500 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2024-10-09 21:56:57 -0500 |
| commit | 942c5f13eadb828dbf9dd6f75dfece007b53f353 (patch) | |
| tree | 0013406b83f352bed3f9b8247e7a73d11a150828 /engine/overworld/cut.asm | |
| parent | Rename off-by-one wram labels (diff) | |
| parent | Renamed pokemon-asm-tools to gb-asm-tools (diff) | |
| download | pokeyellow-942c5f13eadb828dbf9dd6f75dfece007b53f353.tar.gz pokeyellow-942c5f13eadb828dbf9dd6f75dfece007b53f353.tar.xz pokeyellow-942c5f13eadb828dbf9dd6f75dfece007b53f353.zip | |
Merge branch 'master' of https://github.com/pret/pokered
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 8cc76104..d26832ec 100644 --- a/engine/overworld/cut.asm +++ b/engine/overworld/cut.asm @@ -120,12 +120,15 @@ LoadCutGrassAnimationTilePattern: WriteCutOrBoulderDustAnimationOAMBlock: call GetCutOrBoulderDustAnimationOffsets ld a, $9 - ld de, CutOrBoulderDustAnimationTilesAndAttributes + ld de, .OAMBlock jp WriteOAMBlock -CutOrBoulderDustAnimationTilesAndAttributes: - dbsprite 2, -1, 4, 4, $fd, OAM_OBP1 | OAM_HIGH_PALS - dbsprite 2, -1, 4, 6, $ff, OAM_OBP1 | OAM_HIGH_PALS +.OAMBlock: +; tile ID, attributes + db $fc, OAM_OBP1 | OAM_HIGH_PALS + db $fd, OAM_OBP1 | OAM_HIGH_PALS + db $fe, OAM_OBP1 | OAM_HIGH_PALS + db $ff, OAM_OBP1 | OAM_HIGH_PALS GetCutOrBoulderDustAnimationOffsets: ld hl, wSpritePlayerStateData1YPixels |
