redo power trick anim

This commit is contained in:
Evan 2020-11-17 15:31:18 -07:00
parent 06e3097d44
commit 479f6be51a
2 changed files with 22 additions and 14 deletions

View file

@ -1403,21 +1403,15 @@ Move_WRING_OUT:
end
Move_POWER_TRICK:
loadspritegfx ANIM_TAG_THIN_RING
monbg ANIM_ATK_PARTNER
loadspritegfx ANIM_TAG_POWER_TRICK
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
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
Move_GASTRO_ACID:

View file

@ -65,6 +65,20 @@ static const union AffineAnimCmd sSquishTargetAffineAnimCmds[] =
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
//wide guard
const struct SpriteTemplate gWideGuardBlueConversionTemplate =