pokecrystal-board/data/moves/animations.asm

4827 lines
131 KiB
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
BattleAnimations::
; entries correspond to constants/move_constants.asm
table_width 2, BattleAnimations
dw BattleAnim_Dummy
2013-12-19 01:49:40 -08:00
dw BattleAnim_Pound
dw BattleAnim_KarateChop
dw BattleAnim_Doubleslap
dw BattleAnim_CometPunch
dw BattleAnim_MegaPunch
dw BattleAnim_PayDay
dw BattleAnim_FirePunch
dw BattleAnim_IcePunch
dw BattleAnim_Thunderpunch
dw BattleAnim_Scratch
dw BattleAnim_Vicegrip
dw BattleAnim_Guillotine
dw BattleAnim_RazorWind
dw BattleAnim_SwordsDance
dw BattleAnim_Cut
dw BattleAnim_Gust
dw BattleAnim_WingAttack
dw BattleAnim_Whirlwind
dw BattleAnim_Fly
dw BattleAnim_Bind
dw BattleAnim_Slam
dw BattleAnim_VineWhip
dw BattleAnim_Stomp
dw BattleAnim_DoubleKick
dw BattleAnim_MegaKick
dw BattleAnim_JumpKick
dw BattleAnim_RollingKick
dw BattleAnim_SandAttack
dw BattleAnim_Headbutt
dw BattleAnim_HornAttack
dw BattleAnim_FuryAttack
dw BattleAnim_HornDrill
dw BattleAnim_Tackle
dw BattleAnim_BodySlam
dw BattleAnim_Wrap
dw BattleAnim_TakeDown
dw BattleAnim_Thrash
dw BattleAnim_DoubleEdge
dw BattleAnim_TailWhip
dw BattleAnim_PoisonSting
dw BattleAnim_Twineedle
dw BattleAnim_PinMissile
dw BattleAnim_Leer
dw BattleAnim_Bite
dw BattleAnim_Growl
dw BattleAnim_Roar
dw BattleAnim_Sing
dw BattleAnim_Supersonic
dw BattleAnim_Sonicboom
dw BattleAnim_Disable
dw BattleAnim_Acid
dw BattleAnim_Ember
dw BattleAnim_Flamethrower
dw BattleAnim_Mist
dw BattleAnim_WaterGun
dw BattleAnim_HydroPump
dw BattleAnim_Surf
dw BattleAnim_IceBeam
dw BattleAnim_Blizzard
dw BattleAnim_Psybeam
dw BattleAnim_Bubblebeam
dw BattleAnim_AuroraBeam
dw BattleAnim_HyperBeam
dw BattleAnim_Peck
dw BattleAnim_DrillPeck
dw BattleAnim_Submission
dw BattleAnim_LowKick
dw BattleAnim_Counter
dw BattleAnim_SeismicToss
dw BattleAnim_Strength
dw BattleAnim_Absorb
dw BattleAnim_MegaDrain
dw BattleAnim_LeechSeed
dw BattleAnim_Growth
dw BattleAnim_RazorLeaf
dw BattleAnim_Solarbeam
dw BattleAnim_Poisonpowder
dw BattleAnim_StunSpore
dw BattleAnim_SleepPowder
dw BattleAnim_PetalDance
dw BattleAnim_StringShot
dw BattleAnim_DragonRage
dw BattleAnim_FireSpin
dw BattleAnim_Thundershock
dw BattleAnim_Thunderbolt
dw BattleAnim_ThunderWave
dw BattleAnim_Thunder
dw BattleAnim_RockThrow
dw BattleAnim_Earthquake
dw BattleAnim_Fissure
dw BattleAnim_Dig
dw BattleAnim_Toxic
dw BattleAnim_Confusion
dw BattleAnim_PsychicM
dw BattleAnim_Hypnosis
dw BattleAnim_Meditate
dw BattleAnim_Agility
dw BattleAnim_QuickAttack
dw BattleAnim_Rage
dw BattleAnim_Teleport
dw BattleAnim_NightShade
dw BattleAnim_Mimic
dw BattleAnim_Screech
dw BattleAnim_DoubleTeam
dw BattleAnim_Recover
dw BattleAnim_Harden
dw BattleAnim_Minimize
dw BattleAnim_Smokescreen
dw BattleAnim_ConfuseRay
dw BattleAnim_Withdraw
dw BattleAnim_DefenseCurl
dw BattleAnim_Barrier
dw BattleAnim_LightScreen
dw BattleAnim_Haze
dw BattleAnim_Reflect
dw BattleAnim_FocusEnergy
dw BattleAnim_Bide
dw BattleAnim_Metronome
dw BattleAnim_MirrorMove
dw BattleAnim_Selfdestruct
dw BattleAnim_EggBomb
dw BattleAnim_Lick
dw BattleAnim_Smog
dw BattleAnim_Sludge
dw BattleAnim_BoneClub
dw BattleAnim_FireBlast
dw BattleAnim_Waterfall
dw BattleAnim_Clamp
dw BattleAnim_Swift
dw BattleAnim_SkullBash
dw BattleAnim_SpikeCannon
dw BattleAnim_Constrict
dw BattleAnim_Amnesia
dw BattleAnim_Kinesis
dw BattleAnim_Softboiled
dw BattleAnim_HiJumpKick
dw BattleAnim_Glare
dw BattleAnim_DreamEater
dw BattleAnim_PoisonGas
dw BattleAnim_Barrage
dw BattleAnim_LeechLife
dw BattleAnim_LovelyKiss
dw BattleAnim_SkyAttack
dw BattleAnim_Transform
dw BattleAnim_Bubble
dw BattleAnim_DizzyPunch
dw BattleAnim_Spore
dw BattleAnim_Flash
dw BattleAnim_Psywave
dw BattleAnim_Splash
dw BattleAnim_AcidArmor
dw BattleAnim_Crabhammer
dw BattleAnim_Explosion
dw BattleAnim_FurySwipes
dw BattleAnim_Bonemerang
dw BattleAnim_Rest
dw BattleAnim_RockSlide
dw BattleAnim_HyperFang
dw BattleAnim_Sharpen
dw BattleAnim_Conversion
dw BattleAnim_TriAttack
dw BattleAnim_SuperFang
dw BattleAnim_Slash
dw BattleAnim_Substitute
dw BattleAnim_Struggle
dw BattleAnim_Sketch
dw BattleAnim_TripleKick
dw BattleAnim_Thief
dw BattleAnim_SpiderWeb
dw BattleAnim_MindReader
dw BattleAnim_Nightmare
dw BattleAnim_FlameWheel
dw BattleAnim_Snore
dw BattleAnim_Curse
dw BattleAnim_Flail
dw BattleAnim_Conversion2
dw BattleAnim_Aeroblast
dw BattleAnim_CottonSpore
dw BattleAnim_Reversal
dw BattleAnim_Spite
dw BattleAnim_PowderSnow
dw BattleAnim_Protect
dw BattleAnim_MachPunch
dw BattleAnim_ScaryFace
dw BattleAnim_FaintAttack
dw BattleAnim_SweetKiss
dw BattleAnim_BellyDrum
dw BattleAnim_SludgeBomb
dw BattleAnim_MudSlap
dw BattleAnim_Octazooka
dw BattleAnim_Spikes
dw BattleAnim_ZapCannon
dw BattleAnim_Foresight
dw BattleAnim_DestinyBond
dw BattleAnim_PerishSong
dw BattleAnim_IcyWind
dw BattleAnim_Detect
dw BattleAnim_BoneRush
dw BattleAnim_LockOn
dw BattleAnim_Outrage
dw BattleAnim_Sandstorm
dw BattleAnim_GigaDrain
dw BattleAnim_Endure
dw BattleAnim_Charm
dw BattleAnim_Rollout
dw BattleAnim_FalseSwipe
dw BattleAnim_Swagger
dw BattleAnim_MilkDrink
dw BattleAnim_Spark
dw BattleAnim_FuryCutter
dw BattleAnim_SteelWing
dw BattleAnim_MeanLook
dw BattleAnim_Attract
dw BattleAnim_SleepTalk
dw BattleAnim_HealBell
dw BattleAnim_Return
dw BattleAnim_Present
dw BattleAnim_Frustration
dw BattleAnim_Safeguard
dw BattleAnim_PainSplit
dw BattleAnim_SacredFire
dw BattleAnim_Magnitude
dw BattleAnim_Dynamicpunch
dw BattleAnim_Megahorn
dw BattleAnim_Dragonbreath
dw BattleAnim_BatonPass
dw BattleAnim_Encore
dw BattleAnim_Pursuit
dw BattleAnim_RapidSpin
dw BattleAnim_SweetScent
dw BattleAnim_IronTail
dw BattleAnim_MetalClaw
dw BattleAnim_VitalThrow
dw BattleAnim_MorningSun
dw BattleAnim_Synthesis
dw BattleAnim_Moonlight
dw BattleAnim_HiddenPower
dw BattleAnim_CrossChop
dw BattleAnim_Twister
dw BattleAnim_RainDance
dw BattleAnim_SunnyDay
dw BattleAnim_Crunch
dw BattleAnim_MirrorCoat
dw BattleAnim_PsychUp
dw BattleAnim_Extremespeed
dw BattleAnim_Ancientpower
dw BattleAnim_ShadowBall
dw BattleAnim_FutureSight
dw BattleAnim_RockSmash
dw BattleAnim_Whirlpool
dw BattleAnim_BeatUp
assert_table_length NUM_ATTACKS + 1
dw BattleAnim_Dummy
dw BattleAnim_Dummy
dw BattleAnim_Dummy
2013-12-19 01:49:40 -08:00
dw BattleAnim_SweetScent2
assert_table_length $100
2015-11-09 13:41:09 -08:00
; $100
2013-12-19 01:49:40 -08:00
dw BattleAnim_ThrowPokeBall
dw BattleAnim_SendOutMon
dw BattleAnim_ReturnMon
dw BattleAnim_Confused
dw BattleAnim_Slp
dw BattleAnim_Brn
dw BattleAnim_Psn
dw BattleAnim_Sap
dw BattleAnim_Frz
dw BattleAnim_Par
dw BattleAnim_InLove
dw BattleAnim_InSandstorm
dw BattleAnim_InNightmare
dw BattleAnim_InWhirlpool
dw BattleAnim_Miss
dw BattleAnim_EnemyDamage
dw BattleAnim_EnemyStatDown
dw BattleAnim_PlayerStatDown
dw BattleAnim_PlayerDamage
dw BattleAnim_Wobble
dw BattleAnim_Shake
dw BattleAnim_HitConfusion
assert_table_length NUM_BATTLE_ANIMS + 1
2013-12-19 01:49:40 -08:00
BattleAnim_Dummy:
2018-06-24 07:09:41 -07:00
BattleAnim_MirrorMove:
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SweetScent2:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_FLOWER, BATTLE_ANIM_GFX_MISC
anim_obj BATTLE_ANIM_OBJ_FLOWER, 64, 96, $2
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLOWER, 64, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $15
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $2a
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $3f
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
BattleAnim_ThrowPokeBall:
2016-05-05 12:07:37 -07:00
anim_if_param_equal NO_ITEM, .TheTrainerBlockedTheBall
anim_if_param_equal MASTER_BALL, .MasterBall
anim_if_param_equal ULTRA_BALL, .UltraBall
anim_if_param_equal GREAT_BALL, .GreatBall
; any other ball
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_POKE_BALL, BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 68, 92, $40
2013-12-19 01:49:40 -08:00
anim_wait 36
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 136, 65, $0
2013-12-19 01:49:40 -08:00
anim_setobj $2, $7
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 136, 64, $10
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_jump .Shake
2013-12-19 01:49:40 -08:00
.TheTrainerBlockedTheBall:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_POKE_BALL, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL_BLOCKED, 64, 92, $20
2013-12-19 01:49:40 -08:00
anim_wait 20
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 112, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.UltraBall:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_POKE_BALL, BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 68, 92, $40
2013-12-19 01:49:40 -08:00
anim_wait 36
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 136, 65, $0
2013-12-19 01:49:40 -08:00
anim_setobj $2, $7
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 136, 64, $10
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_jump .Shake
2013-12-19 01:49:40 -08:00
.GreatBall:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_POKE_BALL, BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 68, 92, $40
2013-12-19 01:49:40 -08:00
anim_wait 36
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 136, 65, $0
2013-12-19 01:49:40 -08:00
anim_setobj $2, $7
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 136, 64, $10
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_jump .Shake
2013-12-19 01:49:40 -08:00
.MasterBall:
2023-09-24 06:06:19 -07:00
anim_3gfx BATTLE_ANIM_GFX_POKE_BALL, BATTLE_ANIM_GFX_SMOKE, BATTLE_ANIM_GFX_SPEED
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 64, 92, $20
2013-12-19 01:49:40 -08:00
anim_wait 36
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POKE_BALL, 136, 65, $0
2013-12-19 01:49:40 -08:00
anim_setobj $2, $7
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 136, 64, $10
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MASTER_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $30
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $31
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $32
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $33
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $34
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $35
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $36
anim_obj BATTLE_ANIM_OBJ_MASTER_BALL_SPARKLE, 136, 56, $37
2013-12-19 01:49:40 -08:00
anim_wait 64
.Shake:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_RETURN_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2018-11-20 12:53:45 -08:00
anim_incobj 2
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CHANGE_DEX_MODE
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_BOUNCE
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_wait 32
anim_wait 32
anim_wait 8
anim_setvar $0
.Loop:
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_checkpokeball
2016-05-05 12:07:37 -07:00
anim_if_var_equal $1, .Click
anim_if_var_equal $2, .BreakFree
2018-11-20 12:53:45 -08:00
anim_incobj 1
2018-01-18 21:16:08 -08:00
anim_sound 0, 1, SFX_BALL_WOBBLE
anim_jump .Loop
2013-12-19 01:49:40 -08:00
.Click:
anim_keepsprites
2013-12-19 01:49:40 -08:00
anim_ret
.BreakFree:
2013-12-19 01:49:40 -08:00
anim_setobj $1, $b
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 136, 64, $10
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SendOutMon:
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .Normal
anim_if_param_equal $1, .Shiny
anim_if_param_equal $2, .Unknown
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SMOKE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BETA_SEND_OUT_MON2, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BETA_BALL_POOF, 48, 96, $0
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
.Unknown:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SMOKE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BETA_SEND_OUT_MON1, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BETA_BALL_POOF, 48, 96, $0
anim_incbgeffect BATTLE_BG_EFFECT_BETA_SEND_OUT_MON1
2013-12-19 01:49:40 -08:00
anim_wait 96
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_BETA_SEND_OUT_MON1
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
.Shiny:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $3
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $8
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $10
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $18
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $20
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $28
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $30
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 48, 96, $38
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.Normal:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 44, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ReturnMon:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
BattleAnimSub_Return:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_RETURN_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Confused:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_KINESIS
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CHICK, 44, 56, $15
anim_obj BATTLE_ANIM_OBJ_CHICK, 44, 56, $aa
anim_obj BATTLE_ANIM_OBJ_CHICK, 44, 56, $bf
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Slp:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_TAIL_WHIP
2015-12-24 10:33:54 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ASLEEP, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Brn:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BURN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BURNED, 56, 88, $10
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Psn:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POISON
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_POISON
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SKULL, 64, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_POISON
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SKULL, 48, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sap:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CHARGE
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 128, 48, $2
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 64, $3
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 32, $4
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Frz:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ICE
anim_obj BATTLE_ANIM_OBJ_FROZEN, 44, 110, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Par:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PARALYZED, 20, 88, $42
anim_obj BATTLE_ANIM_OBJ_PARALYZED, 76, 88, $c2
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_InLove:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEART, 64, 76, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEART, 36, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_InSandstorm:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POWDER
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 88, 0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 72, 0, $1
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 56, 0, $2
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-24 10:33:54 -08:00
anim_loop 6, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_InNightmare:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ANGELS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BUBBLEBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_IN_NIGHTMARE, 68, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_InWhirlpool:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WIND
anim_bgeffect BATTLE_BG_EFFECT_WHIRLPOOL, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SURF
2015-12-24 10:33:54 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GUST, 132, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-24 10:33:54 -08:00
anim_loop 6, .loop
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WHIRLPOOL
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HitConfusion:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 44, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Miss:
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_EnemyDamage:
2015-12-24 10:33:54 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_EnemyStatDown:
anim_call BattleAnim_UserObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_VIBRATE_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PlayerStatDown:
anim_call BattleAnim_UserObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_PLAYER, $0, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PlayerDamage:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_Y, $20, $2, $20
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Wobble:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_SCREEN, $0, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Shake:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $20, $2, $40
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Pound:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_KarateChop:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KARATE_CHOP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KARATE_CHOP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 136, 44, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 44, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KARATE_CHOP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Doubleslap:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .alternate
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLESLAP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
.alternate:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLESLAP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_CometPunch:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .alternate
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
.alternate:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MegaPunch:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 136, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Stomp:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STOMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STOMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 136, 44, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 44, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STOMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DoubleKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .alternate
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
.alternate:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_JumpKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .alternate
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_JUMP_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 112, 72, $0
anim_obj BATTLE_ANIM_OBJ_KICK, 100, 60, $0
2013-12-19 01:49:40 -08:00
anim_setobj $1, $2
anim_setobj $2, $2
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
.alternate:
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 44, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HiJumpKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
anim_if_param_equal $1, .alternate
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_JUMP_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 112, 72, $0
2013-12-19 01:49:40 -08:00
anim_setobj $1, $2
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
.alternate:
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 44, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RollingKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 112, 56, $0
2013-12-19 01:49:40 -08:00
anim_setobj $1, $3
anim_wait 12
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MegaKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 67
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 136, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HyperFang:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $20, $1, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FANG, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SuperFang:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FANG, 136, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FANG, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Ember:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EMBER, 64, 96, $12
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EMBER, 64, 100, $14
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EMBER, 64, 84, $13
2015-12-23 14:10:50 -08:00
anim_wait 16
2018-11-20 12:53:45 -08:00
anim_incobj 1
anim_incobj 2
anim_incobj 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EMBER, 120, 68, $30
anim_obj BATTLE_ANIM_OBJ_EMBER, 132, 68, $30
anim_obj BATTLE_ANIM_OBJ_EMBER, 144, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FirePunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_FIRE
anim_obj BATTLE_ANIM_OBJ_PUNCH_SHAKE, 136, 56, $43
anim_call BattleAnimSub_Fire
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FireSpin:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_SPIN, 64, 88, $4
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_SPIN, 64, 96, $3
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_SPIN, 64, 88, $3
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_SPIN, 64, 96, $4
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-24 10:33:54 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DragonRage:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DRAGON_RAGE, 64, 92, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-24 10:33:54 -08:00
anim_loop 16, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Flamethrower:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 64, 92, $3
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 75, 86, $5
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 85, 81, $7
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 96, 76, $9
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 106, 71, $b
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 116, 66, $c
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 126, 61, $a
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAMETHROWER, 136, 56, $8
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-24 10:33:54 -08:00
anim_loop 6, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FireBlast:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-24 10:33:54 -08:00
.loop1
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 64, 92, $7
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-24 10:33:54 -08:00
anim_loop 10, .loop1
.loop2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
anim_wait 8
2015-12-24 10:33:54 -08:00
anim_loop 10, .loop2
2018-11-20 12:53:45 -08:00
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
2015-12-23 14:10:50 -08:00
anim_incobj 10
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-24 10:33:54 -08:00
.loop3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 56, $1
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 56, $2
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 56, $3
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 56, $4
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 56, $5
2015-12-23 14:10:50 -08:00
anim_wait 16
2015-12-24 10:33:54 -08:00
anim_loop 2, .loop3
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_IcePunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_ICE
anim_obj BATTLE_ANIM_OBJ_PUNCH_SHAKE, 136, 56, $43
anim_call BattleAnimSub_Ice
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_IceBeam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ICE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE_BEAM, 64, 92, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-24 10:33:54 -08:00
anim_loop 5, .loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE_BUILDUP, 136, 74, $10
2015-12-24 10:33:54 -08:00
.loop2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE_BEAM, 64, 92, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-24 10:33:54 -08:00
anim_loop 15, .loop2
2013-12-19 01:49:40 -08:00
anim_wait 48
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Blizzard:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ICE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BLIZZARD, 64, 88, $63
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BLIZZARD, 64, 80, $64
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BLIZZARD, 64, 96, $63
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WHITE_HUES, $0, $8, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE_BUILDUP, 136, 74, $10
2013-12-19 01:49:40 -08:00
anim_wait 128
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bubble:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
2015-12-23 14:10:50 -08:00
anim_sound 32, 2, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $c1
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 32, 2, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $e1
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 32, 2, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $d1
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bubblebeam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_BUBBLEBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $92
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_BUBBLEBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $b3
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_BUBBLEBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BUBBLE, 64, 92, $f4
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-24 10:33:54 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_clearobjs
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_START_WATER, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_call BattleAnim_UserObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WATER, $1c, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 19
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_END_WATER, $0, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_WaterGun:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_START_WATER, $0, BG_EFFECT_TARGET, $0
anim_1gfx BATTLE_ANIM_GFX_WATER
anim_call BattleAnim_UserObj_2Row
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WATER_GUN, 64, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WATER_GUN, 64, 76, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WATER_GUN, 64, 82, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WATER, $1c, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WATER, $8, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WATER, $30, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_END_WATER, $0, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HydroPump:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_START_WATER, $0, BG_EFFECT_TARGET, $0
anim_1gfx BATTLE_ANIM_GFX_WATER
anim_call BattleAnim_UserObj_2Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 108, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $1c, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 116, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $8, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 124, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $30, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 132, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $1c, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 140, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $8, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 148, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $30, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HYDRO_PUMP, 156, 72, $0
anim_bgeffect BATTLE_BG_EFFECT_WATER, $1c, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_END_WATER, $0, $0, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Surf:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
anim_bgeffect BATTLE_BG_EFFECT_SURF, $0, $0, $0
anim_obj BATTLE_ANIM_OBJ_SURF, 88, 104, $8
2015-12-24 10:33:54 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SURF
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-24 10:33:54 -08:00
anim_loop 4, .loop
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 56
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_VineWhip:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WHIP
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_VINE_WHIP2, 116, 52, $80
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_VINE_WHIP1, 128, 60, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LeechSeed:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PLANT
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LEECH_SEED, 48, 80, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LEECH_SEED, 48, 80, $30
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LEECH_SEED, 48, 80, $28
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CHARGE
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RazorLeaf:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PLANT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_VINE_WHIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $28
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $5c
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $10
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $e8
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $9c
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $d0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $1c
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $50
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $dc
anim_obj BATTLE_ANIM_OBJ_RAZOR_LEAF, 48, 80, $90
2013-12-19 01:49:40 -08:00
anim_wait 80
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 3
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 5
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 7
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 9
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 2
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 4
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 6
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
2018-11-20 12:53:45 -08:00
anim_incobj 8
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_VINE_WHIP
anim_incobj 10
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Solarbeam:
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .FireSolarBeam
; charge turn
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CHARGE
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_CHARGE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB_CENTER, 48, 84, $0
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $0
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $8
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $10
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $18
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $20
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $28
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $30
anim_obj BATTLE_ANIM_OBJ_SOLAR_BEAM_CHARGE, 48, 84, $38
2013-12-19 01:49:40 -08:00
anim_wait 104
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_WHITE, $0, $4, $2
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2016-05-05 12:07:37 -07:00
.FireSolarBeam
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_call BattleAnimSub_Beam
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thunderpunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_LIGHTNING
anim_obj BATTLE_ANIM_OBJ_PUNCH_SHAKE, 136, 56, $43
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_RIGHT, 152, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thundershock:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_LIGHTNING, BATTLE_ANIM_GFX_EXPLOSION
anim_obj BATTLE_ANIM_OBJ_THUNDERSHOCK_BALL, 136, 56, $2
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPARKS_CIRCLE, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thunderbolt:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_LIGHTNING, BATTLE_ANIM_GFX_EXPLOSION
anim_obj BATTLE_ANIM_OBJ_THUNDERBOLT_BALL, 136, 56, $2
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPARKS_CIRCLE_BIG, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ThunderWave:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_LIGHTNING
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_WAVE, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 20
anim_bgp $1b
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thunder:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_LIGHTNING
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $6, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_LEFT, 120, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_RIGHT, 152, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_CENTER, 136, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RazorWind:
anim_if_param_equal $1, BattleAnim_FocusEnergy
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WHIP
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $1, $0
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_WIND2, 152, 40, $3
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_WIND2, 136, 56, $3
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_WIND2, 152, 64, $3
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_WIND1, 120, 40, $83
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAZOR_WIND1, 120, 64, $83
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
BattleAnim_Sonicboom_JP: ; unreferenced
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_WHIP, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 3, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SONICBOOM_JP, 64, 80, $3
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 3, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SONICBOOM_JP, 64, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 3, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SONICBOOM_JP, 64, 96, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2018-11-20 12:53:45 -08:00
anim_incobj 1
anim_incobj 2
anim_incobj 3
anim_incobj 4
anim_incobj 5
anim_incobj 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Gust:
BattleAnim_Sonicboom:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_WIND, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GUST, 136, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 9, .loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 64, $18
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 32, $18
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Selfdestruct:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_EXPLOSION
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $24
2016-05-05 12:07:37 -07:00
anim_if_param_equal $1, .loop
anim_call BattleAnimSub_Explosion2
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Explosion1
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Explosion:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_EXPLOSION
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $60, $4, $10
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $24
2016-05-05 12:07:37 -07:00
anim_if_param_equal $1, .loop
anim_call BattleAnimSub_Explosion2
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Explosion1
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Acid:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POISON
anim_call BattleAnimSub_Acid
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RockThrow:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROCKS
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $60, $1, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 128, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIG_ROCK, 120, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 152, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIG_ROCK, 144, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 136, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RockSlide:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROCKS
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $c0, $1, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 128, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIG_ROCK, 120, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 152, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIG_ROCK, 144, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 136, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sing:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_NOISE
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_SING
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SING, 64, 92, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SING, 64, 92, $1
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SING, 64, 92, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SING, 64, 92, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SING, 64, 92, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Poisonpowder:
BattleAnim_SleepPowder:
BattleAnim_Spore:
BattleAnim_StunSpore:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POWDER
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER, 104, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER, 136, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER, 112, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER, 128, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER, 120, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HyperBeam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $30, $4, $10
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $40
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_call BattleAnimSub_Beam
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_AuroraBeam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_call BattleAnimSub_Beam
2013-12-19 01:49:40 -08:00
anim_wait 48
2018-11-20 12:53:45 -08:00
anim_incobj 5
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Vicegrip:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_VICEGRIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 152, 40, $0
anim_obj BATTLE_ANIM_OBJ_CUT_UP_RIGHT, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Scratch:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 144, 48, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 140, 44, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FurySwipes:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
anim_if_param_equal $1, .alternate
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 144, 48, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 140, 44, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 136, 40, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.alternate:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_RIGHT, 120, 48, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_RIGHT, 124, 44, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_RIGHT, 128, 40, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Cut:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Slash:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 152, 40, $0
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 148, 36, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Clamp:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_CUT, BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_CLAMP, 136, 56, $a0
anim_obj BATTLE_ANIM_OBJ_CLAMP, 136, 56, $20
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $18
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 64, $18
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bite:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_CUT, BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_BITE, 136, 56, $98
anim_obj BATTLE_ANIM_OBJ_BITE, 136, 56, $18
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $18
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 64, $18
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Teleport:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TELEPORT, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_TELEPORT
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $1, $0
anim_call BattleAnimSub_WarpAway
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Fly:
anim_if_param_equal $1, .turn1
anim_if_param_equal $2, .miss
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
.miss:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.turn1:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $1, $0
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
anim_call BattleAnimSub_WarpAway
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DoubleTeam:
anim_call BattleAnim_TargetObj_2Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PSYBEAM
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_DOUBLE_TEAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 96
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_DOUBLE_TEAM
2013-12-19 01:49:40 -08:00
anim_wait 24
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_DOUBLE_TEAM
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Recover:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_FULL_HEAL
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $30
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $31
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $32
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $33
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $34
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $35
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $36
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $37
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Absorb:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CHARGE
anim_obj BATTLE_ANIM_OBJ_ABSORB_CENTER, 44, 88, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 128, 48, $2
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 64, $3
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 32, $4
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MegaDrain:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CHARGE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MONS_TO_BLACK_REPEATING, $0, BG_EFFECT_TARGET, $10
2013-12-19 01:49:40 -08:00
anim_setvar $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 128, 48, $2
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 64, $3
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB, 136, 32, $4
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_incvar
2016-05-05 12:07:37 -07:00
anim_if_var_equal $7, .done
anim_if_var_equal $2, .spawn
2015-12-23 17:46:23 -08:00
anim_jump .loop
2013-12-19 01:49:40 -08:00
2015-12-23 17:46:23 -08:00
.spawn
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ABSORB_CENTER, 44, 88, $0
2015-12-23 17:46:23 -08:00
anim_jump .loop
2013-12-19 01:49:40 -08:00
2015-12-23 17:46:23 -08:00
.done
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MONS_TO_BLACK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_EggBomb:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_EXPLOSION
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWITCH_POKEMON
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EGG, 44, 104, $1
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 96
2018-11-20 12:53:45 -08:00
anim_incobj 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION2, 128, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION2, 144, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION2, 136, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Softboiled:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_BUBBLE
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWITCH_POKEMON
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EGG, 44, 104, $6
2013-12-19 01:49:40 -08:00
anim_wait 128
2018-11-20 12:53:45 -08:00
anim_incobj 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EGG, 76, 104, $b
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_METRONOME
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FocusEnergy:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT, $0, BG_EFFECT_USER, $40
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 44, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 36, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 52, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 28, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 60, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 20, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 68, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bide:
anim_if_param_equal $0, BattleAnim_MegaPunch
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_ESCAPE_ROPE
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
2013-12-19 01:49:40 -08:00
anim_wait 72
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bind:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROPE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND2, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2018-11-20 12:53:45 -08:00
anim_incobj 1
anim_incobj 2
anim_incobj 3
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Wrap:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROPE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2018-11-20 12:53:45 -08:00
anim_incobj 1
anim_incobj 2
anim_incobj 3
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Confusion:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_UserObj_2Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PSYCHIC
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_NIGHT_SHADE, $0, BG_EFFECT_TARGET, $8
2013-12-19 01:49:40 -08:00
anim_wait 128
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_NIGHT_SHADE
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Constrict:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROPE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND2, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND2, 132, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BIND1, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Earthquake:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $60, $4, $10
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Fissure:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $40
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $60, $4, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Growl:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_NOISE
anim_battlergfx_2row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_cry $0
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Sound
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 9
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_1ROW, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING, $0, BG_EFFECT_TARGET, $40
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_incobj 10
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Roar:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_NOISE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_cry $1
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Sound
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .done
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2015-12-23 17:46:23 -08:00
.done
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Supersonic:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SUPERSONIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Screech:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $8, $1, $20
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SCREECH
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ConfuseRay:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_BGPALS_INVERTED, $0, $4, $0
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $0
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $80
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $88
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $90
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $98
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $a0
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $a8
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $b0
anim_obj BATTLE_ANIM_OBJ_CONFUSE_RAY, 64, 88, $b8
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_WHIRLWIND
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Leer:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_call BattleAnimSub_EyeBeams
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Reflect:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LightScreen:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SPEED, BATTLE_ANIM_GFX_REFLECT
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_FLASH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $8
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $10
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $18
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $20
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $28
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $30
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHINY, 72, 80, $38
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Amnesia:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AMNESIA, 64, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AMNESIA, 68, 80, $1
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AMNESIA, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DizzyPunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_STATUS, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 40, $0
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 136, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KINESIS
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CHICK, 136, 24, $15
anim_obj BATTLE_ANIM_OBJ_CHICK, 136, 24, $aa
anim_obj BATTLE_ANIM_OBJ_CHICK, 136, 24, $bf
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Rest:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_TAIL_WHIP
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ASLEEP, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_AcidArmor:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ACID_ARMOR, $0, BG_EFFECT_USER, $8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MEGA_PUNCH
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_ACID_ARMOR
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Splash:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_VICEGRIP
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 96
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Dig:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SAND, BATTLE_ANIM_GFX_HIT
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .hit
anim_if_param_equal $2, .fail
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_DIG, $0, BG_EFFECT_USER, $1
anim_obj BATTLE_ANIM_OBJ_DIG_PILE, 72, 104, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DIG_SAND, 56, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 6, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_DIG
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2015-12-23 17:46:23 -08:00
.hit
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
.fail
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SandAttack:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SAND
anim_call BattleAnimSub_SandOrMud
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_StringShot:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WEB
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 132, 48, $1
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 132, 64, $1
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 132, 56, $2
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Headbutt:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $14, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HEADBUTT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Tackle:
; BUG: Tackle is missing part of its hit animation (see docs/bugs_and_glitches.md)
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BodySlam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_TakeDown:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DoubleEdge:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $10
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Submission:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_UserObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_MON, $0, BG_EFFECT_TARGET, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SUBMISSION
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 152, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 52, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WOBBLE_MON
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Whirlwind:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WIND
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GUST, 64, 112, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 9, .loop
2018-11-20 12:53:45 -08:00
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
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_WHIRLWIND
2013-12-19 01:49:40 -08:00
anim_wait 128
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .done
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2015-12-23 17:46:23 -08:00
.done
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Hypnosis:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SUPERSONIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $2
anim_obj BATTLE_ANIM_OBJ_WAVE, 56, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 56
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Haze:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HAZE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SURF
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HAZE, 48, 56, $0
anim_obj BATTLE_ANIM_OBJ_HAZE, 132, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Mist:
2013-12-19 01:49:40 -08:00
anim_obp0 $54
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HAZE
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SURF
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MIST, 48, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Smog:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HAZE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BUBBLEBEAM
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMOG, 132, 16, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PoisonGas:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HAZE
2015-12-23 14:10:50 -08:00
anim_sound 16, 2, SFX_BUBBLEBEAM
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POISON_GAS, 44, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HornAttack:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_HORN, 72, 80, $1
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FuryAttack:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_HORN, 72, 72, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 128, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HORN, 80, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HORN, 76, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HornDrill:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $40
anim_obj BATTLE_ANIM_OBJ_HORN, 72, 80, $3
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 132, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 140, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 124, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PoisonSting:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 64, 92, $14
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Twineedle:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 64, 92, $14
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 56, 84, $14
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 136, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PinMissile:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 64, 92, $28
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 56, 84, $28
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 52, 88, $28
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 132, 52, $0
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SpikeCannon:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 64, 92, $18
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 56, 84, $18
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NEEDLE, 52, 88, $18
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL, 132, 52, $0
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Transform:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2013-12-19 01:49:40 -08:00
anim_transform
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PSYBEAM
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_updateactorpic
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON
2013-12-19 01:49:40 -08:00
anim_wait 48
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PetalDance:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_FLOWER, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PETAL_DANCE, 48, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 11
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 64
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Barrage:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_EXPLOSION
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SLUDGE_BOMB, 64, 92, $10
2013-12-19 01:49:40 -08:00
anim_wait 36
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION2, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PayDay:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PAY_DAY
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PAY_DAY, 120, 76, $1
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Mimic:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
2013-12-19 01:49:40 -08:00
anim_obp0 $fc
2015-12-23 14:10:50 -08:00
anim_sound 63, 3, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $0
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $8
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $10
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $18
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $20
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $28
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $30
anim_obj BATTLE_ANIM_OBJ_MIMIC, 132, 44, $38
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LovelyKiss:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_OBJECTS, BATTLE_ANIM_GFX_ANGELS
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_LOVELY_KISS, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEART, 128, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Bonemerang:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_HYDRO_PUMP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BONEMERANG, 88, 56, $1c
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MOVE_PUZZLE_PIECE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Swift:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_METRONOME
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SWIFT, 64, 88, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SWIFT, 64, 72, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SWIFT, 64, 76, $4
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Crabhammer:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SkullBash:
anim_if_param_equal $1, BattleAnim_FocusEnergy
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $14, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HEADBUTT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Kinesis:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_NOISE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_KINESIS, 80, 76, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_KINESIS
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SOUND, 64, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_KINESIS_2
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Peck:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DrillPeck:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 124, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 140, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PECK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_SMALL_YFIX, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Guillotine:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $10
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_VICEGRIP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 156, 44, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 152, 40, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 148, 36, $0
anim_obj BATTLE_ANIM_OBJ_CUT_UP_RIGHT, 124, 76, $0
anim_obj BATTLE_ANIM_OBJ_CUT_UP_RIGHT, 120, 72, $0
anim_obj BATTLE_ANIM_OBJ_CUT_UP_RIGHT, 116, 68, $0
anim_obj BATTLE_ANIM_OBJ_CUT_UP_RIGHT, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Flash:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_FLASH
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $6, $20
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $8
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $10
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $18
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $20
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $28
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $30
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLASH, 136, 56, $38
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Substitute:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SURF
anim_if_param_equal $3, .dropsub2
anim_if_param_equal $2, .raisesub
anim_if_param_equal $1, .dropsub
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SMOKE
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_raisesub
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 48, 96, $0
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.dropsub:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_dropsub
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.raisesub:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_raisesub
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
.dropsub2:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_dropsub
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Minimize:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SURF
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2013-12-19 01:49:40 -08:00
anim_minimize
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_updateactorpic
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON
2013-12-19 01:49:40 -08:00
anim_wait 48
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SkyAttack:
anim_if_param_equal $1, BattleAnim_FocusEnergy
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SKY_ATTACK
anim_bgeffect BATTLE_BG_EFFECT_REMOVE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SKY_ATTACK, 48, 88, $40
2013-12-19 01:49:40 -08:00
anim_wait 64
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 21
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_NightShade:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp1 $1b
anim_wait 32
anim_call BattleAnim_UserObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_NIGHT_SHADE, $0, BG_EFFECT_TARGET, $8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PSYCHIC
2013-12-19 01:49:40 -08:00
anim_wait 96
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_NIGHT_SHADE
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Lick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WATER
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LICK, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_TriAttack:
2023-09-24 06:06:19 -07:00
anim_3gfx BATTLE_ANIM_GFX_FIRE, BATTLE_ANIM_GFX_ICE, BATTLE_ANIM_GFX_LIGHTNING
anim_call BattleAnimSub_Fire
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_call BattleAnimSub_Ice
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDER_RIGHT, 152, 68, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Withdraw:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WITHDRAW, $0, BG_EFFECT_USER, $50
2013-12-19 01:49:40 -08:00
anim_wait 48
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WITHDRAW, 48, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2018-11-20 12:53:45 -08:00
anim_incobj 2
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WITHDRAW
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Psybeam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_BGPALS_INVERTED, $0, $4, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_PSYBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DreamEater:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp0 $27
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
anim_call BattleAnimSub_Drain
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LeechLife:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BUBBLE
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_WATER_GUN
anim_call BattleAnimSub_Drain
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Harden:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
2013-12-19 01:49:40 -08:00
anim_obp0 $0
anim_call BattleAnim_TargetObj_1Row
anim_call BattleAnimSub_Metallic
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Psywave:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
anim_bgeffect BATTLE_BG_EFFECT_PSYCHIC, $0, $0, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_PSYCHIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_PSYCHIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $3
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_PSYCHIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 96, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_PSYCHIC
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Glare:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $20
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_call BattleAnimSub_EyeBeams
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thrash:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 120, 72, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MOVE_PUZZLE_PIECE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 136, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 152, 40, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Growth:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WHITE_HUES, $0, $8, $0
anim_1gfx BATTLE_ANIM_GFX_CHARGE
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $0
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $8
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $10
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $18
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $20
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $28
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $30
anim_obj BATTLE_ANIM_OBJ_GROWTH, 48, 108, $38
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Conversion2:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_EXPLOSION
2015-12-23 14:10:50 -08:00
anim_sound 63, 3, SFX_SHARPEN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $0
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $8
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $10
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $18
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $20
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $28
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $30
anim_obj BATTLE_ANIM_OBJ_CONVERSION2, 132, 44, $38
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Smokescreen:
2023-09-24 06:06:19 -07:00
anim_3gfx BATTLE_ANIM_GFX_HAZE, BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_THROW_BALL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMOKESCREEN, 64, 92, $6c
2013-12-19 01:49:40 -08:00
anim_wait 24
2018-11-20 12:53:45 -08:00
anim_incobj 1
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 108, 70, $10
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMOKE, 132, 60, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Strength:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_ROCKS, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_Y, $10, $1, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRENGTH, 64, 104, $1
2013-12-19 01:49:40 -08:00
anim_wait 128
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 20
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 132, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SwordsDance:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WHIP
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SWORDS_DANCE, 48, 108, $0
anim_obj BATTLE_ANIM_OBJ_SWORDS_DANCE, 48, 108, $d
anim_obj BATTLE_ANIM_OBJ_SWORDS_DANCE, 48, 108, $1a
anim_obj BATTLE_ANIM_OBJ_SWORDS_DANCE, 48, 108, $27
anim_obj BATTLE_ANIM_OBJ_SWORDS_DANCE, 48, 108, $34
2013-12-19 01:49:40 -08:00
anim_wait 56
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_QuickAttack:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SPEED, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 24, 88, $2
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 32, 88, $1
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 40, 88, $0
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 48, 88, $80
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 56, 88, $81
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 64, 88, $82
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Meditate:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PSYBEAM
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WAVE_DEFORM_MON
2013-12-19 01:49:40 -08:00
anim_wait 48
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sharpen:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHAPES
2013-12-19 01:49:40 -08:00
anim_obp0 $e4
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHARPEN
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
anim_obj BATTLE_ANIM_OBJ_SHARPEN, 48, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 96
2018-11-20 12:53:45 -08:00
anim_incobj 2
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DefenseCurl:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHAPES
2013-12-19 01:49:40 -08:00
anim_obp0 $e4
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHARPEN
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
anim_obj BATTLE_ANIM_OBJ_DEFENSE_CURL, 48, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 96
2018-11-20 12:53:45 -08:00
anim_incobj 2
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SeismicToss:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_GLOBE, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_Y, $10, $1, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SEISMIC_TOSS, 64, 104, $1
2013-12-19 01:49:40 -08:00
anim_wait 128
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 20
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 132, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Rage:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAGE
2013-12-19 01:49:40 -08:00
anim_wait 72
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MOVE_PUZZLE_PIECE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Agility:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WIND
2013-12-19 01:49:40 -08:00
anim_obp0 $fc
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 24, $10
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 48, $2
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 88, $8
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 32, $6
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 56, $c
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 80, $4
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 104, $e
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAZOR_WIND
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 18, .loop
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BoneClub:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_MISC
anim_obj BATTLE_ANIM_OBJ_BONE_CLUB, 64, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BONE_CLUB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Barrier:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
anim_battlergfx_2row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Waterfall:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_LICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 24, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PsychicM:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_PSYCHIC, $0, $0, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_PSYCHIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WAVE, 64, 88, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_PSYCHIC
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sludge:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POISON
anim_call BattleAnimSub_Sludge
2013-12-19 01:49:40 -08:00
anim_wait 56
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Toxic:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POISON
anim_bgeffect BATTLE_BG_EFFECT_BLACK_HUES, $0, $8, $0
anim_call BattleAnimSub_Acid
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_call BattleAnimSub_Sludge
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Metronome:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_SPEED
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_METRONOME
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_METRONOME_HAND, 72, 88, $0
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_METRONOME_SPARKLE, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Counter:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $6, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PALM, 120, 72, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $6, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 136, 40, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $6, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 152, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 152, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LowKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 124, 64, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 124, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 132, 64, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 140, 64, $0
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 140, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_WingAttack:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 148, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 116, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 140, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 124, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Slam:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $2
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 124, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Disable:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_LIGHTNING, BATTLE_ANIM_GFX_STATUS
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_DISABLE, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PARALYZED, 104, 56, $42
anim_obj BATTLE_ANIM_OBJ_PARALYZED, 160, 56, $c2
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_TailWhip:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_TAIL_WHIP
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WOBBLE_MON
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Struggle:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POUND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sketch:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SKETCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SKETCH, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 80
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_TripleKick:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .alternate1
anim_if_param_equal $2, .alternate2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
.alternate1:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
.alternate2:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_DOUBLE_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_KICK, 132, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 132, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Thief:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THIEF
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THIEF_2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THIEF, 120, 76, $1
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SpiderWeb:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WEB
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_SPIDER_WEB, 132, 48, $0
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SPIDER_WEB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_STRING_SHOT, 64, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MindReader:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MIND_READER
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MIND_READER, 132, 48, $3
anim_obj BATTLE_ANIM_OBJ_MIND_READER, 132, 48, $12
anim_obj BATTLE_ANIM_OBJ_MIND_READER, 132, 48, $20
anim_obj BATTLE_ANIM_OBJ_MIND_READER, 132, 48, $31
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Nightmare:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ANGELS
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp0 $f
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_NIGHTMARE, 132, 40, $0
anim_obj BATTLE_ANIM_OBJ_NIGHTMARE, 132, 40, $a0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_NIGHTMARE
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FlameWheel:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLAME_WHEEL, 48, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $1
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $4
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $5
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 9
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Snore:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_STATUS, BATTLE_ANIM_GFX_NOISE
anim_obj BATTLE_ANIM_OBJ_ASLEEP, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $60, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SNORE
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Sound
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Curse:
2016-05-05 12:07:37 -07:00
anim_if_param_equal $1, .NotGhost
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_OBJECTS
anim_obj BATTLE_ANIM_OBJ_CURSE, 68, 72, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_CURSE
2013-12-19 01:49:40 -08:00
anim_wait 32
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_POISON_STING
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 44, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
.NotGhost:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING, $0, BG_EFFECT_USER, $40
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHARPEN
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT, $0, BG_EFFECT_USER, $40
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 44, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 36, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 52, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 28, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 60, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 20, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 68, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Flail:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SUBMISSION
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLAIL, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 152, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FLAIL
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Conversion:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_EXPLOSION
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 63, 3, SFX_SHARPEN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $0
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $8
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $10
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $18
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $20
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $28
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $30
anim_obj BATTLE_ANIM_OBJ_CONVERSION, 48, 88, $38
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Aeroblast:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_BEAM, BATTLE_ANIM_GFX_AEROBLAST
2013-12-19 01:49:40 -08:00
anim_bgp $1b
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $50, $4, $10
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_AEROBLAST
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AEROBLAST, 72, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 80, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 96, 76, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 112, 68, $0
anim_obj BATTLE_ANIM_OBJ_BEAM_TIP, 126, 62, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_CottonSpore:
2013-12-19 01:49:40 -08:00
anim_obp0 $54
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_POWDER
2018-06-24 07:09:41 -07:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_COTTON_SPORE, 132, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Reversal:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SHINE, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 112, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FORESIGHT, 120, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 128, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FORESIGHT, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 144, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FORESIGHT, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Spite:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ANGELS
anim_obj BATTLE_ANIM_OBJ_SPITE, 132, 16, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPITE
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PowderSnow:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ICE
2018-06-24 07:09:41 -07:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER_SNOW, 64, 88, $23
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER_SNOW, 64, 80, $24
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_POWDER_SNOW, 64, 96, $23
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WHITE_HUES, $0, $8, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_call BattleAnimSub_Ice
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Protect:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_PROTECT, 80, 80, $0
anim_obj BATTLE_ANIM_OBJ_PROTECT, 80, 80, $d
anim_obj BATTLE_ANIM_OBJ_PROTECT, 80, 80, $1a
anim_obj BATTLE_ANIM_OBJ_PROTECT, 80, 80, $27
anim_obj BATTLE_ANIM_OBJ_PROTECT, 80, 80, $34
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PROTECT
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MachPunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SPEED, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 24, 88, $2
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 32, 88, $1
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 40, 88, $0
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 48, 88, $80
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 56, 88, $81
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 64, 88, $82
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ScaryFace:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_BEAM
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_call BattleAnimSub_EyeBeams
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FaintAttack:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_CURSE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_WHITE_WAIT_FADE_BACK, $0, BG_EFFECT_USER, $80
2013-12-19 01:49:40 -08:00
anim_wait 96
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 120, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_WHITE_WAIT_FADE_BACK
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SweetKiss:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_OBJECTS, BATTLE_ANIM_GFX_ANGELS
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_SWEET_KISS, 96, 40, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SWEET_KISS
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SWEET_KISS_2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEART, 120, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BellyDrum:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_NOISE
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 24
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BELLY_DRUM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_HAND, 64, 104, $0
anim_obj BATTLE_ANIM_OBJ_BELLY_DRUM_NOTE, 64, 92, $f8
2013-12-19 01:49:40 -08:00
anim_wait 12
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SludgeBomb:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_POISON
anim_bgeffect BATTLE_BG_EFFECT_BLACK_HUES, $0, $8, $0
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SLUDGE_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SLUDGE_BOMB, 64, 92, $10
2013-12-19 01:49:40 -08:00
anim_wait 36
anim_call BattleAnimSub_Sludge
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MudSlap:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SAND
2013-12-19 01:49:40 -08:00
anim_obp0 $fc
anim_call BattleAnimSub_SandOrMud
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Octazooka:
2023-09-24 06:06:19 -07:00
anim_3gfx BATTLE_ANIM_GFX_HAZE, BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_SMOKE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SLUDGE_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_OCTAZOOKA, 64, 92, $4
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 132, 56, $10
2013-12-19 01:49:40 -08:00
anim_wait 8
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .done
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMOKE, 132, 60, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
2015-12-23 17:46:23 -08:00
.done
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Spikes:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPIKES, 48, 88, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPIKES, 48, 88, $30
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPIKES, 48, 88, $28
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ZapCannon:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_LIGHTNING, BATTLE_ANIM_GFX_EXPLOSION
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp0 $30
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_ZAP_CANNON
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ZAP_CANNON, 64, 92, $2
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDERBOLT_BALL, 136, 56, $2
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPARKS_CIRCLE_BIG, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Foresight:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
anim_call BattleAnim_UserObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_FORESIGHT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FORESIGHT, 132, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING, $0, BG_EFFECT_TARGET, $40
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_DestinyBond:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ANGELS
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp0 $0
anim_if_param_equal $1, .fainted
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_WHIRLWIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DESTINY_BOND, 44, 120, $2
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
.fainted:
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DESTINY_BOND, 132, 76, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KINESIS
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_RETURN_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PerishSong:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_NOISE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 2, SFX_PERISH_SONG
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $0
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $8
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $10
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $18
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $20
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $28
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $30
anim_obj BATTLE_ANIM_OBJ_PERISH_SONG, 88, 0, $38
2013-12-19 01:49:40 -08:00
anim_wait 112
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_IcyWind:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
anim_battlergfx_1row
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PSYCHIC
2015-12-23 17:46:23 -08:00
.loop
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 88, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 80, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 96, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_2ROW, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_NIGHT_SHADE, $0, BG_EFFECT_TARGET, $8
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_NIGHT_SHADE
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 7
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Detect:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_FORESIGHT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FORESIGHT, 64, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BoneRush:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BONE_CLUB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BONE_RUSH, 132, 56, $2
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_LockOn:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MIND_READER
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LOCK_ON, 132, 48, $3
anim_obj BATTLE_ANIM_OBJ_LOCK_ON, 132, 48, $12
anim_obj BATTLE_ANIM_OBJ_LOCK_ON, 132, 48, $20
anim_obj BATTLE_ANIM_OBJ_LOCK_ON, 132, 48, $31
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Outrage:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_OUTRAGE
2013-12-19 01:49:40 -08:00
anim_wait 72
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MOVE_PUZZLE_PIECE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Sandstorm:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_POWDER
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 88, 0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 72, 0, $1
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SANDSTORM, 56, 0, $2
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MENU
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 16, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_GigaDrain:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_BUBBLE, BATTLE_ANIM_GFX_CHARGE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MONS_TO_BLACK_REPEATING, $0, BG_EFFECT_TARGET, $10
2015-12-23 14:10:50 -08:00
anim_sound 6, 3, SFX_GIGA_DRAIN
anim_call BattleAnimSub_Drain
2013-12-19 01:49:40 -08:00
anim_wait 48
anim_wait 128
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MONS_TO_BLACK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_METRONOME
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 24, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 56, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 24, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 56, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 40, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Endure:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SPEED
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 44, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 36, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 52, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 28, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 60, 108, $6
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 20, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FOCUS, 68, 108, $8
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Charm:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_MON, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_ATTRACT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEART, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WOBBLE_MON
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Rollout:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ROLLOUT, $60, $1, $1
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FalseSwipe:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SHINE, BATTLE_ANIM_GFX_CUT
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Swagger:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_WIND
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SWAGGER, 72, 88, $44
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_KINESIS_2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANGER, 104, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MilkDrink:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_BUBBLE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MILK_DRINK, 74, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MILK_DRINK
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RECOVER, 44, 88, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Spark:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_LIGHTNING, BATTLE_ANIM_GFX_EXPLOSION
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_ZAP_CANNON
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $4, $3
anim_obj BATTLE_ANIM_OBJ_THUNDER_WAVE, 48, 92, $0
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_setobj $1, $3
anim_wait 1
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 2
2013-12-19 01:49:40 -08:00
anim_wait 1
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_THUNDERSHOCK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_THUNDERBOLT_BALL, 136, 56, $2
anim_obj BATTLE_ANIM_OBJ_SPARKS_CIRCLE, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FuryCutter:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2016-05-05 12:07:37 -07:00
anim_if_param_and %00000001, .obj1
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 152, 40, $0
2015-12-23 17:46:23 -08:00
anim_jump .okay
2013-12-19 01:49:40 -08:00
2015-12-23 17:46:23 -08:00
.obj1
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_RIGHT, 112, 40, $0
2015-12-23 17:46:23 -08:00
.okay
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_jumpuntil .loop
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SteelWing:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
2013-12-19 01:49:40 -08:00
anim_obp0 $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAGE
anim_call BattleAnim_TargetObj_1Row
anim_call BattleAnimSub_Metallic
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2013-12-19 01:49:40 -08:00
anim_resetobp0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 148, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 116, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_WING_ATTACK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 140, 56, $0
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 124, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MeanLook:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_PSYCHIC
2013-12-19 01:49:40 -08:00
anim_obp0 $e0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEAN_LOOK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MEAN_LOOK, 148, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MEAN_LOOK, 116, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MEAN_LOOK, 148, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MEAN_LOOK, 116, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MEAN_LOOK, 132, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Attract:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_ATTRACT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ATTRACT, 44, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SleepTalk:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ASLEEP, 64, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HealBell:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_MISC, BATTLE_ANIM_GFX_NOISE
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL, 72, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HEAL_BELL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL_NOTE, 72, 52, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HEAL_BELL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL_NOTE, 72, 52, $1
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HEAL_BELL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL_NOTE, 72, 52, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HEAL_BELL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL_NOTE, 72, 52, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HEAL_BELL
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HEAL_BELL_NOTE, 72, 52, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Return:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RETURN
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_BOUNCE_DOWN
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Present:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_STATUS, BATTLE_ANIM_GFX_BUBBLE
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_PRESENT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PRESENT, 64, 88, $6c
2013-12-19 01:49:40 -08:00
anim_wait 56
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AMNESIA, 104, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2018-11-20 12:53:45 -08:00
anim_incobj 2
2016-05-05 12:07:37 -07:00
anim_if_param_equal $3, .heal
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_EXPLOSION
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $12
2015-12-23 17:46:23 -08:00
.loop
anim_call BattleAnimSub_Explosion2
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_jumpuntil .loop
2013-12-19 01:49:40 -08:00
anim_ret
2015-12-23 17:46:23 -08:00
.heal
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_METRONOME
2015-12-23 17:46:23 -08:00
.loop2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RECOVER, 132, 48, $24
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop2
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Frustration:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_KINESIS_2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANGER, 72, 80, $0
2013-12-19 01:49:40 -08:00
anim_wait 40
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 120, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 152, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WOBBLE_MON
2013-12-19 01:49:40 -08:00
anim_wait 1
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Safeguard:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_SAFEGUARD, 80, 80, $0
anim_obj BATTLE_ANIM_OBJ_SAFEGUARD, 80, 80, $d
anim_obj BATTLE_ANIM_OBJ_SAFEGUARD, 80, 80, $1a
anim_obj BATTLE_ANIM_OBJ_SAFEGUARD, 80, 80, $27
anim_obj BATTLE_ANIM_OBJ_SAFEGUARD, 80, 80, $34
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PROTECT
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PainSplit:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_OBJECTS
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_TACKLE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 112, 48, $0
anim_obj BATTLE_ANIM_OBJ_HIT, 76, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SacredFire:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SACRED_FIRE, 48, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $1
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $4
anim_obj BATTLE_ANIM_OBJ_FIRE_BLAST, 136, 48, $5
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 9
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Magnitude:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_ROCKS
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $e, $4, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_STRENGTH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 128, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 120, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 152, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 144, 64, $40
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SMALL_ROCK, 136, 68, $30
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_jumpuntil .loop
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Dynamicpunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HIT, BATTLE_ANIM_GFX_EXPLOSION
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PUNCH_SHAKE, 136, 56, $43
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $12
anim_call BattleAnimSub_Explosion2
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Megahorn:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_HORN, BATTLE_ANIM_GFX_HIT
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $40, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 48
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $3
anim_obj BATTLE_ANIM_OBJ_HORN, 72, 80, $1
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HORN_ATTACK
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Dragonbreath:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_FIRE
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_EMBER
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DRAGONBREATH, 64, 92, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 10, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BatonPass:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_MISC
anim_obj BATTLE_ANIM_OBJ_BATON_PASS, 44, 104, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BATON_PASS
anim_call BattleAnimSub_Return
2013-12-19 01:49:40 -08:00
anim_wait 64
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Encore:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_OBJECTS
anim_obj BATTLE_ANIM_OBJ_ENCORE_HAND, 64, 80, $90
anim_obj BATTLE_ANIM_OBJ_ENCORE_HAND, 64, 80, $10
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_ENCORE
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ENCORE_STAR, 64, 72, $2c
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ENCORE_STAR, 64, 72, $34
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Pursuit:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_if_param_equal $1, .pursued
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_COMET_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
.pursued:
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_call BattleAnim_UserObj_1Row
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BETA_PURSUIT, 132, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BETA_PURSUIT, 132, 64, $1
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2018-11-20 12:53:45 -08:00
anim_incobj 3
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 120, 56, $0
anim_bgeffect BATTLE_BG_EFFECT_BETA_PURSUIT, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_1
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RapidSpin:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_WIND, BATTLE_ANIM_GFX_HIT
2013-12-19 01:49:40 -08:00
anim_obp0 $e4
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAPID_SPIN, 44, 112, $0
2013-12-19 01:49:40 -08:00
anim_wait 2
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_call BattleAnim_TargetObj_2Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BODY_SLAM, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_resetobp0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 6
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SweetScent:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_FLOWER, BATTLE_ANIM_GFX_MISC
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWEET_SCENT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLOWER, 64, 96, $2
2013-12-19 01:49:40 -08:00
anim_wait 2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_FLOWER, 64, 80, $2
2013-12-19 01:49:40 -08:00
anim_wait 96
anim_obp0 $54
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SWEET_SCENT_2
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $15
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $2a
anim_obj BATTLE_ANIM_OBJ_COTTON, 136, 40, $3f
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_IronTail:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
2013-12-19 01:49:40 -08:00
anim_obp0 $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAGE
anim_call BattleAnim_TargetObj_1Row
anim_call BattleAnimSub_Metallic
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
2013-12-19 01:49:40 -08:00
anim_resetobp0
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_WOBBLE_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_KICK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WOBBLE_MON
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MetalClaw:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_REFLECT
2013-12-19 01:49:40 -08:00
anim_obp0 $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAGE
anim_call BattleAnim_TargetObj_1Row
anim_call BattleAnimSub_Metallic
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2013-12-19 01:49:40 -08:00
anim_resetobp0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SCRATCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 144, 48, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 140, 44, $0
anim_obj BATTLE_ANIM_OBJ_CUT_DOWN_LEFT, 136, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_VitalThrow:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_VITAL_THROW, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 64, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 56, 88, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT, 68, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_VITAL_THROW
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MEGA_PUNCH
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG, 132, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MorningSun:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MORNING_SUN
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_MORNING_SUN, 16, 48, $88
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
2016-05-05 12:07:37 -07:00
anim_if_param_equal 0, .zero
anim_call BattleAnimSub_Glimmer
2013-12-19 01:49:40 -08:00
anim_ret
2015-12-23 17:46:23 -08:00
.zero
anim_call BattleAnimSub_Glimmer2
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Synthesis:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING, $0, BG_EFFECT_USER, $40
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_OUTRAGE
2013-12-19 01:49:40 -08:00
anim_wait 72
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_LIGHT_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2016-05-05 12:07:37 -07:00
anim_if_param_equal $1, .one
anim_call BattleAnimSub_Glimmer
2013-12-19 01:49:40 -08:00
anim_ret
2016-05-05 12:07:37 -07:00
.one
anim_call BattleAnimSub_Glimmer2
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Crunch:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_CUT, BATTLE_ANIM_GFX_HIT
2013-12-19 01:49:40 -08:00
anim_bgp $1b
anim_obp0 $c0
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $20, $2, $0
anim_obj BATTLE_ANIM_OBJ_BITE, 136, 56, $a8
anim_obj BATTLE_ANIM_OBJ_BITE, 136, 56, $28
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 144, 48, $18
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BITE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 128, 64, $18
2013-12-19 01:49:40 -08:00
anim_wait 8
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Moonlight:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_SHINE
2013-12-19 01:49:40 -08:00
anim_bgp $1b
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $0, $0
anim_obj BATTLE_ANIM_OBJ_MOONLIGHT, 0, 40, $0
anim_obj BATTLE_ANIM_OBJ_MOONLIGHT, 16, 56, $0
anim_obj BATTLE_ANIM_OBJ_MOONLIGHT, 32, 72, $0
anim_obj BATTLE_ANIM_OBJ_MOONLIGHT, 48, 88, $0
anim_obj BATTLE_ANIM_OBJ_MOONLIGHT, 64, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 1
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MOONLIGHT
2013-12-19 01:49:40 -08:00
anim_wait 63
2016-05-05 12:07:37 -07:00
anim_if_param_equal $3, .three
anim_call BattleAnimSub_Glimmer
2013-12-19 01:49:40 -08:00
anim_ret
2016-05-05 12:07:37 -07:00
.three
anim_call BattleAnimSub_Glimmer2
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_HiddenPower:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CHARGE
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MID_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $0
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $8
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $10
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $18
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $20
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $28
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $30
anim_obj BATTLE_ANIM_OBJ_HIDDEN_POWER, 44, 88, $38
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SWORDS_DANCE
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 12, .loop
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 1
2018-11-20 12:53:45 -08:00
anim_incobj 2
anim_incobj 3
anim_incobj 4
anim_incobj 5
anim_incobj 6
anim_incobj 7
anim_incobj 8
anim_incobj 9
2013-12-19 01:49:40 -08:00
anim_wait 16
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_CrossChop:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_CUT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CROSS_CHOP1, 152, 40, $0
anim_obj BATTLE_ANIM_OBJ_CROSS_CHOP2, 120, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHAKE_SCREEN_X, $58, $2, $0
2013-12-19 01:49:40 -08:00
anim_wait 92
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_VICEGRIP
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FLASH_INVERTED, $0, $8, $10
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Twister:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_WIND, BATTLE_ANIM_GFX_HIT
2015-12-23 17:46:23 -08:00
.loop1
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAZOR_WIND
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GUST, 64, 112, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 9, .loop1
.loop2
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_RAZOR_WIND
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop2
2018-11-20 12:53:45 -08:00
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
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 144, 64, $18
2015-12-23 17:46:23 -08:00
.loop3
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop3
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 32, $18
2015-12-23 17:46:23 -08:00
.loop4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAZOR_WIND
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop4
2018-11-20 12:53:45 -08:00
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
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RainDance:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WATER
2013-12-19 01:49:40 -08:00
anim_bgp $f8
anim_obp0 $7c
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_RAIN_DANCE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $1
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $2
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_SunnyDay:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WATER
2013-12-19 01:49:40 -08:00
anim_bgp $90
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_MORNING_SUN
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $2
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_RAIN, 88, 0, $2
2013-12-19 01:49:40 -08:00
anim_wait 128
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_MirrorCoat:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_REFLECT, BATTLE_ANIM_GFX_SPEED
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SCREEN, 72, 80, $0
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 72, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 88, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 80, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHOOTING_SPARKLE, 64, 96, $4
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 3, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_PsychUp:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_STATUS
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING, $0, BG_EFFECT_USER, $20
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_PSYBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_PSYCH_UP, 44, 88, $0
anim_obj BATTLE_ANIM_OBJ_PSYCH_UP, 44, 88, $10
anim_obj BATTLE_ANIM_OBJ_PSYCH_UP, 44, 88, $20
anim_obj BATTLE_ANIM_OBJ_PSYCH_UP, 44, 88, $30
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_CYCLE_MON_LIGHT_DARK_REPEATING
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Extremespeed:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_SPEED, BATTLE_ANIM_GFX_CUT
anim_bgeffect BATTLE_BG_EFFECT_HIDE_MON, $0, BG_EFFECT_USER, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 24, 88, $2
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 32, 88, $1
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 40, 88, $0
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 48, 88, $80
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 56, 88, $81
anim_obj BATTLE_ANIM_OBJ_SPEED_LINE, 64, 88, $82
2013-12-19 01:49:40 -08:00
anim_wait 12
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_CUT
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_CUT_LONG_DOWN_LEFT, 152, 40, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Ancientpower:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_ROCKS, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 64, 108, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 75, 102, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 85, 97, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 96, 92, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 106, 87, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 116, 82, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ANCIENTPOWER, 126, 77, $20
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ShadowBall:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_EGG, BATTLE_ANIM_GFX_SMOKE
2013-12-19 01:49:40 -08:00
anim_bgp $1b
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_SLUDGE_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SHADOW_BALL, 64, 92, $2
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BALL_POOF, 132, 56, $10
2013-12-19 01:49:40 -08:00
anim_wait 24
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_FutureSight:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WIND
anim_bgeffect BATTLE_BG_EFFECT_CYCLE_OBPALS_GRAY_AND_YELLOW, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_ALTERNATE_HUES, $0, $2, $0
anim_bgeffect BATTLE_BG_EFFECT_PSYCHIC, $0, $0, $0
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 24, $10
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 48, $2
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 88, $8
2013-12-19 01:49:40 -08:00
anim_wait 4
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 32, $6
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 56, $c
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 80, $4
anim_obj BATTLE_ANIM_OBJ_AGILITY, 8, 104, $e
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_THROW_BALL
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_PSYCHIC
2013-12-19 01:49:40 -08:00
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_RockSmash:
2023-09-24 06:06:19 -07:00
anim_2gfx BATTLE_ANIM_GFX_ROCKS, BATTLE_ANIM_GFX_HIT
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_YFIX, 128, 56, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $28
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $5c
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $10
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $e8
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $9c
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $d0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $1c
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $50
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SPARK
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $dc
anim_obj BATTLE_ANIM_OBJ_ROCK_SMASH, 128, 64, $90
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_Whirlpool:
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_WIND
anim_bgeffect BATTLE_BG_EFFECT_WHIRLPOOL, $0, $0, $0
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SURF
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GUST, 132, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 17:46:23 -08:00
anim_loop 9, .loop
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_WHIRLPOOL
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_BeatUp:
2016-05-05 12:07:37 -07:00
anim_if_param_equal $0, .current_mon
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_RETURN_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_beatup
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_BALL_POOF
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_ENTER_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 16
2015-12-23 17:46:23 -08:00
.current_mon
2023-09-24 06:06:19 -07:00
anim_1gfx BATTLE_ANIM_GFX_HIT
anim_call BattleAnim_TargetObj_1Row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_TACKLE, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_BEAT_UP
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HIT_BIG_YFIX, 136, 48, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_call BattleAnim_ShowMon_0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Drain:
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $0
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $8
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $10
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $18
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $20
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $28
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $30
anim_obj BATTLE_ANIM_OBJ_DRAIN, 132, 44, $38
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_EyeBeams:
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_LEER
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_LEER, 72, 84, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 64, 80, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 88, 76, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 80, 72, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 104, 68, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 96, 64, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 120, 60, $0
anim_obj BATTLE_ANIM_OBJ_LEER, 112, 56, $0
anim_obj BATTLE_ANIM_OBJ_LEER_TIP, 130, 54, $0
anim_obj BATTLE_ANIM_OBJ_LEER_TIP, 122, 50, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_WarpAway:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_WARP_TO
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 108, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 100, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 92, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 84, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 76, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 68, $0
anim_obj BATTLE_ANIM_OBJ_WARP, 44, 60, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Beam:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 64, 92, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 80, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 96, 76, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_HYPER_BEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BEAM, 112, 68, $0
anim_obj BATTLE_ANIM_OBJ_BEAM_TIP, 126, 62, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Explosion1:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 24, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 56, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 24, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 56, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 40, 84, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Explosion2:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 148, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 116, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 148, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 116, 32, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EGG_BOMB
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_EXPLOSION1, 132, 52, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Sound:
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SOUND, 64, 76, $0
anim_obj BATTLE_ANIM_OBJ_SOUND, 64, 88, $1
anim_obj BATTLE_ANIM_OBJ_SOUND, 64, 100, $2
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Fire:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_EMBER
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_BURNED, 136, 56, $10
anim_obj BATTLE_ANIM_OBJ_BURNED, 136, 56, $90
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 4, .loop
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Ice:
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 128, 42, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 144, 70, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 120, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 152, 56, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 144, 42, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
2015-12-23 14:10:50 -08:00
anim_sound 0, 1, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ICE, 128, 70, $0
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Sludge:
2015-12-23 17:46:23 -08:00
.loop
2018-07-12 09:25:17 -07:00
anim_sound 0, 1, SFX_TOXIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SLUDGE, 132, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2018-07-12 09:25:17 -07:00
anim_sound 0, 1, SFX_TOXIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SLUDGE, 116, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2018-07-12 09:25:17 -07:00
anim_sound 0, 1, SFX_TOXIC
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SLUDGE, 148, 72, $0
2013-12-19 01:49:40 -08:00
anim_wait 8
2015-12-23 17:46:23 -08:00
anim_loop 5, .loop
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Acid:
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_BUBBLEBEAM
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_ACID, 64, 92, $10
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_Metallic:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_SHINE
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK, $0, BG_EFFECT_USER, $40
2013-12-19 01:49:40 -08:00
anim_wait 8
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HARDEN, 48, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 32
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_HARDEN, 48, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 64
2023-09-24 06:06:19 -07:00
anim_incbgeffect BATTLE_BG_EFFECT_FADE_MON_TO_BLACK
2013-12-19 01:49:40 -08:00
anim_ret
BattleAnimSub_SandOrMud:
2015-12-23 17:46:23 -08:00
.loop
2015-12-23 14:10:50 -08:00
anim_sound 6, 2, SFX_MENU
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_SAND, 64, 92, $4
2013-12-19 01:49:40 -08:00
anim_wait 4
2015-12-23 17:46:23 -08:00
anim_loop 8, .loop
2013-12-19 01:49:40 -08:00
anim_wait 32
anim_ret
BattleAnimSub_Glimmer:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_METRONOME
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 44, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 24, 96, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 56, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 21
anim_ret
BattleAnimSub_Glimmer2:
2015-12-23 14:10:50 -08:00
anim_sound 0, 0, SFX_METRONOME
2015-12-23 17:46:23 -08:00
.loop
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 24, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 56, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 24, 104, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 56, 64, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2023-09-24 06:06:19 -07:00
anim_obj BATTLE_ANIM_OBJ_GLIMMER, 40, 84, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2015-12-23 17:46:23 -08:00
anim_loop 2, .loop
2013-12-19 01:49:40 -08:00
anim_wait 16
anim_ret
BattleAnim_TargetObj_1Row:
anim_battlergfx_2row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_1ROW, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_ret
BattleAnim_TargetObj_2Row:
anim_battlergfx_1row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_2ROW, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ShowMon_0:
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_TARGET, $0
2013-12-19 01:49:40 -08:00
anim_wait 5
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret
BattleAnim_UserObj_1Row:
anim_battlergfx_2row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_1ROW, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 6
anim_ret
BattleAnim_UserObj_2Row:
anim_battlergfx_1row
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_BATTLEROBJ_2ROW, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
anim_ret
2018-06-24 07:09:41 -07:00
BattleAnim_ShowMon_1:
2013-12-19 01:49:40 -08:00
anim_wait 1
2023-09-24 06:06:19 -07:00
anim_bgeffect BATTLE_BG_EFFECT_SHOW_MON, $0, BG_EFFECT_USER, $0
2013-12-19 01:49:40 -08:00
anim_wait 4
2018-11-20 12:53:45 -08:00
anim_incobj 1
2013-12-19 01:49:40 -08:00
anim_wait 1
anim_ret