summaryrefslogtreecommitdiff
path: root/engine/overworld
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
committerAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
commit9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd (patch)
tree838b94841af8efe22697c15775f99035d42fd734 /engine/overworld
parentdfc094db727d094e50e2a7bfb7fc1ae22cb1084b (diff)
Replace deprecated mnemonics by the correct ones
The old mnemonics generate warnings with new versions of rgbds. This patch replaces them by the correct ones. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/player_state.asm2
-rwxr-xr-xengine/overworld/ssanne.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/player_state.asm b/engine/overworld/player_state.asm
index 79f755b9..b8d734f2 100644
--- a/engine/overworld/player_state.asm
+++ b/engine/overworld/player_state.asm
@@ -103,7 +103,7 @@ IsPlayerFacingEdgeOfMap:
ld c, a
ld de, .asm_c41e
push de
- jp [hl]
+ jp hl
.asm_c41e
pop bc
pop de
diff --git a/engine/overworld/ssanne.asm b/engine/overworld/ssanne.asm
index 712c53ed..ea4747ce 100755
--- a/engine/overworld/ssanne.asm
+++ b/engine/overworld/ssanne.asm
@@ -16,7 +16,7 @@ AnimateBoulderDust:
ld bc, .returnAddress
push bc
ld c, 4
- jp [hl]
+ jp hl
.returnAddress
ld a, [rOBP1]
xor %01100100