aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-09-29 22:41:34 -0400
committerGitHub <noreply@github.com>2017-09-29 22:41:34 -0400
commit5c2419383118280465a89657fed34ed6562f2981 (patch)
tree4844873fcd027d8f238be629d283663d5fcafc9b /engine/battle/core.asm
parentAdd Gen 3 disassemblies. (diff)
parentUpdate Travis configuration to use rgbds 0.3.3 (diff)
downloadpokeyellow-5c2419383118280465a89657fed34ed6562f2981.tar.gz
pokeyellow-5c2419383118280465a89657fed34ed6562f2981.tar.xz
pokeyellow-5c2419383118280465a89657fed34ed6562f2981.zip
Merge pull request #167 from Pokechu22/rgbds-0.3.3
Update for RGBDS 0.3.3
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-xengine/battle/core.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 4e21f6de..4e7c8032 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -3150,7 +3150,7 @@ ExecutePlayerMove:
jp z, ExecutePlayerMoveDone
call CheckPlayerStatusConditions
jr nz, .playerHasNoSpecialCondition
- jp [hl]
+ jp hl
.playerHasNoSpecialCondition
call GetCurrentMove
ld hl, wPlayerBattleStatus1
@@ -5690,7 +5690,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?
@@ -7139,7 +7139,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