summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authorBen10do <Ben10do@users.noreply.github.com>2017-06-09 22:01:10 +0100
committerBen10do <Ben10do@users.noreply.github.com>2017-06-09 22:01:10 +0100
commite6ea1889fbce20b0dc170310ac63891a1cca2bb5 (patch)
tree436ae844ff5b28f9680d2ac13657c0e9be3af690 /items
parentfb154f5a6e43a86801fd16f392633c854d099ac4 (diff)
Replace ‘jp [hl]’ with ‘jp hl’
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds. This fix silences these deprecation warnings.
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 7061909f6..c13568a5d 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -263,7 +263,7 @@ ParkBall: ; e8a2
ld l, a
ld de, .skip_or_return_from_ball_fn
push de
- jp [hl]
+ jp hl
.skip_or_return_from_ball_fn
ld a, [CurItem]