mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Updated AnimTask_PrimalReversion
This commit is contained in:
parent
e6ae0bd01e
commit
999a53028a
@ -24841,7 +24841,7 @@ General_StrongWinds::
|
|||||||
General_PrimalReversion::
|
General_PrimalReversion::
|
||||||
launchtask AnimTask_PrimalReversion 0x5 0x0
|
launchtask AnimTask_PrimalReversion 0x5 0x0
|
||||||
jumpargeq 0x0, ITEM_RED_ORB, General_PrimalReversion_Omega
|
jumpargeq 0x0, ITEM_RED_ORB, General_PrimalReversion_Omega
|
||||||
jumpargeq 0x1, ITEM_BLUE_ORB, General_PrimalReversion_Alpha
|
jumpargeq 0x0, ITEM_BLUE_ORB, General_PrimalReversion_Alpha
|
||||||
General_PrimalReversion_Alpha:
|
General_PrimalReversion_Alpha:
|
||||||
loadspritegfx ANIM_TAG_ALPHA_STONE
|
loadspritegfx ANIM_TAG_ALPHA_STONE
|
||||||
loadspritegfx ANIM_TAG_MEGA_PARTICLES
|
loadspritegfx ANIM_TAG_MEGA_PARTICLES
|
||||||
|
@ -7857,7 +7857,7 @@ static void SpriteCB_TwinkleOnBattler(struct Sprite *sprite)
|
|||||||
|
|
||||||
void AnimTask_PrimalReversion(u8 taskId)
|
void AnimTask_PrimalReversion(u8 taskId)
|
||||||
{
|
{
|
||||||
if (gBattleMons[gBattleAnimAttacker].item == ITEM_RED_ORB)
|
if (gBattleMons[gBattleAnimAttacker].item == ITEM_RED_ORB || gBattleMons[gBattleAnimAttacker].item == ITEM_BLUE_ORB)
|
||||||
gBattleAnimArgs[0] = gBattleMons[gBattleAnimAttacker].item;
|
gBattleAnimArgs[0] = gBattleMons[gBattleAnimAttacker].item;
|
||||||
else
|
else
|
||||||
gBattleAnimArgs[0] = 0;
|
gBattleAnimArgs[0] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user