From 425e532afb53ec0a39f21babe6e14f1565cc96c8 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 17 Dec 2025 06:43:57 -0300 Subject: [PATCH] Document magic number in `createspriteontargets` (#8551) --- asm/macros/battle_anim_script.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asm/macros/battle_anim_script.inc b/asm/macros/battle_anim_script.inc index 1b35991809..3d60680da6 100644 --- a/asm/macros/battle_anim_script.inc +++ b/asm/macros/battle_anim_script.inc @@ -288,7 +288,7 @@ .byte 0x31 .4byte \template .if \anim_battler == ANIM_TARGET - .byte 0x80 | (\subpriority_offset & 0x7F) + .byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F) .else .byte (\subpriority_offset & 0x7F) .endif @@ -304,7 +304,7 @@ .byte 0x32 .4byte \template .if \anim_battler == ANIM_TARGET - .byte 0x80 | (\subpriority_offset & 0x7F) + .byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F) .else .byte (\subpriority_offset & 0x7F) .endif