From 78b6f1a613913536789fe1bcc91b95d6cca54ae9 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 25 Sep 2017 19:18:33 -0700 Subject: Fix warnings about deprecated mnemonics on newer builds of rgbds --- engine/battle/core.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/battle/core.asm') diff --git a/engine/battle/core.asm b/engine/battle/core.asm index fbbe144b..f23dd649 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -3307,7 +3307,7 @@ ExecutePlayerMove: jp z, ExecutePlayerMoveDone call CheckPlayerStatusConditions jr nz, .playerHasNoSpecialCondition - jp [hl] + jp hl .playerHasNoSpecialCondition call GetCurrentMove ld hl, wPlayerBattleStatus1 @@ -5855,7 +5855,7 @@ ExecuteEnemyMove: ld [wDamageMultipliers], a call CheckEnemyStatusConditions jr nz, .enemyHasNoSpecialConditions - jp [hl] + jp hl .enemyHasNoSpecialConditions ld hl, wEnemyBattleStatus1 bit ChargingUp, [hl] ; is the enemy charging up for attack? @@ -7024,7 +7024,7 @@ _JumpMoveEffect: ld a, [hli] ld h, [hl] ld l, a - jp [hl] ; jump to special effect handler + jp hl ; jump to special effect handler MoveEffectPointerTable: dw SleepEffect ; unused effect -- cgit v1.3.1-sl0p