peasant: intro: move text to common location

This commit is contained in:
Vince Weaver 2021-11-16 12:42:28 -05:00
parent 25ed768423
commit e85b4bb564
8 changed files with 105 additions and 47 deletions

View File

@ -206,6 +206,7 @@ INTRO: intro.o
intro.o: intro.s zp.inc qload.inc music.inc \
graphics_peasantry/graphics_intro.inc sprites/peasant_sprites.inc \
graphics_peasantry/priority_intro.inc \
text/intro.inc \
draw_box.s hgr_rectangle.s hgr_font.s hgr_input.s \
hgr_1x28_sprite_mask.s hgr_1x5_sprite.s hgr_save_restore.s \
hgr_partial_save.s \

View File

@ -153,6 +153,8 @@ mockingboard_notfound2:
.include "graphics_peasantry/priority_intro.inc"
.include "text/intro.inc"
skip_text:
.byte 0,2,"ESC Skips",0

View File

@ -191,34 +191,34 @@ done_cottage:
; 01234567 01234567
cottage_text1:
.byte 0,52,24, 0,253,82
.byte 9,35,"YOU are Rather Dashing, a",13
.byte "humble peasant living in",13
.byte "the peasant kingdom of",13
.byte "Peasantry.",0
;cottage_text1:
; .byte 0,52,24, 0,253,82
; .byte 9,35,"YOU are Rather Dashing, a",13
; .byte "humble peasant living in",13
; .byte "the peasant kingdom of",13
; .byte "Peasantry.",0
; wait a few seconds
cottage_text2:
.byte 0,41,15, 0,255,96
.byte 8,25,"You return home from a",13
.byte "vacation on Scalding Lake",13
.byte "only to find that TROGDOR",13
.byte "THE BURNINATOR has",13
.byte "burninated your thatched",13
.byte "roof cottage along with all",13
.byte "your goods and services.",0
;cottage_text2:
; .byte 0,41,15, 0,255,96
; .byte 8,25,"You return home from a",13
; .byte "vacation on Scalding Lake",13
; .byte "only to find that TROGDOR",13
; .byte "THE BURNINATOR has",13
; .byte "burninated your thatched",13
; .byte "roof cottage along with all",13
; .byte "your goods and services.",0
; wait a few seconds, then start walking toward cottage
cottage_text3:
.byte 0,28,20, 0,252,86
.byte 7,33,"With nothing left to lose,",13
.byte "you swear to get revenge on",13
.byte "the Wingaling Dragon in the",13
.byte "name of burninated peasants",13
.byte "everywhere.",0
;cottage_text3:
; .byte 0,28,20, 0,252,86
; .byte 7,33,"With nothing left to lose,",13
; .byte "you swear to get revenge on",13
; .byte "the Wingaling Dragon in the",13
; .byte "name of burninated peasants",13
; .byte "everywhere.",0
; Walk to edge of screen

View File

@ -160,9 +160,9 @@ done_knight:
; stops as approach knight
knight_message1:
.byte 0,35,34, 0,253,72
.byte 7,49,"OK go for it.",0
;knight_message1:
; .byte 0,35,34, 0,253,72
; .byte 7,49,"OK go for it.",0

View File

@ -145,15 +145,12 @@ done_lake_e:
; walk sideways, near corner
lake_e_message1:
.byte 0,35,34, 0,253,72
.byte 7,49,"That's a nice looking lake.",0
;lake_e_message1:
; .byte 0,35,34, 0,253,72
; .byte 7,49,"That's a nice looking lake.",0
; nearly hit head on sign, it goes away, walk off screen
lake_e_path:
.byte 4,151
.byte 5,151
@ -320,10 +317,3 @@ bubble_e_sprite5:
.byte $A2 ; 001X XX10
.byte $88 ; 1XX0 10XX
.byte $AA ; 0010 1010

View File

@ -151,11 +151,11 @@ done_lake_w:
; walk halfway across the screen
lake_w_message1:
.byte 0,42,24, 0,252,82
.byte 8,41,"You head east toward the",13
.byte "mountain atop which",13
.byte "TROGDOR lives.",0
;lake_w_message1:
; .byte 0,42,24, 0,252,82
; .byte 8,41,"You head east toward the",13
; .byte "mountain atop which",13
; .byte "TROGDOR lives.",0
; walk to edge

View File

@ -149,10 +149,10 @@ done_river:
; walk up a bit
river_message1:
.byte 0,35,34, 0,253,82
.byte 7,49,"You can start playing in a",13
.byte "second here.",0
;river_message1:
; .byte 0,35,34, 0,253,82
; .byte 7,49,"You can start playing in a",13
; .byte "second here.",0
; walks behind tree

View File

@ -0,0 +1,65 @@
; TODO: should we merge this in to use the common text drawing?
; This might save a few bytes due to word compression
; However these are custom box sizes so things would
; change up a bit
cottage_text1:
.byte 0,52,24, 0,253,82
.byte 9,35,"YOU are Rather Dashing, a",13
.byte "humble peasant living in",13
.byte "the peasant kingdom of",13
.byte "Peasantry.",0
; wait a few seconds
cottage_text2:
.byte 0,41,15, 0,255,96
.byte 8,25,"You return home from a",13
.byte "vacation on Scalding Lake",13
.byte "only to find that TROGDOR",13
.byte "THE BURNINATOR has",13
.byte "burninated your thatched",13
.byte "roof cottage along with all",13
.byte "your goods and services.",0
; wait a few seconds, then start walking toward cottage
cottage_text3:
.byte 0,28,20, 0,252,86
.byte 7,33,"With nothing left to lose,",13
.byte "you swear to get revenge on",13
.byte "the Wingaling Dragon in the",13
.byte "name of burninated peasants",13
.byte "everywhere.",0
; Walk to edge of screen
lake_w_message1:
.byte 0,42,24, 0,252,82
.byte 8,41,"You head east toward the",13
.byte "mountain atop which",13
.byte "TROGDOR lives.",0
lake_e_message1:
.byte 0,35,34, 0,253,72
.byte 7,49,"That's a nice looking lake.",0
; walk up a bit
river_message1:
.byte 0,35,34, 0,253,82
.byte 7,49,"You can start playing in a",13
.byte "second here.",0
; walks behind tree
; continues displaying previous message
; stops as approach knight
knight_message1:
.byte 0,35,34, 0,253,72
.byte 7,49,"OK go for it.",0