-
Notifications
You must be signed in to change notification settings - Fork 216
/
Copy patheventParser.as
3415 lines (3383 loc) · 159 KB
/
eventParser.as
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
//Used to jump the fuck out of pregnancy scenarios for menus.
const EVENT_PARSER_ESCAPE:int = 800;
const PHYLLA_GEMS_HUNTED_TODAY:int = 893;
function eventParser(eventNo:Number):void {
//Clear banked buttons
trace("EVENT CODE: " + eventNo);
//Clear sprite if not in combat
if(!inCombat() && eventNo != 5007) spriteSelect(-1);
//Clear pic if not in combat
if(!inCombat() && eventNo != 5007) clearImages();
//Reset newgame buttons till back at camp
newGameText.removeEventListener(MouseEvent.CLICK, mainMenu);
newGameBG.removeEventListener(MouseEvent.CLICK, mainMenu);
newGameText.addEventListener(MouseEvent.CLICK, newGameGo);
newGameBG.addEventListener(MouseEvent.CLICK, newGameGo);
newGameText.text = "New Game";
if(eventNo != 1) {
hideMenus();
}
/*if(eventNo == 1000 && gameState == 1 && menuLoc == 1) {
menuLoc = 0;
outputText("\n\n", false);
if(!combatRoundOver()) enemyAI();
else outputText(monster.capitalA + monster.short + " is defeated!");
return;
}*/
if(eventNo < 1000) doSystem(eventNo);
if(eventNo >=1000 && eventNo < 2000) doItems(eventNo);
if(eventNo >=2000 && eventNo < 5000) doEvent(eventNo);
if(eventNo >=5000 && eventNo < 7000) doCombat(eventNo);
if(eventNo >= 10000 && eventNo < 10999) doCreation(eventNo);
if(eventNo >= 11000) doDungeon(eventNo);
}
function doSystem(eventNo:Number):void {
//@ camp
//(clear data/appearance buttons if not at camp
if(eventNo != 1) {
hideMenus();
}
if(eventNo == 1) {
nameBox.visible = false;
if(gameState == 1) {
menuLoc = 0;
eventParser(5000);
return;
}
//Clear restriction on item overlaps if not in combat
plotFight =false;
if(inDungeon) {
menuLoc = 0;
dungeonRoom(dungeonLoc);
return;
}
menuLoc = 0;
flags[10] = 0;
camp();
}
if(eventNo == 2) doExplore();
if(eventNo == 3) exploreDesert();
if(eventNo == 4) exploreForest();
if(eventNo == 5) exploreLake();
if(eventNo == 6) exploreMountain();
//Farm
if(eventNo == 7) {}
//Jojo
if(eventNo == 8) {}
//Key locations menu
if(eventNo == 9) {}
//Masturbate
if(eventNo == 10) {
if(player.hasStatusAffect("dysfunction") >= 0) {
outputText("You'd love to masturbate, but your sexual organs' numbness makes it impossible. You'll have to find something to fuck to relieve your lust.", true);
doNext(1);
return;
}
masturbateGo();
}
//Rest
if(eventNo == 11) {
rest();
}
//Explore new zones
if(eventNo == 12) tryDiscover();
//Pass an hour
if(eventNo == 13) {
outputText("An hour passes...\n", true);
timeQ = 1;
goNext(1, false);
}
if(eventNo == 14) {
outputText("Two hours pass...\n", true);
timeQ = 2;
goNext(2, false);
}
if(eventNo == 15) {
outputText("Four hours pass...\n", true);
timeQ = 4;
goNext(4, false);
}
if(eventNo == 16) {
outputText("Eight hours pass...\n", true);
timeQ = 8;
goNext(8, false);
}
if(eventNo == 17) {
outputText("", true);
goNext(24, false);
}
//toggle debug
if(eventNo == 18) {
if(debug) debug = false;
else debug = true;
mainMenu();
dataBG.visible = true;
dataText.visible = true;
}
//Load menu
if(eventNo == 19 ) {
loadScreen();
}
//Save Menu
if(eventNo == 20) {
saveScreen();
}
if(eventNo == -20)
{
saveGameObject(null, true);
}
if(eventNo == -21)
{
openSave();
showStats();
statScreenRefresh();
}
//Save Slot 1
if(eventNo == 21) {
saveGame("CoC_1");
}
//Save SLot 2
if(eventNo == 22) {
saveGame("CoC_2")
}
//Save SLot 3
if(eventNo == 23) {
saveGame("CoC_3")
}
//Save SLot 4
if(eventNo == 24) {
saveGame("CoC_4")
}
//Save SLot 5
if(eventNo == 25) {
saveGame("CoC_5")
}
//Save SLot 6
if(eventNo == 26) {
saveGame("CoC_6")
}
//Save SLot 7
if(eventNo == 27) {
saveGame("CoC_7")
}
//Save SLot 8
if(eventNo == 28) {
saveGame("CoC_8")
}
//Save SLot 9
if(eventNo == 29) {
saveGame("CoC_9")
}
if(eventNo == 30) {
var f:MouseEvent;
saveLoad(f);
}
//Load Slot 1
if(eventNo == 31) {
if(loadGame("CoC_1")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 1 Loaded!", true);
}
}
//Load Slot 2
if(eventNo == 32) {
if(loadGame("CoC_2")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 2 Loaded!", true);
}
}
//Load Slot 3
if(eventNo == 33) {
if(loadGame("CoC_3")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 3 Loaded!", true);
}
}
//Load Slot 4
if(eventNo == 34) {
if(loadGame("CoC_4")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 4 Loaded!", true);
}
}
//Load Slot 5
if(eventNo == 35) {
if(loadGame("CoC_5")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 5 Loaded!", true);
}
}
//Load Slot 6
if(eventNo == 36) {
if(loadGame("CoC_6")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 6 Loaded!", true);
}
}
//Load Slot 7
if(eventNo == 37) {
if(loadGame("CoC_7")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 7 Loaded!", true);
}
}
//Load Slot 8
if(eventNo == 38) {
if(loadGame("CoC_8")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 8 Loaded!", true);
}
}
//Load Slot 9
if(eventNo == 39) {
if(loadGame("CoC_9")) {
doNext(1);
showStats();
statScreenRefresh();
outputText("Slot 9 Loaded!", true);
}
}
//Use wait command
if(eventNo == 40) {
//See camp.as
doWait();
}
//Use sleep command
if(eventNo == 41) {
//in camp.as
doSleep();
}
//Choose masturbate options
if(eventNo == 42) {
masturbateMenu();
}
//Jojo as a cumsleeve
if(eventNo == 43) {
corruptCampJojo();
return;
}
//Gain +5 Str due to level
if(eventNo == 44) {
stats(5,0,0,0,0,0,0,0);
outputText("Your muscles feel significantly stronger from your time adventuring.", true);
doNext(116);
}
//Gain +5 Toughness due to level
if(eventNo == 45) {
stats(0,5,0,0,0,0,0,0);
trace("HP: " + player.HP + " MAX HP: " + maxHP());
statScreenRefresh();
outputText("You feel tougher from all the fights you have endured.", true);
doNext(116);
}
//Gain +5 Intelligence due to level
if(eventNo == 46) {
stats(0,0,0,5,0,0,0,0);
outputText("Your time spent fighting the creatures of this realm has sharpened your wit.", true);
doNext(116);
}
//Gain +5 speed due to level
if(eventNo == 47) {
stats(0,0,5,0,0,0,0,0);
outputText("Your time in combat has driven you to move faster.", true);
doNext(116);
}
//Use Onahole
if(eventNo == 48) {
onaholeUse();
}
//Use Stimbelt
if(eventNo == 49) {
stimBeltUse();
}
if(eventNo == 50) {
deluxeOnaholeUse();
}
if(eventNo == 51) {
allNaturalOnaholeUse();
}
if(eventNo == 52) {
allNaturalStimBeltUse();
}
//Strong Back Chosen (25 Str perk)
if(eventNo == 53) {
if(player.hasPerk("Strong Back") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Strong Back",0,0,0,0,"Enables fourth item slot.");
outputText("You choose the 'Strong Back' perk, enabling a fourth item slot.", true);
itemSlot4.unlocked = true;
doNext(1);
}
//Perk Strong Back 2 Chosen (50 Str Perk)
if(eventNo == 54) {
if(player.hasPerk("Strong Back 2: Strong Harder") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Strong Back 2: Strong Harder",0,0,0,0, "Enables fifth item slot.");
outputText("You choose the 'Strong Back 2: Strong Harder' perk, enabling a fifth item slot.", true);
itemSlot5.unlocked = true;
doNext(1);
}
//Perk Tank Chosen
if(eventNo == 55) {
if(player.hasPerk("Tank") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Tank",0,0,0,0,"Raises max HP by 50.");
outputText("You choose the 'Tank' perk, giving you an additional 50 hp!", true);
doNext(1);
stats(0,0,0,0,0,0,0,0);
}
//Perk Regeneration
if(eventNo == 56) {
if(player.hasPerk("Regeneration") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Regeneration",0,0,0,0,"Regenerates 2 HP/hour and 1 HP/round.");
outputText("You choose the 'Regeneration' perk, allowing you to heal 2 HP every hour and 1 HP every round of combat!", true);
doNext(1);
}
//Perk Evade CHosen
if(eventNo == 57) {
if(player.hasPerk("Evade") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Evade",0,0,0,0,"Increases avoidance chances.");
outputText("You choose the 'Evade' perk, allowing you to avoid enemy attacks more often!", true);
doNext(1);
}
//Perk Runner Chosen
if(eventNo == 58) {
if(player.hasPerk("Runner") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Runner",0,0,0,0,"Increases chances of escaping combat.");
outputText("You choose the 'Runner' perk, allowing you to run away much faster!", true);
doNext(1);
}
//Fertility Perk Chosen
if(eventNo == 59) {
if(player.hasPerk("Fertility+") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Fertility+",15,1.75,0,0,"Increases pregnancy chance by 15% and cum volume by up to 50%.");
outputText("You choose the 'Fertility+' perk, making it easier to get pregnant by 15% and increase your cum volume by up to 50%(if appropriate)!", true);
doNext(1);
}
//Hot Blooded Perk Chosen
if(eventNo == 60) {
if(player.hasPerk("Hot Blooded") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Hot Blooded",20,0,0,0, "Raises minimum lust by up to 20.");
outputText("You choose the 'Hot Blooded' perk. As a result of your enhanced libido, your lust no longer drops below 20!", true);
doNext(1);
}
//Corrupted Libido Perk Chosen
if(eventNo == 61) {
if(player.hasPerk("Corrupted Libido") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Corrupted Libido",20,0,0,0, "Reduces lust gain by 10%.");
outputText("You choose the 'Corrupted Libido' perk. As a result of your body's corruption, you've become a bit harder to turn on. (Lust gain reduced by 10%!)", true);
doNext(1);
}
//Seduction perk Chosen
if(eventNo == 62) {
if(player.hasPerk("Seduction") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Seduction",0,0,0,0,"Upgrades your tease attack, making it more effective.");
outputText("You choose the 'Seduction' perk, replacing the 'tease' attack with a more powerful 'seduction' variant.", true);
doNext(1);
}
//Display Credits Menu
if(eventNo == 63) {
creditsScreen();
}
//Display title
if(eventNo == 64) {
mainMenu();
}
//turn on/off autosave
if(eventNo == 65) {
var e:MouseEvent;
if(player.autoSave) player.autoSave = false;
else player.autoSave = true;
saveLoad(e);
}
if(eventNo == 70) {
//perkPicking();
}
//Places menu
if(eventNo == 71) {
places(true);
}
//Precision perk Chosen
if(eventNo == 72) {
if(player.hasPerk("Precision") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Precision",0,0,0,0,"Reduces enemy damage resistance by 10.");
outputText("You've chosen the 'Precision' perk. Thanks to your intelligence, you're now more adept at finding and striking an enemy's weak points, reducing their damage resistance by 10. If your intelligence ever drops below 25 you'll no longer be smart enough to benefit from this perk.", true);
doNext(1);
}
//Nymphomania Chosen
if(eventNo == 73) {
if(player.hasPerk("Nymphomania") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Nymphomania",0,0,0,0,"Raises minimum lust by up to 30.");
outputText("You've chosen the 'Nymphomania' perk. Due to the incredible amount of corruption you've been exposed to, you've begun to live in a state of minor constant arousal. Your lust will never drop below 30.", true);
doNext(1);
}
//Camp followers screen
if(eventNo == 74) {
doNext(1);
campFollowers();
return;
}
//Spellpower Chosen
if(eventNo == 75) {
if(player.hasPerk("Spellpower") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Spellpower",0,0,0,0,"Increases the effects of your spells by up to 50%.");
outputText("You've chosen the 'Spellpower' perk. Thanks to your sizeable intellect and willpower, you are able to more effectively use magic.", true);
doNext(1);
}
//Mage Chosen
if(eventNo == 76) {
if(player.hasPerk("Mage") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Mage",0,0,0,0,"Increases the strength of your spells even more than 'Spellpower', up to 100%.");
outputText("Thanks in part to your incredible willpower and intellect, you are able to focus your magical abilities even more keenly, boosting your spells effects by up to 100%.", true);
doNext(1);
}
if(eventNo == 77) {
if(player.hasPerk("Double Attack") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Double Attack",0,0,0,0,"Allows you to perform two melee attacks per round.");
outputText("Thanks to your incredible speed, you can land two regular attacks in one round!", true);
doNext(1);
}
if(eventNo == 78) {
if(player.hasPerk("Acclimation") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Acclimation",0,0,0,0,"Reduces the rate at which your lust increases.");
outputText("Your body is now more acclimated to its heightened lusts!", true);
doNext(1);
}
if(eventNo == 79) {
deluxeDildo();
return;
}
if(eventNo == 80) {
exploreDeepwoods();
return;
}
if(eventNo == 81) {
howToPlay();
return;
}
if(eventNo == 82) {
deleteScreen();
return;
}
if(eventNo == 83) {
flags[63] = "CoC_1";
eventParser(92);
return;
}
if(eventNo == 84) {
flags[63] = "CoC_2";
eventParser(92);
return;
}
if(eventNo == 85) {
flags[63] = "CoC_3";
eventParser(92);
return;
}
if(eventNo == 86) {
flags[63] = "CoC_4";
eventParser(92);
return;
}
if(eventNo == 87) {
flags[63] = "CoC_5";
eventParser(92);
return;
}
if(eventNo == 88) {
flags[63] = "CoC_6";
eventParser(92);
return;
}
if(eventNo == 89) {
flags[63] = "CoC_7";
eventParser(92);
return;
}
if(eventNo == 90) {
flags[63] = "CoC_8";
eventParser(92);
return;
}
if(eventNo == 91) {
flags[63] = "CoC_9";
eventParser(92);
return;
}
if(eventNo == 92) {
confirmDelete();
return;
}
if(eventNo == 93) {
purgeTheMutant();
return;
}
if(eventNo == 94) {
//located in exploration.as
debugOptions();
return;
}
if(eventNo == 95) {
//located in exploration.as
exploreHighMountain();
return;
}
//Toggle Easy Mode
if(eventNo == 96) {
if(flags[99] == 0) flags[99] = 1;
else flags[99] = 0;
mainMenu();
dataBG.visible = true;
dataText.visible = true;
}
//located in exploration.as
if(eventNo == 97) {
explorePlains();
return;
}
//Perk: Thunderous Strikes
if(eventNo == 98) {
if(player.hasPerk("Thunderous Strikes") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Thunderous Strikes",0,0,0,0,"+20% 'Attack' damage while strength is at or above 80.");
outputText("You choose the 'Thunderous Strikes' perk, increasing normal damage by 20% while your strength is over 80.", true);
doNext(1);
}
//Perk: "Weapon Mastery"
if(eventNo == 99) {
if(player.hasPerk("Weapon Mastery") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Weapon Mastery",0,0,0,0,"After getting so good at carrying large objects, you find large weapons much easier to handle (Double 'Large' weapon bonuses when equipped).");
outputText("You choose the 'Weapon Mastery' perk, doubling the effectiveness of large weapons.", true);
if(player.weaponPerk == "Large") player.weaponAttack *= 2;
doNext(1);
}
//Perk: Tank 2
if(eventNo == 100) {
if(player.hasPerk("Tank 2") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Tank 2",0,0,0,0,"Your maximum HP is raised by an extra 1 point per point of toughness!");
outputText("You choose the 'Tank 2' perk, granting an extra maximum HP for each point of toughness.", true);
statScreenRefresh();
HPChange(player.tou, false);
doNext(1);
}
//Perk: Regeneration 2
if(eventNo == 101) {
if(player.hasPerk("Regeneration 2") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Regeneration 2",0,0,0,0,"You regenerate an additional 3HP per round and heal faster out of combat");
outputText("You choose the 'Regeneration 2' perk, quadrupling the effectiveness of your regeneration abilities.", true);
doNext(1);
}
//Speedy Recovery
if(eventNo == 102) {
if(player.hasPerk("Speedy Recovery") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Speedy Recovery",0,0,0,0,"Thanks to your impressive metabolism you regain fatigue 50% faster.");
outputText("You choose the 'Speedy Recovery' perk, boosting your fatigue recovery rate!", true);
doNext(1);
}
//Perk: Agility
if(eventNo == 103) {
if(player.hasPerk("Agility") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Agility",0,0,0,0,"When wearing light or medium armor its effectiveness is increased by a portion of your speed.");
outputText("You choose the 'Agility' perk, increasing the effectiveness of Light/Medium armors by a portion of your speed.", true);
if(player.armorPerk == "Light") player.armorDef += Math.round(player.spe/10);
else if(player.armorPerk == "Medium") player.armorDef += Math.round(player.spe/15);
doNext(1);
}
//Channeling
if(eventNo == 104) {
if(player.hasPerk("Channeling") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Channeling",0,0,0,0,"You've gotten even better at spellcasting, gaining up to 50% more effectiveness!");
outputText("You choose the 'Channeling' perk, boosting the strength of your spellcasting!", true);
doNext(1);
}
//Medicine
if(eventNo == 105) {
if(player.hasPerk("Medicine") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Medicine",0,0,0,0,"You now have a 15% chance per round of cleansing poisons/drugs from your body.");
outputText("You choose the 'Medicine' perk, giving you a chance to remove debilitating poisons automatically!", true);
doNext(1);
}
//Well Adjusted
if(eventNo == 106) {
if(player.hasPerk("Well Adjusted") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Well Adjusted",0,0,0,0,"You gain half as much lust as time passes in Mareth.");
outputText("You choose the 'Well Adjusted' perk, reducing the amount of lust you naturally gain over time while in this strange land!", true);
doNext(1);
}
//Masochism
if(eventNo == 107) {
if(player.hasPerk("Masochist") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Masochist",0,0,0,0,"You have a masochism fetish and take 30 percent less damage, but you're lust goes up when struck (Requires 60+ Libido).");
outputText("You choose the 'Masochist' perk, reducing the damage you take but raising your lust each time! This perk only functions while your libido is at or above 60!", true);
doNext(1);
}
//Sadism
if(eventNo == 108) {
if(player.hasPerk("Sadist") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Sadist",0,0,0,0,"You have a sadism fetish and strike harder, but become aroused by the act of dealing damage.");
outputText("You choose the 'Sadist' perk, increasing damage by 20 percent but causing you to gain lust from dealing damage.", true);
doNext(1);
}
//Arousing Aura
if(eventNo == 109) {
if(player.hasPerk("Arousing Aura") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Arousing Aura",0,0,0,0,"While your corruption is at or above 70, you exude an aura of lust.");
outputText("You choose the 'Arousing Aura' perk, causing you to radiate an aura of lust when your corruption is over 70.", true);
doNext(1);
}
//Resistance
if(eventNo == 110) {
if(player.hasPerk("Resistance") >= 0) {
outputText("You already have that perk!", true);
doNext(70);
return;
}
player.createPerk("Resistance",0,0,0,0,"You've become resistant to the myriad ways your lust can be increased.");
outputText("You choose the 'Resistance' perk, reducing the rate at which your lust increases by 10%.", true);
doNext(1);
}
if(eventNo == 111) {
exploreSwamp();
return;
}
if(eventNo == 112) {
if(flags[273] == 0) flags[273] = 1;
else flags[273] = 0;
mainMenu();
return;
}
if(eventNo == 113) {
if(flags[305] == 0) flags[305] = 1;
else flags[305] = 0;
mainMenu();
return;
}
if(eventNo == 114) {
aCb.visible = false;
applyPerk(tempPerk);
return;
}
if(eventNo == 115) {
aCb.visible = false;
eventParser(1);
return;
}
if(eventNo == 116) {
perkBuyMenu();
return;
}
if(eventNo == 117) {
eventTester();
return;
}
if(eventNo == 118) {
if(!monster.hasVagina()) monster.createVagina();
monster.vaginas[0].vaginalLooseness = 3;
monster.ass.analLooseness = 3;
outputText(eventTestInput.text, true, true);
simpleChoices("Again",117,"",0,"",0,"",0,"Quit",64);
eventTestInput.x = -10207.5;
eventTestInput.y = -1055.1;
return;
}
if(eventNo == 119) {
eventTestInput.x = -10207.5;
eventTestInput.y = -1055.1;
eventParser(64);
return;
}
if(eventNo == 120) {
campSlavesMenu();
return;
}
if(eventNo == 121) {
campLoversMenu();
return;
}
}
function doNext(eventNo:Number):void {
//Prevent new events in combat from automatically overwriting a game over.
if(b1Text.text.indexOf("Game Over") != -1) {
trace("Do next setup cancelled by game over");
return;
}
funcs = new Array();
args = new Array();
mainText.htmlText = currentText;
scrollBar.update();
simpleChoices("Next", eventNo, "", 0, "", 0, "", 0, "", 0);
}
//Argument is time passed. Pass to event parser if nothing happens.
function goNext(time:Number, defNext:Boolean):Boolean {
//Update system time
//date = new Date();
//trace ("MONTH: " + date.month + " DATE: " + date.date + " MINUTES: " + date.minutes);
//outputText("", true);
var needNext:Boolean = false;
//used to store if hair needs to display
var tempNext:Boolean = false;
var textHolder:String = "";
var threshhold:Number = 0;
var temp2:Number = 0;
while(timeQ > threshhold) {
hours++;
if(player.cumMultiplier > 19999) player.cumMultiplier = 19999;
if(player.ballSize > 400) player.ballSize = 400;
if(player.hasPerk("Strong Back") >= 0 && !itemSlot4.unlocked) {
itemSlot4.unlocked = true;
}
if(player.hasPerk("Strong Back 2: Strong Harder") >= 0 && !itemSlot5.unlocked) {
itemSlot5.unlocked = true;
}
if(flags[SOCK_COUNTER] > 0) {
flags[SOCK_COUNTER]--;
if(flags[SOCK_COUNTER] < 0) flags[SOCK_COUNTER] = 0;
if(flags[SOCK_COUNTER] > 24) flags[SOCK_COUNTER] = 24;
}
if(flags[PHYLLA_EGG_LAYING] > 0 && rand(5) == 0 && flags[ANT_KIDS] < 5000) flags[ANT_KIDS]++;
if(flags[PHYLLA_DRIDER_INCUBATION] > 1) {
flags[PHYLLA_DRIDER_INCUBATION]--;
if(flags[PHYLLA_DRIDER_INCUBATION] < 1) flags[PHYLLA_DRIDER_INCUBATION] = 1;
}
if(flags[HEL_PREGNANCY_INCUBATION] > 0) {
flags[HEL_PREGNANCY_INCUBATION]--;
if(flags[HEL_PREGNANCY_INCUBATION] == 0) flags[HEL_PREGNANCY_INCUBATION] = 1;
}
if(izmaFollower() && flags[IZMA_NO_COCK] == 0 && flags[TIMES_IZMA_DOMMED_LATEXY] > 0 && latexGooFollower() && flags[IZMA_X_LATEXY_DISABLED] == 0) flags[GOO_FLUID_AMOUNT] = 100;
genderCheck();
player.weaponAttack = fixedDamage(player.weaponName);
applyArmorStats(player.armorName,false);
if(player.hasStatusAffect("noJojo") >= 0) player.removeStatusAffect("noJojo");
regeneration(false);
player.hoursSinceCum++;
//Super cumbuilding activate!
if(player.hasPerk("Marae's Gift - Profractory") >= 0) player.hoursSinceCum += 2;
if(player.hasPerk("Fera's Boon - Alpha") >= 0) player.hoursSinceCum += 2;
timeQ--;
//Normal
if(flags[ARIAN_EGG_COUNTER] > 0) flags[ARIAN_EGG_COUNTER]++;
if(player.hasPerk("Well Adjusted") < 0) {
//Raise lust
stats(0,0,0,0,0,0,player.lib * 0.04,0, false);
//Double lust rise if lusty.
if(player.hasPerk("Lusty") >= 0) stats(0,0,0,0,0,0,player.lib * 0.02,0, false);
}
//Well adjusted perk
else {
//Raise lust
stats(0,0,0,0,0,0,player.lib * 0.02,0);
//Double lust rise if lusty.
if(player.hasPerk("Lusty") >= 0) stats(0,0,0,0,0,0,player.lib * 0.01,0, false);
}
//Rathazul crafting countdown
if(flags[274] > 1) {
flags[274]--;
if(flags[274] < 1) flags[274] = 1;
if(flags[274] > 300) flags[274] = 24;
}
//Urta Letters
if(flags[NEED_URTA_LETTER] == 1 && hours == 6) getUrtaLetter();
//Urta Pregs
if(flags[URTA_INCUBATION] > 0) flags[URTA_INCUBATION]++;
if(flags[KELLY_INCUBATION] > 0) {
flags[KELLY_INCUBATION]--;
if(flags[KELLY_INCUBATION] < 1) {
flags[KELLY_INCUBATION] = 0;
kellyPopsOutARunt();
needNext = true;
}
}
//Ember fuck cooldown
if(player.statusAffectv1("ember fuck cooldown") > 0) {
player.addStatusValue("ember fuck cooldown",1,-1);
if(player.statusAffectv1("ember fuck cooldown") < 1) player.removeStatusAffect("ember fuck cooldown");
}
//Ember napping
if(player.hasStatusAffect("Ember Napping") >= 0) {
player.addStatusValue("Ember Napping",1,-1);
if(player.statusAffectv1("Ember Napping") <= 0) player.removeStatusAffect("Ember Napping");
}
if(flags[283] == 0 && sophieFollower() && flags[SOPHIES_DAUGHTERS_DEBIMBOED] == 1) {
sophieDaughterDebimboUpdate();
needNext = true;
}
if(bimboSophie() || sophieFollower()) {
if(flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] > 0) {
flags[SOPHIE_DAUGHTER_MATURITY_COUNTER]--;
if(flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] < 1) flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] = 1;
if(flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] == 325) {
outputText("\nYour cute little harpy is still just a little chick. Her body is small and childlike, and her feathers are fluffy and poofy, making your little girl look like she has puffballs for arms and legs. Already looking to be four or five years old, the baby harpy is just as energetic as a human child of that age. She flutters around and scrambles from one thing to another. Thankfully, the rambunctious little darling runs out of explosive energy quickly, suddenly falling to the ground into a fluffy heap for a quick nap.\n");
needNext = true;
}
if(flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] == 200) {
outputText("\nYour sweet little harpy is starting to grow up! Her body is much bigger than it was before, though her baby fat has spread out over her larger form and looks more lean and lanky then the big-butted harpies you're used to seeing. Her feathers have even started to smooth out, though she is still quite the fluffball. You're sure that it won't be too long before the curves harpies are known for start to appear. The energy she exuded as a little chick still drives her to 'terrorize' your camp, scampering around, fluttering from place to place and getting into all kinds of things. Your fluffy daughter seems to be able to stay active for longer than before, though you still see her curl up for a nap every so often.\n");
needNext = true;
}
if(flags[SOPHIE_DAUGHTER_MATURITY_COUNTER] == 100) {
outputText("\nLooking around for your developing daughter, you find that she and your ");
if(bimboSophie()) outputText("boisterous bimbo ");
else outputText("mature harpy ");
outputText("are spending some quality mother-daughter time together. Sophie is helping the young girl with her make up, showing her how to use that golden luststick that her people are so fond of. You're not too sure how appropriate that is for your daughter, but then again, this is what harpies do right? Aside from the lusty lipstick, your live-in");
if(bimboSophie()) outputText(" bimbo ");
else outputText(", avian girlfriend ");
outputText("moves on to her hair and nails, all the while gabbing on and on about you, and about all the daughters she plans to have.");
outputText("\n\nYour daughter is growing up so fast! Already, her body is developing, breasts budding into supple bumps on her chest. Her hips are starting to swell into the trademark birthing hips and round grabbable ass harpies are famous for.\n");
needNext = true;
}
}
if(flags[SOPHIE_EGG_COUNTER] > 0) {
flags[SOPHIE_EGG_COUNTER]--;
if(flags[SOPHIE_EGG_COUNTER] <= 0) {
sophiesEggHatches();
needNext = true;
}
}
//PREGNANCY COUNTAN
if(flags[SOPHIE_INCUBATION] > 0) {
flags[SOPHIE_INCUBATION]--;
//Sophie Pregnancy Stage Alerts
//Small Bump*
if(flags[SOPHIE_INCUBATION] == 150) {
if(bimboSophie()) {
outputText("\nSophie sits by herself on your comfy bedroll. The feathery female seems to have taken a liking to your place of rest. Your bird-brained love-slave clearly desires to be as close to you, or at least your fatherly scent, as much as possible. Lost in her lusty fantasies, she caresses the gentle bump in her belly, the telltale sign that your virile seed has worked its magic on her egg-bearing womb. One of her hands idly slips between her legs, fingers gently playing with her wet snatch as her other rubs her tummy.");
outputText("\n\nFinally noticing your gaze on her body, Sophie looks up at you with an amorous smile, her thick, fertile thighs spreading and showing off her tight puffy pussy to you. The blond bimbo puts her pregnant body on display for you, to show you the result of your virility and to entice you into playing with her hot, lusty form.\n");
}
else {
outputText("\nSophie sits by herself on your comfy bedroll. The feathery female seems to have taken a liking to your place of rest. Your well-endowed monster-girl lover clearly desires to be as close to you, or at least your fatherly scent, as much as possible. Lost in her lusty fantasies, she caresses the gentle bump in her belly, the telltale sign that your virile seed has worked its magic on her egg-bearing womb. One of her hands idly slips between her legs, fingers gently playing with her wet snatch as her other rubs her tummy.");
outputText("\n\nFinally noticing your gaze on her body, Sophie looks up at you with an amorous smile, her thick, fertile thighs spreading and showing off her tight puffy pussy to you. The matron puts her pregnant body on display for you, to show you the result of your virility and to entice you into playing with her hot, lusty form.\n");
}
needNext = true;
stats(0,0,0,0,0,0,3,0);
}
//Medium Bump*
else if(flags[SOPHIE_INCUBATION] == 120) {
if(bimboSophie()) {
outputText("\nAs usual, Sophie is laying on your bedroll. Each day the fertile swell in her stomach seems to grow bigger with the egg inside. The positively pregnant woman idly strokes her egg-bearing belly with motherly affection. She even coos to the growing bump as she caresses her body, clearly loving the fact that she is pregnant with another egg. It's not long before she catches sight of you; a big silly smile breaking across her puffy lips as she hurriedly gets up from your blankets and bounds over to you. With each step, her voluptuous body jiggles, and bounces, her big bountiful bosom heaving and shaking, her ripe round rump quivering like jelly as she sways her fecund hips for you.");
outputText("\n\n\"<i>There you are [name]! Like, look at me! Your egg is getting <b>soooo</b> big inside me! Like, just look at how big and sexy I am!</i>\" the bimbo brained woman tweets as she presses her curvaceous body against you, making sure you can feel her big soft tits and growing baby bump. From how her body feels, you're sure her already bountiful bimbo-like breasts have only gotten bigger thanks to her pregnancy. \"<i>Thanks for getting me all pregnant and stuff!</i>\"\n");
}
else {
outputText("\nAs usual, Sophie is laying on your bedroll. Each day the fertile swell in her stomach seems to grow bigger with the egg inside. The positively pregnant woman idly strokes her egg-bearing belly with motherly affection. She even coos to the growing bump as she caresses her body, clearly loving the fact that she is pregnant with another egg. It's not long before she catches sight of you; a big silly smile breaking across her lips as she hurriedly gets up from your blankets and bounds over to you. With each step, her voluptuous body jiggles, and bounces, her big bountiful bosom heaving and shaking, her ripe round rump quivering like jelly as she sways her fecund hips for you.");
outputText("\n\n\"<i>Hey there [name]. Look at me! That egg has gotten so big inside me. You have no idea how good this feels,</i>\" the confident woman tweets as she presses her curvaceous body against you, making sure you can feel her big soft tits and growing baby bump. From how her body feels, you're sure her already bountiful breasts have only gotten bigger thanks to her pregnancy. \"<i>Maybe in a month or so, I'll let you do it all over again...</i>\"\n");
}
stats(0,0,0,0,0,0,5,0);
needNext = true;
}
//Big Belly Bump*