Add dialog text
This commit is contained in:
parent
1744e67286
commit
da758df019
|
|
@ -893,10 +893,14 @@ wait_frame_until:
|
||||||
lda #0
|
lda #0
|
||||||
sta vbl
|
sta vbl
|
||||||
|
|
||||||
|
lda enable_music
|
||||||
|
bne :+
|
||||||
lda cur_frame
|
lda cur_frame
|
||||||
cmp #2
|
cmp #2
|
||||||
bcc :+
|
bcc :++
|
||||||
jsr sfx_play
|
jsr sfx_play
|
||||||
|
jmp :++
|
||||||
|
: jsr update_dialog
|
||||||
:
|
:
|
||||||
|
|
||||||
dec bmp_delay
|
dec bmp_delay
|
||||||
|
|
@ -1830,3 +1834,25 @@ txt_fade_out_offset:
|
||||||
lda timer_reached
|
lda timer_reached
|
||||||
beq :-
|
beq :-
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
update_dialog:
|
||||||
|
ldy #0
|
||||||
|
lda (text_ptr),y
|
||||||
|
bne :+
|
||||||
|
rts
|
||||||
|
:
|
||||||
|
; TODO
|
||||||
|
rts
|
||||||
|
|
||||||
|
dialog:.byte8
|
||||||
|
.byte 0, "are you ok?", 0
|
||||||
|
.byte 1, "... who are you?", 0
|
||||||
|
.byte 2, "thank goodness.\ni'm lilia from lance village.", 0
|
||||||
|
.byte 3, "having some kind of premonition,\ni came here to have a look.", 0
|
||||||
|
.byte 4, "suddenly,the area was enveloped\nby a light and you collapsed.", 0
|
||||||
|
.byte 5, "where am i?", 0
|
||||||
|
.byte 6, "this is the restaurant called y's.", 0
|
||||||
|
.byte 7, "there're monsters near.\nwe should go.", 0
|
||||||
|
.byte 8, "how about it,\ncan you stand up?", 0
|
||||||
|
.byte 9, "yeah,i'm alright.should we\ngo before the monsters come?", 0
|
||||||
|
.byte 10, "sure.", 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue