forked from LordMisfit/NR-IotDM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEVENTSMISC1.CON
More file actions
2342 lines (2277 loc) · 75.6 KB
/
EVENTSMISC1.CON
File metadata and controls
2342 lines (2277 loc) · 75.6 KB
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
onevent EVENT_SELECTWEAPON
ifvare mainmenu 1
{
ifvare mainmenusubmenu 256
{
ifvare mainmenuselection 15
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 11
subvar RANDOMCHARACTEROPTION 1
ifvarl RANDOMCHARACTEROPTION 1 setvar RANDOMCHARACTEROPTION 16
state setreturn-1
break
case 12
addvar RANDOMCHARACTEROPTION 1
ifvarg RANDOMCHARACTEROPTION 16 setvar RANDOMCHARACTEROPTION 1
state setreturn-1
break
endswitch
}
else
{
state setreturn-1
state menuerrorsound
}
}
else
{
ifvare mainmenusubmenu 2 // Toggles Menu
{
ifvare mainmenupage 0
{
ifvare mainmenuselection 14
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 11
subvar INVULNREFLECTRATE 100
ifvarl INVULNREFLECTRATE 0 setvar INVULNREFLECTRATE 0
savegamevar INVULNREFLECTRATE
sound PISTOL_BODYHIT
state setreturn-1
break
case 12
addvar INVULNREFLECTRATE 100
ifvarg INVULNREFLECTRATE 2000 setvar INVULNREFLECTRATE 2000
savegamevar INVULNREFLECTRATE
sound PISTOL_BODYHIT
state setreturn-1
break
endswitch
}
else
ifvare mainmenuselection 15
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 11
ifvare INVULNHEALTHDRAIN 2001 setvar INVULNHEALTHDRAIN 2000
else
{
subvar INVULNHEALTHDRAIN 100
ifvarl INVULNHEALTHDRAIN 0 setvar INVULNHEALTHDRAIN 0
}
savegamevar INVULNHEALTHDRAIN
sound PISTOL_BODYHIT
state setreturn-1
break
case 12
ifvare INVULNHEALTHDRAIN 2001 nullop
else ifvare INVULNHEALTHDRAIN 2000 setvar INVULNHEALTHDRAIN 2001
else
{
addvar INVULNHEALTHDRAIN 100
ifvarg INVULNHEALTHDRAIN 2000 setvar INVULNHEALTHDRAIN 2000
}
savegamevar INVULNHEALTHDRAIN
sound PISTOL_BODYHIT
state setreturn-1
break
endswitch
}
else
ifvare mainmenuselection 16
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 11
subvar ENEMYRANDOMIZERCHANCE 100
ifvarl ENEMYRANDOMIZERCHANCE 0 setvar ENEMYRANDOMIZERCHANCE 0
savegamevar ENEMYRANDOMIZERCHANCE
sound PISTOL_BODYHIT
state setreturn-1
break
case 12
addvar ENEMYRANDOMIZERCHANCE 100
ifvarg ENEMYRANDOMIZERCHANCE 1000 setvar ENEMYRANDOMIZERCHANCE 1000
savegamevar ENEMYRANDOMIZERCHANCE
sound PISTOL_BODYHIT
state setreturn-1
break
endswitch
}
else
{
state setreturn-1
state menuerrorsound
}
}
// else { }
}
else
{
state setreturn-1
state menuerrorsound
}
}
}
else
{
ifvare atm_id -1
{
ifvare shop_id -1
{
ifvare weapontoggleselect 0
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 11
ifvare weaponcount 0
{
ifvare VEHICLEID -1 state shift-inusecharacter-left
else
{
state menuerrorsound
redefinequote 410 ^10CANNOT CHANGE CHARACTERS WHILE IN A VEHICLE!
setvarvar fta fta_normal setvar ftq 410
}
}
state setreturn-1
break
case 12
ifvare weaponcount 0
{
ifvare VEHICLEID -1 state shift-inusecharacter-right
else
{
state menuerrorsound
redefinequote 410 ^10CANNOT CHANGE CHARACTERS WHILE IN A VEHICLE!
setvarvar fta fta_normal setvar ftq 410
}
}
state setreturn-1
break
endswitch
}
}
else
{
state getpartime
addvar mpresstime 1
ifvarvare temppartime mpresstime nullop else
{
getinput[THISACTOR].bits temp
shiftvarr temp 8
andvar temp 0xF
switch temp
case 0
setvar shopamount 1
sound MENU_CURSOR
break
case 1
setvar shopamount 10
sound MENU_CURSOR
break
case 2
setvar shopamount 20
sound MENU_CURSOR
break
case 3
setvar shopamount 30
sound MENU_CURSOR
break
case 4
setvar shopamount 40
sound MENU_CURSOR
break
case 5
setvar shopamount 50
sound MENU_CURSOR
break
case 6
setvar shopamount 60
sound MENU_CURSOR
break
case 7
setvar shopamount 70
sound MENU_CURSOR
break
case 8
setvar shopamount 80
sound MENU_CURSOR
break
case 9
setvar shopamount 90
sound MENU_CURSOR
break
case 10
setvar shopamount 100
sound MENU_CURSOR
break
case 11
subvar shopamount 10
ifvarl shopamount 1 addvar shopamount 100
sound MENU_CURSOR
break
case 12
addvar shopamount 10
ifvarg shopamount 100 subvar shopamount 100
sound MENU_CURSOR
break
endswitch
state setreturn-1
}
}
}
else
{
state setreturn-1
}
}
endevent
// The actual buttons. Any one should do as long as you set param to the digit and call 'enterdigit'.
onevent EVENT_WEAPKEY10
ifvare mainmenu 0
{
setvar param 0
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY1
ifvare mainmenu 0
{
setvar param 1
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY2
ifvare mainmenu 0
{
setvar param 2
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY3
ifvare mainmenu 0
{
setvar param 3
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY4
ifvare mainmenu 0
{
setvar param 4
ifvare atm_id -1
{
ifvare pad_id -1
{
ifvare DEATHMISSILESUSABLE? 1
{
ifvare player[THISACTOR].curr_weapon 3
{
state getpartime
addvar mpresstime 1
ifvarvare temppartime mpresstime nullop else
{
ifvare CHAINGUNMODE 0
{
setvar CHAINGUNMODE 1
redefinequote 1334 ^10CHAINGUN SHOOTS RPG ROCKETS!
setvarvar fta fta_normal setvar ftq 1334
sound SELECT_WEAPON
}
else
ifvare CHAINGUNMODE 1
{
setvar CHAINGUNMODE 2
redefinequote 1334 ^21CHAINGUN SHOOTS LASER BLASTS!
setvarvar fta fta_normal setvar ftq 1334
sound SELECT_WEAPON
}
else
ifvare CHAINGUNMODE 2
{
setvar CHAINGUNMODE 0
redefinequote 1334 ^21CHAINGUN SHOOTS NORMAL BULLETS!
setvarvar fta fta_normal setvar ftq 1334
sound SELECT_WEAPON
}
}
}
setvarvar mpresstime temppartime
}
}
else
{
setvar MISCARRAYID 44 setactorvar[MISCARRAYID].MISCARRAYID_AMOUNT 6 // pad-button6timer
state enterdigit
}
}
else // ifvarn atm_id -1
{
ifvare atm_mode 1 state enterdigitatmacct
else ifvare atm_mode 2 state enterdigitatmpin
else ifvare atm_mode 4 state enterdigitatmwithdraw
else ifvare atm_mode 5 state enterdigitatmdeposit
else ifvare atm_mode 7 state enterdigitatmwiremoney
else ifvare atm_mode 8 state enterdigitatmwireacct
else state setreturn-1
}
// state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY5
ifvare mainmenu 0
{
setvar param 5
ifvare atm_id -1
{
ifvare pad_id -1
{
ifvare DEATHMISSILESUSABLE? 1
{
ifvare player[THISACTOR].curr_weapon 4
{
state getpartime
addvar mpresstime 1
ifvarvare temppartime mpresstime nullop else
{
ifvare DEATHMISSILEMODE 0
{
setvar DEATHMISSILEMODE 1
redefinequote 1334 ^10DEATHSTROKE MISSILES PRIMED!
setvarvar fta fta_normal setvar ftq 1334
sound SELECT_WEAPON
}
else
ifvare DEATHMISSILEMODE 1
{
setvar DEATHMISSILEMODE 0
redefinequote 1334 ^21DEATHGATE MISSILES PRIMED!
setvarvar fta fta_normal setvar ftq 1334
sound SELECT_WEAPON
}
}
}
setvarvar mpresstime temppartime
}
}
else
{
setvar MISCARRAYID 45 setactorvar[MISCARRAYID].MISCARRAYID_AMOUNT 6 // pad-button6timer
state enterdigit
}
}
else // ifvarn atm_id -1
{
ifvare atm_mode 1 state enterdigitatmacct
else ifvare atm_mode 2 state enterdigitatmpin
else ifvare atm_mode 4 state enterdigitatmwithdraw
else ifvare atm_mode 5 state enterdigitatmdeposit
else ifvare atm_mode 7 state enterdigitatmwiremoney
else ifvare atm_mode 8 state enterdigitatmwireacct
else state setreturn-1
}
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY6
ifvare mainmenu 0
{
setvar param 6
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY7
ifvare mainmenu 0
{
setvar param 7
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY8
ifvare mainmenu 0
{
setvar param 8
state keypress
}
else state setreturn-1
endevent
onevent EVENT_WEAPKEY9
ifvare mainmenu 0
{
setvar param 9
state keypress
}
else state setreturn-1
endevent // this makes reseting the code entry easier.
onevent EVENT_DISPLAYSBAR // WARNING: Unsynchronized Event
// Sound based alterations
// One-Liners (to try to prevent extra 'one-liner quotes' from showing while a character is jabbing a one-liner :P)
// Leave in this state
ifsound JIBBED_ACTOR1 state setonelineron
else ifsound JIBBED_ACTOR2 state setonelineron
else ifsound JIBBED_ACTOR3 state setonelineron
else ifsound JIBBED_ACTOR4 state setonelineron
else ifsound JIBBED_ACTOR5 state setonelineron
else ifsound JIBBED_ACTOR6 state setonelineron
else ifsound JIBBED_ACTOR7 state setonelineron
else ifsound JIBBED_ACTOR8 state setonelineron
else ifsound JIBBED_ACTOR9 state setonelineron
else ifsound JIBBED_ACTOR10 state setonelineron
else ifsound JIBBED_ACTOR11 state setonelineron
else ifsound JIBBED_ACTOR12 state setonelineron
else ifsound JIBBED_ACTOR13 state setonelineron
else ifsound JIBBED_ACTOR14 state setonelineron
else ifsound JIBBED_ACTOR15 state setonelineron
else ifsound MDEVSPEECH state setonelineron
else ifsound SMACKED state setonelineron
else ifsound BONUS_SPEECH3 state setonelineron
else ifsound JACK_ONELINER01 state setonelineron
else ifsound JACK_ONELINER02 state setonelineron
else ifsound JACK_ONELINER03 state setonelineron
else ifsound JACK_ONELINER04 state setonelineron
else ifsound JACK_ONELINER05 state setonelineron
else ifsound JACK_ONELINER06 state setonelineron
else ifsound JACK_ONELINER07 state setonelineron
else ifsound JACK_ONELINER08 state setonelineron
else ifsound JACK_ONELINER09 state setonelineron
else ifsound JACK_ONELINER10 state setonelineron
else ifsound JACK_ONELINER11 state setonelineron
else ifsound JACK_ONELINER12 state setonelineron
else ifsound JACK_ONELINER13 state setonelineron
else ifsound JACK_ONELINER14 state setonelineron
else ifsound JACK_ONELINER15 state setonelineron
else ifsound JACK_ONELINER16 state setonelineron
else ifsound JACK_ONELINER17 state setonelineron
else ifsound JACK_ONELINER18 state setonelineron
else ifsound BUBSY_ONELINER01 state setonelineron
else ifsound BUBSY_ONELINER02 state setonelineron
else ifsound BUBSY_ONELINER03 state setonelineron
else ifsound BUBSY_ONELINER04 state setonelineron
else ifsound BUBSY_ONELINER05 state setonelineron
else ifsound BUBSY_ONELINER06 state setonelineron
else ifsound BUBSY_ONELINER07 state setonelineron
else ifsound BUBSY_ONELINER08 state setonelineron
else ifsound BUBSY_ONELINER09 state setonelineron
else ifsound BUBSY_ONELINER10 state setonelineron
else ifsound BUBSY_ONELINER11 state setonelineron
else ifsound BUBSY_ONELINER12 state setonelineron
else ifsound BUBSY_ONELINER13 state setonelineron
else ifsound BUBSY_ONELINER14 state setonelineron
else ifsound BUBSY_ONELINER15 state setonelineron
else ifsound BUBSY_ONELINER16 state setonelineron
else ifsound BUBSY_ONELINER17 state setonelineron
else ifsound BUBSY_ONELINER18 state setonelineron
// Ami
else ifsound WANG_ONELINER01 state setonelineron
else ifsound WANG_ONELINER02 state setonelineron
else ifsound WANG_ONELINER03 state setonelineron
else ifsound WANG_ONELINER04 state setonelineron
else ifsound WANG_ONELINER05 state setonelineron
else ifsound WANG_ONELINER06 state setonelineron
else ifsound WANG_ONELINER07 state setonelineron
else ifsound WANG_ONELINER08 state setonelineron
else ifsound WANG_ONELINER09 state setonelineron
else ifsound WANG_ONELINER10 state setonelineron
else ifsound WANG_ONELINER11 state setonelineron
else ifsound WANG_ONELINER12 state setonelineron
else ifsound WANG_ONELINER13 state setonelineron
else ifsound WANG_ONELINER14 state setonelineron
else ifsound WANG_ONELINER15 state setonelineron
else ifsound WANG_ONELINER16 state setonelineron
else ifsound WANG_ONELINER17 state setonelineron
else ifsound WANG_ONELINER18 state setonelineron
else ifsound ESSENCE_ONELINER01 state setonelineron
else ifsound ESSENCE_ONELINER02 state setonelineron
else ifsound ESSENCE_ONELINER03 state setonelineron
else ifsound ESSENCE_ONELINER04 state setonelineron
else ifsound ESSENCE_ONELINER05 state setonelineron
else ifsound ESSENCE_ONELINER06 state setonelineron
else ifsound ESSENCE_ONELINER07 state setonelineron
else ifsound ESSENCE_ONELINER08 state setonelineron
else ifsound ESSENCE_ONELINER09 state setonelineron
else ifsound ESSENCE_ONELINER10 state setonelineron
else ifsound ESSENCE_ONELINER11 state setonelineron
else ifsound ESSENCE_ONELINER12 state setonelineron
else ifsound ESSENCE_ONELINER13 state setonelineron
else ifsound ESSENCE_ONELINER14 state setonelineron
else ifsound ESSENCE_ONELINER15 state setonelineron
else ifsound ESSENCE_ONELINER16 state setonelineron
else ifsound ESSENCE_ONELINER17 state setonelineron
else ifsound ESSENCE_ONELINER18 state setonelineron
else ifsound TED_ONELINER01 state setonelineron
else ifsound TED_ONELINER02 state setonelineron
else ifsound TED_ONELINER03 state setonelineron
else ifsound TED_ONELINER04 state setonelineron
else ifsound TED_ONELINER05 state setonelineron
else ifsound TED_ONELINER06 state setonelineron
else ifsound TED_ONELINER07 state setonelineron
else ifsound TED_ONELINER08 state setonelineron
else ifsound TED_ONELINER09 state setonelineron
else ifsound TED_ONELINER10 state setonelineron
else ifsound TED_ONELINER11 state setonelineron
else ifsound TED_ONELINER12 state setonelineron
else ifsound TED_ONELINER13 state setonelineron
else ifsound TED_ONELINER14 state setonelineron
else ifsound TED_ONELINER15 state setonelineron
else ifsound TED_ONELINER16 state setonelineron
else ifsound TED_ONELINER17 state setonelineron
else ifsound TED_ONELINER18 state setonelineron
else ifsound LISA_ONELINER01 state setonelineron
else ifsound LISA_ONELINER02 state setonelineron
else ifsound LISA_ONELINER03 state setonelineron
else ifsound LISA_ONELINER04 state setonelineron
else ifsound LISA_ONELINER05 state setonelineron
else ifsound LISA_ONELINER06 state setonelineron
else ifsound LISA_ONELINER07 state setonelineron
else ifsound LISA_ONELINER08 state setonelineron
else ifsound LISA_ONELINER09 state setonelineron
else ifsound LISA_ONELINER10 state setonelineron
else ifsound LISA_ONELINER11 state setonelineron
else ifsound LISA_ONELINER12 state setonelineron
else ifsound LISA_ONELINER13 state setonelineron
else ifsound LISA_ONELINER14 state setonelineron
else ifsound LISA_ONELINER15 state setonelineron
else ifsound LISA_ONELINER16 state setonelineron
else ifsound LISA_ONELINER17 state setonelineron
else ifsound LISA_ONELINER18 state setonelineron
else ifsound LISA_ONELINERTANK01 state setonelineron
else ifsound LISA_ONELINERTANK02 state setonelineron
else ifsound LISA_ONELINERTANK03 state setonelineron
else ifsound LISA_ONELINERTANK04 state setonelineron
else ifsound CYBANIS_ONELINER01 state setonelineron
else ifsound CYBANIS_ONELINER02 state setonelineron
else ifsound CYBANIS_ONELINER03 state setonelineron
else ifsound CYBANIS_ONELINER04 state setonelineron
else ifsound CYBANIS_ONELINER05 state setonelineron
else ifsound CYBANIS_ONELINER06 state setonelineron
else ifsound CYBANIS_ONELINER07 state setonelineron
else ifsound CYBANIS_ONELINER08 state setonelineron
else ifsound CYBANIS_ONELINER09 state setonelineron
else ifsound CYBANIS_ONELINER10 state setonelineron
else ifsound CYBANIS_ONELINER11 state setonelineron
else ifsound CYBANIS_ONELINER12 state setonelineron
else ifsound CYBANIS_ONELINER13 state setonelineron
else ifsound CYBANIS_ONELINER14 state setonelineron
else ifsound CYBANIS_ONELINER15 state setonelineron
else ifsound CYBANIS_ONELINER16 state setonelineron
else ifsound CYBANIS_ONELINER17 state setonelineron
else ifsound CYBANIS_ONELINER18 state setonelineron
else ifsound NETHRA_ONELINER01 state setonelineron
else ifsound NETHRA_ONELINER02 state setonelineron
else ifsound NETHRA_ONELINER03 state setonelineron
else ifsound NETHRA_ONELINER04 state setonelineron
else ifsound NETHRA_ONELINER05 state setonelineron
else ifsound NETHRA_ONELINER06 state setonelineron
else ifsound NETHRA_ONELINER07 state setonelineron
else ifsound NETHRA_ONELINER08 state setonelineron
else ifsound NETHRA_ONELINER09 state setonelineron
else ifsound NETHRA_ONELINER10 state setonelineron
else ifsound NETHRA_ONELINER11 state setonelineron
else ifsound NETHRA_ONELINER12 state setonelineron
else ifsound NETHRA_ONELINER13 state setonelineron
else ifsound NETHRA_ONELINER14 state setonelineron
else ifsound NETHRA_ONELINER15 state setonelineron
else ifsound NETHRA_ONELINER16 state setonelineron
else ifsound NETHRA_ONELINER17 state setonelineron
else ifsound NETHRA_ONELINER18 state setonelineron
else ifsound CHRISTINA_ONELINER01 state setonelineron
else ifsound CHRISTINA_ONELINER02 state setonelineron
else ifsound CHRISTINA_ONELINER03 state setonelineron
else ifsound CHRISTINA_ONELINER04 state setonelineron
else ifsound CHRISTINA_ONELINER05 state setonelineron
else ifsound CHRISTINA_ONELINER06 state setonelineron
else ifsound CHRISTINA_ONELINER07 state setonelineron
else ifsound CHRISTINA_ONELINER08 state setonelineron
else ifsound CHRISTINA_ONELINER09 state setonelineron
else ifsound CHRISTINA_ONELINER10 state setonelineron
else ifsound CHRISTINA_ONELINER11 state setonelineron
else ifsound CHRISTINA_ONELINER12 state setonelineron
else ifsound CHRISTINA_ONELINER13 state setonelineron
else ifsound CHRISTINA_ONELINER14 state setonelineron
else ifsound CHRISTINA_ONELINER15 state setonelineron
else ifsound CHRISTINA_ONELINER16 state setonelineron
else ifsound CHRISTINA_ONELINER17 state setonelineron
else ifsound CHRISTINA_ONELINER18 state setonelineron
// Paula
// Lori
else ifsound MINAKO_ONELINER01 state setonelineron
else ifsound MINAKO_ONELINER02 state setonelineron
else ifsound MINAKO_ONELINER03 state setonelineron
else ifsound MINAKO_ONELINER04 state setonelineron
else ifsound MINAKO_ONELINER05 state setonelineron
else ifsound MINAKO_ONELINER06 state setonelineron
else ifsound MINAKO_ONELINER07 state setonelineron
else ifsound MINAKO_ONELINER08 state setonelineron
else ifsound MINAKO_ONELINER09 state setonelineron
else ifsound MINAKO_ONELINER10 state setonelineron
else ifsound MINAKO_ONELINER11 state setonelineron
else ifsound MINAKO_ONELINER12 state setonelineron
else ifsound MINAKO_ONELINER13 state setonelineron
else ifsound MINAKO_ONELINER14 state setonelineron
else ifsound MINAKO_ONELINER15 state setonelineron
else ifsound MINAKO_ONELINER16 state setonelineron
else ifsound MINAKO_ONELINER17 state setonelineron
else ifsound MINAKO_ONELINER18 state setonelineron
// "Mystery Lady"
else ifsound MAKEN_ONELINER01 state setonelineron
else ifsound MAKEN_ONELINER02 state setonelineron
else ifsound MAKEN_ONELINER03 state setonelineron
else ifsound MAKEN_ONELINER04 state setonelineron
else ifsound MAKEN_ONELINER05 state setonelineron
else ifsound MAKEN_ONELINER06 state setonelineron
else ifsound MAKEN_ONELINER07 state setonelineron
else ifsound MAKEN_ONELINER08 state setonelineron
else ifsound MAKEN_ONELINER09 state setonelineron
else ifsound MAKEN_ONELINER10 state setonelineron
else ifsound MAKEN_ONELINER11 state setonelineron
else ifsound MAKEN_ONELINER12 state setonelineron
else ifsound MAKEN_ONELINER13 state setonelineron
else ifsound MAKEN_ONELINER14 state setonelineron
else ifsound MAKEN_ONELINER15 state setonelineron
else ifsound MAKEN_ONELINER16 state setonelineron
else ifsound MAKEN_ONELINER17 state setonelineron
else ifsound MAKEN_ONELINER18 state setonelineron
else setvar ONELINERINPLAY? 0
// Others to leave in this state
ifsound DUKE_HIT_STRIPPER1
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_HIT_STRIPPER1
}
ifsound DUKE_HIT_STRIPPER2
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_HIT_STRIPPER2
}
ifsound DUKE_TIP1
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_TIP1
}
ifsound DUKE_TIP2
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_TIP2
}
ifsound DUKE_BOOBY
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_BOOBY
}
ifsound DUKE_GRUNT
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GRUNT
}
ifsound DUKE_BREATHING
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_BREATHING
}
ifsound DUKE_EXHALING
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_EXHALING
}
ifsound GENERIC_AMBIENCE13 // "Damn, those alien bastards are gonna pay for shooting up my ride!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE13
}
ifsound GENERIC_AMBIENCE14 // "What, there's only one of you?!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE14
}
ifsound GENERIC_AMBIENCE15 // "I think I'll climb aboard!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE15
}
ifsound GENERIC_AMBIENCE16 // "Hmmm, that's on DooMed space marine!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE16
}
ifsound GENERIC_AMBIENCE17 // "Hmm, got no time to play with myself!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE17
}
ifsound GENERIC_AMBIENCE20 // "Hmm, looks like I have the con!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE20
}
ifsound GENERIC_AMBIENCE23 // "Damn, that's the second time those alien bastards shot up my ride!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GENERIC_AMBIENCE23
}
ifsound WAR_AMBIENCE5 // "This is a force to be reckoned with!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE5
}
ifsound WAR_AMBIENCE6 // "I ain't afraid of no 'Quake'!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE6
}
ifsound WAR_AMBIENCE7 // "Terminated!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE7
}
ifsound WAR_AMBIENCE8 // "Born to be Wild!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE8
}
ifsound WAR_AMBIENCE9 // "Nobody Steals Our Chicks, and Lives!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE9
}
ifsound WAR_AMBIENCE10 // "It's Time to Kick Ass and Chew Bubblegum, and I'm all Outta Gum!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WAR_AMBIENCE10
}
ifsound SUPERMARKET // "Looks like cleanup on aisle 4!"
{
ifvarn CHARACTERSELECTED? 1 stopsound SUPERMARKET
}
ifsound MOUSEANNOY // "Damn, that was annoying!"
{
ifvarn CHARACTERSELECTED? 1 stopsound MOUSEANNOY
}
ifsound BOOKEM // "Hmm, book'em, danno!"
{
ifvarn CHARACTERSELECTED? 1 stopsound BOOKEM
}
ifsound SUPERMARKETCRY // "I'm not crying over this!"
{
ifvarn CHARACTERSELECTED? 1 stopsound SUPERMARKETCRY
}
ifsound EATFOOD // "No way I'm eating this sh*t!"
{
ifvarn CHARACTERSELECTED? 1 stopsound EATFOOD
}
ifsound MAKEMYDAY // "Go ahead, make my day!"
{
ifvarn CHARACTERSELECTED? 1 stopsound MAKEMYDAY
}
ifsound WITNESSSTAND // "So help me, Duke!"
{
ifvarn CHARACTERSELECTED? 1 stopsound WITNESSSTAND
}
ifsound VACATIONSPEECH // "Somebody's gonna freakin' pay for ruining my vacation!"
{
ifvarn CHARACTERSELECTED? 1 stopsound VACATIONSPEECH
}
ifsound YIPPEE1 // "Yippie Ky-aee, mother*bleep*er!"
{
ifvarn CHARACTERSELECTED? 1 stopsound YIPPEE1
}
ifsound YOHOO1 //
{
ifvarn CHARACTERSELECTED? 1 stopsound YOHOO1
}
ifsound YOHOO2 //
{
ifvarn CHARACTERSELECTED? 1 stopsound YOHOO2
}
ifsound PARTY_SPEECH // "My kinda party, wish I had time..."
{
ifvarn CHARACTERSELECTED? 1 stopsound PARTY_SPEECH
}
ifsound POSTAL_SPEECH // "Time for me to go postal!"
{
ifvarn CHARACTERSELECTED? 1 stopsound POSTAL_SPEECH
}
ifsound DOGROOMSPEECH // "Nobody messes with my meat!"
{
ifvarn CHARACTERSELECTED? 1 stopsound DOGROOMSPEECH
}
ifsound AREA51SPEECH // "Nobody jacks with our independance!"
{
ifvarn CHARACTERSELECTED? 1 stopsound AREA51SPEECH
}
ifsound SNAKESPEECH // "I guess he didn't escape from L.A!"
{
ifvarn CHARACTERSELECTED? 1 stopsound SNAKESPEECH
}
ifsound GETBACKTOWORK // "Get back to work, you slacker!"
{
ifvarn CHARACTERSELECTED? 1 stopsound GETBACKTOWORK
}
ifsound FOUNDJONES // "We meet again, Dr. Jones!"
{
ifvarn CHARACTERSELECTED? 1 stopsound FOUNDJONES
}
ifsound DUKE_KILLED3 // "Ugh, this sucks!"
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_KILLED3
}
ifsound DUKE_KILLED5 // "This really pisses me off!"
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_KILLED5
}
ifsound SECRETLEVELSND
{
ifvare CHARACTERSELECTED? 5
{
stopsound SECRETLEVELSND
globalsound SECRETLEVELSND2
}
}
ifsound KTIT
{
ifvarn CHARACTERSELECTED? 1 stopsound KTIT
}
ifsound GENERIC_AMBIENCE5 // Phone busy-tone
{
ifvare CHARACTERSELECTED? 5
{
stopsound GENERIC_AMBIENCE5
displayrandvar RNDVOICE 3
ifvare RNDVOICE 0
{
sound WANG_PHONEUSE1
redefinequote 340 ^15Higa: Helllllo...? Anybody there??
ifvare oldskoolmode 0 userquote 340
}
ifvare RNDVOICE 1
{
sound WANG_PHONEUSE2
redefinequote 340 ^15Higa: Hello? Is your refrigerator running? Better catch it! Hahahahaha!!
ifvare oldskoolmode 0 userquote 340
}
ifvare RNDVOICE 2
{
sound WANG_PHONEUSE3
redefinequote 340 ^15Higa: Hello? Bowl-a-rama? You got 16-pound balls? Ehahahaha!
ifvare oldskoolmode 0 userquote 340
}
ifvare RNDVOICE 3
{
sound WANG_PHONEUSE4
redefinequote 340 ^15Higa: Hello? Is uh, "Big Bottom" there? First name "Iva"? "Iva Big Bottom?" Hahahahaha!
ifvare oldskoolmode 0 userquote 340
}
}
}
ifsound DUKE_TALKTOBOSSFALL
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_TALKTOBOSSFALL
}
ifsound DUKE_CRACK
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_CRACK
}
ifsound DUKE_CRACK2
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_CRACK2
}
ifsound BONUS_SPEECH1
{
ifvarn CHARACTERSELECTED? 1 stopsound BONUS_SPEECH1
}
ifsound BONUS_SPEECH2
{
ifvarn CHARACTERSELECTED? 1 stopsound BONUS_SPEECH2
}
ifsound BONUS_SPEECH3
{
ifvarn CHARACTERSELECTED? 1 stopsound BONUS_SPEECH3
}
ifsound BONUS_SPEECH4
{
ifvarn CHARACTERSELECTED? 1 stopsound BONUS_SPEECH4
}
ifsound JIBBED_ACTOR1
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR1
}
ifsound JIBBED_ACTOR2
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR2
}
ifsound JIBBED_ACTOR3
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR3
}
ifsound JIBBED_ACTOR4
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR4
}
ifsound JIBBED_ACTOR5
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR5
}
ifsound JIBBED_ACTOR6
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR6
}
ifsound JIBBED_ACTOR7
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR7
}
ifsound JIBBED_ACTOR8
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR8
}
ifsound JIBBED_ACTOR9
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR9
}
ifsound JIBBED_ACTOR10
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR10
}
ifsound JIBBED_ACTOR11
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR11
}
ifsound JIBBED_ACTOR12
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR12
}
ifsound JIBBED_ACTOR13
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR13
}
ifsound JIBBED_ACTOR14
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR14
}
ifsound JIBBED_ACTOR15
{
ifvarn CHARACTERSELECTED? 1 stopsound JIBBED_ACTOR15
}
ifsound DUKE_GETWEAPON1
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GETWEAPON1
}
ifsound DUKE_GETWEAPON2
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GETWEAPON2
}
ifsound DUKE_GETWEAPON3
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GETWEAPON3
}
ifsound DUKE_GETWEAPON4
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GETWEAPON4
}
ifsound DUKE_GETWEAPON6
{
ifvarn CHARACTERSELECTED? 1 stopsound DUKE_GETWEAPON6
}
//
setvar CHARACTERARRAY 1