mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 13:53:52 +01:00
redo power trick anim
This commit is contained in:
parent
06e3097d44
commit
479f6be51a
@ -1403,21 +1403,15 @@ Move_WRING_OUT:
|
|||||||
end
|
end
|
||||||
|
|
||||||
Move_POWER_TRICK:
|
Move_POWER_TRICK:
|
||||||
loadspritegfx ANIM_TAG_THIN_RING
|
loadspritegfx ANIM_TAG_POWER_TRICK
|
||||||
monbg ANIM_ATK_PARTNER
|
loopsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET 0xa 0x3
|
||||||
|
createvisualtask AnimTask_UproarDistortion 0x2, 0x0
|
||||||
|
createsprite gPowerTrickSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 0, SOUND_PAN_TARGET, 0
|
||||||
|
delay 0x10
|
||||||
|
createvisualtask AnimTask_UproarDistortion 0x2, 0x0
|
||||||
|
delay 0x10
|
||||||
|
createvisualtask AnimTask_UproarDistortion 0x2, 0x0
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
||||||
playsewithpan SE_M_SUPERSONIC, -64
|
|
||||||
delay 14
|
|
||||||
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
||||||
playsewithpan SE_M_SUPERSONIC, -64
|
|
||||||
delay 14
|
|
||||||
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
||||||
playsewithpan SE_M_SUPERSONIC, -64
|
|
||||||
waitforvisualfinish
|
|
||||||
createvisualtask AnimTask_SetAllNonAttackersInvisiblity, 5, 0
|
|
||||||
waitforvisualfinish
|
|
||||||
clearmonbg ANIM_ATK_PARTNER
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Move_GASTRO_ACID:
|
Move_GASTRO_ACID:
|
||||||
|
@ -65,6 +65,20 @@ static const union AffineAnimCmd sSquishTargetAffineAnimCmds[] =
|
|||||||
AFFINEANIMCMD_END,
|
AFFINEANIMCMD_END,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//// GEN 4
|
||||||
|
// power trick
|
||||||
|
const struct SpriteTemplate gPowerTrickSpriteTemplate =
|
||||||
|
{
|
||||||
|
.tileTag = ANIM_TAG_POWER_TRICK,
|
||||||
|
.paletteTag = ANIM_TAG_POWER_TRICK,
|
||||||
|
.oam = &gOamData_AffineNormal_ObjNormal_64x64,
|
||||||
|
.anims = gDummySpriteAnimTable,
|
||||||
|
.images = NULL,
|
||||||
|
.affineAnims = gAffineAnims_SpinningBone,
|
||||||
|
.callback = SpriteCB_SpriteOnMonForDuration
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
//// GEN 5
|
//// GEN 5
|
||||||
//wide guard
|
//wide guard
|
||||||
const struct SpriteTemplate gWideGuardBlueConversionTemplate =
|
const struct SpriteTemplate gWideGuardBlueConversionTemplate =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user