peasant: make separation between lines 9 rather than 8 lines

this makes text much nicer and avoids descender squish

in theory messes up some stuff and could possibly run out of room
This commit is contained in:
Vince Weaver 2022-01-07 22:52:05 -05:00
parent 2bb9694582
commit 467d1f5bef
3 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ Peasant1:
+ hook up scare animation + hook up scare animation
+ hook up after-gary, fence hole and no horse + hook up after-gary, fence hole and no horse
+ update x-coords when walk off screen (fence) + update x-coords when walk off screen (fence)
+ setup priority wall depending on if fence broken + setup priority wall depending on if fence broken (lo-res box?)
- Kerrek 1 - Kerrek 1
+ Implement kerrek + Implement kerrek
+ Implement dead kerrek + Implement dead kerrek

View File

@ -1,5 +1,3 @@
;=========================== ;===========================
; hgr text box ; hgr text box
;=========================== ;===========================
@ -98,7 +96,7 @@ disp_put_string_loop:
disp_end_of_line: disp_end_of_line:
clc clc
lda CURSOR_Y lda CURSOR_Y
adc #8 adc #9 ; skip 9 so descenders don't interfere
sta CURSOR_Y sta CURSOR_Y
lda SAVED_X lda SAVED_X

View File

@ -1158,7 +1158,8 @@ print_text_message:
; 1 2 3 4 5 6 7 8 ; 1 2 3 4 5 6 7 8
;message_y2: .byte 54, 62, 70, 78, 86, 94, 102, 110 ;message_y2: .byte 54, 62, 70, 78, 86, 94, 102, 110
; y2 is 46+(8*(len)) ; y2 was 46+(8*(len))
; we now skip 9, so 46+(9*len)
lda message_len lda message_len
asl asl
@ -1166,6 +1167,7 @@ print_text_message:
asl asl
clc clc
adc #46 adc #46
adc message_len
sta BOX_Y2 sta BOX_Y2
sta SAVED_Y2 sta SAVED_Y2