diff options
| author | Antonio Niño Díaz <antonio_nd@outlook.com> | 2017-06-09 22:54:09 +0100 |
|---|---|---|
| committer | Antonio Niño Díaz <antonio_nd@outlook.com> | 2017-06-09 22:54:09 +0100 |
| commit | 9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd (patch) | |
| tree | 838b94841af8efe22697c15775f99035d42fd734 /engine/battle/animations.asm | |
| parent | Update Travis configuration to use rgbds 0.3.1 (diff) | |
| download | pokeyellow-9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd.tar.gz pokeyellow-9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd.tar.xz pokeyellow-9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd.zip | |
Replace deprecated mnemonics by the correct ones
The old mnemonics generate warnings with new versions of rgbds. This
patch replaces them by the correct ones.
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
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 373136a8..4992b84a 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -213,7 +213,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 @@ -457,7 +457,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 @@ -642,7 +642,7 @@ DoSpecialEffectByAnimationId: ld l,a ld de,.done push de - jp [hl] + jp hl .done pop bc pop de @@ -1080,7 +1080,7 @@ CallWithTurnFlipped: ld [H_WHOSETURN],a ld de,.returnAddress push de - jp [hl] + jp hl .returnAddress pop af ld [H_WHOSETURN],a |
