summaryrefslogtreecommitdiff
path: root/home/textbox.asm
diff options
context:
space:
mode:
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