summaryrefslogtreecommitdiff
path: root/engine/battle_anims/anim_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 13:07:18 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 13:07:18 -0400
commit5a5f5ececdde2c4c62bdee649d8b1d3edba96fed (patch)
tree0bc84d21ca07c0bc6fda23414198b1d606278a49 /engine/battle_anims/anim_commands.asm
parent624864307e4e7a5055c01d7f06145feec35527a7 (diff)
Miscellaneous fixes from #694
Diffstat (limited to 'engine/battle_anims/anim_commands.asm')
-rw-r--r--engine/battle_anims/anim_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm
index 113e9df37..c0424088e 100644
--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -237,12 +237,12 @@ BattleAnim_ClearOAM:
bit BATTLEANIM_KEEPSPRITES_F, a
jr z, .delete
- ; Instead of deleting the sprites, make them all use palette 0 (monochrome)
+ ; Instead of deleting the sprites, make them all use PAL_BATTLE_OB_ENEMY
ld hl, wVirtualOAMSprite00Attributes
ld c, NUM_SPRITE_OAM_STRUCTS
.loop
ld a, [hl]
- and $ff ^ (PALETTE_MASK | VRAM_BANK_1)
+ and $ff ^ (PALETTE_MASK | VRAM_BANK_1) ; PAL_BATTLE_OB_ENEMY (0)
ld [hli], a
rept SPRITEOAMSTRUCT_LENGTH + -1
inc hl