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>
This commit is contained in:
Antonio Niño Díaz 2017-06-09 22:54:09 +01:00
parent dfc094db72
commit 9ea25bc8cd
17 changed files with 30 additions and 30 deletions

View file

@ -1995,7 +1995,7 @@ RunMapScript::
ld l,a
ld de,.return
push de
jp [hl] ; jump to script
jp hl ; jump to script
.return
ret

View file

@ -24,7 +24,7 @@ Predef::
ld de, .done
push de
jp [hl]
jp hl
.done
pop af

View file

@ -123,7 +123,7 @@ AutoBgMapTransfer::
ld a,[H_AUTOBGTRANSFERENABLED]
and a
ret z
ld hl,[sp + 0]
ld hl,sp + 0
ld a,h
ld [H_SPTEMP],a
ld a,l
@ -205,7 +205,7 @@ VBlankCopyBgMap::
ld a,[H_VBCOPYBGSRC] ; doubles as enabling byte
and a
ret z
ld hl,[sp + 0]
ld hl,sp + 0
ld a,h
ld [H_SPTEMP],a
ld a,l
@ -238,7 +238,7 @@ VBlankCopyDouble::
and a
ret z
ld hl, [sp + 0]
ld hl, sp + 0
ld a, h
ld [H_SPTEMP], a
ld a, l
@ -290,7 +290,7 @@ VBlankCopyDouble::
ld a, h
ld [H_VBCOPYDOUBLEDEST + 1], a
ld hl, [sp + 0]
ld hl, sp + 0
ld a, l
ld [H_VBCOPYDOUBLESRC], a
ld a, h
@ -316,7 +316,7 @@ VBlankCopy::
and a
ret z
ld hl, [sp + 0]
ld hl, sp + 0
ld a, h
ld [H_SPTEMP], a
ld a, l
@ -360,7 +360,7 @@ VBlankCopy::
ld a, h
ld [H_VBCOPYDEST + 1], a
ld hl, [sp + 0]
ld hl, sp + 0
ld a, l
ld [H_VBCOPYSRC], a
ld a, h