From e6ea1889fbce20b0dc170310ac63891a1cca2bb5 Mon Sep 17 00:00:00 2001 From: Ben10do Date: Fri, 9 Jun 2017 22:01:10 +0100 Subject: =?UTF-8?q?Replace=20=E2=80=98jp=20[hl]=E2=80=99=20with=20?= =?UTF-8?q?=E2=80=98jp=20hl=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- engine/intro_menu.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/intro_menu.asm') diff --git a/engine/intro_menu.asm b/engine/intro_menu.asm index 3e4257ab7..8e3c90204 100755 --- a/engine/intro_menu.asm +++ b/engine/intro_menu.asm @@ -1064,7 +1064,7 @@ StartTitleScreen: ; 6219 ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; 626a .dw @@ -1117,7 +1117,7 @@ TitleScreenScene: ; 62a3 ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; 62af .scenes -- cgit v1.2.3