summaryrefslogtreecommitdiff
path: root/home/textbox.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:50:30 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:50:30 -0500
commitd3e81422d50f937b91df19e058c25ac7288f6063 (patch)
tree6de026ed81054668b3885d780fd047fc69fca0ef /home/textbox.asm
parentabaf9fee7c73e708ef8c3e7a1ed710bfc9ec6f6e (diff)
Sync home and macro code with pokeyellow
Diffstat (limited to 'home/textbox.asm')
-rw-r--r--home/textbox.asm11
1 files changed, 1 insertions, 10 deletions
diff --git a/home/textbox.asm b/home/textbox.asm
index 5067b044..f95c72c7 100644
--- a/home/textbox.asm
+++ b/home/textbox.asm
@@ -3,14 +3,5 @@
; [wTextBoxID] = text box ID
; b, c = y, x cursor position (TWO_OPTION_MENU only)
DisplayTextBoxID::
- ldh a, [hLoadedROMBank]
- push af
- ld a, BANK(DisplayTextBoxID_)
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
- call DisplayTextBoxID_
- pop bc
- ld a, b
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ homecall_sf DisplayTextBoxID_
ret