shithub: pokecrystal

ref: 868e28f309ec8d08bcdea913c3fc53b0ef55315f
dir: /engine/battle/move_effects/destiny_bond.asm/

View raw version
BattleCommand_DestinyBond:
; destinybond

	ld a, BATTLE_VARS_SUBSTATUS5
	call GetBattleVarAddr
	set SUBSTATUS_DESTINY_BOND, [hl]
	call AnimateCurrentMove
	ld hl, DestinyBondEffectText
	jp StdBattleTextbox