diff options
author | Antonio Niño Díaz <antonio_nd@outlook.com> | 2017-06-09 22:54:09 +0100 |
---|---|---|
committer | Antonio Niño Díaz <antonio_nd@outlook.com> | 2017-06-09 22:54:09 +0100 |
commit | 9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd (patch) | |
tree | 838b94841af8efe22697c15775f99035d42fd734 /engine/menu | |
parent | dfc094db727d094e50e2a7bfb7fc1ae22cb1084b (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/menu')
-rwxr-xr-x | engine/menu/start_sub_menus.asm | 2 | ||||
-rw-r--r-- | engine/menu/text_box.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/menu/start_sub_menus.asm b/engine/menu/start_sub_menus.asm index 251d7ae4..8c10266b 100755 --- a/engine/menu/start_sub_menus.asm +++ b/engine/menu/start_sub_menus.asm @@ -118,7 +118,7 @@ StartMenu_Pokemon: ld h,[hl] ld l,a ld a,[wObtainedBadges] ; badges obtained - jp [hl] + jp hl .outOfBattleMovePointers dw .cut dw .fly diff --git a/engine/menu/text_box.asm b/engine/menu/text_box.asm index 12067dd4..90c35d25 100644 --- a/engine/menu/text_box.asm +++ b/engine/menu/text_box.asm @@ -24,7 +24,7 @@ DisplayTextBoxID_: ld l,a ; hl = address of function ld de,.done push de - jp [hl] ; jump to the function + jp hl ; jump to the function .coordTableMatch call GetTextBoxIDCoords call GetAddressOfScreenCoords |