mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 15:13:42 +01:00
Fix breaking modern, correct labels.
This commit is contained in:
parent
e2d47a07f5
commit
c40c7e7e65
@ -901,11 +901,11 @@ 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.
|
||||
#ifdef BUGFIX
|
||||
#if MODERN || defined(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)))
|
||||
#endif //MODERN
|
||||
#endif //MODERN || BUGFIX
|
||||
|
||||
static void Task_HandleMonAnimation(u8 taskId)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user