diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-11-05 23:50:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 23:50:03 -0500 |
| commit | d3f13528754b985e892385dbd88c3c9a95681f1b (patch) | |
| tree | 4a18885606996ff59bb714afb5db9a548e2f94a7 /home/textbox.asm | |
| parent | Port some formatting from pokeyellow (diff) | |
| parent | Sync more with pokeyellow (diff) | |
| download | pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.gz pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.xz pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.zip | |
Merge pull request #301 from Rangi42/master
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 |
