summaryrefslogtreecommitdiff
path: root/engine/crystal_intro.asm
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 /engine/crystal_intro.asm
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 'engine/crystal_intro.asm')
-rwxr-xr-xengine/crystal_intro.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/crystal_intro.asm b/engine/crystal_intro.asm
index 29bb0934f..e324ed476 100755
--- a/engine/crystal_intro.asm
+++ b/engine/crystal_intro.asm
@@ -125,7 +125,7 @@ PlaceGameFreakPresents: ; e4670
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
; e467f
.dw ; e467f
@@ -222,7 +222,7 @@ GameFreakLogoJumper: ; e46ed (39:46ed)
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
GameFreakLogoScenes: ; e46fd (39:46fd)
dw GameFreakLogoScene1
@@ -438,7 +438,7 @@ IntroSceneJumper: ; e490f
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
; e491e
IntroScenes: ; e491e (39:491e)