diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:50:30 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:50:30 -0500 |
| commit | d3e81422d50f937b91df19e058c25ac7288f6063 (patch) | |
| tree | 6de026ed81054668b3885d780fd047fc69fca0ef /home/textbox.asm | |
| parent | Port some formatting from pokeyellow (diff) | |
| download | pokeyellow-d3e81422d50f937b91df19e058c25ac7288f6063.tar.gz pokeyellow-d3e81422d50f937b91df19e058c25ac7288f6063.tar.xz pokeyellow-d3e81422d50f937b91df19e058c25ac7288f6063.zip | |
Sync home and macro code with pokeyellow
Diffstat (limited to 'home/textbox.asm')
| -rw-r--r-- | home/textbox.asm | 11 |
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 |
