mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 05:43:51 +01:00
Fix ANIM_SPRITE on regular builds with BUGFIX.
Dicussion about this being a BUGFIX define instead limiting it only to modern. Credit SBird.
This commit is contained in:
parent
d02d518917
commit
e2d47a07f5
@ -901,7 +901,7 @@ u8 GetSpeciesBackAnimSet(u16 species)
|
||||
// as 0xFFFFXXXX instead of the desired 0x02YYXXXX.
|
||||
// By dumb luck, this is not an issue in vanilla. However,
|
||||
// changing the link order revealed this bug.
|
||||
#if MODERN
|
||||
#ifdef BUGFIX
|
||||
#define ANIM_SPRITE(taskId) ((struct Sprite *)((gTasks[taskId].tPtrHi << 16) | ((u16)gTasks[taskId].tPtrLo)))
|
||||
#else
|
||||
#define ANIM_SPRITE(taskId) ((struct Sprite *)((gTasks[taskId].tPtrHi << 16) | (gTasks[taskId].tPtrLo)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user