Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2019-03-21 13:17:06

metalflygon08
Member
Registered: 2014-03-01
Post 57/61

Pokemon Custom Move Animation Code Thread

I've been tinkering with the disassembly animations.asm and I've created Move animations that can be inserted and used.

https://imgur.com/gallery/h9a3j3o - Heres GIFs of several moves in action

BattleAnim_IceClaw:
    anim_2gfx ANIM_GFX_CUT, ANIM_GFX_ICE
    anim_sound 0, 1, SFX_SCRATCH
    anim_obj ANIM_OBJ_37, 144, 48, $0
    anim_obj ANIM_OBJ_37, 140, 44, $0
    anim_obj ANIM_OBJ_37, 136, 40, $0
    anim_wait 4
    anim_call BattleAnim_PowderSnow_branch_cbbdf
    anim_wait 32
    anim_ret
    
BattleAnim_HyperVoice:
    anim_2gfx ANIM_GFX_PSYCHIC, ANIM_GFX_HIT
    anim_bgeffect ANIM_BG_1F, $8, $1, $20
    anim_sound 6, 2, SFX_SCREECH
.loop
    anim_obj ANIM_OBJ_WAVE, 64, 88, $2
    anim_wait 2
    anim_sound 0, 1, SFX_TACKLE
    anim_obj ANIM_OBJ_00, 136, 48, $0
    anim_wait 8
    anim_loop 2, .loop
    anim_wait 64
    anim_ret
    
BattleAnim_ThunderClaw:
    anim_3gfx ANIM_GFX_CUT, ANIM_GFX_LIGHTNING, ANIM_GFX_STATUS
    anim_sound 0, 1, SFX_SCRATCH
    anim_obj ANIM_OBJ_37, 144, 48, $0
    anim_obj ANIM_OBJ_37, 140, 44, $0
    anim_obj ANIM_OBJ_37, 136, 40, $0
    anim_wait 4
    anim_bgeffect ANIM_BG_06, $0, $2, $0
    anim_obj ANIM_OBJ_DISABLE, 132, 56, $0
    anim_wait 16
    anim_sound 0, 1, SFX_BIND
    anim_obj ANIM_OBJ_PARALYZED, 104, 56, $42
    anim_obj ANIM_OBJ_PARALYZED, 160, 56, $c2
    anim_wait 96
    anim_ret
    
BattleAnim_FireClaw:
    anim_2gfx ANIM_GFX_FIRE, ANIM_GFX_CUT
.loop
    anim_sound 0, 0, SFX_EMBER
    anim_obj ANIM_OBJ_FLAME_WHEEL, 48, 96, $0
    anim_wait 6
    anim_loop 8, .loop
    anim_wait 96
    anim_call BattleAnim_TargetObj_1Row
    anim_sound 0, 1, SFX_SCRATCH
    anim_obj ANIM_OBJ_37, 144, 48, $0
    anim_obj ANIM_OBJ_37, 140, 44, $0
    anim_obj ANIM_OBJ_37, 136, 40, $0
    anim_wait 4
    anim_sound 0, 1, SFX_EMBER
    anim_wait 8
    
BattleAnim_EarthPower:
    anim_2gfx ANIM_GFX_ROCKS, ANIM_GFX_EXPLOSION
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_18, 136, 56, $0
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $28
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $5c
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $10
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $e8
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $9c
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $d0
    anim_wait 6
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $1c
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $50
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $dc
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $90
    anim_wait 32
    anim_ret
    
BattleAnim_FlareBlitz:
    anim_1gfx ANIM_GFX_FIRE
    anim_bgeffect ANIM_BG_06, $0, $2, $0
.loop
    anim_sound 0, 0, SFX_EMBER
    anim_obj ANIM_OBJ_SACRED_FIRE, 48, 104, $0
    anim_wait 8
    anim_loop 8, .loop
    anim_wait 96
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_TACKLE, $0, $1, $0
    anim_wait 4
    anim_sound 0, 1, SFX_EMBER
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $1
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $4
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $5
    anim_wait 8
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $0, $0
    anim_wait 4
    anim_incobj 9
    anim_wait 8
    anim_ret
    
BattleAnim_DazzlingGleam:
    anim_2gfx ANIM_GFX_SHINE, ANIM_GFX_CHARGE
    anim_bgeffect ANIM_BG_07, $0, $0, $0
    anim_sound 0, 0, SFX_CHARGE
    anim_obj ANIM_OBJ_3D, 48, 84, $0
    anim_obj ANIM_OBJ_3C, 48, 84, $0
    anim_obj ANIM_OBJ_3C, 48, 84, $8
    anim_obj ANIM_OBJ_3C, 48, 84, $10
    anim_obj ANIM_OBJ_3C, 48, 84, $18
    anim_obj ANIM_OBJ_3C, 48, 84, $20
    anim_obj ANIM_OBJ_3C, 48, 84, $28
    anim_obj ANIM_OBJ_3C, 48, 84, $30
    anim_obj ANIM_OBJ_3C, 48, 84, $38
    anim_wait 100
    anim_bgeffect ANIM_BG_FLASH_WHITE, $0, $4, $2
    anim_wait 4
    anim_bgeffect ANIM_BG_18, $0, $1, $40
.loop
    anim_sound 0, 0, SFX_METRONOME
    anim_obj ANIM_OBJ_GLIMMER, 24, 64, $0
    anim_wait 5
    anim_obj ANIM_OBJ_GLIMMER, 56, 104, $0
    anim_wait 5
    anim_obj ANIM_OBJ_GLIMMER, 24, 104, $0
    anim_wait 5
    anim_obj ANIM_OBJ_GLIMMER, 56, 64, $0
    anim_wait 5
    anim_obj ANIM_OBJ_GLIMMER, 40, 84, $0
    anim_wait 5
    anim_loop 2, .loop
    anim_incbgeffect ANIM_BG_18
    anim_wait 32
    anim_ret
    
BattleAnim_DrainingKiss:
    anim_2gfx ANIM_GFX_CHARGE, ANIM_GFX_ANGELS
    anim_bgeffect ANIM_BG_07, $0, $2, $0
    anim_obj ANIM_OBJ_SWEET_KISS, 96, 40, $0
    anim_sound 0, 1, SFX_SWEET_KISS
    anim_wait 32
    anim_sound 0, 1, SFX_SWEET_KISS_2
.loop
    anim_sound 6, 3, SFX_WATER_GUN
    anim_obj ANIM_OBJ_ABSORB, 128, 48, $2
    anim_wait 6
    anim_sound 6, 3, SFX_WATER_GUN
    anim_obj ANIM_OBJ_ABSORB, 136, 64, $3
    anim_wait 6
    anim_sound 6, 3, SFX_WATER_GUN
    anim_obj ANIM_OBJ_ABSORB, 136, 32, $4
    anim_wait 6
    anim_loop 5, .loop
    anim_wait 32
    anim_ret
    
BattleAnim_DrillRun:
    anim_2gfx ANIM_GFX_HORN, ANIM_GFX_HIT
    anim_call BattleAnim_TargetObj_2Row
    anim_bgeffect ANIM_BG_BOUNCE_DOWN, $0, $1, $0
    anim_sound 0, 0, SFX_RETURN
    anim_wait 64
    anim_incbgeffect ANIM_BG_BOUNCE_DOWN
    anim_wait 32
    anim_obj ANIM_OBJ_HORN, 72, 80, $1
    anim_wait 16
    anim_sound 0, 1, SFX_HORN_ATTACK
.loop
    anim_sound 0, 1, SFX_PECK
    anim_obj ANIM_OBJ_02, 124, 56, $0
    anim_wait 4
    anim_sound 0, 1, SFX_PECK
    anim_obj ANIM_OBJ_02, 132, 48, $0
    anim_wait 4
    anim_sound 0, 1, SFX_PECK
    anim_obj ANIM_OBJ_02, 140, 56, $0
    anim_wait 4
    anim_sound 0, 1, SFX_PECK
    anim_obj ANIM_OBJ_02, 132, 64, $0
    anim_wait 4
    anim_loop 5, .loop
    anim_wait 16
    anim_ret
    
BattleAnim_FairyWind:
    anim_1gfx ANIM_GFX_SPEED
    anim_bgeffect ANIM_BG_06, $0, $2, $0
    anim_battlergfx_1row
    anim_sound 0, 0, SFX_METRONOME
.loop
    anim_wait 8
    anim_obj ANIM_OBJ_AE, 64, 88, $4
    anim_wait 8
    anim_obj ANIM_OBJ_AE, 64, 80, $4
    anim_wait 8
    anim_obj ANIM_OBJ_AE, 64, 96, $4
    anim_wait 8
    anim_loop 2, .loop
    anim_wait 16
    anim_bgeffect ANIM_BG_BATTLEROBJ_2ROW, $0, $1, $0
    anim_wait 6
    anim_bgeffect ANIM_BG_NIGHT_SHADE, $0, $0, $8
    anim_wait 64
    anim_incobj 7
    anim_wait 1
    anim_ret
    
BattleAnim_Moonblast:
    anim_1gfx ANIM_GFX_OBJECTS
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $8, $40
    anim_sound 6, 2, SFX_METRONOME
    anim_obj ANIM_OBJ_SWIFT, 64, 88, $4
    anim_wait 4
    anim_obj ANIM_OBJ_SWIFT, 64, 72, $4
    anim_wait 4
    anim_obj ANIM_OBJ_SWIFT, 64, 76, $4
    anim_wait 64
    anim_ret
    
BattleAnim_PureVoice:
    anim_2gfx ANIM_GFX_NOISE, ANIM_GFX_HIT
    anim_sound 16, 2, SFX_SING
.loop
    anim_obj ANIM_OBJ_SING, 64, 92, $0
    anim_wait 8
    anim_obj ANIM_OBJ_SING, 64, 92, $1
    anim_wait 8
    anim_obj ANIM_OBJ_SING, 64, 92, $2
    anim_wait 8
    anim_obj ANIM_OBJ_SING, 64, 92, $0
    anim_wait 8
    anim_obj ANIM_OBJ_SING, 64, 92, $2
    anim_wait 8
    anim_loop 4, .loop
    anim_sound 0, 1, SFX_PECK
    anim_obj ANIM_OBJ_02, 128, 48, $0
    anim_wait 8
    anim_sound 0, 1, SFX_PECK
    anim_wait 64
    anim_ret
    
BattleAnim_WaterPulse:
    anim_1gfx ANIM_GFX_PSYCHIC
.loop
    anim_sound 6, 2, SFX_BUBBLEBEAM
    anim_obj ANIM_OBJ_WAVE, 64, 80, $2
    anim_wait 8
    anim_sound 6, 2, SFX_BUBBLEBEAM
    anim_obj ANIM_OBJ_WAVE, 64, 88, $3
    anim_wait 8
    anim_obj ANIM_OBJ_02, 136, 56, $0
    anim_wait 16
    anim_sound 6, 2, SFX_BUBBLEBEAM
    anim_obj ANIM_OBJ_WAVE, 64, 96, $4
    anim_wait 8
    anim_incbgeffect ANIM_BG_NIGHT_SHADE
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $1, $0
    anim_wait 4
    anim_loop 3, .loop
    anim_wait 32
    anim_wait 4
    anim_ret
    
BattleAnim_ThunderFang:
    anim_3gfx ANIM_GFX_CUT, ANIM_GFX_HIT, ANIM_GFX_LIGHTNING
    anim_obj ANIM_OBJ_BITE, 136, 56, $98
    anim_obj ANIM_OBJ_BITE, 136, 56, $18
    anim_wait 8
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 144, 48, $18
    anim_wait 16
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 128, 64, $18
    anim_wait 2
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $8, $2
    anim_sound 0, 1, SFX_THUNDER
    anim_obj ANIM_OBJ_2F, 152, 68, $0
    anim_wait 64
    anim_ret

BattleAnim_FireFang:
    anim_3gfx ANIM_GFX_CUT, ANIM_GFX_HIT, ANIM_GFX_FIRE
    anim_obj ANIM_OBJ_BITE, 136, 56, $98
    anim_obj ANIM_OBJ_BITE, 136, 56, $18
    anim_wait 8
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 144, 48, $18
    anim_wait 16
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 128, 64, $18
    anim_wait 2
    anim_sound 0, 1, SFX_EMBER
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $1
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $4
    anim_obj ANIM_OBJ_FIRE_BLAST, 136, 48, $5
    anim_wait 8
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $0, $0
    anim_wait 4
    anim_incobj 9
    anim_wait 8
    anim_ret
    
BattleAnim_IceFang:
    anim_3gfx ANIM_GFX_CUT, ANIM_GFX_HIT, ANIM_GFX_ICE
    anim_obj ANIM_OBJ_BITE, 136, 56, $98
    anim_obj ANIM_OBJ_BITE, 136, 56, $18
    anim_wait 8
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 144, 48, $18
    anim_wait 16
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 128, 64, $18
    anim_wait 8
    anim_call BattleAnim_PowderSnow_branch_cbbdf
    anim_wait 32
    anim_ret
    
BattleAnim_SilverWind:
    anim_2gfx ANIM_GFX_WIND, ANIM_GFX_HIT
    anim_obp0 $fc
    anim_call BattleAnim_TargetObj_1Row
    anim_obj ANIM_OBJ_AGILITY, 8, 24, $10
    anim_obj ANIM_OBJ_AGILITY, 8, 48, $2
    anim_obj ANIM_OBJ_AGILITY, 8, 88, $8
    anim_wait 4
    anim_obj ANIM_OBJ_AGILITY, 8, 32, $6
    anim_obj ANIM_OBJ_AGILITY, 8, 56, $c
    anim_obj ANIM_OBJ_AGILITY, 8, 80, $4
    anim_obj ANIM_OBJ_AGILITY, 8, 104, $e
.loop
    anim_sound 0, 0, SFX_RAZOR_WIND
    anim_wait 4
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 120, 32, $0
    anim_wait 8
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 152, 40, $0
    anim_wait 8
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 136, 48, $0
    anim_wait 32
    anim_call BattleAnim_ShowMon_0
    anim_ret
    
BattleAnim_Leer:
    anim_1gfx ANIM_GFX_SHINE
    anim_bgeffect ANIM_BG_07, $0, $0, $0
    anim_sound 0, 0, SFX_FORESIGHT
    anim_obj ANIM_OBJ_FORESIGHT, 64, 88, $0
    anim_wait 24
    anim_ret
    
BattleAnim_HeadSmash:
    anim_3gfx ANIM_GFX_HIT, ANIM_GFX_ROCKS, ANIM_GFX_EXPLOSION
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_2F, $0, $1, $0
    anim_wait 16
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 64, 96, $0
    anim_wait 8
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 56, 88, $0
    anim_wait 8
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 68, 104, $0
    anim_wait 8
    anim_incbgeffect ANIM_BG_2F
    anim_wait 16
    anim_call BattleAnim_ShowMon_0
    anim_wait 8
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_18, 136, 56, $0
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $28
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $5c
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $10
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $e8
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $9c
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $d0
    anim_wait 6
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $1c
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $50
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $dc
    anim_obj ANIM_OBJ_ROCK_SMASH, 128, 64, $90
    anim_wait 32
    anim_ret
    
BattleAnim_Acrobatics:
    anim_2gfx ANIM_GFX_SPEED, ANIM_GFX_HIT
    anim_sound 0, 0, SFX_MENU
    anim_bgeffect ANIM_BG_HIDE_MON, $0, $1, $0
    anim_obj ANIM_OBJ_SPEED_LINE, 24, 88, $2
    anim_obj ANIM_OBJ_SPEED_LINE, 32, 88, $1
    anim_obj ANIM_OBJ_SPEED_LINE, 40, 88, $0
    anim_obj ANIM_OBJ_SPEED_LINE, 48, 88, $80
    anim_obj ANIM_OBJ_SPEED_LINE, 56, 88, $81
    anim_obj ANIM_OBJ_SPEED_LINE, 64, 88, $82
    anim_wait 2
    anim_call BattleAnim_TargetObj_2Row
    anim_bgeffect ANIM_BG_25, $0, $1, $0
    anim_wait 2
    anim_call BattleAnim_ShowMon_0
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 56, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 48, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 40, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 32, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 24, $0
    anim_wait 8
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $1, $0
    anim_wait 16
    anim_ret

BattleAnim_LeafBlade:    
    anim_2gfx ANIM_GFX_PLANT, ANIM_GFX_CUT
    anim_sound 0, 0, SFX_VINE_WHIP
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $28
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $5c
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $10
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $e8
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $9c
    anim_obj ANIM_OBJ_RAZOR_LEAF, 48, 80, $d0
    anim_wait 8
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_3A, 152, 40, $0
    anim_wait 32
    anim_ret
    
BattleAnim_BugBite:
    anim_2gfx ANIM_GFX_HIT, ANIM_GFX_MISC
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 120, 48, $0
    anim_wait 16
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 144, 64, $0
    anim_wait 16
    anim_ret

BattleAnim_PoisonFang:    
    anim_3gfx ANIM_GFX_CUT, ANIM_GFX_HIT, ANIM_GFX_POISON
    anim_obj ANIM_OBJ_BITE, 136, 56, $98
    anim_obj ANIM_OBJ_BITE, 136, 56, $18
    anim_wait 8
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 144, 48, $18
    anim_wait 16
    anim_sound 0, 1, SFX_BITE
    anim_obj ANIM_OBJ_01, 128, 64, $18
    anim_call BattleAnim_SludgeBomb_branch_cbc15
    anim_wait 64
    anim_wait 8
    anim_ret
    
BattleAnim_DragonClaw:
    anim_2gfx ANIM_GFX_SPEED, ANIM_GFX_CUT
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_1A, $0, $1, $20
    anim_bgeffect ANIM_BG_07, $0, $2, $0
.loop
    anim_sound 0, 0, SFX_SWORDS_DANCE
    anim_obj ANIM_OBJ_47, 44, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 36, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 52, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 28, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 60, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 20, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 68, 108, $8
    anim_wait 2
    anim_loop 5, .loop
    anim_wait 8
    anim_incbgeffect ANIM_BG_1A
    anim_call BattleAnim_ShowMon_0
    anim_1gfx ANIM_GFX_CUT
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_3A, 152, 40, $0
    anim_obj ANIM_OBJ_3A, 148, 36, $0
    anim_wait 32
    anim_ret
    anim_ret
    
BattleAnim_EnergyBall:
    anim_3gfx ANIM_GFX_CHARGE, ANIM_GFX_EGG, ANIM_GFX_SMOKE
    anim_sound 0, 0, SFX_CHARGE
    anim_obj ANIM_OBJ_3D, 48, 84, $0
    anim_obj ANIM_OBJ_3C, 48, 84, $0
    anim_obj ANIM_OBJ_3C, 48, 84, $8
    anim_obj ANIM_OBJ_3C, 48, 84, $10
    anim_obj ANIM_OBJ_3C, 48, 84, $18
    anim_obj ANIM_OBJ_3C, 48, 84, $20
    anim_obj ANIM_OBJ_3C, 48, 84, $28
    anim_obj ANIM_OBJ_3C, 48, 84, $30
    anim_obj ANIM_OBJ_3C, 48, 84, $38
    anim_wait 104
    anim_sound 6, 2, SFX_WATER_GUN
    anim_obj ANIM_OBJ_OCTAZOOKA, 64, 92, $4
    anim_wait 16
    anim_obj ANIM_OBJ_BALL_POOF, 132, 56, $10
    anim_wait 8
.loop
    anim_ret
    
BattleAnim_AerialAce:
    anim_2gfx ANIM_GFX_SHINE, ANIM_GFX_CUT
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_37, 152, 40, $0
    anim_wait 14
    anim_obj ANIM_OBJ_GLIMMER, 136, 40, $0
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $2
    anim_wait 16
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_39, 120, 72, $0
    anim_wait 32
    anim_ret
    
BattleAnim_IronHead:
    anim_1gfx ANIM_GFX_REFLECT, ANIM_GFX_CUT
    anim_obp0 $0
    anim_sound 0, 0, SFX_RAGE
    anim_call BattleAnim_TargetObj_1Row
    anim_call BattleAnim_SteelWing_branch_cbc43
    anim_call BattleAnim_ShowMon_0
    anim_1gfx ANIM_GFX_HIT
    anim_resetobp0
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_TACKLE, $0, $1, $0
    anim_wait 3
    anim_sound 0, 1, SFX_TACKLE
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $2
    anim_obj ANIM_OBJ_01, 128, 56, $0
    anim_wait 6
    anim_sound 0, 1, SFX_TACKLE
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $2
    anim_obj ANIM_OBJ_01, 144, 48, $0
    anim_wait 3
    anim_call BattleAnim_ShowMon_0
    anim_ret
    
BattleAnim_Airslash:
    anim_3gfx ANIM_GFX_WHIP, ANIM_GFX_HIT, ANIM_GFX_CUT
.loop
    anim_sound 3, 0, SFX_RAZOR_WIND
    anim_obj ANIM_OBJ_SONICBOOM_JP, 64, 80, $3
    anim_wait 8
    anim_sound 3, 0, SFX_RAZOR_WIND
    anim_obj ANIM_OBJ_SONICBOOM_JP, 64, 88, $2
    anim_wait 8
    anim_sound 3, 0, SFX_RAZOR_WIND
    anim_obj ANIM_OBJ_SONICBOOM_JP, 64, 96, $4
    anim_wait 8
    anim_loop 2, .loop
    anim_wait 32
    anim_incobj 1
    anim_incobj 2
    anim_incobj 3
    anim_incobj 4
    anim_incobj 5
    anim_incobj 6
    anim_obj ANIM_OBJ_01, 136, 56, $0
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_3A, 152, 40, $0
    anim_wait 32
    anim_wait 16
    anim_ret

BattleAnim_BraveBird:    
    anim_2gfx ANIM_GFX_SKY_ATTACK, ANIM_GFX_HIT
    anim_bgeffect ANIM_BG_27, $0, $1, $0
    anim_wait 32
    anim_sound 0, 0, SFX_SWORDS_DANCE
    anim_obj ANIM_OBJ_SKY_ATTACK, 48, 88, $40
    anim_wait 64
    anim_incobj 1
    anim_wait 21
    anim_sound 0, 0, SFX_SWORDS_DANCE
    anim_wait 6
    anim_incobj 1
    anim_wait 16
    anim_sound 0, 1, SFX_MEGA_PUNCH
    anim_obj ANIM_OBJ_00, 132, 40, $0
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $1, $0
    anim_wait 16
    anim_ret
    
BattleAnim_Hurricane:
    anim_2gfx ANIM_GFX_WIND, ANIM_GFX_HIT
.loop
    anim_sound 0, 0, SFX_RAZOR_WIND
    anim_obj ANIM_OBJ_GUST, 64, 112, $0
    anim_wait 6
    anim_loop 9, .loop
    anim_incobj 1
    anim_incobj 2
    anim_incobj 3
    anim_incobj 4
    anim_incobj 5
    anim_incobj 6
    anim_incobj 7
    anim_incobj 8
    anim_incobj 9
    anim_sound 16, 2, SFX_WHIRLWIND
    anim_wait 36
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $2
    anim_sound 0, 1, SFX_MEGA_PUNCH
    anim_obj ANIM_OBJ_00, 132, 40, $0
    anim_wait 12
.done
    anim_ret
    
BattleAnim_IceShard:
    anim_1gfx ANIM_GFX_ICE
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 88, $63
    anim_wait 2
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 88, $63
    anim_wait 2
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 88, $63
    anim_wait 2
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 88, $63
    anim_wait 2
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 88, $63
    anim_wait 96
    anim_ret
    
BattleAnim_ParabolicCharge:
    anim_obp0 $54
    anim_3gfx ANIM_GFX_BUBBLE, ANIM_GFX_LIGHTNING, ANIM_GFX_EXPLOSION
    anim_obj ANIM_OBJ_34, 136, 56, $2
    anim_wait 16
    anim_sound 0, 1, SFX_THUNDERSHOCK
    anim_obj ANIM_OBJ_33, 136, 56, $0
    anim_wait 86
    anim_sound 0, 0, SFX_FULL_HEAL
.loop
    anim_obj ANIM_OBJ_RECOVER, 44, 88, $30
    anim_wait 8
    anim_loop 10, .loop
    anim_wait 96
    anim_ret
    
BattleAnim_PetalStorm:
    anim_1gfx ANIM_GFX_FLOWER
    anim_sound 0, 0, SFX_SWORDS_DANCE
    anim_obj ANIM_OBJ_FLOWER, 48, 108, $0
    anim_obj ANIM_OBJ_FLOWER, 48, 108, $d
    anim_obj ANIM_OBJ_FLOWER, 48, 108, $1a
    anim_incbgeffect ANIM_BG_BOUNCE_DOWN
    anim_obj ANIM_OBJ_FLOWER, 48, 108, $27
    anim_obj ANIM_OBJ_FLOWER, 48, 108, $34
    anim_wait 56
    anim_ret
    
BattleAnim_Roost:
    anim_1gfx ANIM_GFX_WIND
    anim_call BattleAnim_TargetObj_2Row
    anim_bgeffect ANIM_BG_BOUNCE_DOWN, $0, $1, $0
    anim_sound 0, 0, SFX_WING_ATTACK
    anim_wait 4
    anim_obj ANIM_OBJ_SWAGGER, 72, 88, $44
    anim_wait 32
    anim_obj ANIM_OBJ_SWAGGER, 72, 88, $44
    anim_wait 32
    anim_incbgeffect ANIM_BG_BOUNCE_DOWN
    anim_wait 32
    anim_ret
    
BattleAnim_AquaTail:
    anim_1gfx ANIM_GFX_HIT
    anim_bgeffect ANIM_BG_WHIRLPOOL, $0, $0, $0
    anim_sound 0, 1, SFX_SURF
    anim_wait 16
    anim_sound 0, 1, SFX_VICEGRIP
    anim_obj ANIM_OBJ_04, 120, 32, $0
    anim_wait 8
    anim_sound 0, 1, SFX_VICEGRIP
    anim_obj ANIM_OBJ_04, 152, 40, $0
    anim_wait 8
    anim_sound 0, 1, SFX_VICEGRIP
    anim_obj ANIM_OBJ_04, 136, 48, $0
    anim_wait 32
    anim_incbgeffect ANIM_BG_1D
    anim_call BattleAnim_ShowMon_0
    anim_incbgeffect ANIM_BG_WHIRLPOOL
    anim_wait 4
    anim_ret
    
BattleAnim_Avalanche:
    anim_2gfx ANIM_GFX_ROCKS, ANIM_GFX_ICE
    anim_bgeffect ANIM_BG_1F, $60, $1, $0
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_SMALL_ROCK, 128, 64, $40
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_BIG_ROCK, 120, 68, $30
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_SMALL_ROCK, 152, 68, $30
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_BIG_ROCK, 144, 64, $40
    anim_wait 2
    anim_call BattleAnim_PowderSnow_branch_cbbdf
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_SMALL_ROCK, 136, 68, $30
    anim_wait 32
    anim_ret
    
BattleAnim_BugBuzz:
    anim_2gfx ANIM_GFX_NOISE, ANIM_GFX_HIT
    anim_battlergfx_2row
    anim_bgeffect ANIM_BG_06, $0, $2, $0
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_26, $0, $1, $0
    anim_wait 8
    anim_call BattleAnim_Growl_branch_cbbbc
    anim_wait 8
    anim_sound 6, 2, SFX_SCREECH
    anim_wait 18
    anim_sound 6, 2, SFX_SCREECH
    anim_wait 18
    anim_sound 6, 2, SFX_SCREECH
    anim_wait 18
    anim_sound 6, 2, SFX_SCREECH
    anim_call BattleAnim_Growl_branch_cbbbc
    anim_wait 8
    anim_bgeffect ANIM_BG_BATTLEROBJ_1ROW, $0, $1, $0
    anim_wait 8
    anim_bgeffect ANIM_BG_19, $0, $0, $40
    anim_wait 64
    anim_incbgeffect ANIM_BG_19
    anim_wait 1
    anim_bgeffect ANIM_BG_SHOW_MON, $0, $1, $0
    anim_wait 5
    anim_incobj 10
    anim_incbgeffect ANIM_BG_26
    anim_wait 1
    anim_call BattleAnim_ShowMon_0
    anim_wait 8
    anim_obj ANIM_OBJ_00, 132, 40, $0
    anim_sound 0, 1, SFX_SCRATCH
    anim_wait 8
    anim_ret
    
BattleAnim_FlashCannon:
    anim_1gfx ANIM_GFX_SPEED
    anim_bgeffect ANIM_BG_ALTERNATE_HUES, $0, $2, $0
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $0
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $80
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $88
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $90
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $98
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $a0
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $a8
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $b0
    anim_obj ANIM_OBJ_CONFUSE_RAY, 64, 88, $b8
.loop
    anim_sound 0, 0, SFX_SHINE
    anim_wait 16
    anim_loop 8, .loop
    anim_wait 32
    anim_ret
    
BattleAnim_Extrasensory:
    anim_1gfx ANIM_GFX_SHINE
    anim_bgeffect ANIM_BG_07, $0, $0, $0
    anim_sound 0, 0, SFX_FORESIGHT
    anim_obj ANIM_OBJ_FORESIGHT, 64, 88, $0
    anim_wait 16
    anim_call BattleAnim_UserObj_2Row
    anim_sound 0, 1, SFX_PSYCHIC
    anim_bgeffect ANIM_BG_NIGHT_SHADE, $0, $0, $8
    anim_wait 128
    anim_incbgeffect ANIM_BG_NIGHT_SHADE
    anim_call BattleAnim_ShowMon_1
    anim_ret
    
BattleAnim_DarkPulse:
    anim_1gfx ANIM_GFX_PSYCHIC
    anim_bgp $1b
.loop
    anim_sound 6, 2, SFX_SLUDGE_BOMB
    anim_obj ANIM_OBJ_WAVE, 64, 88, $4
    anim_wait 4
    anim_loop 10, .loop
    anim_wait 48
    anim_ret
    
BattleAnim_FocusBlast:
    anim_2gfx ANIM_GFX_HIT, ANIM_GFX_BEAM
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_2F, $0, $1, $0
    anim_wait 16
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 64, 96, $0
    anim_wait 8
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 56, 88, $0
    anim_wait 8
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_04, 68, 104, $0
    anim_wait 8
    anim_incbgeffect ANIM_BG_2F
    anim_wait 16
    anim_call BattleAnim_ShowMon_0
    anim_sound 0, 0, SFX_HYPER_BEAM
    anim_obj ANIM_OBJ_27, 64, 92, $0
    anim_wait 4
    anim_sound 0, 0, SFX_HYPER_BEAM
    anim_obj ANIM_OBJ_27, 80, 84, $0
    anim_wait 4
    anim_sound 0, 1, SFX_HYPER_BEAM
    anim_obj ANIM_OBJ_27, 96, 76, $0
    anim_wait 4
    anim_sound 0, 1, SFX_HYPER_BEAM
    anim_obj ANIM_OBJ_27, 112, 68, $0
    anim_obj ANIM_OBJ_28, 126, 62, $0
    anim_wait 48
    anim_ret
    
BattleAnim_NightSlash:
    anim_2gfx ANIM_GFX_SHINE, ANIM_GFX_CUT
    anim_bgp $1b
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_37, 152, 40, $0
    anim_wait 4
    anim_obj ANIM_OBJ_GLIMMER, 136, 40, $0
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $2
    anim_wait 16
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_39, 120, 72, $0
    anim_wait 32
    anim_ret

BattleAnim_WillOWisp:
    anim_1gfx ANIM_GFX_FIRE
.loop
    anim_bgp $1b
    anim_obp1 $1b
    anim_bgeffect ANIM_BG_NIGHT_SHADE, $0, $0, $8
    anim_sound 6, 2, SFX_EMBER
    anim_obj ANIM_OBJ_FIRE_SPIN, 64, 88, $4
    anim_wait 2
    anim_sound 0, 1, SFX_POWDER
    anim_obj ANIM_OBJ_FIRE_SPIN, 64, 96, $3
    anim_wait 2
    anim_sound 0, 1, SFX_POWDER
    anim_obj ANIM_OBJ_FIRE_SPIN, 64, 88, $3
    anim_wait 2
    anim_sound 0, 1, SFX_POWDER
    anim_obj ANIM_OBJ_FIRE_SPIN, 64, 96, $4
    anim_loop 2, .loop
    anim_incbgeffect ANIM_BG_NIGHT_SHADE
    anim_wait 96
    anim_ret
    
BattleAnim_PlayRough:
    anim_2gfx ANIM_GFX_OBJECTS, ANIM_GFX_HIT
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_26, $0, $1, $0
    anim_sound 0, 0, SFX_ATTRACT
    anim_obj ANIM_OBJ_HEART, 64, 80, $0
    anim_wait 32
    anim_incbgeffect ANIM_BG_26
    anim_call BattleAnim_ShowMon_0
    anim_wait 4
    anim_sound 0, 1, SFX_POUND
    anim_obj ANIM_OBJ_08, 120, 72, $0
    anim_obj ANIM_OBJ_00, 120, 72, $0
    anim_wait 6
    anim_sound 0, 1, SFX_MOVE_PUZZLE_PIECE
    anim_obj ANIM_OBJ_06, 136, 56, $0
    anim_obj ANIM_OBJ_00, 136, 56, $0
    anim_wait 6
    anim_sound 0, 1, SFX_DOUBLE_KICK
    anim_obj ANIM_OBJ_07, 152, 40, $0
    anim_obj ANIM_OBJ_00, 152, 40, $0
    anim_wait 16
    anim_sound 0, 0, SFX_ATTRACT
    anim_obj ANIM_OBJ_HEART, 64, 80, $0
    anim_wait 32
    anim_ret
    
BattleAnim_WildCharge:
    anim_3gfx ANIM_GFX_LIGHTNING, ANIM_GFX_EXPLOSION, ANIM_GFX_HIT
    anim_sound 0, 0, SFX_ZAP_CANNON
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $3
    anim_obj ANIM_OBJ_THUNDER_WAVE, 48, 92, $0
    anim_wait 24
    anim_setobj $1, $3
    anim_wait 1
    anim_call BattleAnim_TargetObj_1Row
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $4, $10
    anim_bgeffect ANIM_BG_TACKLE, $0, $1, $0
    anim_wait 3
    anim_sound 0, 1, SFX_TACKLE
    anim_obj ANIM_OBJ_00, 128, 48, $0
    anim_wait 6
    anim_sound 0, 1, SFX_TACKLE
    anim_obj ANIM_OBJ_00, 144, 48, $0
    anim_wait 3
    anim_call BattleAnim_ShowMon_0
    anim_ret
    
BattleAnim_DragonDance:
    anim_sound 0, 0, SFX_SURF
    anim_1gfx ANIM_GFX_SPEED
    anim_call BattleAnim_TargetObj_2Row
    anim_minimize
    anim_bgeffect ANIM_BG_WAVE_DEFORM_USER, $0, $1, $0
    anim_wait 48
    anim_bgeffect ANIM_BG_ALTERNATE_HUES, $0, $2, $0
    anim_sound 0, 0, SFX_SWORDS_DANCE
    anim_obj ANIM_OBJ_47, 44, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 36, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 52, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 28, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 60, 108, $6
    anim_wait 2
    anim_obj ANIM_OBJ_47, 20, 108, $8
    anim_wait 2
    anim_obj ANIM_OBJ_47, 68, 108, $8
    anim_wait 24
    anim_incbgeffect ANIM_BG_WAVE_DEFORM_USER
    anim_wait 48
    anim_call BattleAnim_ShowMon_0
    anim_ret
    
BattleAnim_Hex:
    anim_1gfx ANIM_GFX_PSYCHIC
    anim_obp0 $e0
    anim_bgp $1b
    anim_obp1 $1b
    anim_sound 0, 1, SFX_MEAN_LOOK
    anim_obj ANIM_OBJ_MEAN_LOOK, 148, 32, $0
    anim_wait 5
    anim_obj ANIM_OBJ_MEAN_LOOK, 116, 64, $0
    anim_wait 5
    anim_obj ANIM_OBJ_MEAN_LOOK, 148, 64, $0
    anim_wait 5
    anim_obj ANIM_OBJ_MEAN_LOOK, 116, 32, $0
    anim_wait 5
    anim_obj ANIM_OBJ_MEAN_LOOK, 132, 48, $0
    anim_wait 128
    anim_ret
    
BattleAnim_SeedBomb:
    anim_2gfx ANIM_GFX_EGG, ANIM_GFX_EXPLOSION
    anim_sound 6, 2, SFX_THROW_BALL
    anim_obj ANIM_OBJ_SLUDGE_BOMB, 64, 92, $10
    anim_wait 36
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_17, 148, 32, $0
    anim_wait 5
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_17, 116, 72, $0
    anim_wait 5
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_17, 148, 72, $0
    anim_wait 5
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_17, 116, 32, $0
    anim_wait 5
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_17, 132, 52, $0
    anim_ret
    
BattleAnim_PowerGem:
    anim_2gfx ANIM_GFX_BEAM, ANIM_GFX_ICE
.loop
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 48, 92, $0
    anim_wait 6
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 36, 98, $0
    anim_wait 6
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 48, 92, $0
    anim_wait 6
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 40, 94, $0
    anim_wait 6
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 48, 88, $0
    anim_wait 6
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_12, 44, 100, $0
    anim_loop 3, .loop
    anim_sound 6, 2, SFX_LEER
    anim_obj ANIM_OBJ_4E, 72, 84, $0
    anim_obj ANIM_OBJ_4E, 64, 80, $0
    anim_obj ANIM_OBJ_4E, 88, 76, $0
    anim_obj ANIM_OBJ_4E, 80, 72, $0
    anim_obj ANIM_OBJ_4E, 104, 68, $0
    anim_obj ANIM_OBJ_4E, 96, 64, $0
    anim_obj ANIM_OBJ_4E, 120, 60, $0
    anim_obj ANIM_OBJ_4E, 112, 56, $0
    anim_obj ANIM_OBJ_4F, 130, 54, $0
    anim_obj ANIM_OBJ_4F, 122, 50, $0
    anim_wait 16
    anim_ret
    
BattleAnim_PoisonJab:
    anim_2gfx ANIM_GFX_HIT, ANIM_GFX_POISON
    anim_sound 6, 2, SFX_SLUDGE_BOMB
    anim_obj ANIM_OBJ_06, 136, 56, $0
    anim_obj ANIM_OBJ_00, 136, 56, $0
    anim_wait 6
    anim_obj ANIM_OBJ_06, 136, 56, $0
    anim_wait 6
    anim_loop 3, .loop
    anim_call BattleAnim_SludgeBomb_branch_cbc15
    anim_wait 32
    anim_ret
    
    
BattleAnim_BulkUp:
    anim_2gfx ANIM_GFX_OBJECTS, ANIM_GFX_WIND
.loop
    anim_sound 0, 0, SFX_ENCORE
    anim_obj ANIM_OBJ_SWAGGER, 72, 88, $44
    anim_wait 64
    anim_loop 2, .loop
    anim_wait 16
    anim_obj ANIM_OBJ_9A, 30, 86, $2c
    anim_wait 32
    anim_ret
    
BattleAnim_DragonPulse:
    anim_2gfx ANIM_GFX_FIRE, ANIM_GFX_AEROBLAST
    anim_bgp $1b
    anim_sound 0, 0, SFX_AEROBLAST
    anim_obj ANIM_OBJ_AEROBLAST, 72, 88, $0
    anim_wait 32
.loop
    anim_sound 6, 2, SFX_EMBER
    anim_obj ANIM_OBJ_DRAGON_RAGE, 64, 92, $0
    anim_wait 3
    anim_loop 16, .loop
    anim_wait 64
    anim_ret
    
BattleAnim_IcicleCrash:
    anim_2gfx ANIM_GFX_ICE, ANIM_GFX_ROCKS
.loop
    anim_sound 6, 2, SFX_SHINE
    anim_obj ANIM_OBJ_BLIZZARD, 64, 96, $63
    anim_wait 2
    anim_loop 3, .loop
    anim_bgeffect ANIM_BG_WHITE_HUES, $0, $8, $0
    anim_wait 32
    anim_bgeffect ANIM_BG_1F, $60, $1, $0
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_SMALL_ROCK, 128, 64, $40
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_BIG_ROCK, 120, 68, $30
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_SMALL_ROCK, 152, 68, $30
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_BIG_ROCK, 144, 64, $40
    anim_wait 2
    anim_sound 0, 1, SFX_STRENGTH
    anim_obj ANIM_OBJ_SMALL_ROCK, 136, 68, $30
    anim_wait 96
    anim_ret
    anim_obj ANIM_OBJ_ICE_BUILDUP, 136, 74, $10
    anim_wait 128
    anim_sound 0, 1, SFX_SHINE
    anim_wait 8
    anim_sound 0, 1, SFX_SHINE
    anim_wait 24
    anim_ret
    
BattleAnim_HoneClaw:
    anim_2gfx ANIM_GFX_SHINE, ANIM_GFX_CUT
.loop
    anim_sound 0, 1, SFX_SHINE
    anim_obj ANIM_OBJ_37, 64, 88, $0
    anim_obj ANIM_OBJ_37, 64, 88, $0
    anim_obj ANIM_OBJ_37, 64, 88, $0
    anim_wait 8
    anim_obj ANIM_OBJ_FORESIGHT, 64, 88, $
    anim_wait 8
    anim_loop 3, .loop
    anim_wait 12
    anim_ret

BattleAnim_BulletPunch:
    anim_2gfx ANIM_GFX_SPEED, ANIM_GFX_HIT
    anim_sound 0, 0, SFX_MENU
    anim_obj ANIM_OBJ_SPEED_LINE, 24, 88, $2
    anim_obj ANIM_OBJ_SPEED_LINE, 32, 88, $1
    anim_obj ANIM_OBJ_SPEED_LINE, 40, 88, $0
    anim_obj ANIM_OBJ_SPEED_LINE, 48, 88, $80
    anim_obj ANIM_OBJ_SPEED_LINE, 56, 88, $81
    anim_obj ANIM_OBJ_SPEED_LINE, 64, 88, $82
    anim_wait 12
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_06, 144, 48, $0
    anim_wait 6
    anim_obj ANIM_OBJ_01, 144, 48, $0
    anim_wait 4
    anim_obj ANIM_OBJ_06, 120, 64, $0
    anim_wait 3
    anim_obj ANIM_OBJ_01, 120, 64, $0
    anim_wait 4
    anim_obj ANIM_OBJ_06, 144, 48, $0
    anim_wait 3
    anim_obj ANIM_OBJ_01, 144, 48, $0
    anim_wait 4
    anim_obj ANIM_OBJ_06, 120, 64, $0
    anim_wait 3
    anim_obj ANIM_OBJ_01, 120, 64, $0
    anim_wait 8
    anim_ret
    
BattleAnim_ZenHeadbutt:
    anim_2gfx ANIM_GFX_OBJECTS, ANIM_GFX_HIT
    anim_bgeffect ANIM_BG_07, $0, $2, $0
    anim_obj ANIM_OBJ_PROTECT, 80, 80, $0
    anim_obj ANIM_OBJ_PROTECT, 80, 80, $d
    anim_obj ANIM_OBJ_PROTECT, 80, 80, $1a
    anim_obj ANIM_OBJ_PROTECT, 80, 80, $27
    anim_obj ANIM_OBJ_PROTECT, 80, 80, $34
    anim_sound 0, 0, SFX_RAGE
    anim_wait 34
    anim_sound 0, 1, SFX_MEGA_PUNCH
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $8, $2
    anim_obj ANIM_OBJ_01, 124, 40, $0
    anim_wait 36
    anim_ret
    
BattleAnim_ShadowClaw:
    anim_1gfx ANIM_GFX_CUT
    anim_bgeffect ANIM_BG_BLACK_HUES, $0, $8, $0
    anim_sound 0, 1, SFX_CUT
    anim_obj ANIM_OBJ_3A, 152, 40, $0
    anim_obj ANIM_OBJ_3A, 148, 36, $0
    anim_wait 32
    anim_ret
    
BattleAnim_MetalSound:
    anim_1gfx ANIM_GFX_REFLECT
    anim_obp0 $0
    anim_sound 0, 0, SFX_RAGE
    anim_call BattleAnim_TargetObj_1Row
    anim_call BattleAnim_MetalClaw_branch_cbc43
    anim_call BattleAnim_ShowMon_0
    anim_1gfx ANIM_GFX_CUT
    anim_resetobp0
    anim_1gfx ANIM_GFX_PSYCHIC
    anim_bgeffect ANIM_BG_1F, $8, $1, $20
    anim_sound 6, 2, SFX_SCREECH
.loop
    anim_obj ANIM_OBJ_WAVE, 64, 88, $2
    anim_wait 2
    anim_loop 2, .loop
    anim_wait 64
    anim_ret
    
BattleAnim_CalmMind:
    anim_1gfx ANIM_GFX_HIT
    anim_bgeffect ANIM_BG_06, $0, $2, $0
    anim_bgeffect ANIM_BG_ALTERNATE_HUES, $0, $2, $0
    anim_call BattleAnim_TargetObj_1Row
    anim_sound 0, 0, SFX_SWEET_SCENT
    anim_bgeffect ANIM_BG_WAVE_DEFORM_USER, $0, $1, $0
    anim_wait 48
    anim_incbgeffect ANIM_BG_WAVE_DEFORM_USER
    anim_wait 48
    anim_sound 0, 0, SFX_SWEET_SCENT
    anim_incobj 5
    anim_call BattleAnim_ShowMon_0
    anim_ret
    
BattleAnim_GunkShot:
    anim_3gfx ANIM_GFX_EGG, ANIM_GFX_POISON, ANIM_GFX_EXPLOSION
    anim_bgeffect ANIM_BG_BLACK_HUES, $0, $8, $0
    anim_sound 6, 2, SFX_SLUDGE_BOMB
    anim_obj ANIM_OBJ_SLUDGE_BOMB, 64, 92, $10
    anim_wait 36
    anim_bgeffect ANIM_BG_FLASH_INVERTED, $0, $8, $3
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_18, 128, 64, $0
    anim_wait 8
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_18, 144, 68, $0
    anim_wait 8
    anim_sound 0, 1, SFX_EGG_BOMB
    anim_obj ANIM_OBJ_18, 136, 72, $0
    anim_wait 24
    anim_call BattleAnim_SludgeBomb_branch_cbc15
    anim_wait 64
    anim_ret
    
BattleAnim_StoneEdge:
    anim_2gfx ANIM_GFX_HIT, ANIM_GFX_ROCKS
    anim_call BattleAnim_TargetObj_2Row
    anim_bgeffect ANIM_BG_25, $0, $1, $0
    anim_wait 16
    anim_call BattleAnim_ShowMon_0
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 56, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 48, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 40, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 32, $0
    anim_wait 3
    anim_sound 0, 1, SFX_LICK
    anim_obj ANIM_OBJ_01, 136, 24, $0
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_01, 128, 56, $0
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_SMALL_ROCK, 128, 64, $28
    anim_obj ANIM_OBJ_SMALL_ROCK, 100, 64, $5c
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_SMALL_ROCK, 148, 64, $10
    anim_obj ANIM_OBJ_SMALL_ROCK, 120, 64, $e8
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_SMALL_ROCK, 130, 64, $9c
    anim_obj ANIM_OBJ_SMALL_ROCK, 136, 64, $d0
    anim_wait 6
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_SMALL_ROCK, 140, 64, $1c
    anim_obj ANIM_OBJ_SMALL_ROCK, 124, 64, $50
    anim_sound 0, 1, SFX_SPARK
    anim_obj ANIM_OBJ_SMALL_ROCK, 128, 64, $dc
    anim_obj ANIM_OBJ_SMALL_ROCK, 100, 64, $90
    anim_wait 32
    anim_ret
    anim_wait 8
    anim_ret
    
BattleAnim_XScissor:
    anim_2gfx ANIM_GFX_CUT, ANIM_GFX_SHINE
.loop
    anim_sound 0, 1, SFX_VICEGRIP
    anim_obj ANIM_OBJ_37, 152, 40, $0
    anim_obj ANIM_OBJ_39, 120, 72, $0
    anim_obj ANIM_OBJ_GLIMMER, 136, 40, $0
    anim_wait 32
    anim_loop 2, .loop
    anim_ret
    
BattleAnim_Psystrike:
    anim_2gfx ANIM_GFX_LIGHTNING, ANIM_GFX_EXPLOSION
    anim_bgp $1b
    anim_obp0 $30
    anim_sound 0, 0, SFX_METRONOME
    anim_obj ANIM_OBJ_ZAP_CANNON, 64, 92, $2
    anim_wait 18
    anim_sound 6, 2, SFX_PSYCHIC
    anim_bgeffect ANIM_BG_PSYCHIC, $0, $0, $0
    anim_wait 64
    anim_incbgeffect ANIM_BG_PSYCHIC
    anim_ret
    
BattleAnim_UTurn:
    anim_1gfx ANIM_GFX_HIT
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 100, 52, $0
    anim_wait 8
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 128, 48, $0
    anim_wait 8
    anim_sound 0, 1, SFX_MEGA_KICK
    anim_obj ANIM_OBJ_00, 152, 40, $0
    anim_wait 10
    anim_sound 0, 1, SFX_COMET_PUNCH
    anim_obj ANIM_OBJ_04, 120, 32, $0
    anim_incbgeffect ANIM_BG_1D
    anim_call BattleAnim_ShowMon_0
    anim_wait 4
    anim_ret

BUGS

I have tested every move being used by YOU I have not tested every move being used by the opponent (they do not cooperate), so some might look funny, Hone Claws, for example, looks fine when you use it, but the alignment is off when used by the opponent, most moves will not be an issue with this due to how their animations work, but just be warned sometimes an attack from the opponent might fly off into space instead of hitting you.

Last edited by metalflygon08 (2019-03-27 00:55:56)

Offline

#2 2019-03-22 10:29:04

lakeofdance
Member
Registered: 2016-09-14
Post 11/11

Re: Pokemon Custom Move Animation Code Thread

Sick! Might be cool if you could make some short gifs showing the animations, is that possible?

Offline

#3 2019-03-22 12:36:23

metalflygon08
Member
Registered: 2014-03-01
Post 58/61

Re: Pokemon Custom Move Animation Code Thread

Yup, I'm actually planning on a big update later today when I get off work, because I have working animations for more moves now!

Sometime this evening there will be codes and gifs for: Pure Voice, Fairy Wind, Moonblast, Dazzling Gleam, Draining Kiss, Drill Run, Water Pulse, Fire, Ice, & Thunder Fang as they are all working properly now!

Silver Wind is my current headache lol, and I plan to make some custom moves next (Elemental Claws to help out some more Pokémon like Sneasel or Persian).

Anybody know how to make images actually appear in the posts? When I normally do IMG tags it just shows up as a link to follow.

Offline

#4 2019-03-23 20:07:40

metalflygon08
Member
Registered: 2014-03-01
Post 59/61

Re: Pokemon Custom Move Animation Code Thread

https://www.youtube.com/watch?v=UAx0jum … e=youtu.be

Here's the moves in motion so you can hear their sound effects too.

Offline

#5 2019-03-24 04:00:28

IceGod64
Member
Registered: 2016-02-09
Post 16/22

Re: Pokemon Custom Move Animation Code Thread

This is awesome, just amazing!

Great wok man, if I do a hack with custom moves, I would totally use these.

Offline

#6 2019-03-25 00:14:59

metalflygon08
Member
Registered: 2014-03-01
Post 60/61

Re: Pokemon Custom Move Animation Code Thread

Thanks! It'd be really great if we could expand move slots so you didn't have to over write moves.

Offline

#7 2019-03-25 00:38:22

metalflygon08
Member
Registered: 2014-03-01
Post 61/61

Re: Pokemon Custom Move Animation Code Thread

Just updated with a slew of new move animations!

Frost Claw*, Flare Claw*, Static Claw*, Hyper Voice, Earth Power, Flare Blitz, Dazzling Gleam, Draining Kiss, Drill Run, Fairy Wind, Moonblast, Disarming Voice, Water Pulse, Thunder Fang, Fire Fang, Ice Fang, Silver Wind, Leer, Head Smash, Acrobatics, Leaf Blade, Bug Bite, Poison Fang, Dragon Claw, Energy Ball, Aerial Ace, Iron Head, Air Slash, Brave Bird, Hurricane, Ice Shard, Parabolic Charge, Petal Storm, & Roost.

All you have to do is copy and paste the code into your animation.asm file over the move you wish to replace! You'll still have to code the attack and effects of it yourself, but the animations are good to use!

*Custom Move

Here's a rough plan for future moves:

Aqua Tail, Ripple Effect + Faint Attack 3 BurstS effect
Avalanche, Rock Throw + Ice Effect
Bug Buzz, Shake Screen + Growl (Screech SFX) + BurstL
Bulk Up, Swagger Smoke + Frustration weaving
Bullet Punch, Try to make the Punch Burst go in 3 spots.
Calm Mind, Scrren Lighten + Smoke Ball Burst on User
Dark Pulse, Invert Screen + Psybeam (Shadow Ball SFX)
Dragon Dance, Transform Twist + Endure Glow
Dragon Pulse, Experiment with Dragonbreath
Extrasensory, Transform Twist on Enemy (Experiment)+ Glow
Flash Cannon, Screen Lightens up + Confuse Ray Stars (No Flashing)
Focus Blast, Vital Throw Fallback + Beam
Gunk Shot, Darken Screen + Barrage + Poison Bubbles
Hail, Sandstorm + Lighen Screen
Hex, Invert Screen + Demon
Hone Claws, Scratch Animation on User
Icicle Crash,
Metal Sound, Metal Shine + Screech
Moonblast, Done(ish)
Night Slash, Darken Screen + Aerial Ace
Play Rough, Charm Heart + Random Strikes
Poison Jab, Poison Bubbles on user + Faint Attack 3 BurstS effect
Power Gem, Ice Effect on User + Leer Beams
Psystrike, Whole Screen Ripple + Dark Flashes
Seed Bomb, Barrage + More Explosions
Shadow Claw, Inverted + Scratch
Stone Edge, Experiment with Rocks
Wild Charge, Spark + Screen Shaking + Flash
Will-O-Wisp, Invert + Fire Spin
X-Scissor, Experiment with Cutting Effects
Zen Headbutt, User Ripples + Tackle

Last edited by metalflygon08 (2019-03-25 11:41:36)

Offline

Board footer

Powered by FluxBB