diff options
author | Pokechu22 <Pokechu022@gmail.com> | 2017-09-25 19:18:33 -0700 |
---|---|---|
committer | Pokechu22 <Pokechu022@gmail.com> | 2017-09-25 19:18:33 -0700 |
commit | 78b6f1a613913536789fe1bcc91b95d6cca54ae9 (patch) | |
tree | 9ade0c53b1a5e11e059e7be6d44e35eb13e6c4f5 /engine/battle/animations.asm | |
parent | 1ce6731d98388ecacf94036cd26d0125eebbb943 (diff) |
Fix warnings about deprecated mnemonics on newer builds of rgbds
Diffstat (limited to 'engine/battle/animations.asm')
-rwxr-xr-x | engine/battle/animations.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 8c095daf..629aa8cd 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -240,7 +240,7 @@ PlayAnimation: ld h, a ld de, .nextAnimationCommand push de - jp [hl] ; jump to special effect function + jp hl ; jump to special effect function .playSubanimation ld c, a and a, %00111111 @@ -481,7 +481,7 @@ PlayApplyingAttackAnimation: ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl AnimationTypePointerTable: dw ShakeScreenVertically ; enemy mon has used a damaging move without a side effect @@ -690,7 +690,7 @@ DoSpecialEffectByAnimationId: ld l, a ld de, .done push de - jp [hl] + jp hl .done pop bc pop de @@ -1129,7 +1129,7 @@ CallWithTurnFlipped: ld [H_WHOSETURN], a ld de, .returnAddress push de - jp [hl] + jp hl .returnAddress pop af ld [H_WHOSETURN], a |