diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/engine/bank1.asm | 4 | ||||
-rwxr-xr-x | src/engine/home.asm | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/src/engine/bank1.asm b/src/engine/bank1.asm index 4af5978..5adf436 100755 --- a/src/engine/bank1.asm +++ b/src/engine/bank1.asm @@ -284,7 +284,7 @@ Func_426d: ld [wVBlankCtr], a ld [wcbf9], a text_hl DuelistIsThinkingText - call Func_2a36 + call DrawWideTextBox_PrintTextNoDelay call Func_2bbf ld a, $ff ld [wcc11], a @@ -1223,7 +1223,7 @@ AIMakeDecision: ; 67be (1:67be) ret nz ld [wVBlankCtr], a ld hl, $0088 - call Func_2a36 + call DrawWideTextBox_PrintTextNoDelay or a ret diff --git a/src/engine/home.asm b/src/engine/home.asm index 8248752..1bc9a47 100755 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -5241,18 +5241,23 @@ SetCursorParametersForTextBox: ; 2a1a (0:2a1a) ret ; 0x2a30 - INCROM $2a30, $2a36 +Func_2a30: ; 2a30 (0:2a30) + call DrawWideTextBox_PrintTextNoDelay + jp WaitForWideTextBoxInput +; 0x2a36 -Func_2a36: ; 2a36 (0:2a36) +DrawWideTextBox_PrintTextNoDelay: ; 2a36 (0:2a36) push hl call DrawWideTextBox ld a, $13 jr Func_2a44 -DrawNarrowTextBox_PrintText: ; 2a3e (0:2a3e) +DrawNarrowTextBox_PrintTextNoDelay: ; 2a3e (0:2a3e) push hl call DrawNarrowTextBox ld a, $b +; fallthrough + Func_2a44: ; 2a44 (0:2a44) lb de, 1, 14 call AdjustCoordinatesForWindow @@ -5284,7 +5289,7 @@ DrawNarrowTextBox: ; 2a6f (0:2a6f) ret DrawNarrowTextBox_WaitForInput: ; 2a7c (0:2a7c) - call DrawNarrowTextBox_PrintText + call DrawNarrowTextBox_PrintTextNoDelay xor a ld hl, NarrowTextBoxPromptCursorData call InitializeCursorParameters @@ -5368,7 +5373,7 @@ YesOrNoMenu: ; 2af3 (0:2af3) jr HandleYesOrNoMenu YesOrNoMenuWithText_LeftAligned: ; 2afe (0:2afe) - call DrawNarrowTextBox_PrintText + call DrawNarrowTextBox_PrintTextNoDelay lb de, 3, 16 ; x, y call PrintYesOrNoItems lb de, 2, 16 ; x, y |