diff options
author | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 22:01:10 +0100 |
---|---|---|
committer | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 22:01:10 +0100 |
commit | e6ea1889fbce20b0dc170310ac63891a1cca2bb5 (patch) | |
tree | 436ae844ff5b28f9680d2ac13657c0e9be3af690 /engine/card_flip.asm | |
parent | fb154f5a6e43a86801fd16f392633c854d099ac4 (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/card_flip.asm')
-rwxr-xr-x | engine/card_flip.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/card_flip.asm b/engine/card_flip.asm index 0479e8248..cdf2be010 100755 --- a/engine/card_flip.asm +++ b/engine/card_flip.asm @@ -76,7 +76,7 @@ _CardFlip: ; e00ee (38:40ee) ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; e01a0 (38:41a0) .Jumptable: ; e01a0 @@ -652,7 +652,7 @@ CardFlip_BlankDiscardedCardSlot: ; e0534 ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; e0553 .Jumptable: ; e0553 @@ -829,7 +829,7 @@ CardFlip_CheckWinCondition: ; e0637 ld a, [hli] ld h, [hl] ld l, a - jp [hl] + jp hl ; e0643 .Jumptable: ; e0643 |