mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Better Ultra Burst animation
This commit is contained in:
parent
028536e2d3
commit
c427d96f3f
@ -27004,6 +27004,7 @@ General_PrimalReversion_Omega:
|
|||||||
end
|
end
|
||||||
|
|
||||||
General_UltraBurst::
|
General_UltraBurst::
|
||||||
|
loadspritegfx ANIM_TAG_ULTRA_BURST_SYMBOL
|
||||||
loadspritegfx ANIM_TAG_SPARK_2 @spark
|
loadspritegfx ANIM_TAG_SPARK_2 @spark
|
||||||
loadspritegfx ANIM_TAG_LEAF @green
|
loadspritegfx ANIM_TAG_LEAF @green
|
||||||
loadspritegfx ANIM_TAG_ELECTRIC_ORBS @charge particles
|
loadspritegfx ANIM_TAG_ELECTRIC_ORBS @charge particles
|
||||||
@ -27025,12 +27026,16 @@ General_UltraBurst::
|
|||||||
call LightThatBurnsTheSkyGreenSparks
|
call LightThatBurnsTheSkyGreenSparks
|
||||||
call LightThatBurnsTheSkyGreenSparks
|
call LightThatBurnsTheSkyGreenSparks
|
||||||
call LightThatBurnsTheSkyGreenSparks
|
call LightThatBurnsTheSkyGreenSparks
|
||||||
delay 0xe
|
delay 20
|
||||||
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
||||||
createvisualtask AnimTask_TransformMon, 2, 1, 0
|
createvisualtask AnimTask_TransformMon, 2, 1, 0
|
||||||
|
createsprite gUltraBurstSymbolSpriteTemplate, ANIM_ATTACKER, 0x0, 0x0, 0x0, 0x0, 0x0
|
||||||
|
waitforvisualfinish
|
||||||
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
||||||
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createvisualtask SoundTask_PlayNormalCry, 0
|
createvisualtask SoundTask_PlayNormalCry, 0
|
||||||
|
waitforvisualfinish
|
||||||
clearmonbg ANIM_ATK_PARTNER
|
clearmonbg ANIM_ATK_PARTNER
|
||||||
blendoff
|
blendoff
|
||||||
end
|
end
|
||||||
|
@ -4761,6 +4761,18 @@ const struct SpriteTemplate gSpriteTemplate_BitterMaliceRing = {
|
|||||||
.callback = AnimParticleInVortex
|
.callback = AnimParticleInVortex
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//ultra burst
|
||||||
|
const struct SpriteTemplate gUltraBurstSymbolSpriteTemplate =
|
||||||
|
{
|
||||||
|
.tileTag = ANIM_TAG_ULTRA_BURST_SYMBOL,
|
||||||
|
.paletteTag = ANIM_TAG_ULTRA_BURST_SYMBOL,
|
||||||
|
.oam = &gOamData_AffineDouble_ObjBlend_32x32,
|
||||||
|
.anims = gDummySpriteAnimTable,
|
||||||
|
.images = NULL,
|
||||||
|
.affineAnims = gAffineAnims_LusterPurgeCircle,
|
||||||
|
.callback = AnimSpriteOnMonPos
|
||||||
|
};
|
||||||
|
|
||||||
// Z MOVES
|
// Z MOVES
|
||||||
//activate
|
//activate
|
||||||
const struct SpriteTemplate gZMoveSymbolSpriteTemplate =
|
const struct SpriteTemplate gZMoveSymbolSpriteTemplate =
|
||||||
|
Loading…
Reference in New Issue
Block a user