mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 12:44:18 +01:00
Merge pull request #432 from LOuroboros/freeze_dry
Fixed Freeze Dry's animation
This commit is contained in:
commit
9741e026f5
@ -8204,33 +8204,37 @@ Move_PETAL_BLIZZARD::
|
|||||||
|
|
||||||
Move_FREEZE_DRY::
|
Move_FREEZE_DRY::
|
||||||
monbg ANIM_DEF_PARTNER
|
monbg ANIM_DEF_PARTNER
|
||||||
|
setalpha 12, 8
|
||||||
loadspritegfx ANIM_TAG_ICE_CRYSTALS
|
loadspritegfx ANIM_TAG_ICE_CRYSTALS
|
||||||
launchtask AnimTask_BlendBattleAnimPal 0xa 0x5 ANIM_PAL_BG 0x1 0x0 0x7 0x0
|
loadspritegfx ANIM_TAG_IMPACT
|
||||||
launchtask AnimTask_BlendBattleAnimPal 0xa 0x5 ANIM_PAL_DEF 0x2 0x0 0x9 0x7f4c
|
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 0, 7, RGB_BLACK
|
||||||
delay 0x14
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 2, 0, 9, RGB(12, 26, 31)
|
||||||
|
delay 20
|
||||||
playsewithpan SE_W081, SOUND_PAN_TARGET
|
playsewithpan SE_W081, SOUND_PAN_TARGET
|
||||||
launchtemplate gIceCrystalSpiralInwardSmall 0x2 0x1 0x0
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 0
|
||||||
launchtemplate gIceCrystalSpiralInwardSmall 0x2 0x1 0x40
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 64
|
||||||
launchtemplate gIceCrystalSpiralInwardSmall 0x2 0x1 0x80
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 128
|
||||||
launchtemplate gIceCrystalSpiralInwardSmall 0x2 0x1 SOUND_PAN_ATTACKER
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 192
|
||||||
delay 0x5
|
delay 5
|
||||||
launchtemplate gIceCrystalSpiralInwardLarge 0x2 0x1 0x20
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 32
|
||||||
launchtemplate gIceCrystalSpiralInwardLarge 0x2 0x1 0x60
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 96
|
||||||
launchtemplate gIceCrystalSpiralInwardLarge 0x2 0x1 0xa0
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 160
|
||||||
launchtemplate gIceCrystalSpiralInwardLarge 0x2 0x1 0xe0
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 224
|
||||||
|
delay 17
|
||||||
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 3, 1
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
|
delay 15
|
||||||
call IceCrystalEffectShort
|
call IceCrystalEffectShort
|
||||||
delay 0x5
|
delay 5
|
||||||
playsewithpan SE_W172, 0x0
|
|
||||||
loadspritegfx ANIM_TAG_ICE_CUBE
|
loadspritegfx ANIM_TAG_ICE_CUBE
|
||||||
monbgprio_28 ANIM_TARGET
|
createvisualtask AnimTask_FrozenIceCube, 2
|
||||||
launchtask AnimTask_FrozenIceCube 0x2 0x0
|
waitplaysewithpan SE_W258, SOUND_PAN_TARGET, 17
|
||||||
waitplaysewithpan SE_RG_CARD1 SOUND_PAN_TARGET 0x11
|
waitforvisualfinish
|
||||||
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 2, 9, 0, RGB(12, 26, 31)
|
||||||
|
waitforvisualfinish
|
||||||
|
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7, 0, RGB_BLACK
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
launchtask AnimTask_BlendBattleAnimPal 0xa 0x5 ANIM_PAL_DEF 0x2 0x9 0x0 0x7f4c
|
|
||||||
clearmonbg ANIM_DEF_PARTNER
|
clearmonbg ANIM_DEF_PARTNER
|
||||||
launchtask AnimTask_BlendBattleAnimPal 0xa 0x5 ANIM_PAL_BG 0x0 0x7 0x0 0x0
|
|
||||||
waitforvisualfinish
|
|
||||||
blendoff
|
blendoff
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user