Add poison bubble effect to Poison Jab

This commit is contained in:
Marcus Huderle 2018-12-20 14:58:13 -06:00
parent 4aecea2ce8
commit efd7013f62

View File

@ -1412,6 +1412,7 @@ Move_ROCK_POLISH:
Move_POISON_JAB: Move_POISON_JAB:
loadspritegfx ANIM_TAG_PURPLE_JAB loadspritegfx ANIM_TAG_PURPLE_JAB
loadspritegfx ANIM_TAG_IMPACT loadspritegfx ANIM_TAG_IMPACT
loadspritegfx ANIM_TAG_POISON_BUBBLE
setalpha 12, 8 setalpha 12, 8
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 3, -31, 10 createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 3, -31, 10
delay 2 delay 2
@ -1457,6 +1458,8 @@ Move_POISON_JAB:
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 3, -7, -5, 1, 3 createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 3, -7, -5, 1, 3
playsewithpan SE_W004, SOUND_PAN_TARGET playsewithpan SE_W004, SOUND_PAN_TARGET
waitforvisualfinish waitforvisualfinish
call PoisonBubblesEffect
waitforvisualfinish
blendoff blendoff
end end