1
;Copyright (c) 1990-2011 by Neil Dodwell
2
;Released with permission from Neil Dodwell under GPLv2
3
;See LICENSE file for full license text
21
waittalk: call delpointer
29
mov bx,offset cs:talklist
35
finishtalk: mov bx,persondata
43
notnexttalk: call redrawmainscrn
48
mov volumedirection,-1 ;fade (louder)
49
mov volumeto,0 ;up to 0 (max)
52
talklist: dw 273,320,157,198,getback1
53
dw 240,290,2,44,moretalk
94
Getpersframe proc near
144
mov volumedirection,1 ;quieter
145
mov volumeto,6 ;quite quiet!
157
Getpersontext proc near
188
canmore: cmp commandtype,215
193
alreadymore: mov ax,mousebutton
200
domoretalk: mov talkmode,2
205
notsecondpart: call dosometalk
226
dospeech: mov al,talkpos
246
cmp byte ptr [es:si],0
281
noplay1: mov pointermode,3
311
cmp byte ptr [es:si],0
313
cmp byte ptr [es:si],":"
315
cmp byte ptr [es:si],32
350
noplay2: mov pointermode,3
357
skiptalk2: inc talkpos
360
endheartalk: mov pointermode,0
365
watchtalk: mov al,talkpos
385
cmp byte ptr [es:si],0
433
cmp byte ptr [es:si],0
435
cmp byte ptr [es:si],":"
437
cmp byte ptr [es:si],32
462
skiptalk: inc talkpos
465
endwatchtalk: mov pointermode,0
482
hangloopq: push cx bx
490
mov bx,offset cs:quitlist
502
cmp bx,40 ;pause after speech ends
504
notspeaking: cmp mousebutton,0
508
finishconv: call delpointer
513
quitconv: call delpointer
519
quitlist: dw 273,320,157,198,getback1
539
cantredes: call blank
542
canredes: cmp commandtype,217
547
alreadyreds: mov ax,mousebutton
552
doredes: call delpointer