-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathinitialize.js
More file actions
2925 lines (2833 loc) · 162 KB
/
initialize.js
File metadata and controls
2925 lines (2833 loc) · 162 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
var Hinted = {};
var Check={};
var ChecksLockedBy={};
var ChecksPutInLogicBy = {};
var Player={};
var CouldHave={};
var Person={};
var Map={};
var UI={};
var Location_Logic ={};
var Location_Locked_Logic={};
var Location_Locked_Logic2={};
var Location_PutIn_Logic={};
var Locked_Logic={};
var Locked_Logic2={};
var PutIn_Logic={};
var Location_Peek={};
var Location_Access={};
var Location_Could_Access={};
var Location_Could_Peek={};
var Logic={};
var Shop_Logic = {};
var Location ={};
var gs = [];
var Area = [];
var Known = [];
var paused = true;
var pausedToD = true;
var timerInitialized = false;
var woth1Locations = [];
var woth2Locations = [];
var woth3Locations = [];
var woth4Locations = [];
var woth5Locations = [];
var woth6Locations = [];
var woth7Locations = [];
var woth8Locations = [];
var thisIsHinted = false;
var hintedInput = "";
var removeBKFlag = false;
var timerMultiplier = 1;
var nerfed = true;
var hamsda = false;
if (localStorage.getItem("hamsda")) {if (localStorage.getItem("hamsda") == "true") {hamsda = true;} else{hamsda = false;};}
if (hamsda) {document.getElementById("hamsdaToggle").innerHTML="Disable Hamsda Tracking";}
var animalID = '';
var rainbowFlag = false;
var rainbowFlagFlag = false;
var yamiFailFlag = false;
var yamiFlag = false;
var yamiFlagFlag = false;
var quest1Flag = false;
var forestItems = 0;
var angelFailFlag = false;
var angelFlag = false;
var angelFlagFlag = false;
var toFocus = null;
var inLogicColor = 'chartreuse'
var questCounter = 0;
var simActive = false;
var simOverride = false;
var SpoilerJSON;
var chuCount = 0;
var rupeeCount = 0;
var chusInBigChests = false;
var songItemChecked = true;
var unusedLocations = [];
var dimmed = 0.25;
var age = "";
var ageSetStamp = 0;
var dungeonToEntrance_ER_dict = {}; // given a dungeon, tell which entrance you enter to get to it
var entranceToDungeon_ER_dict = {}; // given a dugeon entrance, tell which dungeon it leads to
var dungs_list2 = {"deku":"Deku", "dodongos":"DC", "jabu":"Jabu", "forest_temple":"Forest", "fire_temple":"Fire", "water_temple":"Water", "shadow_temple":"Shadow", "spirit_temple":"Spirit", "botw":"BotW", "ice":"Ice", "gtg":"GTG"};
var dungs_list = ["deku", "dodongos", "jabu", "forest_temple", "fire_temple", "water_temple", "shadow_temple", "spirit_temple", "botw", "ice", "gtg"];
var dungs_list_short = ["de", "do", "ja", "fo", "fi", "wa", "sh", "sp", "bo", "ic", "gt"];
var dungs_colors = Array(dungs_list.length).fill("white");
var dungs_strike = Array(dungs_list.length).fill("none");
for(let d = 0; d < dungs_list.length; d++) {
dungeonToEntrance_ER_dict[dungs_list[d]] = dungs_list[d];
entranceToDungeon_ER_dict[dungs_list[d]] = dungs_list[d];
}
document.getElementById("markMedallions").value = "Y-G-R-B-P-O-";
document.getElementById("markStones").value = "112233";
var dungeonSkullSanity = false;
var scrubSanity = false;
if (localStorage.getItem("scrubSanity")) {document.getElementById("scrubSanity").value= localStorage.getItem("scrubSanity");}
if (localStorage.getItem("shopSanity")) {document.getElementById("shopSanity").value = localStorage.getItem("shopSanity");}
if (localStorage.getItem("skullSanity")) {document.getElementById("skullSanity").value = localStorage.getItem("skullSanity");}
if (localStorage.getItem("cowSanity")) {document.getElementById("cowSanity").value = localStorage.getItem("cowSanity");}
if (localStorage.getItem("closedDeku")) {document.getElementById("closedDeku").value = localStorage.getItem("closedDeku");}
if (localStorage.getItem("closedFountain")) {document.getElementById("closedFountain").value = localStorage.getItem("closedFountain");}
if (localStorage.getItem("blueFireArrows")) {document.getElementById("blueFireArrows").value = localStorage.getItem("blueFireArrows");}
if (localStorage.getItem("keysanity")) {document.getElementById("keysanity").value = localStorage.getItem("keysanity");}
if (localStorage.getItem("ganonBKSetting")) {document.getElementById("ganonBKSetting").value = localStorage.getItem("ganonBKSetting");}
if (localStorage.getItem("ganonsBridge")) {document.getElementById("ganonsBridge").value = localStorage.getItem("ganonsBridge");}
if (localStorage.getItem("bosskeys")) {document.getElementById("bosskeys").value = localStorage.getItem("bosskeys");}
if (localStorage.getItem("shuffleOcarinas")) {document.getElementById("shuffleOcarinas").value = localStorage.getItem("shuffleOcarinas");}
if (localStorage.getItem("shuffleGerudoCard")) {document.getElementById("shuffleGerudoCard").value = localStorage.getItem("shuffleGerudoCard");}
if (localStorage.getItem("shuffleBeanPack")) {document.getElementById("shuffleBeanPack").value = localStorage.getItem("shuffleBeanPack");}
if (localStorage.getItem("preplantedBeans")) {document.getElementById("preplantedBeans").value = localStorage.getItem("preplantedBeans");}
if (localStorage.getItem("shuffleExpensivePurchases")) {document.getElementById("shuffleExpensivePurchases").value = localStorage.getItem("shuffleExpensivePurchases");}
if (localStorage.getItem("csmc")) {document.getElementById("csmc").value = localStorage.getItem("csmc");}
if (localStorage.getItem("hints_type")) {document.getElementById("hints_type").value = localStorage.getItem("hints_type");}
if (localStorage.getItem("simSeed")) {document.getElementById("simSeed").value = localStorage.getItem("simSeed");}
if (localStorage.getItem("presets")) {document.getElementById("presets").value = localStorage.getItem("presets");}
if (localStorage.getItem("erOption")) {document.getElementById("erOption").value = localStorage.getItem("erOption");}
if (localStorage.getItem("FAE_option")) {document.getElementById("FAE_option").value = localStorage.getItem("FAE_option");}
if (localStorage.getItem("shiftChecks")) {document.getElementById("shiftChecks").value = localStorage.getItem("shiftChecks");}
if (localStorage.getItem("flashFeedback")) {document.getElementById("flashFeedback").value = localStorage.getItem("flashFeedback");}
if (localStorage.getItem("inputPresets")) {document.getElementById("inputPresets").value = localStorage.getItem("inputPresets");}
if (document.getElementById("presets").value == "SGL_2025") {songItemChecked = false;}
if (document.getElementById("presets").value == "SGL_2025")
document.getElementById("markMedallions").value = "Y-frR-B-P-O-";
var hintStones = ["Crater: Hint", "Crater: Gr. Hint", "Trail: Gr. Hint", "Trail: Bigo Hint", "Colossus: Hint", "Dodongos: Hint", "Field: Open Gr. Hint", "Field: Remote Gr. Hint", "Field: Destiny Hint", "Valley: Hint", "Hylia: After Valley Hint", "Hylia: Back Right Hint", "Hylia: Back Left Hint", "Hyrule Castle: First Hint", "Hyrule Castle: Second Hint", "Temple of Time: First Hint", "Temple of Time: Second Hint", "Temple of Time: Third Hint", "Temple of Time: Fourth Hint", "Kakariko: Gr. Hint", "Kokiri: Left Deku Hint", "Kokiri: Right Deku Hint", "Kokiri: Gr. Hint", "Kokiri: LW Hint", "Lost Woods: Br. Hint", "Lost Woods: Gr. Hint", "SFM: Sarias Hint", "SFM: Maze 1 Hint", "SFM: Maze 2 Hint", "River: Gr. Hint", "River: Plateau Hint", "River: By ZD Hint", "Domain: Hint", "Fountain: Jabu Hint", "Fountain: By Fairy Hint", "Goron City: Maze Hint", "Goron City: Medigoron Hint", "Graveyard: Hint", "Hyrule Castle: Storms Hint", "Field: Hammer Hint"];
var checkSummary = ["farores_wind", "slingshot1", "slingshot2", "slingshot3", "boomerang", "scale1", "scale2", "rutos_letter", "bottle1", "bottle2", "bottle3", "bottle4", "bomb_bag1", "bomb_bag2", "bomb_bag3", "hammer", "bow1", "bow2", "bow3", "hookshot1", "hookshot2", "strength1", "strength2", "strength3", "mirror_shield", "magic1", "magic2", "iron_boots", "kokiri_sword", "hover_boots", "wallet1", "wallet2", "wallet3", "goron_tunic", "zora_tunic", "dins_fire", "fire_arrows", "lens", "trade", "light_arrows", "ice_arrows","biggoron_sword", "nayrus_love", "stone_of_agony", "forest_key_ring", "fire_key_ring", "water_key_ring", "spirit_key_ring", "shadow_key_ring", "well_key_ring", "gtg_key_ring", "ganons_key_ring", "gerudo_card", "magic_bean_pack", "text_zeldasSpot", "text_eponasSpot", "text_sariasSpot", "text_sunsSpot", "text_oot", "text_stormsSpot", "text_minuetSpot", "text_boleroSpot", "text_serenadeSpot", "text_requiemSpot", "text_nocturneSpot", "text_preludeSpot"];
var checkSummaryText = ["Farores", "Slingshot", "Slingshot", "Slingshot", "Boomerang", "Scale", "Scale", "Letter", "Bottle", "Bottle", "Bottle", "Bottle", "Bomb Bag", "Bomb Bag", "Bomb Bag", "Hammer", "Bow", "Bow", "Bow", "Hookshot", "Hookshot", "Strength", "Strength", "Strength", "Mirror Shield", "Magic", "Magic", "Iron Boots", "Kokiri Sword", "Hover Boots", "Wallet", "Wallet", "Wallet", "Goron Tunic", "Zora Tunic", "Dins Fire", "Fire Arrows", "Lens", "Letter", "Trade", "Light Arrows", "Ice Arrows", "BGS", "Nayru's", "Agony", "Forest Key Ring", "Fire Key Ring", "Water Key Ring", "Spirit Key Ring", "Shadow Key Ring", "Well Key Ring", "GTG Key Ring", "Ganons Key Ring", "Gerudo Card", "Magic Bean Pack"];
var textSongSpots = ["text_zeldasSpot", "text_eponasSpot", "text_sariasSpot", "text_sunsSpot", "text_oot", "text_stormsSpot", "text_minuetSpot", "text_boleroSpot", "text_serenadeSpot", "text_requiemSpot", "text_nocturneSpot", "text_preludeSpot"];
var songSpots = ["zeldasSpot", "eponasSpot", "sariasSpot", "sunsSpot", "oot", "stormsSpot", "minuetSpot", "boleroSpot", "serenadeSpot", "requiemSpot", "nocturneSpot", "preludeSpot"];
var Items = ["farores_wind", "slingshot1", "slingshot2", "slingshot3", "boomerang", "scale1", "scale2", "rutos_letter", "bottle1", "bottle2", "bottle3", "bottle4", "bomb_bag1", "bomb_bag2", "bomb_bag3", "hammer", "bow1", "bow2", "bow3", "hookshot1", "hookshot2", "strength1", "strength2", "strength3", "mirror_shield", "magic1", "magic2", "iron_boots", "kokiri_sword", "hover_boots", "wallet1", "wallet2", "wallet3", "goron_tunic", "zora_tunic", "dins_fire", "fire_arrows", "lens", "prescription", "claim_check", "light_arrows", "ice_arrows", "biggoron_sword", "nayrus_love", "stone_of_agony", "forest_key_ring", "fire_key_ring", "water_key_ring", "spirit_key_ring", "shadow_key_ring", "well_key_ring", "gtg_key_ring", "ganons_key_ring", "gerudo_card", "magic_bean_pack", "lullaby", "eponas", "suns", "sarias", "storms", "minuet", "bolero", "requiem", "nocturne", "time", "prelude", "serenade"];
var ItemImages = [];
var ItemNames = ["Farores", "Slingshot", "Slingshot", "Slingshot", "Boomerang", "Scale", "Scale", "Letter", "Bottle", "Bottle", "Bottle", "Bottle", "Bomb Bag", "Bomb Bag", "Bomb Bag", "Hammer", "Bow", "Bow", "Bow", "Hookshot", "Hookshot", "Strength", "Strength", "Strength", "Mirror", "Magic", "Magic", "Iron Boots", "Kokiri Sword", "Hover Boots", "Wallet", "Wallet", "Wallet", "Goron Tunic", "Zora Tunic", "Din's Fire", "Fire Arrows", "Lens", "Prescription", "Claim Check", "Light Arrows", "Ice Arrows", "BGS", "Nayrus Love", "Stone of Agony", "Forest Key Ring", "Fire Key Ring", "Water Key Ring", "Spirit Key Ring", "Shadow Key Ring", "Well Key Ring", "GTG Key Ring", "Ganons Key Ring", "Gerudo Card", "Magic Bean Pack", "Lullaby", "Eponas", "Suns", "Sarias", "Storms", "Minuet", "Bolero", "Requiem", "Nocturne", "Time", "Prelude", "Serenade"];
//take advantage of a small pool to shorten the inputs
var alwaysTable = {
"3": "tokens_30",
"4": "tokens_40",
"5": "tokens_50",
"o": "oot",
"n": "nocturneSpot",
"b": "trade_quest",
"f": "frogs_2",
"m": "theater_skull",
//rest are here because of less progression preset
"h": "fire_top",
"s": "fire_scarecrow",
"v": "fire_volvagia",
"p": "water_pillar",
"r": "water_bossKey",
}
var sometimesTableReduced = {
"bo": "boleroSpot",
"su": "sunsSpot",
"me": "minuetSpot",
"pr": "preludeSpot",
"re": "requiemSpot",
"se": "serenadeSpot",
"2": "tokens_20",
"po": "poes",
"ch": "anjus_chickens",
"cg": "composers_grave",
"sc": "scrub_crater_child",
"da": "goron_dance",
"f1": "frogs_1",
"ma": "goron_maze_3",
"gp": "goron_pot",
"15": "gerudo_archery_2",
"ca": "dins_fairy",
"fo": "bottom_of_fountain",
"kz": "thaw_king",
"di": "hylia_lab_dive",
"og": "g_fairy",
"hs": "hylia_sun_shoot",
"ki": "skull_kid",
"rg": "redead_grave",
"ta": "target",
"le": "market_lens_game",
"vr": "gerudo_hammer",
"wa": "wasteland",
"fl": "fire_top",
"pi": "fire_scarecrow",
"fi": "gtg_final",
"to": "gtg_toilet",
"ir": "ice_irons",
"st": "ganons_shadowTrial2",
"ja": "jabu_boomerang",
"sp": "shadow_pot",
"lh": "spirit_leftHand",
"rh": "spirit_rightHand",
"ce": "water_pillar",
"wb": "water_bossKey",
"ri": "water_river",
// Dual Hints.
"4f": ["dins_fairy", "g_fairy"],
"4h": ["fire_hammer1", "fire_hammer2"],
"4t": ["ganons_spiritTrial1", "ganons_spiritTrial2"],
"4g": ["gerudo_archery_1", "gerudo_archery_2"],
"4v": ["gerudovalley_box", "gerudovalley_fall"],
"4l": ["hylia_lab_top", "hylia_adult_fishing"],
"4b": ["market_bowling_1", "market_bowling_2"],
"4d": ["shadow_dins1", "shadow_dins2"],
"4i": ["shadow_spinning1", "shadow_spinning2"],
"4a": ["spirit_adultLeft", "spirit_adultRight"],
"4c": ["spirit_childLeft", "spirit_childRight"],
"4s": ["spirit_rightHand", "spirit_leftHand"],
"4r": ["water_dLink", "water_river"],
"4w": ["well_deadHand", "well_invisible"],
"4z": ["zora_diving", "zora_torches"],
}
// When adding to hint table, take care not to duplicate keys.
// If this happens, the one appearing latest will be used.
var hintTable = {
// Individual Hints.
"chicken": "anjus_chickens",
"chickens": "anjus_chickens",
"cuc": "anjus_chickens",
"cucc": "anjus_chickens",
"cucco": "anjus_chickens",
"cuccos": "anjus_chickens",
"archery": "archery_game",
"sho": "archery_game",
"shoo": "archery_game",
"shooting": "archery_game",
"bol": "boleroSpot",
"bolero": "boleroSpot",
"cra": "boleroSpot",
"cob": "colossus_bean",
"col": "colossus_bean",
"colo": "colossus_bean",
"colossus": "colossus_bean",
"colossusbean": "colossus_bean",
"coi": "composers_grave",
"comp": "composers_grave",
"composer": "composers_grave",
"crater": "crater_bean",
"craterbean": "crater_bean",
"crb": "crater_bean",
"cas": "dins_fairy",
"casf": "dins_fairy",
"hc": "dins_fairy",
"hfa": "dins_fairy",
"hyf": "dins_fairy",
"ohc": "dins_fairy",
"fla": "fire_top",
"flare": "fire_top",
"flaredancer": "fire_top",
"ham": "fire_top",
"hammer": "fire_top",
"pie": "fire_scarecrow",
"pierre": "fire_scarecrow",
"sca": "fire_scarecrow",
"scarecrow": "fire_scarecrow",
"ffl": "forest_floormaster",
"ffloor": "forest_floormaster",
"forestfloor": "forest_floormaster",
"fr1": "frogs_1",
"frog1": "frogs_1",
"frogs1": "frogs_1",
"fr2": "frogs_2",
"frog": "frogs_2",
"frogs": "frogs_2",
"frogs2": "frogs_2",
"gaf": "g_fairy",
"gfa": "g_fairy",
"ogc": "g_fairy",
"lik": "ganons_shadowTrial2",
"sh2": "ganons_shadowTrial2",
"sha2": "ganons_shadowTrial2",
"sht": "ganons_shadowTrial2",
"st": "ganons_shadowTrial2",
"st2": "ganons_shadowTrial2",
"100": "gerudo_archery_1",
"1000": "gerudo_archery_1",
"hba1": "gerudo_archery_1",
"150": "gerudo_archery_2",
"1500": "gerudo_archery_2",
"hba2": "gerudo_archery_2",
"gvh": "gerudo_hammer",
"gvhammer": "gerudo_hammer",
"gv1": "gerudovalley_box",
"gvledge": "gerudovalley_box",
"val1": "gerudovalley_box",
"valledge": "gerudovalley_box",
"valley1": "gerudovalley_box",
"valleyledge": "gerudovalley_box",
"gv2": "gerudovalley_fall",
"gvfall": "gerudovalley_fall",
"val2": "gerudovalley_fall",
"valley2": "gerudovalley_fall",
"waterfall": "gerudovalley_fall",
"watfall": "gerudovalley_fall",
"dan": "goron_dance",
"dancin": "goron_dance",
"dancing": "goron_dance",
"daru": "goron_dance",
"darunia": "goron_dance",
"gch": "goron_maze_3",
"gchammer": "goron_maze_3",
"gcleft": "goron_maze_3",
"goh": "goron_maze_3",
"maze3": "goron_maze_3",
"maze3!": "goron_maze_3",
"pot": "goron_pot",
"box": "graveyard_box",
"grb": "graveyard_box",
"gybean": "graveyard_box",
"gybox": "graveyard_box",
"fin": "gtg_final",
"gtg": "gtg_final",
"gtgf": "gtg_final",
"gtgfin": "gtg_final",
"gtgfinal": "gtg_final",
"gtgtoilet": "gtg_toilet",
"toi": "gtg_toilet",
"toilet": "gtg_toilet",
"adf": "hylia_adult_fishing",
"adfish": "hylia_adult_fishing",
"afish": "hylia_adult_fishing",
"fish2": "hylia_adult_fishing",
"lunker": "hylia_adult_fishing",
"bot": "hylia_bottle",
"bottle": "hylia_bottle",
"hyb": "hylia_bottle",
"rut": "hylia_bottle",
"ruto": "hylia_bottle",
"cfish": "hylia_child_fishing",
"chf": "hylia_child_fishing",
"chfish": "hylia_child_fishing",
"fish": "hylia_child_fishing",
"fish1": "hylia_child_fishing",
"div": "hylia_lab_dive",
"dive": "hylia_lab_dive",
"exp": "hylia_lab_dive",
"experiment": "hylia_lab_dive",
"lab": "hylia_lab_dive",
"labdive": "hylia_lab_dive",
"labroof": "hylia_lab_top",
"laptop": "hylia_lab_top",
"laro": "hylia_lab_top",
"topoflab": "hylia_lab_top",
"topolab": "hylia_lab_top",
"hyliasun": "hylia_sun_shoot",
"shoot": "hylia_sun_shoot",
"shootsun": "hylia_sun_shoot",
"shootthesun": "hylia_sun_shoot",
"shsun": "hylia_sun_shoot",
"ss": "hylia_sun_shoot",
"sts": "hylia_sun_shoot",
"sunshoot": "hylia_sun_shoot",
"gfcb": "hyrule_ocarina",
"ooti": "hyrule_ocarina",
"ootitem": "hyrule_ocarina",
"thr": "hyrule_ocarina",
"thrown": "hyrule_ocarina",
"toss": "hyrule_ocarina",
"atz": "hyrule_tektite_grotto",
"tek": "hyrule_tektite_grotto",
"fop": "bottom_of_fountain",
"fou": "bottom_of_fountain",
"fountain": "bottom_of_fountain",
"icy": "bottom_of_fountain",
"iro": "ice_irons",
"iron": "ice_irons",
"irons": "ice_irons",
"boo": "jabu_boomerang",
"boom": "jabu_boomerang",
"boomerang": "jabu_boomerang",
"jab": "jabu_boomerang",
"jabu": "jabu_boomerang",
"rang": "jabu_boomerang",
"lacs": "lacs",
"chestgame": "market_lens_game",
"cmg": "market_lens_game",
"len": "market_lens_game",
"lens": "market_lens_game",
"lensgame": "market_lens_game",
"tcg": "market_lens_game",
"mea": "minuetSpot",
"min": "minuetSpot",
"minuet": "minuetSpot",
"3me": "nocturneSpot",
"noc": "nocturneSpot",
"nocturne": "nocturneSpot",
"oot": "oot",
"oots": "oot",
"ootsong": "oot",
"poe": "poes",
"poes": "poes",
"1me": "preludeSpot",
"pre": "preludeSpot",
"prelude": "preludeSpot",
"tot": "preludeSpot",
"red": "redead_grave",
"redead": "redead_grave",
"sgr": "redead_grave",
"sung": "redead_grave",
"sungrave": "redead_grave",
"colosong": "requiemSpot",
"desert": "requiemSpot",
"req": "requiemSpot",
"wastesong": "requiemSpot",
"wls": "requiemSpot",
"wsl": "requiemSpot",
"scr": "scrub_crater_child",
"ice": "serenadeSpot",
"ser": "serenadeSpot",
"serenade": "serenadeSpot",
"sfl": "shadow_floormaster",
"shadowfloor": "shadow_floormaster",
"shfloor": "shadow_floormaster",
"shap": "shadow_pot",
"shapot": "shadow_pot",
"shp": "shadow_pot",
"shpot": "shadow_pot",
"spot": "shadow_pot",
"kid": "skull_kid",
"skullkid": "skull_kid",
"ch1": "spirit_childLeft",
"chl": "spirit_childLeft",
"chspi1": "spirit_childLeft",
"chspirit1": "spirit_childLeft",
"cs1": "spirit_childLeft",
"csp1": "spirit_childLeft",
"ch2": "spirit_childRight",
"chr": "spirit_childRight",
"chspi2": "spirit_childRight",
"chspirit2": "spirit_childRight",
"cs2": "spirit_childRight",
"csp2": "spirit_childRight",
"lef": "spirit_leftHand",
"left": "spirit_leftHand",
"lefthand": "spirit_leftHand",
"mir": "spirit_leftHand",
"mirror": "spirit_leftHand",
"rig": "spirit_rightHand",
"right": "spirit_rightHand",
"righthand": "spirit_rightHand",
"sil": "spirit_rightHand",
"silver": "spirit_rightHand",
"silvers": "spirit_rightHand",
"cos": "sunsSpot",
"tar": "target",
"targ": "target",
"target": "target",
"tru": "theater_truth",
"mas": "theater_skull",
"mask": "theater_skull",
"skullmask": "theater_skull",
"kin": "thaw_king",
"kingzora": "thaw_king",
"kz": "thaw_king",
"10": "tokens_10",
"10s": "tokens_10",
"20": "tokens_20",
"20s": "tokens_20",
"30": "tokens_30",
"30s": "tokens_30",
"40": "tokens_40",
"40s": "tokens_40",
"50": "tokens_50",
"50s": "tokens_50",
"bgs": "trade_quest",
"big": "trade_quest",
"bigo": "trade_quest",
"trade": "trade_quest",
"was": "wasteland",
"waste": "wasteland",
"wasteland": "wasteland",
"wl": "wasteland",
"waterbk": "water_bossKey",
"wbk": "water_bossKey",
"clone": "water_dLink",
"darklink": "water_dLink",
"dl": "water_dLink",
"dlink": "water_dLink",
"me": "water_dLink",
"yami": "water_dLink",
"cen": "water_pillar",
"cent": "water_pillar",
"central": "water_pillar",
"pil": "water_pillar",
"pill": "water_pillar",
"pillar": "water_pillar",
"riv": "water_river",
"river": "water_river",
"riverch": "water_river",
"riverchest": "water_river",
"dea": "well_deadHand",
"dead": "well_deadHand",
"deadhand": "well_deadHand",
"deha": "well_deadHand",
"dh": "well_deadHand",
"hand": "well_deadHand",
"mrhand": "well_deadHand",
"bdh": "well_invisible",
"dhback": "well_invisible",
"dhbehind": "well_invisible",
"inv": "well_invisible",
"steve": "well_invisible",
"steven": "well_invisible",
"domdiv": "zora_diving",
"domdive": "zora_diving",
"domgame": "zora_diving",
"zddiv": "zora_diving",
"zddive": "zora_diving",
"zdgame": "zora_diving",
"domfir": "zora_torches",
"domfire": "zora_torches",
"domtorches": "zora_torches",
"zdfir": "zora_torches",
"zdfire": "zora_torches",
"zdtorches": "zora_torches",
// Dual Hints.
"hcogc": ["dins_fairy", "g_fairy"],
"fil": ["fire_hammer1", "fire_hammer2"],
"filoop": ["fire_hammer1", "fire_hammer2"],
"haml": ["fire_hammer1", "fire_hammer2"],
"hamloop": ["fire_hammer1", "fire_hammer2"],
"spt": ["ganons_spiritTrial1", "ganons_spiritTrial2"],
"hba": ["gerudo_archery_1", "gerudo_archery_2"],
"gv": ["gerudovalley_box", "gerudovalley_fall"],
"val": ["gerudovalley_box", "gerudovalley_fall"],
"lh": ["hylia_lab_top", "hylia_adult_fishing"],
"lhb": ["hylia_lab_top", "hylia_adult_fishing"],
"lhbean": ["hylia_lab_top", "hylia_adult_fishing"],
"bowl": ["market_bowling_1", "market_bowling_2"],
"bowling": ["market_bowling_1", "market_bowling_2"],
"chu": ["market_bowling_1", "market_bowling_2"],
"shdin": ["shadow_dins1", "shadow_dins2"],
"shend": ["shadow_dins1", "shadow_dins2"],
"shwo": ["shadow_dins1", "shadow_dins2"],
"shwood": ["shadow_dins1", "shadow_dins2"],
"shinv": ["shadow_spinning1", "shadow_spinning2"],
"shblades": ["shadow_spinning1", "shadow_spinning2"],
"adsp": ["spirit_adultLeft", "spirit_adultRight"],
"spblock": ["spirit_adultLeft", "spirit_adultRight"],
"chsp": ["spirit_childLeft", "spirit_childRight"],
"spcrawl": ["spirit_childLeft", "spirit_childRight"],
"rhlh": ["spirit_rightHand", "spirit_leftHand"],
"sphands": ["spirit_rightHand", "spirit_leftHand"],
"dll": ["water_dLink", "water_river"],
"dlloop": ["water_dLink", "water_river"],
"dlriv": ["water_dLink", "water_river"],
"dea2": ["well_deadHand", "well_invisible"],
"dead2": ["well_deadHand", "well_invisible"],
"deha2": ["well_deadHand", "well_invisible"],
"dh2": ["well_deadHand", "well_invisible"],
"dom": ["zora_diving", "zora_torches"],
"domdt": ["zora_diving", "zora_torches"],
"zd": ["zora_diving", "zora_torches"],
"zddt": ["zora_diving", "zora_torches"],
};
var areaInputs = {
"ko": "ko", "kf": "ko", // Kokiri Forest
"ll": "ra", "ra": "ra", // Lon Lon Ranch
"fie": "hf", "hf": "hf", // Hyrule Field
"gv": "gv", "va": "gv", // Gerudo Valley
"hyl": "lh", "lh": "lh", "la": "lh", // Lake Hylia
"mk": "mk", "ma": "mk", // Market
"hc": "ca", "ca": "ca", // Castle Yard
"ou": "ou", "og": "ou", // Outside Ganon
"to": "to", // Temple of Time
"zf": "zf", // Zora's Fountain
"ic": "ic", // Ice Cavern
"dt": "de", "de": "de", // Deku Tree
"lw": "lw", "lo": "lw", // Lost Woods
"me": "sf", "sf": "sf", // Sacred Forest Meadow
"go": "go", // Goron City
"dod": "dc", "dc": "dc", // Dodongo's Cavern
"dmt": "tr", "tr": "tr", // Death Mountain Trail
"dmc": "cr", "cr": "cr", // Death Mountain Crater
"kv": "ka", "ka": "ka", // Kakariko Village
"gy": "gy", "gr": "gy", // Graveyard
"zr": "zr", "ri": "zr", // Zora's River
"zd": "zd", "dom": "zd", // Zora's Domain
"co": "co", // Colossus
"hw": "was", "was": "was", // Wasteland
"th": "th", // Thieves' Hideout
"gf": "gf", // Gerudo Fortress
"jj": "jj", "ja": "jj", // Jabu Jabu
"fo": "for", // Forest Temple
"fi": "fir", // Fire Temple
"wa": "wat", // Water Temple
"sh": "sh", // Shadow Temple
"sp": "sp", // Spirit Temple
"ga": "ga", // Ganon's Castle
"gt": "gt", // Gerudo Training Grounds
"we": "we", "bo": "we" // Well
};
var Items2 = ["junk", "small_key", "boss_key", "bomb_bag", "bombchus", "boomerang", "bottle", "bottle", "bow", "dins_fire", "farores_wind", "fire_arrows", "goron_tunic", "hammer", "hookshot", "hover_boots", "iron_boots", "kokiri_sword", "lens", "rutos_letter", "light_arrows", "magic", "mirror_shield", "scale", "slingshot", "strength", "prescription", "claim_check", "wallet", "zora_tunic", "ice_arrows", "biggoron_sword", "nayrus_love", "stone_of_agony", "forest_key_ring", "fire_key_ring", "water_key_ring", "spirit_key_ring", "shadow_key_ring", "well_key_ring", "gtg_key_ring", "ganons_key_ring", "gerudo_card", "magic_bean_pack", "lullaby", "eponas", "sarias", "time", "suns", "storms", "minuet", "bolero", "serenade", "requiem", "nocturne", "prelude"];
var ItemNames2 = ["Junk", "Small Key", "Boss Key", "Bomb Bag", "Bombchus", "Boomerang", "Bottle", "Big Poe", "Bow", "Din's Fire", "Farores", "Fire Arrows", "Goron Tunic", "Hammer", "Hookshot", "Hover Boots", "Iron Boots", "Kokiri Sword", "Lens", "Ruto's Letter", "Light Arrows", "Magic", "Mirror Shield", "Scale", "Slingshot", "Strength", "Prescription", "Claim Check", "Wallet", "Zora Tunic", "Ice Arrows", "BGS", "Nayrus Love", "Stone of Agony", "Forest Key Ring", "Fire Key Ring", "Water Key Ring", "Spirit Key Ring", "Shadow Key Ring", "Well Key Ring", "GTG Key Ring", "Ganons Key Ring", "Gerudo Card", "Magic Bean Pack", "Lullaby", "Epona's", "Saria's", "Time", "Sun's", "Storms", "Minuet", "Bolero", "Serenade", "Requiem", "Nocturne", "Prelude"];
var inputs = ["x", "a", "q", "bom", "chu", "boo", "bot", "big", "bow", "din", "far", "fir", "gor", "ham", "hoo", "hov", "iro", "kok", "len", "rut", "lig", "mag", "mir", "sca", "sli", "str", "scr", "cla", "wal", "zor", "ice", "bgs", "nay", "sto", "fok", "fik", "wak", "spk", "shk", "wek", "gek", "gak", "ger", "bea", "lul", "epo", "sar", "sot", "sun", "sos", "min", "bol", "ser", "req", "noc", "pre"];
var pathInputs = ["x", "de", "do", "ja", "fo", "fi", "wa", "sh", "sp", "to", "ti", "he", "ev","li", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
var inputNames = ["Junk", "Small Key", "Boss Key", "Bomb Bag", "Bombchus", "Boomerang", "Bottle", "Big Poe", "Bow", "Din's Fire", "Farore's Wind", "Fire Arrows", "Goron Tunic", "Hammer", "Progressive Hookshot", "Hover Boots", "Iron Boots", "Kokiri Sword", "Lens", "Ruto's Letter", "Light Arrows", "Magic", "Mirror Shield", "Progressive Scale", "Slingshot", "Progressive Strength", "Prescription", "Claim Check", "Progressive Wallet", "Zora Tunic", "Ice Arrows", "BGS", "Nayrus Love", "Stone of Agony", "Forest Key Ring", "Fire Key Ring", "Water Key Ring", "Spirit Key Ring", "Shadow Key Ring", "Well Key Ring", "GTG Key Ring", "Ganons Key Ring", "Gerudo Card", "Magic Bean Pack", "Lullaby", "Epona's Song", "Saria's Song", "Song of Time", "Sun's Song", "Song of Storms", "Minuet", "Bolero", "Serenade", "Requiem", "Nocturne", "Prelude"];
var DuplicateItems = ["slingshot", "scale", "bottle", "bomb_bag", "bow", "hookshot", "strength", "magic", "wallet","bombchus"];
var spawnInputs = ["dmcl", "dmcf", "dmcu", "dmtf","dmtfool", "gf", "waste", "col", "zd", "zr", "zf", "zff", "zffool", "hf", "sfm", "noct", "fish", "ogc","ogcool", "gcshop", "zdshop", "kakr" ];
var spawnNames = ["DMC by Goron City", "DMC fountain", "DMC by trail", "trail fairy", "trail fairy(ool)", "fortress", "waste", "colossus", "domain", "river", "fountain", "fountain fairy", "fountain fairy(ool)", "dins fairy", "sfm", "nocturne", "fishing", "ogc fairy","ogc fairy(ool)", "goron shop", "domain shop", "kak rooftop"];
var parent = document.getElementById("inputConfig");
for (var i = 0; i < inputs.length; i++) {
var elem = document.createElement("input"); elem.id = inputNames[i]; elem.value = inputs[i]; elem.className = "settings_small"; parent.appendChild(elem);
var elem = document.createElement("small"); elem.id = "text_" + inputNames[i]; elem.className = "check_text"; elem.innerHTML = inputNames[i]; parent.appendChild(elem);
var elem = document.createElement("br"); elem.id = "br_" + inputNames[i]; parent.appendChild(elem);
}
inputPresets();
var parent = document.getElementById("inputConfig2");
for (var i = 0; i < spawnInputs.length; i++) {
if (localStorage.getItem(spawnNames[i])) {spawnInputs[i] = localStorage.getItem(spawnNames[i]);}
var elem = document.createElement("input"); elem.id = spawnNames[i]; elem.value = spawnInputs[i]; elem.className = "custom_spawn"; parent.appendChild(elem);
var elem = document.createElement("small"); elem.id = "text_" + spawnNames[i]; elem.className = "check_text"; elem.innerHTML = spawnNames[i]; parent.appendChild(elem);
var elem = document.createElement("br"); elem.id = "br_" + spawnNames[i]; parent.appendChild(elem);
}
for (var i = 3; i < Items2.length; i++) {
if (Items2[i] != "slingshot" && Items2[i] != "bomb_bag" && Items2[i] != "bow" && Items2[i] != "hookshot" && Items2[i] != "wallet" && Items2[i] != "strength" && Items2[i] != "bottle" && Items2[i] != "scale" && Items2[i] != "magic") {Known[Items2[i]] = false;} else {Known[Items2[i]] = true;}
Known[Items2[i] + 1] = false;
Known[Items2[i] + 2] = false;
Known[Items2[i] + 3] = false;
Known[Items2[i] + 4] = false;
Known[Items2[i] + 5] = false;
}
var dungeonStrings = ["deku", "dodongos", "jabu", "forest", "fire", "water", "spirit", "shadow"];
var bossStrings = ["deku_queen_gohma", "dodongos_king_dodongo", "jabu_barinade", "forest_phantomGanon", "fire_volvagia", "water_morpha", "spirit_twinrova", "shadow_bongo"]
var age = "child";
var hinted = false;
var lastCheck = ["start"];
Check.start = "unknown";
var dekuPlacement = "unknown";
var dodongosPlacement = "unknown";
var jabuPlacement = "unknown";
var forestPlacement = "unknown";
var firePlacement = "unknown";
var waterPlacement = "unknown";
var spiritPlacement = "unknown";
var shadowPlacement = "unknown";
var pocketPlacement = "unknown";
var dungIconSources = ["./normal/items/emerald.png", "./normal/items/ruby.png", "./normal/items/sapphire.png", "./normal/items/forest.png", "./normal/items/fire.png", "./normal/items/water.png", "./normal/items/shadow.png", "./normal/items/spirit.png", "./normal/items/light.png"];
document.getElementById("stonePic").src = dungIconSources[Math.floor(Math.random() * 3)];
document.getElementById("medallionPic").src = dungIconSources[Math.floor(Math.random() * 6)+3];
var tabPicSources = ["./tab_pics/circus_tent.png", "./tab_pics/camel.png", "./tab_pics/tiger.png", "./tab_pics/clown.png", "./tab_pics/elephant.png", "./tab_pics/leopard.png", "./tab_pics/rhino.png" , "./tab_pics/juggler.png", "./tab_pics/zebra.png", "./tab_pics/bear.png", "./tab_pics/crocodile.png", "./tab_pics/monkey.png", "./tab_pics/hippo.png", "./tab_pics/seal.png", "./tab_pics/llama.png", "./tab_pics/dog.png", "./tab_pics/horse.png", "./tab_pics/cat.png", "./tab_pics/kurama.png", "./tab_pics/merry.png", "./tab_pics/articuno.png"]
var tabPicSourcesRB = ["./tab_pics/circus_tentRB.png", "./tab_pics/camelRB.png", "./tab_pics/tigerRB.png", "./tab_pics/clownRB.png", "./tab_pics/elephantRB.png", "./tab_pics/leopardRB.png", "./tab_pics/rhinoRB.png" , "./tab_pics/jugglerRB.png", "./tab_pics/zebraRB.png", "./tab_pics/bearRB.png", "./tab_pics/crocodileRB.png", "./tab_pics/monkeyRB.png", "./tab_pics/hippoRB.png", "./tab_pics/sealRB.png", "./tab_pics/llamaRB.png", "./tab_pics/dogRB.png", "./tab_pics/horseRB.png", "./tab_pics/catRB.png", "./tab_pics/kuramaRB.png", "./tab_pics/merryRB.png", "./tab_pics/articunoRB.png"]
var numberOfAnimals = tabPicSources.length;
var animalXP = new Array(numberOfAnimals).fill(0);
var savedAnimalXP = new Array(numberOfAnimals).fill(0);
if (localStorage.getItem("quest1")) {document.getElementById("quest1").value= localStorage.getItem("quest1");}
if (localStorage.getItem("animalXP")) {
savedAnimalXP = JSON.parse(localStorage.getItem("animalXP"));
for (var i = 0; i<savedAnimalXP.length; i++) {
savedAnimalXP[i] = Math.floor(savedAnimalXP[i]);
animalXP[i] = savedAnimalXP[i];
}
}
var quest1Mults = new Array(numberOfAnimals).fill(1);
if (localStorage.getItem("quest1Mults")) {
savedQuest1Mults = JSON.parse(localStorage.getItem("quest1Mults"));
for (var i = 0; i<savedQuest1Mults.length; i++) {
quest1Mults[i] = savedQuest1Mults[i];
}
}
for (var i = 0; i < animalXP.length; i++) {
animalXP[i] *= quest1Mults[i];
}
var yamiMults = new Array(numberOfAnimals).fill(1);
if (localStorage.getItem("yamiMults")) {
savedYamiMults = JSON.parse(localStorage.getItem("yamiMults"));
for (var i = 0; i<savedYamiMults.length; i++) {
yamiMults[i] = savedYamiMults[i];
}
}
for (var i = 0; i < animalXP.length; i++) {
animalXP[i] *= yamiMults[i];
}
var angelMults = new Array(numberOfAnimals).fill(1);
if (localStorage.getItem("angelMults")) {
savedAngelMults = JSON.parse(localStorage.getItem("angelMults"));
for (var i = 0; i<savedAngelMults.length; i++) {
angelMults[i] = savedAngelMults[i];
}
}
for (var i = 0; i < animalXP.length; i++) {
animalXP[i] *= angelMults[i];
}
var rainbowMults = new Array(numberOfAnimals).fill(1);
if (localStorage.getItem("rainbowMults")) {
savedrainbowMults = JSON.parse(localStorage.getItem("rainbowMults"));
for (var i = 0; i<savedrainbowMults.length; i++) {
rainbowMults[i] = savedrainbowMults[i];
}
}
for (var i = 0; i < animalXP.length; i++) {
animalXP[i] *= rainbowMults[i];
}
var myAnimalXP = {"circus_tent":animalXP[0], "camel":animalXP[1], "tiger":animalXP[2], "clown":animalXP[3], "elephant":animalXP[4], "leopard":animalXP[5], "rhino":animalXP[6], "juggler":animalXP[7], "zebra":animalXP[8], "bear":animalXP[9], "crocodile":animalXP[10], "monkey":animalXP[11], "hippo":animalXP[12], "seal":animalXP[13], "llama":animalXP[14], "dog":animalXP[15], "horse":animalXP[16], "cat":animalXP[17], "kurama":animalXP[18], "merry":animalXP[19], "articuno":animalXP[20]}
localStorage.setItem("myAnimalXP", JSON.stringify(myAnimalXP));
var animalRNG = Math.floor(Math.random() * tabPicSources.length)
Player.logically_accessible = 0;
var d = new Date();
var pauseTotal = 0;
var pauseInitial = 0;
var pauseFlag = true;
var pauseTotalToD = -130*1000;
var pauseInitialToD = 0;
var pauseFlagToD = true;
var timeSet = -1;
var lastToDpass = 0;
var savedToD = 130;
var initialTime = d.getTime();
var goodCheckPercent = 0;
var timeStart = d.getTime();
var timeCurrent;
var timeFuture;
var timeFinal;
var timeLost =0;
var tMinutes = 0;
var tSeconds = 0;
var linso = true;
if (localStorage.getItem("linso")) {linso = localStorage.getItem("linso") === 'true'; }
var linsoGoMode = false;
var linsoLightRotation = 0;
if (localStorage.getItem("type")) {Person.type = localStorage.getItem("type");} else{Person.type = "normie";}
Person.type = "normie";
var colorTheme = "dark";
if (localStorage.getItem("theme") != null) {if (localStorage.getItem("theme") == "light"){colorTheme = "light"; document.getElementById("altThemeControl").innerHTML = "Light Theme"};}
Logic.brackets = false;
document.getElementById("text_dung7").style.color = "yellow";
document.getElementById("text_dung8").style.color = "yellow";
document.getElementById("text_dung9").style.color = "yellow";
Player.unknown = false;
Player.small_key = true;
Player.boss_key = true;
Player.emerald = false;
Player.ruby = false;
Player.sapphire = false;
var hasChangedMedal = false;
Player.tokens = 0;
token_click = 4;
Player.kokiri_sword = false;
Player.farores_wind = false;
Player.slingshot1= false;
Player.slingshot1= false;
Player.slingshot2= false;
Player.slingshot3= false;
Player.boomerang = false;
Player.rutos_letter = false;
Player.bottle1 = false;
Player.bottle2 = false;
Player.bottle3 = false;
Player.bottle4 = false;
Player.big_poe = false;
Player.scale1 = false;
Player.scale2 = false;
Player.bomb_bag1 = false;
Player.bomb_bag2 = false;
Player.bomb_bag3 = false;
Player.hammer = false;
Player.bow1 = false;
Player.bow2 = false;
Player.bow3 = false;
Player.hookshot = false;
Player.longshot = false;
Player.iron_boots = false;
Player.hover_boots = false;
Player.magic = false;
Player.magic1 = false;
Player.magic2 = false;
Player.dins_fire = false;
Player.fire_arrows = false;
Player.goron_bracelet = false;
Player.silver_gauntlets = false;
Player.golden_gauntlets = false;
Player.mirror_shield = false;
Player.wallet1 = false;
Player.wallet2 = false;
Player.wallet3 = false;
Player.goron_tunic = false;
Player.zora_tunic = false;
Player.lens = false;
Player.stone_of_agony = false;
Player.trade = false;
Player.prescription = false;
Player.claim_check = false;
Player.lullaby = false;
Player.eponas = false;
Player.sarias = false;
Player.suns = false;
Player.time = false;
Player.storms = false;
Player.minuet = false;
Player.bolero = false;
Player.serenade = false;
Player.requiem = false;
Player.nocturne = false;
Player.prelude = false;
Player.min_forest_keys=0;
Player.current_forest_keys=0;
Player.forest_keys = 0;
Player.min_fire_keys=0;
Player.current_fire_keys=0;
Player.fire_keys = 0;
Player.min_water_keys=0;
Player.current_water_keys=0;
Player.water_keys = 0;
Player.min_spirit_keys=0;
Player.current_spirit_keys=0;
Player.spirit_keys = 0;
Player.min_shadow_keys=0;
Player.current_shadow_keys=0;
Player.shadow_keys = 0;
Player.min_ganons_keys=0;
Player.current_ganons_keys=0;
Player.ganons_keys = 0;
Player.min_gtg_keys=0;
Player.current_gtg_keys=0;
Player.gtg_keys = 0;
Player.min_well_keys=0;
Player.current_well_keys=0;
Player.well_keys = 0;
Player.deku_checks_remaining = 7;
Player.dodongos_checks_remaining = 7;
Player.jabu_checks_remaining = 4;
Player.forest_checks_remaining = 8;
Player.fire_checks_remaining = 6;
Player.water_checks_remaining = 4;
Player.shadow_checks_remaining = 12;
Player.spirit_checks_remaining = 14;
Player.gtg_checks_remaining = 13;
Player.well_checks_remaining = 11;
Player.ganons_checks_remaining = 14;
Player.forest_boss_key = false;
Player.fire_boss_key = false;
Player.water_boss_key = false;
Player.spirit_boss_key = false;
Player.shadow_boss_key = false;
Player.forest_key_ring = false;
Player.fire_key_ring = false;
Player.water_key_ring = false;
Player.spirit_key_ring = false;
Player.shadow_key_ring = false;
Player.well_key_ring = false;
Player.gtg_key_ring = false;
Player.ganons_key_ring = false;
Player.gerudo_card = false;
Player.magic_bean_pack = false;
CouldHave.min_forest_keys=0;
CouldHave.current_forest_keys=0;
CouldHave.forest_keys = 0;
CouldHave.min_fire_keys=0;
CouldHave.current_fire_keys=0;
CouldHave.fire_keys = 0;
CouldHave.min_water_keys=0;
CouldHave.current_water_keys=0;
CouldHave.water_keys = 0;
CouldHave.min_spirit_keys=0;
CouldHave.current_spirit_keys=0;
CouldHave.spirit_keys = 0;
CouldHave.min_shadow_keys=0;
CouldHave.current_shadow_keys=0;
CouldHave.shadow_keys = 0;
CouldHave.min_ganons_keys=0;
CouldHave.current_ganons_keys=0;
CouldHave.ganons_keys = 0;
CouldHave.min_gtg_keys=0;
CouldHave.current_gtg_keys=0;
CouldHave.gtg_keys = 0;
CouldHave.min_well_keys=0;
CouldHave.current_well_keys=0;
CouldHave.well_keys = 0;
CouldHave.forest_boss_key = false;
CouldHave.fire_boss_key = false;
CouldHave.water_boss_key = false;
CouldHave.spirit_boss_key = false;
CouldHave.shadow_boss_key = false;
CouldHave.forest_key_ring = false;
CouldHave.fire_key_ring = false;
CouldHave.water_key_ring = false;
CouldHave.spirit_key_ring = false;
CouldHave.shadow_key_ring = false;
CouldHave.well_key_ring = false;
CouldHave.gtg_key_ring = false;
CouldHave.ganons_key_ring = false;
CouldHave.gerudo_card = false;
CouldHave.magic_bean_pack = false;
Player.checks_remaining=196;
Player.logically_accessible=35;
Player.forest_logically_accessible=0;
Player.fire_logically_accessible=0;
Player.water_logically_accessible=0;
Player.spirit_logically_accessible=0;
Player.shadow_logically_accessible=0;
Player.gtg_logically_accessible=0;
Player.well_logically_accessible=0;
Player.ganons_logically_accessible=0;
Player.theme = "dark";
Player.themeChange = false;
Player.changetheme = 1;
Player.has_chus = false;
var tempTime = 0;
var tempHours = 0;
var tempMinutes = 0;
var tempSeconds = 0;
//Lists of adult and child-onlyish checks to be used for next check highlighting. It's more of a 'you're very likely to be doing this as child/adult' than a guarantee
var adult = [
"gerudo_hammer",
"hylia_adult_fishing", "hylia_lab_top", "hylia_lab_dive", "hylia_sun_shoot",
"poes",
"g_fairy",
"lacs",
"glacier_hp", "bottom_of_fountain",
"gs_ice_spinning_scythe", "ice_map", "gs_ice_hp_room", "ice_hp", "ice_compass", "gs_ice_block_room", "ice_irons",
"goron_link",
"gs_dodongos_east_side", "gs_dodongos_scarecrow", "scrub_dodongos_1", "scrub_dodongos_2", "dodongos_map", "dodongos_compass", "gs_dodongos_above_stairs", "gs_dodongos_stair_vines", "dodongos_bomb_flower_platform", "scrub_dodongos_3", "scrub_dodongos_4", "dodongos_bomb_bag", "dodongos_end_of_bridge", "gs_dodongos_before_king", "dodongos_above_king", "dodongos_king_dodongo", "h_dodongos",
"trail_fairy",
"crater_bean", "scrub_crater_1", "scrub_crater_2", "scrub_crater_3", "crater_hammer_fairy", "crater_nook_hp", "crater_grotto", "h_crater_grotto", "h_crater_wall",
"anju", "archery_game",
"race_1", "race_2",
"thaw_king",
"gerudo_archery_1", "gerudo_archery_2",
"forest_first", "gs_forest_first", "gs_forest_lobby", "forest_stalfos", "forest_midCourtyard", "gs_forest_outdoor_east", "forest_highCourtyard", "forest_lowCourtyard", "forest_blockRoom", "forest_bossKey", "forest_floormaster", "gs_forest_outdoor_west", "forest_red", "forest_bow", "forest_blue", "forest_fallingCeiling", "forest_nearBoss", "gs_forest_basement", "forest_phantomGanon",
"fire_nearBoss", "gs_fire_basement", "fire_hammer1", "fire_hammer2", "fire_lavaOpen", "gs_fire_time", "fire_lavaBomb", "fire_volvagia", "fire_lowerMaze", "gs_fire_bomb_wall", "fire_sideRoom", "fire_map", "fire_upperMaze", "fire_shortcut", "gs_fire_scarecrow_1", "gs_fire_scarecrow_2", "fire_scarecrow", "fire_compass", "fire_sotGoron", "fire_top",
"spirit_adultLeft", "gs_spirit_boulder_room", "spirit_adultRight", "spirit_rotatingMirror1", "spirit_rotatingMirror2", "spirit_lullabyHand", "spirit_lullabyHigh", "gs_spirit_lobby", "spirit_nearFourArmos", "spirit_invisible1", "spirit_invisible2", "spirit_leftHand", "spirit_bossKey", "spirit_tippyTop", "spirit_twinrova",
"shadow_map", "shadow_hovers", "shadow_compass", "shadow_earlySilvers", "gs_shadow_like_like", "shadow_spinning1", "shadow_spinning2", "shadow_spikesLower", "gs_shadow_crusher", "shadow_spikesUpper", "shadow_spikesSwitch", "shadow_redeadSilvers", "gs_shadow_giant_pot", "shadow_pot", "shadow_wind", "shadow_bombable", "shadow_gibdos", "gs_shadow_near_boat", "shadow_dins1", "shadow_dins2", "gs_shadow_three_pots", "shadow_floormaster", "shadow_bongo",
"water_compass", "water_map", "water_cracked", "water_torches", "gs_water_near_boss_key", "water_bossKey", "gs_water_south_basement", "water_block", "gs_water_central", "water_pillar", "gs_water_platform_room", "water_dLink", "gs_water_river", "water_river", "water_dragon", "water_morpha",
"scrub_ganons_1", "scrub_ganons_2", "scrub_ganons_3", "scrub_ganons_4", "ganons_lightTrial1", "ganons_lightTrial2", "ganons_lightTrial3", "ganons_lightTrial4", "ganons_lightTrial5", "ganons_lightTrial6", "ganons_lightTrial7", "ganons_lightTrialLullaby", "ganons_spiritTrial1", "ganons_spiritTrial2", "ganons_forestTrial", "ganons_waterTrial1", "ganons_waterTrial2", "ganons_shadowTrial1", "ganons_shadowTrial2", "ganons_bossKey",
"gtg_lobbyLeft", "gtg_lobbyRight", "gtg_stalfos", "gtg_wolfos", "gtg_silvers1", "gtg_silvers2", "gtg_silvers3", "gtg_silvers4", "gtg_eyes", "gtg_aboveEyes", "gtg_keese", "gtg_flamesChest", "gtg_freestanding", "gtg_right2", "gtg_right3", "gtg_beamos", "gtg_left1", "gtg_left2", "gtg_left3", "gtg_left4", "gtg_final", "gtg_toilet",
"stormsSpot", "boleroSpot", "minuetSpot", "serenadeSpot", "preludeSpot", "nocturneSpot",
];
var child = [
"kokiri_sword",
"talons_chickens", "back_of_ranch",
"hylia_child_fishing", "hylia_bottle",
"market_slingshot_game", "richard", "market_bowling_1", "market_bowling_2", "market_lens_game",
"dins_fairy",
"target", "ocarina_game", "skull_kid", "bridge_scrub", "theater_skull",
"rolling_goron", "goron_dance", "goron_pot",
"gs_crater_soil", "gs_crater_crate", "scrub_crater_child",
"anjus_chickens",
"gravedigging_tour",
"frogs_1",
"zora_torches", "zora_diving",
"gs_jabu_vines", "scrub_jabu", "jabu_map", "jabu_compass", "jabu_boomerang", "gs_jabu_near_octo_1", "gs_jabu_near_octo_2", "gs_jabu_near_boss", "jabu_barinade",
"spirit_childLeft", "spirit_childRight",
"well_fakeLeft", "well_frontBombable", "well_centerBig", "well_fakeRight", "well_centerSmall", "well_backBombable", "well_waterLeft", "well_coffin", "well_waterFront", "well_invisible", "well_deadHand", "gs_well_west_inner", "gs_well_east_inner", "well_locked1", "well_locked2", "gs_well_like_like", "well_basement",
"zeldasSpot", "eponasSpot", "sariasSpot", "oot",
];
var Locations = [
"kokiri_mido_1", "kokiri_mido_2", "kokiri_mido_3", "kokiri_mido_4", "kokiri_sword", "shop_kokiri_TL", "shop_kokiri_TR", "shop_kokiri_BR", "shop_kokiri_BL", "gs_kokiri_child", "gs_kokiri_soil", "gs_kokiri_adult", "kokiri_storms", "cow_kokiri", "h_deku_left", "h_deku_right", "h_near_lw", "h_kokiri_storms",
"talons_chickens", "gs_lon_lon_tree", "back_of_ranch", "scrub_ranch_1", "scrub_ranch_2", "scrub_ranch_3", "gs_lon_lon_window", "gs_lon_lon_shed", "gs_lon_lon_back_wall","cow_ranch1", "cow_ranch2", "cow_ranch3", "cow_ranch4",
"hyrule_marketGrotto", "hyrule_tektite_grotto", "hyrule_hp_scrub", "hyrule_openGrotto", "hyrule_remoteGrotto", "gs_outside_kakariko", "gs_near_gerudo", "hyrule_ocarina", "cow_field", "h_hyrule_remoteGrotto", "h_hyrule_openGrotto", "h_hyrule_marketGrotto", "h_hyrule_web",
"gerudovalley_box", "gerudovalley_fall", "gs_valley_small_bridge", "gs_valley_bean", "gs_valley_pillar", "gs_valley_tent", "gerudo_hammer", "scrub_gv_1", "scrub_gv_2", "cow_valley", "h_valley",
"scrub_lake_1", "scrub_lake_2", "scrub_lake_3", "hylia_child_fishing", "hylia_bottle", "gs_hylia_bean", "gs_hylia_lab_wall", "gs_hylia_island", "hylia_adult_fishing", "hylia_lab_top", "gs_hylia_lab_crate", "hylia_lab_dive", "gs_hylia_tree", "hylia_sun_shoot", "h_lab", "h_back_right_lake", "h_back_left_lake",
"gs_market", "shop_market_bazaar_TL", "shop_market_bazaar_TR", "shop_market_bazaar_BR", "shop_market_bazaar_BL", "shop_market_potion_TL", "shop_market_potion_TR", "shop_market_potion_BR", "shop_market_potion_BL", "shop_market_chu_TL", "shop_market_chu_TR", "shop_market_chu_BR", "shop_market_chu_BL", "market_slingshot_game", "richard", "market_bowling_1", "market_bowling_2", "market_lens_game", "poes", "h_tot_1", "h_tot_2", "h_tot_3", "h_tot_4",
"gs_hyrule_castle_tree", "dins_fairy", "gs_hyrule_castle_grotto", "h_castle_1", "h_castle_2", "h_castle_sos",
"gs_ogc", "g_fairy",
"lacs",
"gs_fountain_above_log", "gs_fountain_tree", "fountain_fairy", "glacier_hp", "bottom_of_fountain", "gs_fountain_hidden_cave", "h_fountain_fairy", "h_fountain",
"gs_ice_spinning_scythe", "ice_map", "gs_ice_hp_room", "ice_hp", "ice_compass", "gs_ice_block_room", "ice_irons",
"deku_lobby", "deku_slingshot", "deku_slingshot_room_side", "deku_compass", "deku_compass_room_side", "gs_deku_compass", "gs_deku_basement_gate", "gs_deku_basement_vines", "deku_basement", "gs_deku_basement_back", "deku_queen_gohma",
"lost_woods_fairy_ocarina", "target", "ocarina_game", "lw_generic", "scrub_lw_1", "scrub_lw_2", "gs_lost_woods_bean_2", "lost_woods_scrub_grotto", "scrub_lw_3", "gs_lost_woods_bean_1", "skull_kid", "bridge_scrub", "gs_lost_woods_above_stage", "theater_skull", "theater_truth", "h_lw_bridge", "h_lw_generic",
"wolfos_grotto", "gs_sacred_forest", "scrub_sfm_1", "scrub_sfm_2", "h_saria", "h_sfm_1", "h_sfm_2",
"shop_goron_TL", "shop_goron_TR", "shop_goron_BR", "shop_goron_BL", "rolling_goron", "goron_dance", "goron_pot", "goron_maze_1", "goron_maze_2", "gs_goron_maze", "goron_maze_3", "gs_goron_center", "goron_link", "scrub_goron_1", "scrub_goron_2", "scrub_goron_3", "goron_medigoron", "h_goron_maze", "h_medigoron",
"gs_dodongos_east_side", "gs_dodongos_scarecrow", "scrub_dodongos_1", "scrub_dodongos_2", "dodongos_map", "dodongos_compass", "gs_dodongos_above_stairs", "gs_dodongos_stair_vines", "dodongos_bomb_flower_platform", "scrub_dodongos_3", "scrub_dodongos_4", "dodongos_bomb_bag", "dodongos_end_of_bridge", "gs_dodongos_before_king", "dodongos_above_king", "dodongos_king_dodongo", "h_dodongos",
"trail_top", "gs_trail_bombable_wall", "trail_bombable", "trail_storms", "trail_fairy", "trade_quest", "gs_trail_hail_path", "gs_trail_above_dodongos", "gs_trail_soil","cow_trail", "h_trail_storms", "h_biggoron",
"crater_bean", "scrub_crater_1", "scrub_crater_2", "scrub_crater_3", "crater_hammer_fairy", "crater_nook_hp", "crater_grotto", "gs_crater_soil", "gs_crater_crate", "scrub_crater_child", "h_crater_grotto", "h_crater_wall",
"tokens_10", "tokens_20", "tokens_30", "tokens_40", "tokens_50", "shop_kakariko_bazaar_TL", "shop_kakariko_bazaar_TR", "shop_kakariko_bazaar_BR", "shop_kakariko_bazaar_BL", "shop_kakariko_potion_TL", "shop_kakariko_potion_TR", "shop_kakariko_potion_BR", "shop_kakariko_potion_BL", "man_on_roof", "kakariko_grotto", "kakariko_hag", "windmill", "anju", "kakariko_cow_house", "archery_game", "redead_grotto", "anjus_chickens", "gs_kakariko_tree", "gs_kakariko_guard_house", "gs_kakariko_tower", "gs_kakariko_construction", "gs_kakariko_skulltula_house", "gs_kakariko_impas", "cow_kakariko", "h_kakariko_grotto",
"shield_grave", "graveyard_box", "race_1", "race_2", "gravedigging_tour", "gs_graveyard_soil", "gs_graveyard_wall", "redead_grave", "composers_grave","h_nocturne",
"gs_river_tree", "scrub_river_1", "scrub_river_2", "river_bean_salesman", "river_pillar", "frogs_1", "river_grotto", "gs_river_near_grotto", "gs_river_above_bridge", "river_ledge", "gs_river_ladder", "frogs_2", "h_river_grotto", "h_river_pillar", "h_river_domain",
"shop_domain_TL", "shop_domain_TR", "shop_domain_BR", "shop_domain_BL", "zora_torches", "zora_diving", "thaw_king", "gs_domain", "h_domain",
"colossus_bean", "colossus_fairy", "gs_colossus_soil", "gs_colossus_hill", "gs_colossus_tree", "scrub_colossus_1", "scrub_colossus_2", "h_colossus",
"gs_wasteland", "wasteland_carpet", "wasteland",
"fortress_card", "gs_fortress_top", "gerudo_roof", "gerudo_archery_1", "gerudo_archery_2", "gs_fortress_archery",
"gs_jabu_vines", "scrub_jabu", "jabu_map", "jabu_compass", "jabu_boomerang", "gs_jabu_near_octo_1", "gs_jabu_near_octo_2", "gs_jabu_near_boss", "jabu_barinade",
"forest_first", "gs_forest_first", "gs_forest_lobby", "forest_stalfos", "forest_midCourtyard", "gs_forest_outdoor_east", "forest_highCourtyard", "forest_lowCourtyard", "forest_blockRoom", "forest_bossKey", "forest_floormaster", "gs_forest_outdoor_west", "forest_red", "forest_bow", "forest_blue", "forest_fallingCeiling", "forest_nearBoss", "gs_forest_basement", "forest_phantomGanon",
"fire_nearBoss", "gs_fire_basement", "fire_hammer1", "fire_hammer2", "fire_lavaOpen", "gs_fire_time", "fire_lavaBomb", "fire_volvagia", "fire_lowerMaze", "gs_fire_bomb_wall", "fire_sideRoom", "fire_map", "fire_upperMaze", "fire_shortcut", "gs_fire_scarecrow_1", "gs_fire_scarecrow_2", "fire_scarecrow", "fire_compass", "fire_sotGoron", "fire_top",
"spirit_childLeft", "spirit_childRight", "gs_spirit_metal_fence", "spirit_childClimb1", "gs_spirit_child_climb", "spirit_childClimb2", "spirit_map", "spirit_sunRoom", "gs_spirit_before_child_knuckle", "spirit_rightHand", "spirit_adultLeft", "gs_spirit_boulder_room", "spirit_adultRight", "spirit_rotatingMirror1", "spirit_rotatingMirror2", "spirit_lullabyHand", "spirit_lullabyHigh", "gs_spirit_lobby", "spirit_nearFourArmos", "spirit_invisible1", "spirit_invisible2", "spirit_leftHand", "spirit_bossKey", "spirit_tippyTop", "spirit_twinrova",