mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 00:25:24 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
30
engine/battle/move_effects/triple_kick.asm
Normal file
30
engine/battle/move_effects/triple_kick.asm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
BattleCommand_TripleKick:
|
||||
ld a, [wBattleAnimParam]
|
||||
ld b, a
|
||||
inc b
|
||||
ld hl, wCurDamage + 1
|
||||
ld a, [hld]
|
||||
ld e, a
|
||||
ld a, [hli]
|
||||
ld d, a
|
||||
.next_kick
|
||||
dec b
|
||||
ret z
|
||||
ld a, [hl]
|
||||
add e
|
||||
ld [hld], a
|
||||
ld a, [hl]
|
||||
adc d
|
||||
ld [hli], a
|
||||
|
||||
; No overflow.
|
||||
jr nc, .next_kick
|
||||
ld a, $ff
|
||||
ld [hld], a
|
||||
ld [hl], a
|
||||
ret
|
||||
|
||||
BattleCommand_KickCounter:
|
||||
ld hl, wBattleAnimParam
|
||||
inc [hl]
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue