summaryrefslogtreecommitdiff
path: root/engine/display_text_id_init.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/display_text_id_init.asm')
-rw-r--r--engine/display_text_id_init.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/display_text_id_init.asm b/engine/display_text_id_init.asm
index 59b3a5f8..0ef37370 100644
--- a/engine/display_text_id_init.asm
+++ b/engine/display_text_id_init.asm
@@ -14,19 +14,16 @@ DisplayTextIDInit:
CheckEvent EVENT_GOT_POKEDEX
; start menu with pokedex
coord hl, 10, 0
- ld b, $0e
- ld c, $08
+ lb bc, 14, 8
jr nz, .drawTextBoxBorder
; start menu without pokedex
coord hl, 10, 0
- ld b, $0c
- ld c, $08
+ lb bc, 12, 8
jr .drawTextBoxBorder
; if text ID is not 0 (i.e. not the start menu) then do a standard dialogue text box
.notStartMenu
coord hl, 0, 12
- ld b, $04
- ld c, $12
+ lb bc, 4, 18
.drawTextBoxBorder
call TextBoxBorder
.skipDrawingTextBoxBorder