-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
1172 lines (991 loc) · 76.1 KB
/
index.html
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
<!doctype html>
<html lang="en" id="htmlElement">
<head>
<meta charset="utf-8">
<title>Mario Party Overlay</title>
<meta name="description" content="An extensive and easy to use 'Bonus Star' tracker for all Mario Party games! With included greenscreen for livestreams!">
<meta name="author" content="blueYOSHI">
<meta property="og:type" content="website">
<meta property="og:title" content="Mario Party Overlay">
<meta property="og:description" content="An extensive and easy to use 'Bonus Star' tracker for all Mario Party games!">
<meta property="og:image" content="https://raw.githubusercontent.com/blueYOSHI9000/MarioPartyOverlay/master/img/favicon/icon-120x120.png">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="https://blueyoshi9000.github.io/MarioPartyOverlay">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Mario Party Overlay">
<meta name="twitter:description" content="An extensive and easy to use 'Bonus Star' tracker for all Mario Party games!">
<meta name="twitter:image" content="https://raw.githubusercontent.com/blueYOSHI9000/MarioPartyOverlay/master/img/favicon/icon-120x120.png">
<!-- Fuck twitter, no longer using it so the accounts will no longer be linked here. The twitter:card thing will still be used since other sites rely on it too iirc. -->
<!--meta name="twitter:site" content="@yoshisrc"-->
<!--meta name="twitter:creator" content="@yoshisrc"-->
<a rel="me" href="https://wetdry.world/@blueYOSHMIN" style="display: none;">Mastodon</a> <!-- Gets pushed into <body> for SOME fucking reason -->
<meta name="google-site-verification" content="L7wGU_sd9ri9CM2r9zhWhwq2pLkPtuemouRzyRFudC8" />
<meta name="viewport" content="width=815, initial-scale=.5">
<link rel="manifest" href="mpo.webmanifest" />
<link rel="apple-touch-icon" sizes="152x152" href="img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#4598fd">
<meta name="theme-color-light" content="#4598fd">
<meta name="theme-color-dark" content="#4598fd">
<link rel="stylesheet" href="labels.css">
<link rel="stylesheet" href="buttons.css">
<link rel="stylesheet" href="style.css">
</head>
<body id="bodyElement">
<noscript>
<span> Javascript is required for MPO to work. <br> MPO does not save or send any information anywhere. <br> It only saves stats & settings in your browser which no other website can access. </span>
</noscript>
<!-- === NAVBAR === -->
<div id="navbar">
<span id="nvChar1" class="nvChar" onclick="showNavBar(this)"> <span style="position: absolute;"> <img src="img/p1.png" class="nvCharPlayerDisplay"> </span> <img src="img/mpsrIcons/mario.png" onerror="imgError(this)"> <img src="img/com.png" id="nvCom1" class="nvCom" onerror="comImgError(this)"> </span>
<span id="nvChar2" class="nvChar" onclick="showNavBar(this)"> <span style="position: absolute;"> <img src="img/p2.png" class="nvCharPlayerDisplay"> </span> <img src="img/mpsrIcons/luigi.png" onerror="imgError(this)"> <img src="img/com.png" id="nvCom2" class="nvCom" onerror="comImgError(this)"> </span>
<span id="nvChar3" class="nvChar" onclick="showNavBar(this)"> <span style="position: absolute;"> <img src="img/p3.png" class="nvCharPlayerDisplay"> </span> <img src="img/mpsrIcons/yoshi.png" onerror="imgError(this)"> <img src="img/com.png" id="nvCom3" class="nvCom" onerror="comImgError(this)"> </span>
<span id="nvChar4" class="nvChar" onclick="showNavBar(this)"> <span style="position: absolute;"> <img src="img/p4.png" class="nvCharPlayerDisplay"> </span> <img src="img/mpsrIcons/peach.png" onerror="imgError(this)"> <img src="img/com.png" id="nvCom4" class="nvCom" onerror="comImgError(this)"> </span>
<span id="nvGame" class="nvGames" onclick="showNavBar(this)"> <span id="nvGameImg"></span> <span id="nvGameAll">All</span> </span>
<span id="nvCounters" class="nvCounters" onclick="showNavBar(this)"> <img src="img/counters.png"></span>
<span id="nvAction" class="nvAction" onclick="showNavBar(this)"> <span class="relative"> <span id="nvActionText">Add</span> <span id="nvCtrlHeld">Ctrl</span> </span> <span id="nvActionIcon">+</span> </span>
<span id="nvAmount" class="nvAmount" onclick="showNavBar(this)"> <span class="relative"> <span id="nvShiftHeld">Shift</span> </span> <span id="nvAmountText">1</span> </span>
<span id="nvAssist" class="nvAssist" onclick="showNavBar(this)" style="display: none;"> <span>A</span> </span>
<span id="nvSettings" class="nvSettings" onclick="showNavBar(this)"> <span class="relative"> <span id="nvSavedText">Save!</span> </span>
<svg id="nvSettingsImg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50" height="50" fill="#000000">
<path id="nvSettingsImgPath" d="M47.16,21.221l-5.91-0.966c-0.346-1.186-0.819-2.326-1.411-3.405l3.45-4.917c0.279-0.397,0.231-0.938-0.112-1.282 l-3.889-3.887c-0.347-0.346-0.893-0.391-1.291-0.104l-4.843,3.481c-1.089-0.602-2.239-1.08-3.432-1.427l-1.031-5.886 C28.607,2.35,28.192,2,27.706,2h-5.5c-0.49,0-0.908,0.355-0.987,0.839l-0.956,5.854c-1.2,0.345-2.352,0.818-3.437,1.412l-4.83-3.45 c-0.399-0.285-0.942-0.239-1.289,0.106L6.82,10.648c-0.343,0.343-0.391,0.883-0.112,1.28l3.399,4.863 c-0.605,1.095-1.087,2.254-1.438,3.46l-5.831,0.971c-0.482,0.08-0.836,0.498-0.836,0.986v5.5c0,0.485,0.348,0.9,0.825,0.985 l5.831,1.034c0.349,1.203,0.831,2.362,1.438,3.46l-3.441,4.813c-0.284,0.397-0.239,0.942,0.106,1.289l3.888,3.891 c0.343,0.343,0.884,0.391,1.281,0.112l4.87-3.411c1.093,0.601,2.248,1.078,3.445,1.424l0.976,5.861C21.3,47.647,21.717,48,22.206,48 h5.5c0.485,0,0.9-0.348,0.984-0.825l1.045-5.89c1.199-0.353,2.348-0.833,3.43-1.435l4.905,3.441 c0.398,0.281,0.938,0.232,1.282-0.111l3.888-3.891c0.346-0.347,0.391-0.894,0.104-1.292l-3.498-4.857 c0.593-1.08,1.064-2.222,1.407-3.408l5.918-1.039c0.479-0.084,0.827-0.5,0.827-0.985v-5.5C47.999,21.718,47.644,21.3,47.16,21.221z M25,32c-3.866,0-7-3.134-7-7c0-3.866,3.134-7,7-7s7,3.134,7,7C32,28.866,28.866,32,25,32z" stroke="black"/>
</svg>
</span>
</div>
<div id="navbarChars" class="navbarContent" player="1">
<div>
<div id="nvCurPlayer">
<img src="img/p1.png" id="nvPlayerImg">
<img src="img/com.png" id="nvComImg" onclick="nvChangeCom()" onerror="comImgError(this)">
<img src="img/question.png" id="nvRandoImg" title="Randomize character" onclick="nvRando()">
</div>
<div id="nvCharList">
<img src="img/mp1/mario.png" character="mario" onclick="nvChangeChar(this)" onerror="imgError(this)">
<img src="img/mp1/luigi.png" character="luigi" onclick="nvChangeChar(this)" onerror="imgError(this)">
<img src="img/mp1/peach.png" character="peach" onclick="nvChangeChar(this)" onerror="imgError(this)"> <br>
<img src="img/mp1/yoshi.png" character="yoshi" onclick="nvChangeChar(this)" onerror="imgError(this)">
<img src="img/mp1/wario.png" character="wario" onclick="nvChangeChar(this)" onerror="imgError(this)">
<img src="img/mp1/dk.png" character="dk" onclick="nvChangeChar(this)" onerror="imgError(this)">
</div>
<img src="img/p1.png" class="nvCharPlayer" id="nvCharPlayer1">
<img src="img/p2.png" class="nvCharPlayer" id="nvCharPlayer2">
<img src="img/p3.png" class="nvCharPlayer" id="nvCharPlayer3">
<img src="img/p4.png" class="nvCharPlayer" id="nvCharPlayer4">
</div>
</div>
<div id="navbarGames" class="navbarContent">
<div>
<div id="nvGamesContainer">
<div>
<span id="nvall" onclick="nvChangeGame('all')"> <span>All</span> </span>
<img src="img/mp1.png" id="nvmp1" onclick="nvChangeGame('mp1')">
<img src="img/mp2.png" id="nvmp2" onclick="nvChangeGame('mp2')">
<img src="img/mp3.png" id="nvmp3" onclick="nvChangeGame('mp3')">
<img src="img/mp4.png" id="nvmp4" onclick="nvChangeGame('mp4')">
<img src="img/mp5.png" id="nvmp5" onclick="nvChangeGame('mp5')">
<img src="img/mp6.png" id="nvmp6" onclick="nvChangeGame('mp6')">
<img src="img/mp7.png" id="nvmp7" onclick="nvChangeGame('mp7')">
<img src="img/mp8.png" id="nvmp8" onclick="nvChangeGame('mp8')">
<img src="img/mp9.png" id="nvmp9" onclick="nvChangeGame('mp9')">
<img src="img/mp10.png" id="nvmp10" onclick="nvChangeGame('mp10')">
</div>
<div>
<img src="img/mpa.png" id="nvmpa" onclick="nvChangeGame('mpa')">
<img src="img/mpds.png" id="nvmpds" onclick="nvChangeGame('mpds')">
<img src="img/mpit.png" id="nvmpit" onclick="nvChangeGame('mpit')">
<img src="img/mpsr.png" id="nvmpsr" onclick="nvChangeGame('mpsr')">
<img src="img/mptt100.png" id="nvmptt100" onclick="nvChangeGame('mptt100')">
<img src="img/smp.png" id="nvsmp" onclick="nvChangeGame('smp')">
</div>
</div>
</div>
</div>
<div id="navbarAssist" class="navbarContent navbarDraggable">
<div>
<div id="nvAssistTitlebar">
<span id="nvAssistTitlebarIcons">
<span class="nvAssistTitlebarIconsButtons" onclick="getElem('nvAssistPin').classList.remove('nvAssistTitlebarIcons_selected');closeNavbar();openSettings();callOnBoth('showHideSettings', ['assist'])"> <svg id="nvSettingsImg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50" height="50" fill="#000000">
<path id="nvSettingsImgPath" d="M47.16,21.221l-5.91-0.966c-0.346-1.186-0.819-2.326-1.411-3.405l3.45-4.917c0.279-0.397,0.231-0.938-0.112-1.282 l-3.889-3.887c-0.347-0.346-0.893-0.391-1.291-0.104l-4.843,3.481c-1.089-0.602-2.239-1.08-3.432-1.427l-1.031-5.886 C28.607,2.35,28.192,2,27.706,2h-5.5c-0.49,0-0.908,0.355-0.987,0.839l-0.956,5.854c-1.2,0.345-2.352,0.818-3.437,1.412l-4.83-3.45 c-0.399-0.285-0.942-0.239-1.289,0.106L6.82,10.648c-0.343,0.343-0.391,0.883-0.112,1.28l3.399,4.863 c-0.605,1.095-1.087,2.254-1.438,3.46l-5.831,0.971c-0.482,0.08-0.836,0.498-0.836,0.986v5.5c0,0.485,0.348,0.9,0.825,0.985 l5.831,1.034c0.349,1.203,0.831,2.362,1.438,3.46l-3.441,4.813c-0.284,0.397-0.239,0.942,0.106,1.289l3.888,3.891 c0.343,0.343,0.884,0.391,1.281,0.112l4.87-3.411c1.093,0.601,2.248,1.078,3.445,1.424l0.976,5.861C21.3,47.647,21.717,48,22.206,48 h5.5c0.485,0,0.9-0.348,0.984-0.825l1.045-5.89c1.199-0.353,2.348-0.833,3.43-1.435l4.905,3.441 c0.398,0.281,0.938,0.232,1.282-0.111l3.888-3.891c0.346-0.347,0.391-0.894,0.104-1.292l-3.498-4.857 c0.593-1.08,1.064-2.222,1.407-3.408l5.918-1.039c0.479-0.084,0.827-0.5,0.827-0.985v-5.5C47.999,21.718,47.644,21.3,47.16,21.221z M25,32c-3.866,0-7-3.134-7-7c0-3.866,3.134-7,7-7s7,3.134,7,7C32,28.866,28.866,32,25,32z" stroke="black"/>
</svg> </span>
<span class="nvAssistHandle" style="left: 3px; cursor: move;"> <img src="img/drag.png"> </span>
<span id="nvAssistPin" class="nvAssistTitlebarIconsButtons" onclick="nvAssistPin(this)"> <img src="img/pin.png"> </span>
</span>
</div>
<div id="nvAssistStateIndicator">
<div>
<img src="img/arrow.png">
<img src="img/smp/mario.png" class="chooseImg">
<img src="img/smp/luigi.png" class="chooseImg">
<img src="img/smp/yoshi.png" class="chooseImg chooseImgNoOpacity">
<img src="img/smp/peach.png" class="chooseImg">
<img src="img/minigame.png" class="chooseImg">
<img src="img/arrow.png">
</div>
</div>
<div id="nvAssistTurnIndicator">
<div>
<img src="img/stars.png" class="chooseImg chooseImgNoOpacity">
<img src="img/assist/mpds/diceblock.png" class="chooseImg">
<img src="img/shopping.png" class="chooseImg">
<img src="img/item.png" class="chooseImg">
<img src="img/assist/mpds/bluespace.png" class="chooseImg">
<img src="img/hex.png" class="chooseImg">
</div>
</div>
<div id="nvAssistMain">
<div id="nv_assistIntro">
<button onclick="nextAssistState()">Start</button>
</div>
<div id="nv_assistChooseOrder" class="displayNone">
<span class="settingsTitle">Choose Order</span> <br>
<img src="img/mk8Icons/mario.png" class="chooseImg" id="nv_assistChooseP1" onclick="chooseOrder(1)">
<img src="img/mk8Icons/luigi.png" class="chooseImg" id="nv_assistChooseP2" onclick="chooseOrder(2)">
<img src="img/mk8Icons/yoshi.png" class="chooseImg" id="nv_assistChooseP3" onclick="chooseOrder(3)">
<img src="img/mk8Icons/peach.png" class="chooseImg" id="nv_assistChooseP4" onclick="chooseOrder(4)"> <br>
<button onclick="resetChooseOrder()">Reset Order</button> <br>
<div id="nv_chooseWrapper">
<span id="nv_choose1" class="visibilityTransition hidden">
<img src="img/mk8Icons/mario.png">
</span>
<span id="nv_choose2" class="visibilityTransition hidden">
<img src="img/mk8Icons/luigi.png">
<img src="img/arrow.png">
</span>
<span id="nv_choose3" class="visibilityTransition hidden">
<img src="img/mk8Icons/yoshi.png">
<img src="img/arrow.png">
</span>
<span id="nv_choose4" class="visibilityTransition hidden">
<img src="img/mk8Icons/peach.png">
<img src="img/arrow.png">
</span>
</div>
<div id="nv_chooseContinue" class="visibilityTransition hidden">
<button onclick="nextAssistState()" style="margin-bottom: 10px;">Continue?</button> <br>
<button onclick="updateOrder();nextAssistState()">Update order & continue?</button> <br> <span class="note">This updates the player order with the order chosen here.</span>
</div>
<select id="nv_assistStageSelect" onchange="editValue('assistStageSelect', getValue(this.id))">
</select>
</div>
<div id="nv_assistTurn" class="displayNone">
<!--div id="nv_assistPlayerList">
<span class="currentPlayer">
<span></span>
<img src="img/mk8Icons/mario.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper">
<span class="assistCurrentPlayerText">Mario</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/luigi.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Luigi</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/yoshi.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Yoshi</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/peach.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Peach</span>
</span>
</span>
</div-->
<!-- Yes, every single element is somehow required because CSS is really, really weird sometimes -->
<div id="nv_assistMisc"></div>
<div id="nv_assistDice"></div>
<div id="nv_assistShopping"></div>
<div id="nv_assistItems"></div>
<div id="nv_assistSpaces"></div>
<div id="nv_assistHex"></div>
</div>
</div>
</div>
</div>
<div id="navbarSettings" class="navbarContent">
<div>
<div class="nvSettingsSave">
<span onclick="backup();closeNavbar()" style="color: #15d415;"> Save </span>
<span id="nvSettingsReload" onclick="restore();closeNavbar()" style="color: #dac40e;"> Reload </span>
</div>
<div class="nvSettingsItem" id="nvSettingsReset" onclick="getElem('nvSettingsReset').style.display = 'none';getElem('nvSettingsConfirm').style.display = 'block';"> Reset Stats </div>
<div class="nvSettingsSave" id="nvSettingsConfirm">
<span onclick="resetBackup();closeNavbar();" style="color: #f13c3c;"> Reset </span>
<span onclick="getElem('nvSettingsConfirm').style.display = 'none';getElem('nvSettingsReset').style.display = 'block';" style="-webkit-text-stroke: unset; text-stroke: unset;"> Cancel </span>
</div>
<div class="nvSettingsItem" onclick="textOutput(true);closeNavbar()"> Copy Text Output </div>
<div class="nvSettingsItem" onclick="openSettings();callOnBoth('showHideSettings', ['tutorial']);getElem('creditsBorder').scrollIntoView({block: 'start'});closeNavbar()"> Credits </div>
<div class="nvSettingsItem" onclick="openSettings();closeNavbar()" style="color: #dedede;"> Open Settings </div>
<div class="nvSettingsItem" onclick="closePopout();closeNavbar()" id="closePopoutButton" style="display: none;"> Close Popout </div>
</div>
</div>
<div id="savefileLoadReminder">
<span id="sflCorrect">
<span style="width: calc(100% - 305px); padding-left: 10px;">
<span style="font-family: 'Mario';">
<span id="sflReminderAll">All</span> <img id="sflReminderGame" style="height: 33px; position: relative; top: 3px; display: none;" src="img/smp.png"> -
Turn <span id="sflReminderTurn">6/20</span>
<span id="sflReminderChars">
<img src="img/smp/bowser.png" onerror="imgError(this)">
<img src="img/smp/pompom.png" onerror="imgError(this)">
<img src="img/smp/boo.png" onerror="imgError(this)">
<img src="img/smp/luigi.png" onerror="imgError(this)">
</span>
<span id="sflReminderMore">
& <span id="sflReminderAmount"> 2 </span> more savefiles...
</span>
</span>
</span>
<span style="float: right;">
<!--span class="slotButtons">More...</span-->
<span class="slotButtons" id="loadButton" onclick="if (typeof newLS === 'object') { writeLocalStorage(newLS); callOnBoth('reload'); } else { getElem('sflCorrect').style.display = 'none'; getElem('sflError').style.display = 'unset'; }">Load</span>
<span class="slotButtons" onclick="newLS = undefined; getElem('savefileLoadReminder').style.display = 'none';">Cancel</span>
</span>
</span>
<span id="sflError" style="font-family: 'Mario'; padding-left: 10px;">
Could not recognize file.
<span style="float: right;">
<label class="slotButtons" for="uploadFile" onclick="newLS = undefined; getElem('savefileLoadReminder').style.display = 'none';">Retry</label>
<span class="slotButtons" onclick="newLS = undefined; getElem('savefileLoadReminder').style.display = 'none';">Close</span>
</span>
</span>
<!--span style="float: right; text-align: right; display: flex; height: 100%; flex-wrap: wrap; width: 305px;">
<span class="slotButtons" style="flex-basis: 100%;">Load</span> <br>
<span class="slotButtons" style="flex-basis: 100%;">Load Savefiles</span> <br>
<span class="slotButtons" style="flex-basis: 100%;">Cancel</span>
</span-->
</div>
<div id="bodyContainer" onclick="closeNavbar()">
<span id="noSettings" style="margin-top: 70px;" onclick="closeNavbar()">
<input id="textOutput" onClick="this.select()" value="No stats generated yet." readonly>
<div style="display: none;"> <!-- I know it's terrible but don't fix if it ain't broke -->
<input type="checkbox" id="p1CoinStarTie">
<input type="checkbox" id="p2CoinStarTie">
<input type="checkbox" id="p3CoinStarTie">
<input type="checkbox" id="p4CoinStarTie">
</div>
<!-- Turns -->
<span class="turns">
<b id="turnText" onclick="mobileButtons('curTurn')"> Turn </b>
<span style="position: relative;">
<span id="curTurnTextContainer" class="turnTextContainer">
<b id="curTurnText" onclick="mobileButtons('curTurn')">1</b>
</span>
</span>
<b style="margin-left: 60px; font-size: 30px;" onclick="mobileButtons('curTurn')">/</b>
<span style="position: relative;">
<span class="turnTextContainer">
<b id="maxTurnText" onclick="mobileButtons('maxTurn')">20</b>
</span>
</span>
</span>
<!-- Coin Star -->
<span class="nowrap" style="margin-left: 150px; cursor: pointer;" id="coinStarFullDiv">
<span class="relative"> <img src="img/tie.png" onclick="mobileButtons('coinStar')" id="coinStarHitbox"> </span>
<span id="coinStarDiv">
<span class="coinStarTieDiv"> <img src="img/tie.png" id="coinStarTie5" class="coinStarTie"> <img src="img/tie.png" id="coinStarTie1" class="coinStarTie"> <img src="img/tie.png" id="coinStarTie2" class="coinStarTie">
<img src="img/tie.png" id="coinStarTie3" class="coinStarTie"> <img src="img/tie.png" id="coinStarTie4" class="coinStarTie"> </span>
<img src="img/coins.png" id="coinStar" onerror="this.src = 'img/coins.png'"> <span class="relative"> <img src="img/question.png" id="coinStarCharacter"> </span>
<span class="counterText" id="coinStarText">10</span>
</span>
</span> <br>
<!-- Player Images & Counter Display -->
<div id="playerContainer">
</div>
</span>
<div id="shortcutSettingsPopup" class="popupContent" style="display: none;">
<span style="float: right; margin-right: 10px;"> <button onclick="shortcutSettings(true)">Close</button> </span>
<span class="settingsTitle"> Options </span> <br>
<label for="shortcutSimpleMode"> Only show important features: </label> <input type="checkbox" id="shortcutSimpleMode" onchange="changeSettings(this.id)">
<span class="note"> This only shows features related to tracking bonus-/stars, coins are ignored. <br> Activates after the turn ends. </span> <br> <br>
<label for="shortcutAutoEnd"> Automatically end turn after selecting a space: </label> <input type="checkbox" id="shortcutAutoEnd" onchange="changeSettings(this.id)"> <br> <br>
<span id="resetShortcut"> <button onclick="resetShortcut()">Reset assist game</button> <button onclick="loadShortcut()">Load saved assist game</button> </span> <br> <br>
<span class="note">Note: Changing characters, icons etc works but they only load once the turn ends.</span> <br>
<span id="shortcutVariablesError" style="display: none;"> Start Assist mode to show and edit variables.</span>
<span id="shortcutVariables">
<span class="settingsTitle"> Shortcut Variables </span> <br>
<span id="shortcutCurGame">Current shortcut game: Not decided yet.</span> <br> <span class="note"> Only used inside assist. Currently can't be changed mid-game. </span> <br> <br>
<span> Final 5 Turns Event: </span>
<select id="finalFiveSelect" onchange="finalFiveEvent = getValue(this.id)">
<option value="undefined" selected="">Nothing</option>
<option value="doubleSpaces">Double coins for spaces</option>
<option value="cheapStars">Stars for 5 coins</option>
</select> <br>
<span> Star Cost: </span>
<select id="starCostSelect" onchange="starCost = getValue('starCostSelect')">
<option value="undefined">Normal</option>
<option value="double">Doubled</option>
</select> <span class="note">Star cost automatically resets after buying a star.</span> <br>
<span> Star Price: </span> <input type="number" min="0" max="99" onchange="starPrice = this.value"> <span class="note"> Changes the default star price, 0 is default.</span> <br> <br>
<span>Player order:</span> <br>
<span id="shortcutOrder"></span> <br> <br>
<!--button onclick="showHideDiv(['shortcutDebug']); if (this.innerText === 'Show Debug Info') {this.innerText = 'Hide Debug Info'} else {this.innerText = 'Show Debug Info'}">Show Debug Info</button>
<span id="shortcutDebug" class="hidden" style="font-size: 15px;"></span-->
</span>
</div>
<div id="allySelection" class="popupContent imgSelection" style="display: none;">
<div style="text-align: center;"> <button style="position: absolute; bottom: 8px;" onclick="getAlly('close')">Close</button> </div>
<div>
<span style="float: left; padding-right: 10px; border-right: 2px solid black; margin-right: 10px; margin-bottom: 20px;">
<span style="position: relative;"> <span class="titleText" style="position: absolute; white-space: nowrap; top: -50px;"> Choose an ally </span> </span> <img src="img/smp/bobomb.png" id="bobombAlly" style="margin-left: 287px;" onclick="getAlly('bobomb')"> <br>
<span style="position: relative;"> <span class="note" style="position: absolute; white-space: nowrap; top: -75px; left: 2px;"> Click on a used ally to steal them </span> </span>
<img src="img/smp/mario.png" id="marioAlly" onclick="getAlly('mario')">
<img src="img/smp/luigi.png" id="luigiAlly" onclick="getAlly('luigi')">
<img src="img/smp/peach.png" id="peachAlly" onclick="getAlly('peach')">
<img src="img/smp/daisy.png" id="daisyAlly" onclick="getAlly('daisy')">
<img src="img/smp/wario.png" id="warioAlly" onclick="getAlly('wario')"> <br>
<img src="img/smp/waluigi.png" id="waluigiAlly" onclick="getAlly('waluigi')">
<img src="img/smp/yoshi.png" id="yoshiAlly" onclick="getAlly('yoshi')">
<img src="img/smp/rosalina.png" id="rosalinaAlly" onclick="getAlly('rosalina')">
<img src="img/smp/dk.png" id="dkAlly" onclick="getAlly('dk')">
<img src="img/smp/diddy.png" id="diddyAlly" onclick="getAlly('diddy')"> <br>
<img src="img/smp/bowser.png" id="bowserAlly" onclick="getAlly('bowser')">
<img src="img/smp/goomba.png" id="goombaAlly" onclick="getAlly('goomba')">
<img src="img/smp/shyguy.png" id="shyguyAlly" onclick="getAlly('shyguy')">
<img src="img/smp/koopa.png" id="koopaAlly" onclick="getAlly('koopa')">
<img src="img/smp/monty.png" id="montyAlly" onclick="getAlly('monty')"> <br>
<img src="img/smp/bowserjr.png" id="bowserjrAlly" onclick="getAlly('bowserjr')">
<img src="img/smp/boo.png" id="booAlly" onclick="getAlly('boo')">
<img src="img/smp/hammerbro.png" id="hammerbroAlly" onclick="getAlly('hammerbro')">
<img src="img/smp/drybones.png" id="drybonesAlly" onclick="getAlly('drybones')">
<img src="img/smp/pompom.png" id="pompomAlly" onclick="getAlly('pompom')">
</span>
<span style="float: right;">
<span class="titleText"> Remove an Ally </span> <br>
<span id="removeAllySelection">
<img src="img/smp/mario.png" style="visibility: hidden;" onclick="removeAlly(1, 1)">
<img src="img/smp/luigi.png" style="visibility: hidden;" onclick="removeAlly(1, 2)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(1, 3)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(1, 4)"> <br> <br>
<span id="removeAllyChar1" class="removeAllyCharSpan">
<img src="img/mpsrIcons/rosalina.png" class="removeAllyChar">
<img src="img/smp/mario.png" style="visibility: hidden;" onclick="removeAlly(2, 1)">
<img src="img/smp/luigi.png" style="visibility: hidden;" onclick="removeAlly(2, 2)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(2, 3)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(2, 4)"> <br>
</span>
<span id="removeAllyChar2" class="removeAllyCharSpan">
<img src="img/mpsrIcons/wario.png" class="removeAllyChar">
<img src="img/smp/mario.png" style="visibility: hidden;" onclick="removeAlly(3, 1)">
<img src="img/smp/luigi.png" style="visibility: hidden;" onclick="removeAlly(3, 2)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(3, 3)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(3, 4)"> <br>
</span>
<span id="removeAllyChar3" class="removeAllyCharSpan">
<img src="img/mpsrIcons/waluigi.png" class="removeAllyChar">
<img src="img/smp/mario.png" style="visibility: hidden;" onclick="removeAlly(4, 1)">
<img src="img/smp/luigi.png" style="visibility: hidden;" onclick="removeAlly(4, 2)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(4, 3)">
<img src="img/smp/yoshi.png" style="visibility: hidden;" onclick="removeAlly(4, 4)"> <br>
</span>
</span>
</span>
</div>
</div>
<!-- Settings -->
<div id="settings">
<div class="popupContent settingsPopup" id="settingsContent">
<div id="settingsHeader">
<span id="settingsSelectionSpan">
<span id="settingsSelectionUnderline"></span>
<b id="generalMPOSelector" class="settingsSelection settingsSelected" onclick="showHideSettings('generalMPO')">General</b> <span class="flexAuto"></span>
<b id="playerSelector" class="settingsSelection settingsSelectionImportant" onclick="showHideSettings('player')">Characters</b> <span class="flexAuto"></span>
<b id="counterSelector" class="settingsSelection settingsSelectionImportant" onclick="showHideSettings('counter')">Counters</b> <span class="flexAuto"></span>
<b id="slotsSelector" class="settingsSelection nowrap" onclick="showHideSettings('slots')">Savefiles</b> <span class="flexAuto"></span>
<b id="assistSelector" class="settingsSelection nowrap" onclick="showHideSettings('assist')">Assist</b> <span class="flexAuto"></span>
<b id="tutorialSelector" class="settingsSelection" onclick="showHideSettings('tutorial')">Credits</b>
</span>
<span id="settingsSelectionSpanBreak">
<span style="display: flex;">
<b id="generalMPOSelectorBreak" class="settingsSelection settingsSelected" onclick="showHideSettings('generalMPO')">General</b> <span class="flexAuto"></span>
<b id="playerSelectorBreak" class="settingsSelection settingsSelectionImportant" onclick="showHideSettings('player')">Characters</b> <span class="flexAuto"></span>
<b id="counterSelectorBreak" class="settingsSelection settingsSelectionImportant" onclick="showHideSettings('counter')">Counters</b>
</span>
<span style="display: flex;">
<b id="slotsSelectorBreak" class="settingsSelection nowrap" onclick="showHideSettings('slots')">Savefiles</b> <span class="flexAuto"></span>
<b id="assistSelectorBreak" class="settingsSelection nowrap" onclick="showHideSettings('assist')">Assist</b> <span class="flexAuto"></span>
<b id="tutorialSelectorBreak" class="settingsSelection" onclick="showHideSettings('tutorial')">Credits</b>
</span>
</span>
<div id="gameSelectorDiv" class="charSelector">Games:
<span style="margin-left: 10px;">
<input type="radio" name="gameSelector" id="all" value="all" newdesign="false" onchange="callOnBoth('changeGame', ['all'])" checked>
<label class="charSelectorLabel all gameLabel" for="all">All </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp1" value="mp1" newdesign="false" onchange="callOnBoth('changeGame', ['mp1'])">
<label class="charSelectorLabel mp1 gameLabel" for="mp1"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp2" value="mp2" newdesign="false" onchange="callOnBoth('changeGame', ['mp2'])">
<label class="charSelectorLabel mp2 gameLabel" for="mp2"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp3" value="mp3" newdesign="false" onchange="callOnBoth('changeGame', ['mp3'])">
<label class="charSelectorLabel mp3 gameLabel" for="mp3"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp4" value="mp4" newdesign="false" onchange="callOnBoth('changeGame', ['mp4'])">
<label class="charSelectorLabel mp4 gameLabel" for="mp4"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp5" value="mp5" newdesign="false" onchange="callOnBoth('changeGame', ['mp5'])">
<label class="charSelectorLabel mp5 gameLabel" for="mp5"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp6" value="mp6" newdesign="false" onchange="callOnBoth('changeGame', ['mp6'])">
<label class="charSelectorLabel mp6 gameLabel" for="mp6"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp7" value="mp7" newdesign="false" onchange="callOnBoth('changeGame', ['mp7'])">
<label class="charSelectorLabel mp7 gameLabel" for="mp7"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp8" value="mp8" newdesign="false" onchange="callOnBoth('changeGame', ['mp8'])">
<label class="charSelectorLabel mp8 gameLabel" for="mp8"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp9" value="mp9" newdesign="false" onchange="callOnBoth('changeGame', ['mp9'])">
<label class="charSelectorLabel mp9 gameLabel" for="mp9"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mp10" value="mp10" newdesign="false" onchange="callOnBoth('changeGame', ['mp10'])">
<label class="charSelectorLabel mp10 gameLabel" for="mp10"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mpa" value="mpa" newdesign="false" onchange="callOnBoth('changeGame', ['mpa'])">
<label class="charSelectorLabel mpa gameLabel" for="mpa"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mpds" value="mpds" newdesign="false" onchange="callOnBoth('changeGame', ['mpds'])">
<label class="charSelectorLabel mpds gameLabel" for="mpds"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mpit" value="mpit" newdesign="false" onchange="callOnBoth('changeGame', ['mpit'])">
<label class="charSelectorLabel mpit gameLabel" for="mpit"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mpsr" value="mpsr" newdesign="false" onchange="callOnBoth('changeGame', ['mpsr'])">
<label class="charSelectorLabel mpsr gameLabel" for="mpsr"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="mptt100" value="mptt100" newdesign="false" onchange="callOnBoth('changeGame', ['mptt100'])">
<label class="charSelectorLabel mptt100 gameLabel" for="mptt100"> </label>
</span>
<span class="flexAuto"></span>
<span class="nowrap">
<input type="radio" name="gameSelector" id="smp" value="smp" newdesign="false" onchange="callOnBoth('changeGame', ['smp'])">
<label class="charSelectorLabel smp gameLabel" for="smp"> </label>
</span>
</div>
</div>
<div id="settingsHeaderBorder" class="border"></div>
<span id="assistHeader">
<button id="assistSettingsButton" onclick="//shortcutSettings()" style="float: left;" disabled="true">Settings</button>
<button id="skipButton" onclick="//shortcutSkip()" style="float: right;" disabled="true">Skip</button>
<button id="backButton" onclick="//shortcutBack()" style="float: right; margin-right: 5px;" disabled="true">Back</button>
<div id="assistNotif">Start the game.</div>
</span>
<div id="assistHeaderBorder" class="border" style="display: none;"></div>
<div id="settingsMain">
<!-- General Settings -->
<div id="generalMPOSettings" class="visible">
<span id="siteError"> <span class="error"> MPO could not be loaded properly, try reloading or clearing local storage. </span> <br> If this warning still shows up despite activating cookies, please try and clear cache and cookies. <br> Contact <a href="https://wetdry.world/@blueYOSHMIN">blueYOSHI</a> if that didn't work either. <br> <br> </span>
<span id="cookieError"> <span class="error"> Cookies seem to be blocked, the site still works but nothing can be saved. </span> <br> MPO only saves stats & settings. It does <b>NOT</b> save any information related to you. <br> <br> If this warning still shows up despite activating cookies, please try and clear cache and cookies. <br> Contact <a href="https://wetdry.world/@blueYOSHMIN">blueYOSHI</a> if that didn't work either. <br> <br> </span>
<label for="hideAdvanced" style="font-weight: bold;"> Hide advanced settings: </label> <input type="checkbox" id="hideAdvanced" onchange="changeSettings(this.id)" style="position: relative; top: 1px;"> <br> <br>
<!-- FEATURES -->
<span class="settingsTitle"> Features </span> <br>
<label for="autoPopout"> <span> Automatically open settings in a new window: </span> <input type="checkbox" id="autoPopout" onchange="changeSettings(this.id)"> </label> <br>
<span class="advanced"> <label for="settingsFullscreen"> <span> Always use fullscreen settings: </span> <input type="checkbox" id="settingsFullscreen" onchange="changeSettings(this.id)" checked> </label> <br>
<span id="settingsFullscreenBlurReminder"> <span class="note"> Text is blurry in Chrome without this. There's nothing I can do about it as it's an issue in Chrome. </span> <br> </span>
<span id="settingsFullscreenPopoutReminder" style="display: none;"> <span class="note"> Popout is always fullscreen regardless of this. </span> <br> </span>
</span> <br>
<span class="advanced"> <label for="useSW"> Allow this site to run offline: </label> <input type="checkbox" id="useSW" onchange="changeSettings(this.id)" checked> <br> <span class="note"> This allows the site to be installed which allows it to be run completely offline, uses about 5MB. <span id="noOffline" style="display: none;" class="error"> <br> This can't be used when ran from a local file or through localhost. </span> </span> <br> <br> </span>
<script type="text/javascript">
if (location.hostname === 'localhost' || location.origin === 'file://') {
document.getElementById('noOffline').style.display = 'unset';
}
</script>
<span class="advanced"> <label for="enableHighlight"> <span> Enable counter highlighting: </span> </label> <input type="checkbox" id="enableHighlight" onchange="changeSettings(this.id)" checked> <input type="color" onchange="changeSettings(this.id)" value="#FF0000" id="highlightColor"> <br> <br> </span>
<label for="deactivateUnused"> <span> Automatically deactivate all counters not supported by the current game: </span> </label> <input type="checkbox" id="deactivateUnused" style="top: 5px;" onchange="changeSettings(this.id)" checked> <br> <br>
<span class="advanced"> <label for="xBelow100"> <span> Display x before numbers below 100: </span> </label> <input type="checkbox" id="xBelow100" onchange="changeSettings(this.id)" checked> <br> <br> </span>
<span> Add bonus-stars to star counter:
<span id="bonusStarSelector">
<span class="relative">
<input type="radio" name="bonusStarAdd" id="bonusDont" onchange="changeSettings(this.id)" checked>
<label for="bonusDont"> Don't add </label>
</span> |
<span class="relative">
<input type="radio" name="bonusStarAdd" id="bonusCombine" onchange="changeSettings(this.id)">
<label for="bonusCombine"> Combine </label>
</span> |
<span class="relative">
<input type="radio" name="bonusStarAdd" id="bonusSeperately" onchange="changeSettings(this.id)">
<label for="bonusSeperately"> Seperately </label>
</span>
</span>
</span> <br>
<span class="note"> "Seperately" should not be used with horizontal layout. </span> <br>
<span class="advanced"> <label for="noTie"> <span> Only allow one player to get the coin star: </span> </label> <input type="checkbox" id="noTie" onchange="changeSettings(this.id)"> <br> </span> <br>
<label for="autoSave"> <span> Automatically save/reload when updating turns: </span> </label> <input type="checkbox" id="autoSave" onchange="changeSettings(this.id)"> <br> <br>
<span class="advanced"> <label for="useHotkeys"> Use Hotkeys: </label> <input type="checkbox" id="useHotkeys" onchange="changeSettings(this.id)" checked> <br> <br> </span>
<span class="advanced"> <label for="enableInteract"> <span> Enable Drag 'n' Drop: </span> </label> <input type="checkbox" id="enableInteract" onchange="changeSettings(this.id)">
<button id="saveInteract" onclick="callOnBoth('interactSave')">Save Positions</button>
<button id="resetInteract" onclick="callOnBoth('interactReset')">Reset Positions</button> <br>
<span id="noInteractError" class="error" style="display: none;"> Drag 'n' Drop couldn't be loaded. Check your connection and reload the site. <br> </span></span>
<span style="display: none;"> <label for="permSave"> <span> Save counters permanently (not getting deleted on site reload): </span> </label> <input type="checkbox" id="permSave" onchange="changeSettings(this.id)" checked> <br> </span> <br class="advanced">
<!-- INTERFACE -->
<span class="settingsTitle"> Interface </span> <br>
<span> Background: </span>
<button id="themeDefault" class="themeButtons" onclick="callOnBoth('changeTheme', ['default'])"></button>
<button id="themeCastle" class="themeButtons" onclick="callOnBoth('changeTheme', ['castle'])"></button>
<button id="themeNsmbw" class="themeButtons" onclick="callOnBoth('changeTheme', ['nsmbw'])"></button>
<button id="themeToadroad" class="themeButtons" onclick="callOnBoth('changeTheme', ['toadroad'])"></button> <br>
<label for="greenscreen"> <span> Enable greenscreen: </span> </label> <input type="checkbox" id="greenscreen" onchange="changeSettings(this.id)"> <input type="color" onchange="changeSettings(this.id)" value="#0000ff" id="bgColor"> <br> <br>
<span class="advanced"> <span> Change text color: </span> <input type="color" id="textColor" value="#ffffff" onchange="changeSettings(this.id)"> <br> <br> </span>
<span style="position: relative; top: -13px;"> Default icon style: </span>
<span class="charSelector" id="iconSelector">
<span class="relative">
<input type="radio" name="icons" id="mpsrIcons" value="mpsrIcons" newdesign="false" onchange="changeSettings(this.id)" checked>
<label class="charSelectorLabel mario iconLabel" for="mpsrIcons"> </label>
</span>
<span class="relative">
<input type="radio" name="icons" id="mk8Icons" value="mk8Icons" newdesign="false" onchange="changeSettings(this.id)">
<label class="charSelectorLabel iconLabel" for="mk8Icons" style="background-image: url('img/mk8Icons/mario.png');"> </label>
</span>
</span> <br>
<span class="advanced"> <label for="customGameIcons"> <span> Use game-based icons if available: </span> </label> <input type="checkbox" id="customGameIcons" onchange="changeSettings(this.id)" checked> <br> </span> <br>
<span> Layout type:
<span id="layoutSelector">
<span class="relative">
<input type="radio" name="layoutType" id="layoutVertical" onchange="changeSettings(this.id, this.checked)" checked>
<label for="layoutVertical"> Vertical </label>
</span> |
<span class="relative">
<input type="radio" name="layoutType" id="layoutHorizontal" onchange="changeSettings(this.id, this.checked)">
<label for="layoutHorizontal"> Horizontal </label>
</span>
</span> <br> <br class="advanced">
</span>
<span class="advanced">
<label for="enableAnimation"> <span> Enable counter animation: </span> </label> <input type="checkbox" id="enableAnimation" onchange="changeSettings(this.id)" checked> <br> <br>
<!-- TEXT OUTPUT -->
<span class="settingsTitle"> Text Output </span> <br>
<label for="toBonusOnly"> <span> Only show who got the bonus star: </span> </label> <input type="checkbox" id="toBonusOnly" onchange="changeSettings(this.id)"> <br>
<label for="toShowNum"> <span style="border-left: 2px rgba(120, 120, 120, 0.4) solid; margin-left: 48px; padding-left: 3px;"> Show counter next to player: </span> </label> <input type="checkbox" id="toShowNum" onchange="changeSettings(this.id)" checked> <br> <br>
<label for="toListAllCoin"> <span> List all players instead of "everyone" for ties: </span> </label> <input type="checkbox" id="toListAllCoin" onchange="changeSettings(this.id)"> <br> <br>
<span class="note"> The characters name will be used if no player name is entered. </span> <br>
<span> Player 1 name: </span> <input id="toP1Name" onchange="changeSettings(this.id)">
<span class="marginLeft"> Player 2 name: </span> <input id="toP2Name" onchange="changeSettings(this.id)"> <br>
<span> Player 3 name: </span> <input id="toP3Name" onchange="changeSettings(this.id)">
<span class="marginLeft"> Player 4 name: </span> <input id="toP4Name" onchange="changeSettings(this.id)"> <br>
<span> Counter seperation: </span> <input id="toSeperation" value=" | " onchange="changeSettings(this.id)"> <br> <br>
<label for="toUseActive"> <span> Only use active counters: </span> <input type="checkbox" id="toUseActive" onchange="changeSettings(this.id)" checked> </label> <br>
<span id="customTOCounters" style="display: none;">
<span class="note" id="counterNote"> Seperate counters with ", ". </span>
<div id="counterDiv">
<span id="counterNames">
<span> Counter names: </span> <span class="note"> (Used to describe the counter) </span> <br>
<textarea class="resizableInput" id="toOutput" onchange="changeSettings(this.id)">Turns, ?, MG, Red, Coin Star</textarea>
</span>
<span id="counterOrder">
<span> Counter order: </span> <span class="note"> (Only counters listed will be used) </span> <br>
<textarea class="resizableInput" id="toCounters" onchange="changeSettings(this.id)">Turns, Happening, Minigame, Red Space, Coin Star</textarea>
</span>
</div>
<b class="error" id="textOutputWarning" style="visibility: hidden;"> Hi if you see this </b>
</span>
</span> <br>
<!-- RESET -->
<span class="settingsTitle"> Reset </span> <br>
<button style="margin-bottom: 5px;" onclick="if (window.confirm('Are you sure you want to reset all settings to default?')) {callOnBoth('resetSettings');}" id="resetSettingsButton"> Reset Settings </button> <br>
<button onclick="if (window.confirm('Are you sure you want to delete absolutely everything?')) {localStorage.clear();unloadSW();alert('All data has been cleared. Please refresh or close the site now.');}">Clear everything</button> <span class="note">(This will clear all saved settings, characters, counters and stats)</span>
</div>
<!-- Mario Party Player Settings -->
<div id="playerSettings" class="displayNone" style="height: 100%;">
<span id="playerSettingsWrapper">
<span class="charSelectorFullWrapper">
<span class="playerText">Player 1</span> <br>
<span class="charSelector relative">
<input type="checkbox" name="comSelector1" id="com1" newdesign="false" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('changeCom', [1])">
<label class="charSelectorLabel com" for="com1"></label> <br>
</span>
<div id="charSelector1" class="charSelector characterSelector">
</div>
</span>
<span class="flexAuto"></span>
<span class="charSelectorFullWrapper">
<span class="playerText">Player 2</span> <br>
<span class="charSelector relative">
<input type="checkbox" name="comSelector2" id="com2" newdesign="false" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('changeCom', [2])">
<label class="charSelectorLabel com" for="com2"></label> <br>
</span>
<div id="charSelector2" class="charSelector characterSelector">
</div>
</span>
<span class="flexAuto"></span>
<span class="charSelectorFullWrapper">
<span class="playerText">Player 3</span> <br>
<span class="charSelector relative">
<input type="checkbox" name="comSelector3" id="com3" newdesign="false" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('changeCom', [3])">
<label class="charSelectorLabel com" for="com3"></label> <br>
</span>
<div id="charSelector3" class="charSelector characterSelector">
</div>
</span>
<span class="flexAuto"></span>
<span class="charSelectorFullWrapper">
<span class="playerText">Player 4</span> <br>
<span class="charSelector relative">
<input type="checkbox" name="comSelector4" id="com4" newdesign="false" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('changeCom', [4])">
<label class="charSelectorLabel com" for="com4"></label> <br>
</span>
<div id="charSelector4" class="charSelector characterSelector">
</div>
</span>
</span>
<button id="charRandoButton" onclick="randomChar()">Randomize characters</button>
</div>
<!-- Counter Settings -->
<div id="counterSettings" class="charSelector displayNone">
<span id="counterError" class="error" style="display: none;">The selected game doesn't have bonus stars.</span> <br>
<div class="counterSelection">
<span class="happeningC relative"> <label for="happeningOnOff" id="happeningOnOffText" class="counterOnOffText">Happening (1-8, DS, SMP):</label> <input type="checkbox" id="happeningOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['happening'])" checked> <label for="happeningOnOff" class="charSelectorLabel counterOnOff happeningOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="minigameC relative"> <label for="minigameOnOff" id="minigameOnOffText" class="counterOnOffText">Minigame (1-10, DS, SMP):</label> <input type="checkbox" name="minigame" id="minigameOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['minigame'])" checked> <label for="minigameOnOff" class="charSelectorLabel counterOnOff minigameOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="coinStarC relative"> <label for="coinStarOnOff" id="coinStarOnOffText" class="counterOnOffText">Coin Star (1-5, SMP):</label> <input type="checkbox" id="coinStarOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['coinStar'])" checked> <label for="coinStarOnOff" class="charSelectorLabel counterOnOff coinsOnOff"></label> </span>
</div>
<div class="counterSelection mp7C mp8C mp9C mp10C mpDSC mpsrC mptt100C smpC">
<span class="mp7C mp8C smpC relative"> <label for="redSpaceOnOff" id="redSpaceOnOffText" class="counterOnOffText">Red (7, 8, SMP):</label> <input type="checkbox" id="redSpaceOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['redSpace'])"> <label for="redSpaceOnOff" class="charSelectorLabel counterOnOff redSpaceOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mp7C mp8C mp9C mp10C mpDSC mpsrC mptt100C smpC relative"> <label for="runningOnOff" id="runningOnOffText" class="counterOnOffText">Running (7-10, DS-SMP):</label> <input type="checkbox" id="runningOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['running'])"> <label for="runningOnOff" class="charSelectorLabel counterOnOff runningOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mp9C mp10C mpsrC mptt100C smpC relative"> <label for="slowOnOff" id="slowOnOffText" class="counterOnOffText">Slow (9, 10, SR-SMP):</label> <input type="checkbox" id="slowOnOff" class="counterOnOffInput" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('slowStar')"> <label for="slowOnOff" class="charSelectorLabel counterOnOff runningOnOff"></label> </span>
</div>
<div class="counterSelection mp6C mp7C mp8C mp9C mpDSC mpsrC mptt100C smpC">
<span class="mp7C mp8C relative"> <label for="shoppingOnOff" id="shoppingOnOffText" class="counterOnOffText">Shopping (7, 8):</label> <input type="checkbox" id="shoppingOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['shopping'])"> <label for="shoppingOnOff" class="charSelectorLabel counterOnOff shoppingOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="relative"> <label for="itemOnOff" id="itemOnOffText" class="counterOnOffText">Item (6-8, DS-SMP):</label> <input type="checkbox" id="itemOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['item'])"> <label for="itemOnOff" class="charSelectorLabel counterOnOff itemOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mpsrC mptt100C relative"> <label for="unusedOnOff" id="unusedOnOffText" class="counterOnOffText">Unused (SR & TT100):</label> <input type="checkbox" id="unusedOnOff" class="counterOnOffInput" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('unusedStar')"> <label for="unusedOnOff" class="charSelectorLabel counterOnOff itemOnOff"></label> </span>
</div>
<div class="counterSelection mpDSC">
<span class="mpDSC relative"> <label for="friendSpaceOnOff" id="friendSpaceOnOffText" class="counterOnOffText">Friendship (DS):</label> <input type="checkbox" id="friendSpaceOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['friendSpace'])"> <label for="friendSpaceOnOff" class="charSelectorLabel counterOnOff friendSpaceOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mpDSC relative"> <label for="hexOnOff" id="hexOnOffText" class="counterOnOffText">Hex (DS):</label> <input type="checkbox" id="hexOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['hex'])"> <label for="hexOnOff" class="charSelectorLabel counterOnOff hexOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mpsrC mptt100C relative"> <label for="balloonOnOff" id="balloonOnOffText" class="counterOnOffText">Balloon (SR, TT100):</label> <input type="checkbox" id="balloonOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['balloon'])"> <label for="balloonOnOff" class="charSelectorLabel counterOnOff balloonOnOff"></label> </span>
</div>
<div class="counterSelection mp9C mp10C mpsrC mptt100C">
<span class="mp9C relative"> <label for="spinSpaceOnOff" id="spinSpaceOnOffText" class="counterOnOffText">Spin (9):</label> <input type="checkbox" id="spinSpaceOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['spinSpace'])"> <label for="spinSpaceOnOff" class="charSelectorLabel counterOnOff spinSpaceOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mp9C mp10C relative"> <label for="minusOnOff" id="minusOnOffText" class="counterOnOffText">Minus (9, 10):</label> <input type="checkbox" id="minusOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['minus'])"> <label for="minusOnOff" class="charSelectorLabel counterOnOff minusOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mpsrC mptt100C relative"> <label for="almostOnOff" id="almostOnOffText" class="counterOnOffText">Almost (SR & TT100):</label> <input type="checkbox" id="almostOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['almost'])"> <label for="almostOnOff" class="charSelectorLabel counterOnOff almostOnOff"></label> </span>
</div>
<div class="counterSelection mpsrC">
<span class="relative"> <label for="lonerOnOff" id="lonerOnOffText" class="counterOnOffText">Loner (SR):</label> <input type="checkbox" id="lonerOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['loner'])"> <label for="lonerOnOff" class="charSelectorLabel counterOnOff lonerOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="relative"> <label for="duelOnOff" id="duelOnOffText" class="counterOnOffText">Duel (SR):</label> <input type="checkbox" id="duelOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['duel'])"> <label for="duelOnOff" class="charSelectorLabel counterOnOff duelOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="relative"> <label for="wandererOnOff" id="wandererOnOffText" class="counterOnOffText">Wanderer (SR):</label> <input type="checkbox" id="wandererOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['wanderer'])"> <label for="wandererOnOff" class="charSelectorLabel counterOnOff wandererOnOff"></label> </span>
</div>
<div class="counterSelection smpC">
<span class="relative"> <label for="allyOnOff" id="allyOnOffText" class="counterOnOffText">Ally (SMP):</label> <input type="checkbox" id="allyOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['ally'])"> <label for="allyOnOff" class="charSelectorLabel counterOnOff allyOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="relative"> <label for="stompyOnOff" id="stompyOnOffText" class="counterOnOffText">Stompy (SMP):</label> <input type="checkbox" id="stompyOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['stompy'])"> <label for="stompyOnOff" class="charSelectorLabel counterOnOff stompyOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="relative"> <label for="doormatOnOff" id="doormatOnOffText" class="counterOnOffText">Doormat (SMP):</label> <input type="checkbox" id="doormatOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['doormat'])"> <label for="doormatOnOff" class="charSelectorLabel counterOnOff doormatOnOff"></label> </span>
</div>
<span id="hiddenCountersText"></span> <br> <br>
<span class="settingsTitle">In-game counters</span> <br>
<span class="note" style="white-space: nowrap;"> (Useful to completely replace the in-game display - Highlighting does not affect these counters) </span> <br>
<div class="counterSelection">
<span class="relative"> <label for="starsOnOff" id="starsOnOffText" class="counterOnOffText">Stars:</label> <input type="checkbox" id="starsOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['stars'])"> <label for="starsOnOff" class="charSelectorLabel counterOnOff starsOnOff"></label> </span>
<span class="flexAuto"></span><span></span>
<span class="flexAuto"></span><span></span>
</div>
<div class="counterSelection mp9C mp10C">
<span class="relative"> <label for="miniStarsOnOff" id="miniStarsOnOffText" class="counterOnOffText">Mini-stars (9 & 10):</label> <input type="checkbox" id="miniStarsOnOff" class="counterOnOffInput" onchange="editValueOnBoth(this.id, this.checked);callOnBoth('changeStars', ['miniStars']);callOnBoth('updateStars')"> <label for="miniStarsOnOff" class="charSelectorLabel counterOnOff miniStarsOnOff"></label> </span>
<span class="flexAuto"></span>
<span class="mp9C relative"> <label for="bananasOnOff" id="bananasOnOffText" class="counterOnOffText">Bananas (9):</label> <input type="checkbox" id="bananasOnOff" class="counterOnOffInput" onclick="editValueOnBoth(this.id, this.checked);callOnBoth('changeStars', ['bananas']);callOnBoth('updateStars')"> <label for="bananasOnOff" class="charSelectorLabel counterOnOff bananasOnOff"></label></span>
<span class="flexAuto"></span><span></span>
</div>
<div class="counterSelection coinC">
<span class="relative"> <label for="coinsOnOff" id="coinsOnOffText" class="counterOnOffText">Coins:</label> <input type="checkbox" id="coinsOnOff" class="counterOnOffInput" onchange="callOnBoth('displayOnOff', ['coins'])"> <label for="coinsOnOff" class="charSelectorLabel counterOnOff coinsOnOff"></label> </span>
</div> <br> <br>
<span style="font-size: 21px;"><a href="bonus.html" id="bonusStarListLink" class="settingsLink" rel="noopener" target="_blank">Bonus Star List</a></span>
</div>
<!-- Savefile/slot Settings -->
<div id="slotsSettings" class="displayNone">
<span>Savefiles get saved automatically when loading one. <br> Backups store everything, including all savefiles and settings.</span> <br>
<span class="error" id="savefileError" style="display: none;"> Note that MPO might start to lag a bit when there are a lot of savefiles. <br> </span>
<span class="error" id="savefileCookieError"> Make sure cookies are enabled, otherwise savefiles won't be able to save. <br> </span>
<input type="radio" newdesign="false" name="slotType" id="slotLoad" checked>
<input type="radio" newdesign="false" name="slotType" id="slotDuplicate"> <label class="slotButtons" onclick="slotSel('duplicate')" style="margin-left: 10px;">Duplicate</label>
<input type="radio" newdesign="false" name="slotType" id="slotDelete"> <label class="slotButtons" onclick="slotSel('delete')">Delete</label> <br> <br>
<span id="slotList">
<div class="slotDiv slotSelected" onclick="slotSel(this)" slot="0">
<span style="position: relative;"> <span class="slotTurnText"> <span class="slotTurn"> 1/20 </span> Turn </span> <span class="slotAllText" id="slotAll0">All</span> <img src="img/smp.png" class="slotImg" id="slotImg0" style="visibility: hidden;"> </span> <br>
<img src="img/mpsrIcons/mario.png"> <img src="img/mpsrIcons/luigi.png"> <img src="img/mpsrIcons/yoshi.png"> <img src="img/mpsrIcons/peach.png"> <br>
</div>
</span> <br>
<div class="slotDiv emptySlot" onclick="execOnMain('createSlot', ['empty'])">
Create new file
</div>
<div id="dataBackupContainer">
<div class="slotDiv emptySlot" style="margin-right: 12px;" onclick="downloadFile()">
Backup
</div>
<label class="slotDiv emptySlot" for="uploadFile">
Restore
</label>
</div>
<!--div class="slotDiv emptySlot" style="display: inline-block;" onclick="linkShare()">
Link share
</div-->
<input id="textShareOutput" style="display: none;">
<input type="file" id="uploadFile" name="uploadFile" style="display: none;" onchange="uploadFile()" accept="application/json">
</div>
<!-- Assist -->
<div id="assistSettings" class="displayNone">
<div id="assistIntro">
<!--button onclick="nextAssistState()">Start</button-->
<span>Assist mode is currently being rewritten.</span>
</div>
<div id="assistChooseOrder" class="displayNone">
<span class="settingsTitle">Choose Order</span> <br>
<img src="img/mk8Icons/mario.png" class="chooseImg" id="assistChooseP1" onclick="chooseOrder(1)">
<img src="img/mk8Icons/luigi.png" class="chooseImg" id="assistChooseP2" onclick="chooseOrder(2)">
<img src="img/mk8Icons/yoshi.png" class="chooseImg" id="assistChooseP3" onclick="chooseOrder(3)">
<img src="img/mk8Icons/peach.png" class="chooseImg" id="assistChooseP4" onclick="chooseOrder(4)"> <br>
<button onclick="resetChooseOrder()">Reset Order</button>
<div id="choose1" class="visibilityTransition hidden">
<img src="img/1st.png">
<img src="img/mk8Icons/mario.png">
</div>
<div id="choose2" class="visibilityTransition hidden">
<img src="img/2nd.png">
<img src="img/mk8Icons/luigi.png">
</div>
<div id="choose3" class="visibilityTransition hidden">
<img src="img/3rd.png">
<img src="img/mk8Icons/yoshi.png">
</div>
<div id="choose4" class="visibilityTransition hidden">
<img src="img/4th.png">
<img src="img/mk8Icons/peach.png">
</div>
<div id="chooseContinue" class="visibilityTransition hidden">
<button onclick="nextAssistState()" style="margin-bottom: 10px;">Continue?</button> <br>
<button onclick="updateOrder();nextAssistState()">Update order & continue?</button> <span class="note">This updates the player order with the order chosen here.</span>
</div>
<select id="assistStageSelect">
</select>
</div>
<div id="assistTurn" class="displayNone">
<div id="assistPlayerList">
<span class="currentPlayer">
<span></span>
<img src="img/mk8Icons/mario.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper">
<span class="assistCurrentPlayerText">Mario</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/luigi.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Luigi</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/yoshi.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Yoshi</span>
</span>
</span>
<span>
<span style="width: 0px;"></span>
<img src="img/mk8Icons/peach.png" class="assistCurrentPlayerImg">
<span class="assistCurrentPlayerTextWrapper" style="width: 0px;">
<span class="assistCurrentPlayerText">Peach</span>
</span>
</span>
</div>
<div id="assistColumnWrapper">
<!-- Yes, every single element is somehow required because CSS is really, really weird sometimes -->
<div class="assistModule">
<div customHidden="false">
<div class="assistDraggable">
<span id="assistMiscTitle">Stars</span>
<span class="assistDragIcon"></span>
<span class="assistArrowIcon" onclick="toggleModuleVisibility(this)"></span>
</div>
<div class="assistModuleWrapper">
<span id="assistMisc"></span>
</div>
</div>
</div>
<div class="assistModule">