mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
Merge pull request #2446 from LOuroboros/primal
Updated AnimTask_PrimalReversion
This commit is contained in:
commit
a425de77a6
@ -24949,7 +24949,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