-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCrimes.bb
1384 lines (1370 loc) · 65 KB
/
Crimes.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;//////////////////////////////////////////////////////////////////////////////
;------------------------------ HARD TIME: SCENES -----------------------------
;//////////////////////////////////////////////////////////////////////////////
;---------------------------------------------------------------
;///////////////////// 52. COURT CASE //////////////////////////
;---------------------------------------------------------------
Function CourtCase()
;load setting
Loader(translate("Please Wait"),translate("Preparing Court Case"))
world=LoadAnimMesh("World/Courtroom/Courtroom.3ds")
For count=1 To 10
EntityTexture FindChild(world,"Crowd"+Dig$(count,10)),tCrowd,Rnd(0,3)
Next
sAtmos=LoadSound("Sound/Ambience/Crowd.wav")
;camera
cam=CreateCamera()
CameraViewport cam,0,0,GraphicsWidth(),GraphicsHeight()
camX#=50 : camY#=30 : camZ#=-80
PositionEntity cam,camX#,camY#,camZ#
camType=10 : camFoc=5
;pivots
camPivot=CreatePivot()
camPivX#=7 : camPivY#=19 : camPivZ#=127
PositionEntity camPivot,camPivX#,camPivY#,camPivZ#
dummy=CreatePivot()
;lighting
AmbientLight 200,200,200
LoadLighting()
;background noise
LoopSound sAtmos
chAtmos=PlaySound(sAtmos)
ChannelVolume chAtmos,0.1
;LOAD CHARACTERS
;calculate cast
no_plays=5
For cyc=1 To no_plays
pChar(cyc)=0
Next
pChar(1)=gamChar(slot) ;player
pChar(2)=promoAccuser ;accuser
pChar(3)=1 ;player's lawyer
pChar(4)=2 ;accuser's lawyer
pChar(5)=3 ;judge
GenerateCharacter(2,2)
GenerateCharacter(3,3)
;set locations
pX#(1)=-45 : pY#(1)=2 : pZ#(1)=10 : pA#(1)=-15
pX#(2)=55 : pY#(2)=2 : pZ#(2)=10 : pA#(2)=15
pX#(3)=-65 : pY#(3)=2 : pZ#(3)=7 : pA#(3)=-40
pX#(4)=75 : pY#(4)=2 : pZ#(4)=7 : pA#(4)=40
pX#(5)=7 : pY#(5)=19 : pZ#(5)=127 : pA#(5)=180
;load models
For cyc=1 To no_plays
p(cyc)=LoadAnimMesh("Characters/Models/Model"+Dig$(charModel(pChar(cyc)),10)+".3ds")
pSeq(cyc,601)=LoadAnimSeq(p(cyc),"Characters/Sequences/Standard01.3ds")
pSeq(cyc,602)=LoadAnimSeq(p(cyc),"Characters/Sequences/Standard02.3ds")
pSeq(cyc,603)=LoadAnimSeq(p(cyc),"Characters/Sequences/Standard03.3ds")
pSeq(cyc,604)=LoadAnimSeq(p(cyc),"Characters/Sequences/Standard04.3ds")
If cyc=<2 And (charInjured(pChar(cyc))>0 Or charHealth(pChar(cyc))<10)
pSeq(cyc,1)=ExtractAnimSeq(p(cyc),925,965,pSeq(cyc,602)) ;weary
Else
randy=Rnd(1,3)
If randy=1 Then pSeq(cyc,1)=ExtractAnimSeq(p(cyc),0,40,pSeq(cyc,601)) ;standing
If randy=2 Then pSeq(cyc,1)=ExtractAnimSeq(p(cyc),770,850,pSeq(cyc,604)) ;hands on hips
If randy=3 Then pSeq(cyc,1)=ExtractAnimSeq(p(cyc),860,940,pSeq(cyc,604)) ;folded arms
EndIf
randy=Rnd(1,3)
If randy=1 Then pSeq(cyc,2)=ExtractAnimSeq(p(cyc),755,835,pSeq(cyc,603)) ;speaking
If randy=2 Then pSeq(cyc,2)=ExtractAnimSeq(p(cyc),770,850,pSeq(cyc,604)) ;hands on hips
If randy=3 Then pSeq(cyc,2)=ExtractAnimSeq(p(cyc),860,940,pSeq(cyc,604)) ;folded arms
pSeq(cyc,3)=ExtractAnimSeq(p(cyc),1215,1255,pSeq(cyc,603)) ;sitting
ApplyCostume(cyc)
pEyes(cyc)=2 : pOldEyes(cyc)=-1
For limb=1 To 40
pScar(cyc,limb)=charScar(pChar(cyc),limb)
If pLimb(cyc,limb)>0 And pScar(cyc,limb)=>5
HideEntity pLimb(cyc,limb)
EndIf
Next
SeverLimbs(cyc)
For v=1 To weapList
HideEntity FindChild(p(cyc),weapFile$(v))
Next
HideEntity FindChild(p(cyc),"Barbell")
HideEntity FindChild(p(cyc),"Phone")
PositionEntity p(cyc),pX#(cyc),pY#(cyc),pZ#(cyc)
RotateEntity p(cyc),0,pA#(cyc),0
scaler#=charHeight(pChar(cyc))*0.0025
If cyc=5 Then scaler#=12*0.0025
ScaleEntity p(cyc),0.34+scaler#,0.34+scaler#,0.34+scaler#
If cyc=<4 Then Animate p(cyc),1,Rnd(0.1,0.3),pSeq(cyc,1),0
If cyc=5 Then Animate p(cyc),1,Rnd(0.1,0.3),pSeq(cyc,3),0
pState(cyc)=1 : pFoc(cyc)=0
Next
;point light
PointEntity light(1),p(5)
;RESET SITUATION
promoTim=-100 : promoStage=0
promoEffect=0 : promoVerdict=0
For count=1 To 10
promoReact(count)=0
Next
If gamWarrant(slot)=0 Then promoStage=2 : promoVerdict=2
;calculate fines
promoCash=gamMoney(slot)/5
If promoCash<100 Then promoCash=100
If promoCash>10000 Then promoCash=10000
promoCash=RoundOff(promoCash,100)
;frame ratings
Loader(translate("Please Wait"),translate("Preparing Court Case"))
timer=CreateTimer(30)
SeedRnd(MilliSecs())
;MAIN LOOP
foc=1 : oldfoc=foc
go=0 : gotim=-20 : keytim=0
While go=0
Cls
frames=WaitTimer(timer)
For framer=1 To frames
;counters
keytim=keytim-1
If keytim<1 Then keytim=0
;PORTAL
gotim=gotim+1
;speed-up's
If gotim>15 Then promoTim=promoTim+1
If promoTim>50 And keytim=0
If KeyDown(1) Or KeyDown(28) Or ButtonPressed() Then promoTim=promoTim+100 : keytim=10
EndIf
;leave
If promoStage=3 And promoTim>10200 Then go=1
;THEME FADING
If gotim>0
musicVol#=musicVol#-0.0025
If musicVol#=<0
If ChannelPlaying(chTheme)>0 Then StopChannel chTheme
musicVol#=0
EndIf
If ChannelPlaying(chTheme)>0 Then ChannelVolume chTheme,musicVol#
EndIf
;SPEAKING
For cyc=1 To no_plays
;change animation
If cyc=<4
If pSpeaking(cyc)=0 And pState(cyc)<>1 Then Animate p(cyc),1,Rnd(0.1,0.3),pSeq(cyc,1),10 : pState(cyc)=1
If pSpeaking(cyc) And pState(cyc)<>2 Then Animate p(cyc),1,Rnd(0.25,0.5),pSeq(cyc,2),10 : pState(cyc)=2
EndIf
;expressions
FacialExpressions(cyc)
Next
;CAMERA
Camera()
UpdateWorld
;OVERRIDE ANIMATION
If pFoc(5)>0 Then PointHead(5,pLimb(pFoc(5),1))
Next
RenderWorld 1
;DISPLAY
;reset expressions
oldFoc=camFoc
For cyc=1 To no_plays
pSpeaking(cyc)=0
Next
;introduce widescreen
If promoTim>0 And promoTim<10000
y#=60
If promoTim=<25 Then y#=PercentOf#(60,promoTim*4)
If promoTim=>9975 Then y#=PercentOf#(60,(10000-promoTim)*4)
Color 0,0,0 : Rect rX#(0),rY#(0),rX#(800),rY#(y#),1
y#=480
If promoTim=<25 Then y#=600-PercentOf#(120,promoTim*4)
If promoTim=>9975 Then y#=600-PercentOf#(120,(10000-promoTim)*4)
Color 0,0,0 : Rect rX#(0),rY#(y#),rX#(800),rY#(600),1
EndIf
;determine font
SetFont font(2)
If GraphicsWidth()<800 Then SetFont font(3)
If GraphicsWidth()>800 Then SetFont font(5)
If GraphicsWidth()>1024 Then SetFont font(6)
;OPENING LINE
If promoStage=0 And promoTim>25 And promoTim<325
Speak(5,2) : pFoc(5)=2
Outline(translate("We're gathered to hear the case against Prisoner"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST#. So, #SECOND#, what's the story?", CellName$(pChar(1)), charName$(pChar(2))),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>125 And promoReact(1)=0 Then PlaySound sMurmur : promoReact(1)=1
EndIf
;0. INTRO
If gamWarrant(slot)=0
If promoStage=2
If promoTim>25 And promoTim<325
Speak(5,3) : pFoc(5)=1
pEyes(1)=1 : pEyes(2)=3 : pEyes(3)=1 : pEyes(4)=3
Outline(translate("#FIRST#, this court has seen you accused", charName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST# and heard your defence...", Lower$(textCrime$(charCrime(gamChar(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>350 And promoTim<650
Speak(5,2) : pFoc(5)=0
Outline(translate("The trial has gone on quite long enough, so i'd"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("like to take this moment to deliver my verdict..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>700 And promoTim<1000
Speak(5,1) : pFoc(5)=1
If promoEffect=0 Then PlaySound sJury(Rnd(1,2)) : PlaySound sPaper : statTim(6)=-100 : promoEffect=1
Outline(translate("I find you GUILTY and sentence you to"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST# days in Southtown Correctional Facility!", charSentence(gamChar(slot))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>1025 And promoTim<1325
Speak(5,1) : pFoc(5)=1
Outline(translate("That may not be a 'long' time, but it will be"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("HARD time! You'll be lucky if you survive..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>1350 And promoTim<1650
Speak(5,2) : pFoc(5)=2
Outline(translate("I'm now handing you over to the wardens, and"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("they'll help you settle into your new home..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>1675 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;1. DISSENT
If gamWarrant(slot)=1
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# seems to have a problem with authority!", CellName$(pChar(1))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("He disrupts the system by ignoring my orders..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I'm not out of control - he's a control freak!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Nothing the prisoners do is ever enough for him..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("#FIRST#, i'm not here to do your job!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You should be able to handle your own prisoners..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("I've got my own rules to uphold - i haven't got"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("time for yours! Just try to be more tolerant..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("When the wardens tell you to do something, you"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("do it! You're in no position to disagree..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
charSentence(gamChar(slot))=charSentence(gamChar(slot))+1
promoEffect=1
EndIf
Outline(translate("I'm sentencing you to another day to make up for"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("the one you've wasted! Take it as a warning..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;2. GANG MEMBERSHIP
If gamWarrant(slot)=2
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# is a known member of '#SECOND#'", CellName$(pChar(1)), textGang$(charGang(gamChar(slot)))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("a gang which conspires against the prison system!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I've simply found my place in a community!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Our only agenda is to support each other..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You've got quite an imagination, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("This supposed 'gang' shouldn't affect your job..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,2) : pFoc(5)=2
Outline(translate("On the contrary, relationships can offer stability."),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Perhaps you need to find some friends of your own!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("I know that gang culture offers sanctuary, but"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("it comes at a deadly price and must be avoided!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : PlaySound sCash : statTim(7)=-100
If gamMoney(slot)>0 Then gamMoney(slot)=0
ChangeGang(gamChar(slot),0)
promoEffect=1
EndIf
Outline(translate("I have no choice but to seize your bank account"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and terminate your affiliation with the gang..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;3. TRYING TO ESCAPE
If gamWarrant(slot)=3
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# was caught out of his cell during", CellName$(pChar(1))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("lockdown! He was obviously trying to escape..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I wasn't trying to escape! I was making my way"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("back to my cell when this guy grabbed me..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You've got quite an imagination, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("An inmate can't just 'stroll' out of the prison..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,2) : pFoc(5)=2
Outline(translate("I see no evidence of an escape attempt here."),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("All you had to do was usher him to his cell..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("You've got no reason to be outside of your block"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("during lockdown! All it does is arouse suspicion..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
charSentence(gamChar(slot))=charSentence(gamChar(slot))+1
PlaySound sCash : statTim(7)=-100
If gamMoney(slot)>0 Then gamMoney(slot)=0
promoEffect=1
EndIf
Outline(translate("I have no choice but to seize your bank account"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and add another day for the one you've wasted..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;4. ILLEGAL ITEM
If gamWarrant(slot)=4
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
If weapHabitat(weapType(gamItem(slot)))=0
Outline(translate("#FIRST# was seen wielding a #SECOND#!", CellName$(pChar(1)), Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("A prisoner has no right to such weapons..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If weapHabitat(weapType(gamItem(slot)))>0
Outline(translate("#FIRST# was caught carrying a #SECOND#", CellName$(pChar(1)), Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("God knows what he had planned..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I found that #FIRST#, and was on my way to", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("report it to the wardens when they grabbed me!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("#FIRST#, there's no evidence to suggest", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("that this #FIRST# was used for any crime!", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("I can't punish this man over your suspicions!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Simply confiscate the item and leave it at that..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("A prisoner has no business carrying a"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST#! It just looks suspicious...", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(1,5)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("a day") Else sentence$=randy+translate(" days")
promoEffect=1
EndIf
Outline(translate("I'd like to nip this in the bud by adding"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST# to your sentence. Take it as a warning!", sentence$),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;5. DRUG ABUSE
If gamWarrant(slot)=5
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("This junkie has descended into a life of drug abuse!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("He cares more about his fix than rehabilitation..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I wasn't doing anything wrong! I was simply making"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("use of the medication that the prison provides..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You've got quite an imagination, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("There's a difference between 'using' and 'abusing'..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,2) : pFoc(5)=2
Outline(translate("I can't blame this man for taking the edge off"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("prison life! Just try to be more compassionate..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("That medication is there to be used - not abused!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You've done nothing to help your rehabilitation..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(1,5)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("a day") Else sentence$=translate("#FIRST# days", randy)
PlaySound sCash : statTim(7)=-100
gamMoney(slot)=gamMoney(slot)-promoCash
If charCrime(gamChar(slot))<3 Then charCrime(gamChar(slot))=3
promoEffect=1
EndIf
Outline(translate("I'm fining you $#FIRST#, and adding #SECOND# to", GetFigure$(promoCash), sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("make up for the ones you've spent in a stupor!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;6. TRADING ITEMS
If gamWarrant(slot)=6
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# was caught trading #SECOND#!", CellName$(pChar(1)), Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("He's turning prison life into a business..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I wasn't 'trading' that #FIRST#! It was a", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("simple exchange of resources between friends..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You've got quite an imagination, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("This man isn't trying to run a business empire..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,2) : pFoc(5)=2
Outline(translate("These men have already lost their freedom, and"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("no amount of possessions can't change that fact..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("You're not supposed to 'profit' from the prison"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("experience - you're supposed to be punished by it!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(1,5)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=randy+translate(" days")
PlaySound sCash : statTim(7)=-100
If gamMoney(slot)>0 Then gamMoney(slot)=0
If charCrime(gamChar(slot))<4 Then charCrime(gamChar(slot))=4
promoEffect=1
EndIf
Outline(translate("I sentence you to an extra #FIRST# to think about that,", sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and i must also seize the fortune that you've amassed..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;7. STEALING
If gamWarrant(slot)=7
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# was caught stealing a #SECOND#!", CellName$(pChar(1)), Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("The thief can't keep his hands to himself..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I didn't 'steal' that #FIRST#! I was just", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("trying to take back what was mine..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("#FIRST#, it's not my job to share", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("out the toys amongst the children!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("If an item comes between your prisoners, just"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("confiscate the damn thing and leave it at that..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("You're on a slippery slope, #FIRST#! I see", CellName$(pChar(1))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("you sinking back into a life of crime..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(1,5)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
PlaySound sCash : statTim(7)=-100
gamMoney(slot)=gamMoney(slot)-weapValue(weapType(gamItem(slot)))
If charCrime(gamChar(slot))<6 Then charCrime(gamChar(slot))=6
promoEffect=1
EndIf
Outline(translate("Perhaps another #FIRST# will straighten you out, and", sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("i also order you to pay $#FIRST# for a new #SECOND#...", GetFigure(weapValue(weapType(gamItem(slot)))), Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;8. ASSAULTING ANOTHER INMATE
If gamWarrant(slot)=8
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# is a particularly aggressive inmate and", CellName$(pChar(1))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("had to be restrained from harming the others!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I was forced to do the warden's job! It's anarchy"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("in there, so i constantly have to defend myself..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("#FIRST#, i'm not here to do your job!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You should be able to defuse the odd scuffle..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,2) : pFoc(5)=2
Outline(translate("I see no reason to punish this man over a bit of"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("roughhousing! Simply keep a close eye on him..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("Prison is a place of learning - not fighting!"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Violent behaviour doesn't show much progress..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(1,5)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
If charCrime(gamChar(slot))<8 Then charCrime(gamChar(slot))=8
promoEffect=1
EndIf
Outline(translate("Since you obviously need more time to think about"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("that, i'm adding another #FIRST# to your sentence!", sentence$),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;9. ASSAULTING A WARDEN
If gamWarrant(slot)=9
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST# has become so aggressive that even", CellName$(pChar(1))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("us wardens aren't safe from his outbursts!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I never tried to hurt anybody! I was just going"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("about my day and caught this guy in a bad mood..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("#FIRST#, i'm not here to do your job!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You should be able to control your own prisoners..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("The only thing that has taken a 'beating' here"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("is your ego! You should give as good as you get..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("The wardens are there for the safety of the"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("prisoners and shouldn't have to take their abuse!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(3,7)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
PlaySound sCash : statTim(7)=-100
gamMoney(slot)=gamMoney(slot)-promoCash
If charCrime(gamChar(slot))<8 Then charCrime(gamChar(slot))=8
promoEffect=1
EndIf
Outline(translate("Maybe another #FIRST# will calm you down, and", sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("i also order you to pay $#FIRST# in damages...", GetFigure$(promoCash)),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;10. ASSAULT WITH WEAPON
If gamWarrant(slot)=10
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("This animal was caught using a ")+Lower$(weapName$(weapType(gamItem(slot))))+translate(" as a"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("weapon! He intended to do some serious damage..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I didn't hurt anybody with that #FIRST#!", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("I just happened to be holding it at the time..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("Just because a man is carrying a #FIRST#,", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("it doesn't mean he plans to use it as a weapon!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("Stop being so melodramatic, and simply confiscate"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("such items before the situation turns violent..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("You shouldn't be fighting at all - let alone with"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("weapons! That #FIRST# could've killed someone...", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(5,10)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
promoEffect=1
EndIf
Outline(translate("This is extremely disturbing behaviour, and i"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("sentence you to an extra #FIRST# to address it...", sentence$),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;11. GRIEVOUS BODILY HARM
If gamWarrant(slot)=11
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("This animal beat #FIRST# so badly", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("that the poor man lost #FIRST#!", DescribeLimb$(gamVictim(slot))),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I never intended to hurt #FIRST#!", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("He lost #FIRST# when he fell on the ground...", DescribeLimb$(gamVictim(slot))),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You're being a drama queen, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST# was never in any serious danger...", charName$(gamVictim(slot))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("It sounds like nothing more than an accident."),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Just try to deal with it better next time..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("It's a miracle that #FIRST# survived!", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You're evidently a threat to your fellow inmates..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(5,10)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
PlaySound sCash : statTim(7)=-100
gamMoney(slot)=gamMoney(slot)-1000
If charCrime(gamChar(slot))<11 Then charCrime(gamChar(slot))=11
promoEffect=1
EndIf
Outline(translate("You deserve to be behind bars for another #FIRST#,", sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and i also order you to pay $#FIRST# in medical fees...", GetFigure$(1000)),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;12. ATTEMPTED MURDER
If gamWarrant(slot)=12
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("This animal viciously attacked #FIRST#", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and left the poor man fighting for his life!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I never intended to hurt #FIRST#!", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("It was a disagreement that got out of hand..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You're being a drama queen, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("#FIRST# was never in any serious danger...", charName$(gamVictim(slot))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("It sounds like nothing more than an accident."),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("Just try to deal with it better next time..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("It's a miracle that #FIRST# survived!", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("You're evidently a threat to your fellow inmates..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(5,10)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
PlaySound sCash : statTim(7)=-100
gamMoney(slot)=gamMoney(slot)-1000
If charCrime(gamChar(slot))<12 Then charCrime(gamChar(slot))=12
promoEffect=1
EndIf
Outline(translate("You deserve to be behind bars for another #FIRST#,", sentence$),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and i order you to pay $#FIRST# in medical fees...", GetFigure$(1000)),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;13. MURDER
If gamWarrant(slot)=13
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("This psycho viciously attacked #FIRST#", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("and succeeded in taking the poor man's life!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I didn't kill ")+charName$(gamVictim(slot))+translate("! I was there when it"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("happened, but i wasn't responsible for his death..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(translate("You just wanted a scapegoat, #FIRST#!", charName$(pChar(2))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("A fatality doesn't look good on anybody's record..."),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("The simple fact is that #FIRST# would", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("still be alive if you were doing your job!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("#FIRST#, you murdered #SECOND# because", CellName$(pChar(1)), charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("you have absolutely no respect for human life!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(7,14)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy
If randy=1 Then sentence$=translate("1 day") Else sentence$=translate("#FIRST# days", randy)
If charCrime(gamChar(slot))<14 Then charCrime(gamChar(slot))=14
promoEffect=1
EndIf
Outline(translate("You're a menace to society, and i don't want"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("to see you released for another #FIRST# yet...", sentence$),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
EndIf
;14. SERIAL MURDER
If gamWarrant(slot)=14
;statements
If promoStage=0
If promoTim>350 And promoTim<650
Speak(2,1)
Outline(translate("#FIRST#'s recent death is just one of", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("many that can be traced back to this psycho!"),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>450 And promoReact(2)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(2)=1
EndIf
If promoTim>675 And promoTim<975
Speak(1,1)
Outline(translate("I didn't kill #FIRST# or anybody else!", charName$(gamVictim(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("In fact, i was there to help save their lives..."),rX#(400),rY#(560),30,30,30,250,250,250)
If promoTim>775 And promoReact(3)=0 Then PlaySound sJury(Rnd(1,2)) : promoReact(3)=1
EndIf
If promoTim>1000 Then promoStage=1 : promoTim=300
EndIf
;positive verdict
If promoStage=2 And promoVerdict=1
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=2
Outline(charName$(pChar(2))+translate(", what were you doing while"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("all of these people were dropping dead?!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoStage=2 And promoTim>650 And promoTim<950 And promoVerdict=1
Speak(5,1) : pFoc(5)=2
Outline(translate("The simple fact is that these supposed victims"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("would all be alive if you were doing your job!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>950 Then promoStage=3 : promoTim=9975 : camFoc=1
EndIf
;negative verdict
If promoStage=2 And promoVerdict=2
If promoTim>325 And promoTim<625
Speak(5,1) : pFoc(5)=1
Outline(translate("One death on your hands can be explained away,"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("but several makes you a cold-blooded killer!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>650 And promoTim<950
Speak(5,1) : pFoc(5)=1
If promoEffect=0
PlaySound sPaper : statTim(6)=-100
randy=Rnd(10,20)
charSentence(gamChar(slot))=charSentence(gamChar(slot))+randy