Ресурсы

screens.rpy

скрипт / 85,8 КБ / 1927 строк

Открыть файл Скачать
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926init:
    style soviet_button is button:
        background "images/misc/soviet_games.png"
        hover_background "images/misc/soviet_games_hover.png"
        selected_background "images/misc/soviet_games_hover.png"
        selected_hover_background "images/misc/soviet_games_hover.png"
        selected_idle_background "images/misc/soviet_games_hover.png"
init python:

    if _preferences.language == "chinese":
        main_font = "fonts/STZHONGS.ttf"
        header_font = "fonts/STZHONGS.ttf"
        link_font = "fonts/STZHONGS.ttf"
    else:
        main_font = "fonts/calibri.ttf"
        header_font = "fonts/corbel.ttf"
        link_font = "fonts/gothic.ttf"

    config.thumbnail_width = 318
    config.thumbnail_height = 179







    style.file_picker_ss_window.xpos = 0
    style.file_picker_ss_window.ypos = 0



    style.file_picker_text = Style(style.default)
    style.file_picker_text.antialias = True
    style.file_picker_text.font  = main_font
    style.file_picker_text.color = "#bdbdbd"
    style.file_picker_text.selected_color = "#ffffff"
    style.file_picker_text.hover_color = "#ffffff"
    style.file_picker_text.size = 24
    style.file_picker_text.drop_shadow=(2, 2)
    style.file_picker_text.drop_shadow_color = "#000"





    style.save_load_button = Style(style.button)
    style.save_load_button.background = get_image("gui/save_load/thumbnail_idle.png")
    style.save_load_button.hover_background = get_image("gui/save_load/thumbnail_hover.png")
    style.save_load_button.selected_background = get_image("gui/save_load/thumbnail_selected.png")
    style.save_load_button.selected_hover_background = get_image("gui/save_load/thumbnail_selected.png")
    style.save_load_button.selected_idle_background = get_image("gui/save_load/thumbnail_selected.png")




    style.blank_button = Style(style.button)
    style.blank_button.background = "images/misc/none.png"
    style.blank_button.hover_background = "images/misc/none.png"
    style.blank_button.selected_background = "images/misc/none.png"
    style.blank_button.selected_hover_background = "images/misc/none.png"
    style.blank_button.selected_idle_background = "images/misc/none.png"





    style.base_font = Style(style.default)
    style.base_font.font  = main_font
    style.base_font.size = 28
    style.base_font.line_spacing = 2

    style.settings_header = Style(style.base_font)
    style.settings_header.font  = header_font
    style.settings_header.size = 50
    style.settings_header.color = "#4d2e19"
    style.settings_header.hover_color = "#a27146"

    style.settings_text = Style(style.settings_header)
    style.settings_text.size = 36
    style.settings_text.selected_color = "#4d2e19"
    style.settings_text.hover_color = "#a27146"

    style.settings_link = Style(style.base_font)
    style.settings_link.font  = link_font
    style.settings_link.size = 60
    style.settings_link.kerning = 3
    style.settings_link.color = "#909ca3"
    style.settings_link.hover_color = "#ffffff"
    style.settings_link.selected_color = "#909ca3"
    style.settings_link.selected_idle_color = "#909ca3"
    style.settings_link.selected_hover_color = "#ffffff"
    style.settings_link.insensitive_color = "#909ca3"

    style.hyperlink_text = Style(style.settings_link)
    style.hyperlink_text.underline = True
    style.hyperlink_text.hover_color = "#0ff"
    style.hyperlink_text.idle_color = "#08f"

    style.music_link = Style(style.settings_link)
    style.music_link.insensitive_color = "#4f4f4f"
    style.music_link.selected_color = "#ffffff"

    style.sprite_menu = Style(style.settings_text)
    style.sprite_menu.size = 37
    style.sprite_menu.color = "#466123"
    style.sprite_menu.selected_color = "#466123"
    style.sprite_menu.hover_color = "#9dcd55"

    style.say_dialogue = Style(style.base_font)
    style.say_label = Style(style.base_font)
    style.say_label.size = 28
    style.say_label.drop_shadow=(2, 2)
    style.say_label.drop_shadow_color = "#000"

    style.chapter = Style(style.base_font)
    style.chapter.font  = header_font
    style.chapter.size = 120
    style.chapter.color = "#fff"

    style.chapter.outlines = [ (1, "#ffdd7d", 0, 0) ]

    style.daynum = Style(style.chapter)
    style.daynum.font  = header_font
    style.daynum.size = 45

    style.normal_day = Style(style.base_font)
    style.normal_day.color = "#ffdd7d"
    style.normal_day.drop_shadow=(2, 2)
    style.normal_day.drop_shadow_color = "#000"
    style.narrator_day = Style(style.normal_day)
    style.narrator_day.italic = False
    style.thoughts_day = Style(style.normal_day)
    style.thoughts_day.bold = False

    style.normal_sunset = Style(style.base_font)
    style.normal_sunset.color = "#ffdd7d"
    style.normal_sunset.drop_shadow=(2, 2)
    style.normal_sunset.drop_shadow_color = "#000"
    style.narrator_sunset = Style(style.normal_sunset)
    style.narrator_sunset.italic = False
    style.thoughts_sunset = Style(style.normal_sunset)
    style.thoughts_sunset.bold = False

    style.normal_night = Style(style.base_font)
    style.normal_night.color = "#ffdd7d"
    style.normal_night.drop_shadow=(2, 2)
    style.normal_night.drop_shadow_color = "#000"
    style.narrator_night = Style(style.normal_night)
    style.narrator_night.italic = False
    style.thoughts_night = Style(style.normal_night)
    style.thoughts_night.bold = False

    style.normal_prolog = Style(style.base_font)
    style.normal_prolog.color = "#ffdd7d"
    style.normal_prolog.drop_shadow=(2, 2)
    style.normal_prolog.drop_shadow_color = "#000"
    style.narrator_prolog = Style(style.normal_prolog)
    style.narrator_prolog.italic = False
    style.thoughts_prolog = Style(style.normal_prolog)
    style.thoughts_prolog.bold = False

    style.cards_button = Style(style.button)
    style.cards_button.font  = header_font
    style.cards_button.background = RoundRect("#000", False)
    style.cards_button.hover_background = RoundRect("#555", False)
    style.cards_button.insensitive_background = RoundRect("#404040", False)

    style.cards_button_text = Style(style.button_text)
    style.cards_button_text.color = "#FFF"
    style.cards_button_text.selected_color = "#777"
    style.cards_button_text.insensitive_color = "#c8c8c8"

    style.log_button = Style(style.button)
    style.log_button.child = None
    style.log_button.focus_mask = None
    style.log_button.background  = None

    style.log_button_text = Style(style.normal_day)
    style.log_button_text.font  = main_font
    style.log_button_text.selected_color = "#115bc0"
    style.log_button_text.hover_color = "#115bc0"
    style.log_button_text.selected_color = "#b6ff00"
    style.log_button_text.hover_color = "#b6ff00"

init python:

    def translate():
        if _preferences.language == "spanish":
            layout.ARE_YOU_SURE = "¿Estás seguro?"
            layout.DELETE_SAVE = "¿Estás seguro de que quieres eliminar esta partida?"
            layout.OVERWRITE_SAVE = "¿Estás seguro de que quieres sobrescribir tu partida?"
            layout.LOADING = "Cargar una partida te hará perder el progreso no guardado.\n¿Estás seguro de que quieres hacerlo?"
            layout.QUIT = "¿Estás seguro de que quieres salir?"
            layout.MAIN_MENU = "¿Estás seguro de que quieres volver al menú principal?\nSe perderá el progreso no guardado."
            layout.SLOW_SKIP = "¿Estás seguro de que quieres avanzar?"
            layout.FAST_SKIP_UNSEEN = "¿Estás seguro de que quieres avanzar hasta la siguiente elección?"
            layout.FAST_SKIP_SEEN = "¿Estás seguro de que quieres avanzar hasta diálogo no visto o hasta la próxima elección?"
        elif _preferences.language == "italian":
            layout.ARE_YOU_SURE = "Sei sicuro?"
            layout.DELETE_SAVE = "Sei sicuro di voler eliminare questo salvataggio?"
            layout.OVERWRITE_SAVE = "Sei sicuro di voler sovrascrivere questo salvataggio?"
            layout.LOADING = "Caricando questa partita perderai i progressi non salvati.\nSei sicuro di volerlo fare?"
            layout.QUIT = "Sei sicuro di voler uscire dal gioco?"
            layout.MAIN_MENU = "Sei sicuro di voler tornare al menu principale?\nI progressi non salvati andranno persi."
            layout.SLOW_SKIP = "Sei sicuro di voler iniziare a saltare le frasi?"
            layout.FAST_SKIP_UNSEEN = "Sei sicuro di voler saltare le frasi fino alla prossima scelta?"
            layout.FAST_SKIP_SEEN = "Sei sicuro di voler saltare il testo fino alla prossima frase non letta o alla prossima scelta?"
        elif _preferences.language == "english":
            layout.ARE_YOU_SURE = "Are you sure?"
            layout.DELETE_SAVE = "Are you sure you want to delete this save?"
            layout.OVERWRITE_SAVE = "Are you sure you want to overwrite your save?"
            layout.LOADING = "Loading will lose unsaved progress.\nAre you sure you want to do this?"
            layout.QUIT = "Are you sure you want to quit?"
            layout.MAIN_MENU = "Are you sure you want to return to the main menu?\nThis will lose unsaved progress."
            layout.SLOW_SKIP = "Are you sure you want to begin skipping?"
            layout.FAST_SKIP_UNSEEN = "Are you sure you want to skip to the next choice?"
            layout.FAST_SKIP_SEEN = "Are you sure you want to skip to unseen dialogue or the next choice?"
        elif _preferences.language == "chinese":
            layout.ARE_YOU_SURE = "你确定吗?" 
            layout.DELETE_SAVE = "你确定删除存档吗?" 
            layout.OVERWRITE_SAVE = "你确定覆盖存档吗?" 
            layout.LOADING = "读档后将失去当前进度。\n你确定吗?" 
            layout.QUIT = "你确定要退出吗?" 
            layout.MAIN_MENU = "你确定返回主菜单吗?\n这样会丢失当前进度。" 
            layout.SLOW_SKIP = "你确定开始跳过吗?" 
            layout.FAST_SKIP_UNSEEN = "你确定跃至下一选项吗?" 
            layout.FAST_SKIP_SEEN = "你确定要跃至未读信息或下一选项吗?"
        elif _preferences.language == "french":
            layout.ARE_YOU_SURE = "Êtes-vous sûr ?"
            layout.DELETE_SAVE = "Êtes-vous sûr de vouloir supprimer cette sauvegarde ?"
            layout.OVERWRITE_SAVE = "Êtes-vous sûr de vouloir écraser cette sauvegarde ?"
            layout.LOADING = "Le chargement entraînera la perte de votre progression depuis la dernière sauvegarde.\nÊtes-vous sûr de vouloir faire cela ?"
            layout.QUIT = "Êtes-vous sûr de vouloir quitter ??"
            layout.MAIN_MENU = "Êtes-vous sûr de vouloir retourner au menu principal ?\nVotre progression depuis la dernière sauvegarde sera perdue."
            layout.SLOW_SKIP = "Êtes-vous sûr de vouloir sauter les dialogues ?"
            layout.FAST_SKIP_UNSEEN = "Êtes-vous sûr de vouloir sauter les dialogues jusqu’au prochain choix ?"
            layout.FAST_SKIP_SEEN = "Êtes-vous sûr de vouloir sauter les dialogues non vus jusqu’au prochain choix ?"
        elif _preferences.language == "portuguese":
            layout.ARE_YOU_SURE = "Tem certeza?"
            layout.DELETE_SAVE = "Certeza que deseja deletar este jogo salvo?"
            layout.OVERWRITE_SAVE = "Certeza que deseja substituir o jogo salvo?"
            layout.LOADING = "Carregando, perderá o jogo não salvo. \nCerteza que deseja fazer isso?"
            layout.QUIT = "Certeza que deseja sair?"
            layout.MAIN_MENU = "Certeza que deseja voltar para o menu principal?\nPerderá todo jogo não salvo."
            layout.SLOW_SKIP = "Certeza que deseja começar a pular os dialogos?"
            layout.FAST_SKIP_UNSEEN = "Certeza que deseja pular para a próxima escolha?"
            layout.FAST_SKIP_SEEN = "Certeza que deseja pular para o próximo diálogo não visto ou a próxima escolha?"
        elif _preferences.language == "turkish":
            layout.ARE_YOU_SURE = "Emin misin?"
            layout.DELETE_SAVE = "Bu kaydı silmek istediğinizden emin misiniz?"
            layout.OVERWRITE_SAVE = "Kaydınızı üzerine yazmak istediğinizden emin misiniz?"
            layout.LOADING = "Yükleme, kaydedilmemiş ilerlemeyi kaybedecektir.\nBunu yapmak istediğinizden emin misiniz?"
            layout.QUIT = "Çıkmak istediğinizden emin misiniz?"
            layout.MAIN_MENU = "Ana menüye dönmek istediğinizden emin misiniz?\nBu, kaydedilmemiş ilerlemeyi kaybetmenize neden olacaktır."
            layout.SLOW_SKIP = "Atlamaya başlamak istediğinizden emin misiniz?"
            layout.FAST_SKIP_UNSEEN = "Bir sonraki seçeneğe atlamak istediğinizden emin misiniz?"
            layout.FAST_SKIP_SEEN = "Görülmemiş diyaloga veya bir sonraki seçeneğe atlamak istediğinizden emin misiniz?"
        else:
            layout.MAIN_MENU = 'Вы действительно хотите выйти в главное меню?\nНесохраненные данные будут потеряны.'
            layout.ARE_YOU_SURE = "Вы уверены?"
            layout.DELETE_SAVE = "Вы уверены, что хотите удалить это сохранение?"
            layout.OVERWRITE_SAVE = "Вы уверены, что хотите переписать это сохранение?"
            layout.LOADING = "Загрузка приведёт к потере несохранённых данных.\nВы уверены, что хотите сделать это?"
            layout.QUIT = "Вы уверены, что хотите выйти?"
            layout.SLOW_SKIP = "Вы уверены, что хотите начать пропуск?"
            layout.FAST_SKIP_UNSEEN = "Вы уверены, что хотите пропустить всё до следующего выбора?"
            layout.FAST_SKIP_SEEN = "Вы уверены, что хотите пропустить всё до следующего нового диалога или выбора?"

screen help:
    tag menu


    modal True

    window background get_image("gui/settings/history_bg.jpg"):

        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["INFO"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65

        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        grid 1 3 xpos 0.25 ypos 0.2 xmaximum 1150:
            text translation_new["info_text"] style "settings_link" xalign 0.5
            text translation_new["android_text"] style "settings_link" xalign 0.5
            text translation_new["ios_text"] style "settings_link" xalign 0.5

init python:
    _main_menu_screen = "main_menu"
    renpy.music.register_channel("test_one", "sfx", False)
    renpy.music.register_channel("test_two", "sfx", False)
screen main_menu:
    tag menu


    modal True


    imagemap:
        if _preferences.language == "spanish":
            auto "images/gui/title_menu/mainmenu_es_%s.jpg"
        elif _preferences.language == "italian":
            auto "images/gui/title_menu/mainmenu_it_%s.jpg"
        elif _preferences.language == "english":
            auto "images/gui/title_menu/mainmenu_en_%s.jpg"
        elif _preferences.language == "chinese":
            auto "images/gui/title_menu/mainmenu_ch_%s.jpg"
        elif _preferences.language == "french":
            auto "images/gui/title_menu/mainmenu_fr_%s.jpg"
        elif _preferences.language == "portuguese":
            auto "images/gui/title_menu/mainmenu_pg_%s.jpg"
        elif _preferences.language == "turkish":
            auto "images/gui/title_menu/mainmenu_tr_%s.jpg"
        else:
            auto "images/gui/title_menu/mainmenu_%s.jpg"
        hotspot (439,265,318,621) clicked (Function(translate), Start())
        hotspot (787,261,270,537) clicked (Function(translate), ShowMenu('load'))
        hotspot (1067,748,252,312) clicked (Function(translate), ShowMenu('preferences'))
        hotspot (1083,258,229,538) clicked (Function(collect_all), ShowMenu('gallery'))
        hotspot (1459,532,149,295) clicked ShowMenu('quit') hovered Play("test_one", "sound/sfx/menu_gate.ogg")
        hotspot (494, 125,  768, 86) clicked ShowMenu('help')
        if config.developer:
            hotspot (1578,953,342,127) clicked ShowMenu('show_me_game')
    if True in persistent.endings.values():
        imagebutton auto "images/gui/title_menu/owl_%s.png" xpos 135 ypos 606 action ShowMenu('history') hovered Play("test_two", "sound/test.ogg")

    button style "soviet_button" pos (0.89,0.85) action OpenURL("http://sovietgames.su")



init python:
    _game_menu_screen = "game_menu_selector"
screen game_menu_selector:
    tag menu


    $ timeofday = persistent.timeofday

    modal True


    button style "blank_button" xpos 0 ypos 0 xfill True yfill True action Return()

    add get_image("gui/ingame_menu/"+timeofday+"/ingame_menu.png") xalign 0.5 yalign 0.5
    imagemap:

        if _preferences.language == "spanish":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_es_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "italian":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_it_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "english":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_en_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "chinese":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_ch_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "french":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_fr_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "portuguese":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_pg_%s.png") xalign 0.5 yalign 0.5
        elif _preferences.language == "turkish":
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_tr_%s.png") xalign 0.5 yalign 0.5
        else:
            auto get_image("gui/ingame_menu/"+timeofday+"/ingame_menu_%s.png") xalign 0.5 yalign 0.5
        hotspot (0, 83, 660, 65) focus_mask None clicked MainMenu()
        hotspot (0, 148, 660, 65) focus_mask None clicked ShowMenu('save')
        hotspot (0, 213, 660, 65) focus_mask None clicked ShowMenu('load')
        hotspot (0, 278, 660, 65) focus_mask None clicked (ShowMenu('preferences'), Hide('game_menu_selector'))
        hotspot (0, 343, 660, 65) focus_mask None clicked ShowMenu('quit')


screen save:
    tag menu


    modal True

    window background get_image("gui/save_load/save_bg.jpg"):

        textbutton translation_new["settings"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action ShowMenu('preferences')
        textbutton translation_new["LOAD"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action ShowMenu('load')
        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["SAVE"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        textbutton translation_new["Save_game"] style "log_button" text_style "settings_link" yalign 0.92 xalign 0.5 action (FunctionCallback(on_save_callback, selected_slot), FileSave(selected_slot))
        textbutton "{size=-12}{b}x{/b} {/size}"+translation_new["Delete"] style "log_button" text_style "settings_link" yalign 0.92 xalign 0.97 action FileDelete(selected_slot)

        vbox xalign 0.023 yalign 0.5:
            grid 1 10:
                for i in range(0, 10):
                    if i == 0:
                        textbutton translation_new["Auto"] text_size 50 style "log_button" text_style "settings_link" action (FilePage("auto"), SetVariable("selected_slot", False))
                    else:
                        textbutton str(i) text_size 50 right_padding 50 style "log_button" text_style "settings_link" action (FilePage(i), SetVariable("selected_slot", False))

        grid 4 3 xpos 0.13 ypos 0.2 xmaximum 0.81 ymaximum 0.65:
            transpose False
            xfill True
            yfill True
            for i in range(1, 13):

                fixed:
                    add FileScreenshot(i) xpos 10 ypos 10

                    button:
                        action SetVariable("selected_slot", i)
                        xfill False
                        yfill False
                        style "save_load_button"
                        has fixed
                        text ( "%s." % i + FileTime(i, format=' %d.%m.%y, %H:%M', empty=" "+translation_new["Empty_slot"]) + "\n" +FileSaveName(i)) style "file_picker_text" xpos 15 ypos 15



init python:
    _load_prompt = "load"
screen load:
    tag menu


    modal True

    window background get_image("gui/save_load/load_bg.jpg"):

        textbutton translation_new["settings"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action ShowMenu('preferences')
        textbutton translation_new["SAVE"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action ShowMenu('save')
        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["LOAD"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        textbutton translation_new["Load_game"] style "log_button" text_style "settings_link" yalign 0.92 xalign 0.5 action (FunctionCallback(on_load_callback,selected_slot), FileLoad(selected_slot))
        textbutton "{size=-12}{b}x{/b} {/size}"+translation_new["Delete"] style "log_button" text_style "settings_link" yalign 0.92 xalign 0.97 action FileDelete(selected_slot)

        vbox xalign 0.023 yalign 0.5:
            grid 1 10:
                for i in range(0, 10):
                    if i == 0:
                        textbutton translation_new["Auto"] text_size 50 style "log_button" text_style "settings_link" action (FilePage("auto"), SetVariable("selected_slot", False))
                    else:
                        textbutton str(i) text_size 50 right_padding 50 style "log_button" text_style "settings_link" action (FilePage(i), SetVariable("selected_slot", False))

        grid 4 3 xpos 0.13 ypos 0.2 xmaximum 0.81 ymaximum 0.65:
            transpose False
            xfill True
            yfill True
            for i in range(1, 13):

                fixed:
                    add FileScreenshot(i) xpos 10 ypos 10

                    button:
                        action SetVariable("selected_slot", i)
                        xfill False
                        yfill False
                        style "save_load_button"
                        has fixed
                        text ( "%s." % i + FileTime(i, format=' %d.%m.%y, %H:%M', empty=" "+translation_new["Empty_slot"]) + "\n" +FileSaveName(i)) style "file_picker_text" xpos 15 ypos 15

screen hentai_ach:

    if persistent.show_achievements:
        if persistent.hentai and persistent.show_hentai_ach:
            add "achievement3" at achievement_trans
            $ persistent.show_hentai_ach = False

screen collector_ach:

    python:
        if _preferences.language == None:
            ach = "images/misc/ach/collector.png"
        elif _preferences.language == "spanish":
            ach = "images/misc/ach/collector_es.png"
        elif _preferences.language == "italian":
            ach = "images/misc/ach/collector_it.png"
        elif _preferences.language == "chinese":
            ach = "images/misc/ach/collector_ch.png"
        elif _preferences.language == "latvian":
            ach = "images/misc/ach/collector.png"
        elif _preferences.language == "french":
            ach = "images/misc/ach/collector_fr.png"
        elif _preferences.language == "portuguese":
            ach = "images/misc/ach/collector_pg.png"
        else:
            ach = "images/misc/ach/collector_en.png"

    if persistent.show_achievements:
        add ach at achievement_trans

screen preferences:
    tag menu


    modal True

    $ bar_null = Frame(get_image("gui/settings/bar_null.png"),36,36)
    $ bar_full = Frame(get_image("gui/settings/bar_full.png"),36,36)

    window background get_image("gui/settings/preferences_bg.jpg"):

        textbutton translation_new["SAVE"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action ShowMenu('save')
        textbutton translation_new["LOAD"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action ShowMenu('load')
        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["settings"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        side "c b r":
            area (0.25, 0.23, 0.51, 0.71)
            viewport id "preferences":
                mousewheel True
                scrollbars None

                has grid 1 22 xfill True spacing 15
                text translation_new["Window_mode"] style "settings_header" xalign 0.5
                grid 2 1 xfill True:

                    hbox xalign 0.5:
                        if _preferences.fullscreen:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Fullscreen"] style "log_button" text_style "settings_text" action Preference("display", "fullscreen")

                    hbox xalign 0.5:
                        if not _preferences.fullscreen:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Window"] style "log_button" text_style "settings_text" action Preference("display", "window")



                text translation_new["Skip"] style "settings_header" xalign 0.5
                grid 2 1 xfill True:

                    hbox xalign 0.5:
                        if _preferences.skip_unseen:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Skip_all"] style "log_button" text_style "settings_text" action Preference("skip", "all")

                    hbox xalign 0.5:
                        if not _preferences.skip_unseen:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Skip_seen"] style "log_button" text_style "settings_text" action Preference("skip", "seen")


                text translation_new["Volume"] style "settings_header" xalign 0.5

                grid 2 1 xfill True:
                    textbutton translation_new["Music_lower"] style "log_button" text_style "settings_text" action Play("sound", "sound/test.ogg") xpos 0.1
                    bar value Preference("music volume") left_bar bar_full right_bar bar_null thumb "images/gui/settings/htumb.png" hover_thumb "images/gui/settings/htumb.png" xmaximum 1.35 ymaximum 36 xpos -0.55

                grid 2 1 xfill True:
                    textbutton translation_new["Sound"] style "log_button" text_style "settings_text" action Play("sound", "sound/test.ogg") xpos 0.1
                    bar value Preference("sound volume") left_bar bar_full right_bar bar_null thumb "images/gui/settings/htumb.png" hover_thumb "images/gui/settings/htumb.png" xmaximum 1.35 ymaximum 36 xpos -0.55

                grid 2 1 xfill True:
                    textbutton translation_new["Ambience"] style "log_button" text_style "settings_text" action Play("sound", "sound/test.ogg") xpos 0.1
                    bar value Preference("voice volume") left_bar bar_full right_bar bar_null thumb "images/gui/settings/htumb.png" hover_thumb "images/gui/settings/htumb.png" xmaximum 1.35 ymaximum 36 xpos -0.55

                text translation_new["Text_speed"] style "settings_header" xalign 0.5
                bar value Preference("text speed") left_bar bar_full right_bar bar_null thumb "images/gui/settings/htumb.png" hover_thumb "images/gui/settings/htumb.png" xalign 0.5 xmaximum 0.8 ymaximum 36

                text translation_new["Autoforward"] style "settings_header" xalign 0.5
                grid 2 1 xfill True:

                    hbox xalign 0.5:
                        if _preferences.afm_time != 0:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Adult_content_on"] style "log_button" text_style "settings_text" action Preference("auto-forward after click", "enable")

                    hbox xalign 0.5:
                        if _preferences.afm_time == 0:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Adult_content_off"] style "log_button" text_style "settings_text" action (Preference("auto-forward time", 0), Preference("auto-forward after click", "disable"))

                text translation_new["Autoforward_time"] style "settings_header" xalign 0.5
                bar value Preference("auto-forward time") left_bar bar_full right_bar bar_null thumb "images/gui/settings/htumb.png" hover_thumb "images/gui/settings/htumb.png" xalign 0.5 xmaximum 0.8 ymaximum 36


                text translation_new["Font"] style "settings_header" xalign 0.5
                grid 2 1 xfill True:
                    hbox xalign 0.5:
                        if persistent.font_size == "small":
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Normal_font"] style "log_button" text_style "settings_text" action SetField(persistent, "font_size", "small")

                    hbox xalign 0.5:
                        if not persistent.font_size == "small":
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Big_font"] style "log_button" text_style "settings_text" action SetField(persistent, "font_size", "large")

                textbutton translation_new["Language"] style "log_button" text_style "settings_text" text_size 50 xalign 0.5 action ShowMenu("language_menu")

                text translation_new["show_achievments"] style "settings_header" xalign 0.5
                grid 2 1 xfill True:

                    hbox xalign 0.5:
                        if persistent.show_achievements:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["Yes"] style "log_button" text_style "settings_text" action SetField(persistent, "show_achievements", True)

                    hbox xalign 0.5:
                        if not persistent.show_achievements:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null width 22
                        textbutton translation_new["No"] style "log_button" text_style "settings_text" action SetField(persistent, "show_achievements", False)

                textbutton translation_new["mods"] style "log_button" text_style "settings_header" xalign 0.5 action ShowMenu('mods')
                textbutton translation_new["filters"] style "log_button" text_style "settings_header" xalign 0.5 action ShowMenu('filters')

                null

            bar value XScrollValue("preferences") left_bar "images/misc/none.png" right_bar "images/misc/none.png" thumb "images/misc/none.png" hover_thumb "images/misc/none.png"
            vbar value YScrollValue("preferences") bottom_bar "images/misc/none.png" top_bar "images/misc/none.png" thumb "images/gui/settings/vthumb.png" thumb_offset -12

screen language_menu:

    modal True

    button style "blank_button" xpos 0 ypos 0 xfill True yfill True action Hide('language_menu')

    frame background Frame(get_image("gui/choice/day/choice_box.png"),50,50) xfill True yalign 0.5 left_padding 75 right_padding 75 bottom_padding 50 top_padding 50:

        has vbox xalign 0.5

        grid 1 8 xfill True:
            hbox xalign 0.5:
                if _preferences.language == None:
                    add get_image("gui/settings/leaf.png") ypos 0.12
                else:
                    null width 22
                textbutton translation_new["Russian"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Бесконечное Лето"), SetField(persistent, "show_hentai_ach", False), Language(None), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "english":
                    add get_image("gui/settings/leaf.png") ypos 0.12
                else:
                    null width 22
                textbutton translation_new["English"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Everlasting Summer"), SetField(persistent, "show_hentai_ach", False), Language("english"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "spanish":
                    add get_image("gui/settings/leaf.png") ypos 0.12
                else:
                    null width 22
                textbutton translation_new["Spanish"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Eterno Verano"), SetField(persistent, "show_hentai_ach", False), Language("spanish"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "italian":
                    add get_image("gui/settings/leaf.png") ypos 0.12
                else:
                    null width 22
                textbutton translation_new["Italian"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Eterna Estate"), SetField(persistent, "show_hentai_ach", False), Language("italian"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "chinese":
                    add get_image("gui/settings/leaf.png") ypos 0.24
                else:
                    null width 22
                textbutton translation_new["Chinese"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Everlasting Summer"), SetField(persistent, "show_hentai_ach", False), Language("chinese"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "french":
                    add get_image("gui/settings/leaf.png") ypos 0.24
                else:
                    null width 22
                textbutton translation_new["French"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Everlasting Summer"), SetField(persistent, "show_hentai_ach", False), Language("french"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "portuguese":
                    add get_image("gui/settings/leaf.png") ypos 0.24
                else:
                    null width 22
                textbutton translation_new["Portuguese"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Everlasting Summer"), SetField(persistent, "show_hentai_ach", False), Language("portuguese"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))

            hbox xalign 0.5:
                if _preferences.language == "turkish":
                    add get_image("gui/settings/leaf.png") ypos 0.24
                else:
                    null width 22
                textbutton translation_new["Turkish"] style "log_button" text_style "sprite_menu" action (SetField(config, "window_title", "Everlasting Summer"), SetField(persistent, "show_hentai_ach", False), Language("turkish"), Function(reload_names), Function(stop_music), Function(renpy.utter_restart))



screen mods:
    tag menu


    modal True


    $ bar_null = Frame(get_image("gui/settings/bar_null.png"),12,12)
    $ bar_full = Frame(get_image("gui/settings/bar_full.png"),12,12)

    window background get_image("gui/settings/preferences_bg.jpg"):

        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["mods"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action ShowMenu('preferences')

        if mods:
            side "c b r":
                area (0.27, 0.24, 0.47, 0.70)
                viewport id "mods":
                    draggable True
                    mousewheel True
                    scrollbars None
                    yinitial 0.0

                    has grid 1 len(mods)
                    for lbl, name in sorted(mods.iteritems()):
                        textbutton name style "log_button" text_style "settings_text" action (SetField(persistent, "jump_to", lbl), Start())



                bar value XScrollValue("mods") left_bar "images/misc/none.png" right_bar "images/misc/none.png" thumb "images/misc/none.png" hover_thumb "images/misc/none.png"
                vbar value YScrollValue("mods") bottom_bar "images/misc/none.png" top_bar "images/misc/none.png" thumb "images/gui/settings/vthumb.png" thumb_offset -12


init 9000 python:
    if  not persistent.filters:
        persistent.filters = []
    for i in sorted(filters.keys()):
        if  not i in [item["id"] for item in persistent.filters]:
            persistent.filters += [{"id":i,"is_active":False}]
    for item in persistent.filters:
        if  item["id"] in filters and item["id"] in renpy.store.__dict__:
            if  item["is_active"]:
                renpy.store.__dict__[item["id"]]()
        else:
            persistent.filters.remove(item)

    def apply_filter(n):
        persistent.filters[n]["is_active"] = not persistent.filters[n]["is_active"]

screen filters:
    tag menu


    modal True

    $ bar_null = Frame(get_image("gui/settings/bar_null.png"),12,12)
    $ bar_full = Frame(get_image("gui/settings/bar_full.png"),12,12)

    window background get_image("gui/settings/preferences_bg.jpg"):

        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["filters"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action ShowMenu('preferences')

        if filters:
            side "c b r":
                area (0.27, 0.24, 0.47, 0.70)
                viewport id "filters":
                    draggable True
                    mousewheel True
                    scrollbars None
                    yinitial 0.0

                    has grid 2 len(filters)
                    for i,(item) in enumerate(persistent.filters):
                        textbutton filters[item["id"]] style "log_button" text_style "settings_text" action (Function(apply_filter, i), ShowMenu('filters'))
                        if item["is_active"]:
                            add get_image("gui/settings/leaf.png") ypos 0.12
                        else:
                            null

                bar value XScrollValue("filters") left_bar "images/misc/none.png" right_bar "images/misc/none.png" thumb "images/misc/none.png" hover_thumb "images/misc/none.png"
                vbar value YScrollValue("filters") bottom_bar "images/misc/none.png" top_bar "images/misc/none.png" thumb "images/gui/settings/vthumb.png" thumb_offset -12

        textbutton translation_new["apply"] style "log_button" text_style "settings_link" yalign 0.92 xalign 0.93 action (Function(stop_music), Function(renpy.utter_restart))

init python:

    achievments = {
        "ACH_MAIN_GOOD": persistent.endings["main_good"],
        "ACH_MAIN_BAD" : persistent.endings["main_bad"],
        "ACH_SL_GOOD"  : persistent.endings["sl_good"],
        "ACH_SL_BAD"   : persistent.endings["sl_bad"],
        "ACH_DV_GOOD"  : persistent.endings["dv_good"],
        "ACH_DV_BAD"   : persistent.endings["dv_bad"],
        "ACH_UN_GOOD"  : persistent.endings["un_good"],
        "ACH_UN_BAD"   : persistent.endings["un_bad"],
        "ACH_US_GOOD"  : persistent.endings["us_good"],
        "ACH_US_BAD"   : persistent.endings["us_bad"],
        "ACH_MI"       : persistent.endings["mi"],
        "ACH_UV"       : persistent.endings["uv_unknown_fucken_shit"],
        "ACH_HAREM"    : persistent.endings["uv_city"],
        "ACH_COLLECTOR": not persistent.collector
    }

    def sync_ach():
        achievement.sync()

screen history:
    tag menu


    modal True

    python:
        screen_endings=[
        (translation_new["me_good"],persistent.endings["main_good"], "main_good", "epilogue_main"),
        (translation_new["me_bad"],persistent.endings["main_bad"], "main_bad", "main_bad_ending"),
        (translation_new["sl_good"],persistent.endings["sl_good"], "sl_good", "epilogue_sl"),
        (translation_new["sl_bad"],persistent.endings["sl_bad"], "sl_bad", "epilogue_sl"),
        (translation_new["dv_good"],persistent.endings["dv_good"], "dv_good", "epilogue_dv"),
        (translation_new["dv_bad"],persistent.endings["dv_bad"],"dv_bad", "epilogue_dv"),
        (translation_new["un_good"],persistent.endings["un_good"], "un_good", "epilogue_un_good"),
        (translation_new["un_bad"],persistent.endings["un_bad"], "un_bad", "epilogue_un_bad"),
        (translation_new["us_good"],persistent.endings["us_good"],"us_good", "epilogue_us"),
        (translation_new["us_bad"],persistent.endings["us_bad"], "us_bad", "epilogue_us"),
        (translation_new["miku"],persistent.endings["mi"], "mi", "epilogue_mi"),
        (translation_new["yulya"],persistent.endings["uv_unknown_fucken_shit"], "uv_unknown_fucken_shit", "epilogue_uv_ulya"),
        (translation_new["all_together"],persistent.endings["uv_city"], "uv_city", "epilogue_uv_city")
        ]

    $ void = "??????????"

    window background get_image("gui/settings/history_bg.jpg"):

        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["ENDINGS"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        side "c b r":
            area (0.23, 0.15, 0.61, 0.75)
            viewport id "history":
                draggable True
                mousewheel True
                scrollbars None
                has grid 2 13
                for name, val, ach, lbl in screen_endings:
                    if val:
                        textbutton name text_size 40 style "log_button" text_style "settings_link" ypos 15 action (SetField(persistent, "jump_to", lbl), SetField(persistent, "replay", ach), Start())
                    else:
                        text void size 40 style "settings_link" xalign 0.0 ypos 15

                    if val:
                        add ach_table[ach][_preferences.language]
                    else:
                        add "images/misc/ach/void.png"

            $ vbar_null = Frame(get_image("gui/settings/vbar_null.png"),0,0)

            bar value XScrollValue("history") left_bar "images/misc/none.png" right_bar "images/misc/none.png" thumb "images/misc/none.png" hover_thumb "images/misc/none.png"
            vbar value YScrollValue("history") bottom_bar vbar_null top_bar vbar_null thumb "images/gui/settings/vthumb.png" thumb_offset -12




screen choice:

    modal True

    python:
        choice_colors_hover={                        
        'day': "#9dcd55",
        'night': "#3ccfa2",
        'sunset': "#dcd168",
        'prologue': "#98d8da"
                            }

        choice_colors={
        'day': "#466123",
        'night': "#145644",
        'sunset': "#69652f",
        'prologue': "#496463"
                            }

        choice_colors_selected={                        
            'day': "#2a3b15",
            'night': "#0b3027",
            'sunset': "#42401e",
            'prologue': "#2d3d3d",
                        }

    window background Frame(get_image("gui/choice/"+persistent.timeofday+"/choice_box.png"),50,50) xfill True yalign 0.5 left_padding 75 right_padding 75 bottom_padding 50 top_padding 50:

        has vbox xalign 0.5

        for caption, action, chosen in items:
            if action and caption:

                button background None:
                    xalign 0.5
                    action action
                    if persistent.licensed:
                        if caption in persistent.choices and caption != "Налево" and caption != "Направо" and caption != "Go left" and caption != "Go right" and caption != "Ir a la izquierda" and caption != "Ir a la derecha":
                            text caption font header_font size 37 hover_size 37 color choice_colors_selected[persistent.timeofday] hover_color choice_colors_hover[persistent.timeofday] xcenter 0.5 text_align 0.5
                        else:
                            text caption font header_font size 37 hover_size 37 color choice_colors[persistent.timeofday] hover_color choice_colors_hover[persistent.timeofday] xcenter 0.5 text_align 0.5
                    else:
                        text caption font header_font size 37 hover_size 37 color choice_colors[persistent.timeofday] hover_color choice_colors_hover[persistent.timeofday] xalign 0.5
            else:
                if persistent.licensed:
                    text caption font header_font size 60 color choice_colors[persistent.timeofday] text_align 0.5 xcenter 0.5
                else:
                    text caption font header_font size 40 color choice_colors[persistent.timeofday] xalign 0.5 text_align 0.5 xcenter 0.5


screen yesno_prompt:

    modal True

    add get_image("gui/o_rly/base.png")
    text _(message) text_align 0.5 yalign 0.46 xalign 0.5 color "#64483c" font header_font size 30
    textbutton translation_new["Yes"] text_size 60 style "log_button" text_style "settings_link" yalign 0.65 xalign 0.3 action yes_action
    textbutton translation_new["No"] text_size 60 style "log_button" text_style "settings_link" yalign 0.65 xalign 0.7 action no_action


screen say:

    window background None id "window":

        $ timeofday = persistent.timeofday

        if persistent.font_size == "large":

            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/backward_%s.png") xpos 38 ypos 924 action ShowMenu("text_history")

            add get_image("gui/dialogue_box/"+timeofday+"/dialogue_box_large.png") xpos 174 ypos 866

            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/hide_%s.png") xpos 1508 ypos 883 action HideInterface()
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/save_%s.png") xpos 1567 ypos 883 action ShowMenu('save')
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/menu_%s.png") xpos 1625 ypos 883 action ShowMenu('game_menu_selector')
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/load_%s.png") xpos 1682 ypos 883 action ShowMenu('load')

            if not config.skipping:
                imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/forward_%s.png") xpos 1768 ypos 924 action Skip()
            else:
                imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/fast_forward_%s.png") xpos 1768 ypos 924 action Skip()

            text what id "what" xpos 194 ypos 914 xmaximum 1541 size 35 line_spacing 1
            if who:
                text who id "who" xpos 194 ypos 877 size 35 line_spacing 1

        elif persistent.font_size == "small":

            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/backward_%s.png") xpos 38 ypos 949 action ShowMenu("text_history")

            add get_image("gui/dialogue_box/"+timeofday+"/dialogue_box.png") xpos 174 ypos 916

            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/hide_%s.png") xpos 1508 ypos 933 action HideInterface()
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/save_%s.png") xpos 1567 ypos 933 action ShowMenu('save')
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/menu_%s.png") xpos 1625 ypos 933 action ShowMenu('game_menu_selector')
            imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/load_%s.png") xpos 1682 ypos 933 action ShowMenu('load')

            if not config.skipping:
                imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/forward_%s.png") xpos 1768 ypos 949 action Skip()
            else:
                imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/fast_forward_%s.png") xpos 1768 ypos 949 action Skip()

            text what id "what" xpos 194 ypos 964 xmaximum 1541 size 28 line_spacing 2
            if who:
                text who id "who" xpos 194 ypos 931 size 28 line_spacing 2


screen nvl:

    $ timeofday = persistent.timeofday

    window background Frame(get_image("gui/choice/"+timeofday+"/choice_box.png"),50,50) xfill True yfill True yalign 0.5 left_padding 175 right_padding 175 bottom_padding 150 top_padding 150:
        has vbox
        for who, what, who_id, what_id, window_id in dialogue:
            window:
                id window_id
                has hbox
                spacing 10
                if persistent.font_size == "large":
                    if who is not None:
                        text who id who_id size 35
                    text what id what_id size 35
                elif persistent.font_size == "small":
                    if who is not None:
                        text who id who_id size 28
                    text what id what_id size 28
        if items:
            vbox:
                id "menu"
                for caption, action, chosen in items:
                    if action:
                        button:
                            style "nvl_menu_choice_button"
                            action action
                            text caption style "nvl_menu_choice"
                    else:
                        text caption style "nvl_dialogue"

    imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/backward_%s.png") xpos 38 ypos 924 action ShowMenu("text_history")

    if not config.skipping:
        imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/forward_%s.png") xpos 1768 ypos 949 action Skip()
    else:
        imagebutton auto get_image("gui/dialogue_box/"+timeofday+"/fast_forward_%s.png") xpos 1768 ypos 949 action Skip()



init python:

    g = Gallery()

    page = 0
    gallery_mode = "cg"

    g.locked_button = get_image("gui/gallery/not_opened_idle.png")
    g.navigation = False

    rows = 4
    cols = 3
    cells = rows * cols

    show_spr = False
    show_spr_emo = ""
    show_spr_dress = ""
    show_spr_acc = ""
    show_spr_menu = []
    spr_menu_spr = False
    spr_menu_dress = False
    spr_menu_emo = False
    spr_menu_acc = False

    gallery_cg_hentai = [
    "d2_mt_undressed",
    "d2_mt_undressed_2",
    "d2_sl_swim",
    "d3_sl_bathhouse",
    "d5_dv_us_wash",
    "d5_dv_us_wash_2",
    "d5_dv_us_wash_3",
    "d5_dv_us_wash_4",
    "d6_sl_swim",
    "d6_sl_hentai_1",
    "d6_sl_hentai_2",
    "d6_dv_hentai",
    "d6_dv_hentai_2",
    "d7_un_hentai",
    "d7_un_hentai_3",
    "d7_sl_morning",
    "d7_sl_morning_2",
    "miku_h_1_cenz",
    "miku_h_2_cenz",
    "uvao_h_cenz" ]

    gallery_cg = [
    "d1_food_normal", "d1_food_skolop", "d1_grasshopper",
    "d1_rena_sunset", "d1_sl_dinner", "d1_sl_dinner_0",
    "d1_uv", "d1_uv_2", "d2_2ch_beach",
    "d2_lineup", "d2_micu_lib", "d2_miku_piano",
    "d2_miku_piano2", "d2_mirror", 
    "d2_slavya_forest", "d2_sovenok",
    "d2_ussr_falling", "d2_water_dan", "d3_disco",
    "d3_dv_guitar", "d3_dv_scene_1", "d3_dv_scene_2",
    "d3_sl_dance", "d3_sl_evening",
    "d3_sl_library", "d3_soccer", "d3_un_dance",
    "d3_un_forest", "d3_us_dinner", "d3_us_library_1",
    "d3_us_library_2", "d3_us_library_3", "d3_us_library_4",
    "d3_ussr_catched", "d4_catac", "d4_catac_dv",
    "d4_catac_sl", "d4_catac_un", "d4_catac_us",
    "d4_catac_us_2", "d4_dv_mt", "d4_el_wash",
    "d4_mi_guitar", "d4_mi_sing", "d4_sh_sit",
    "d4_sh_stay", "d4_us_cancer", "d4_us_morning",
    "d4_uv", "d4_uv_1", "d5_boat",
    "d5_boat_2", "d5_cake", "d5_clubs_robot",
    "d5_cs", "d5_dv_argue", "d5_dv_argue_2",
    "d5_dv_argue_3", "d5_dv_island",
    "d5_mi", "d5_sh_us", "d5_sl_sleep",
    "d5_sl_sleep_2", "d5_strawberry_race", "d5_un_island",
    "d5_un_sleep", "d5_us_ghost", "d5_us_ghost_2",
    "d5_us_kiss", "d5_us_sit", "d5_uv",
    "d5_uv_2", "d6_dv_fight", "d6_dv_fight_2",
    "d6_dv_fight_3",
    "d6_pioneer", "d6_sl_forest", "d6_sl_forest_2",
    "d6_un_evening_1", "d6_un_evening_2", "d6_un_punch",
    "d6_us_film", "d6_us_night_2", "d6_uv",
    "d6_uv_2", "d7_dv", "d7_dv_2",
    "d7_pioneers_leaving", "d7_pioneers_leaving_without_us",
    "d7_un_suicide", "d7_uv", "day4_us_morning",
    "epilogue_dv_2", "epilogue_dv_3", "epilogue_mi_1",
    "epilogue_mi_2", "epilogue_mi_3", "epilogue_mi_4",
    "epilogue_mi_5", "epilogue_mi_6", "epilogue_mi_7",
    "epilogue_mi_8", "epilogue_mi_9", "epilogue_sl",
    "epilogue_sl_2", "epilogue_un", "epilogue_un_bad",
    "epilogue_un_good", "epilogue_us", "epilogue_us_3_a",
    "epilogue_us_alone", "epilogue_uv", "epilogue_uv_2",
    "final_all_2", "epilogue_uv_uv",
    "epilogue_uv_sl", "epilogue_uv_dv", "epilogue_uv_un",
    "epilogue_uv_us", "epilogue_uv_mi"
    ]

    gallery_bg = [
    "bus_stop", "ext_aidpost_day", "ext_aidpost_night",
    "ext_bathhouse_night", "ext_beach_day", "ext_beach_night",
    "ext_beach_sunset", "ext_boathouse_day", "ext_boathouse_night",
    "ext_bus", "ext_bus_night", "ext_camp_entrance_day",
    "ext_camp_entrance_night", "ext_clubs_day", "ext_clubs_night",
    "ext_dining_hall_away_day", "ext_dining_hall_away_night", "ext_dining_hall_away_sunset",
    "ext_dining_hall_near_day", "ext_dining_hall_near_night", "ext_dining_hall_near_sunset",
    "ext_house_of_dv_day", "ext_house_of_dv_night", "ext_house_of_mt_day",
    "ext_house_of_mt_night", "ext_house_of_mt_night_without_light", "ext_house_of_mt_sunset",
    "ext_house_of_sl_day", "ext_house_of_un_day", "ext_houses_day",
    "ext_houses_sunset", "ext_island_day", "ext_island_night",
    "ext_library_day", "ext_library_night", "ext_musclub_day",
    "ext_no_bus", "ext_no_bus_night", "ext_no_bus_sunset",
    "ext_old_building_night", "ext_old_building_night_moonlight", "ext_path_day",
    "ext_path_night", "ext_path_sunset", "ext_path2_day",
    "ext_path2_night", "ext_playground_day", "ext_playground_night",
    "ext_polyana_day", "ext_polyana_night", "ext_polyana_sunset",
    "ext_road_day", "ext_road_night", "ext_road_night2",
    "ext_road_sunset", "ext_square_day", "ext_square_day_city",
    "ext_square_night", "ext_square_night_party", "ext_square_night_party2",
    "ext_square_sunset", "ext_stage_big_night", "ext_stage_normal_day",
    "ext_stage_normal_night", "ext_washstand_day", "ext_washstand2_day",
    "int_aidpost_day", "int_aidpost_day_apple", "int_aidpost_night",
    "int_bus", "int_bus_black", "int_bus_night",
    "int_bus_people_day", "int_bus_people_night", "int_catacombs_door",
    "int_catacombs_entrance", "int_catacombs_hole", "int_catacombs_living",
    "int_catacombs_living_nodoor", "int_clubs_male_day", "int_clubs_male_sunset",
    "int_clubs_male2_night", "int_clubs_male2_night_nolight", "int_dining_hall_day",
    "int_dining_hall_night", "int_dining_hall_people_day", "int_dining_hall_sunset",
    "int_house_of_dv_day", "int_house_of_dv_night", "int_house_of_mt_day",
    "int_house_of_mt_night", "int_house_of_mt_night2", "int_house_of_mt_noitem_night",
    "int_house_of_mt_sunset", "int_house_of_sl_day", "int_house_of_un_day",
    "int_house_of_un_night", "int_liaz", "int_library_day",
    "int_library_night", "int_library_night2", "int_mine",
    "int_mine_coalface", "int_mine_crossroad", "int_mine_door",
    "int_mine_exit_night_light", "int_mine_exit_night_nolight", "int_mine_exit_night_torch",
    "int_mine_halt", "int_mine_room", "int_musclub_day",
    "int_old_building_night", "intro_xx", "semen_room",
    "semen_room_window"
    ]

    gallery_sp_emo = {
    "el" : [ "normal", "grin", "smile", "scared", "shocked", "fingal", "surprise", "angry", "upset", "laugh", "serious", "sad" ],
    "uv" : [ "normal", "sad", "smile", "surprise", "laugh", "dontlike", "grin", "shocked", "upset", "surprise2", "rage", "guilty" ],
    "mi" : [ "shocked", "normal", "smile", "happy", "shy", "upset", "serious", "surprise", "sad", "dontlike", "angry", "grin", "scared", "rage", "cry", "laugh", "cry_smile" ],
    "us" : [ "grin", "surp3", "laugh", "normal", "dontlike", "laugh2", "surp2", "smile", "calml", "shy2", "angry", "fear", "upset", "sad", "surp1", "shy", "cry2", "cry" ],
    "sh" : [ "normal", "normal_smile", "upset", "serious", "laugh", "rage", "scared", "cry", "surprise", "smile" ],
    "mt" : [ "normal", "smile", "surprise", "rage", "angry", "sad", "grin", "laugh", "scared", "shocked" ],
    "un" : [ "normal", "surprise", "shy", "smile", "scared", "smile2", "serious", "laugh", "sad", "shocked", "smile3", "angry", "cry", "grin", "cry_smile", "rage", "evil_smile" ],
    "sl" : [ "normal", "smile", "surprise", "smile2", "angry", "laugh", "happy", "serious", "shy", "sad", "scared", "tender" ],
    "dv" : [ "angry", "normal", "smile", "sad", "rage", "grin", "guilty", "shy", "laugh", "surprise", "shocked", "scared", "cry" ],
    "pi" : [ "normal", "smile" ],
    "cs" : [ "normal", "smile", "shy" ],
    "mz" : [ "normal", "angry", "bukal", "shy", "smile", "rage", "laugh" ]
    }

    gallery_sp_dress = {
    "dv" : [ "pioneer", "pioneer2", "swim" ],
    "sl" : [ "pioneer", "swim", "sport", "dress" ],
    "un" : [ "pioneer", "swim", "sport", "dress" ],
    "us" : [ "pioneer", "swim", "sport", "dress" ],
    "mt" : [ "pioneer", "dress", "swim" ],
    "el" : [ "pioneer" ],
    "mi" : [ "pioneer", "swim" ],
    "mz" : [ "pioneer" ],
    "uv" : [ "" ],
    "pi" : [ "" ],
    "sh" : [ "" ],
    "cs" : [ "" ]
    }

    gallery_sp_acc = {
    "cs" : [ "stethoscope", "glasses" ],
    "mt" : [ "panama" ],
    "mz" : [ "glasses" ]
    }

init 101 python:

    for cg in gallery_cg:
        g.button(cg)
        g.image(im.Crop("images/cg/"+cg+".jpg" , (0,0,1920,1080)))
        g.unlock("cg "+cg)

    for bg in gallery_bg:
        g.button(bg)
        g.image(im.Crop("images/bg/"+bg+".jpg" , (0,0,1920,1080)))
        g.unlock("bg "+bg)

    g.transition = fade

    def collect_all():
        if persistent.collector:
            s = [i for k in persistent._seen_images for i in k]
            
            for i in gallery_cg:
                if i not in s: return
            
            for i in gallery_bg:
                if i not in s: return
            
            renpy.show_screen("collector_ach")
            achievement.grant("ACH_COLLECTOR")
            persistent.collector = False


screen gallery:
    tag menu


    modal True

    $ gallery_table = []
    if gallery_mode == "cg":
        $ gallery_table = gallery_cg
    else:
        $ gallery_table = gallery_bg

    $ len_table = len(gallery_table)

    frame background get_image("gui/settings/history_bg.jpg"):

        if gallery_mode == "cg":
            textbutton translation_new["MUSIC"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action (SetVariable('page', 0), ShowMenu("music_room"))
            textbutton translation_new["BG"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action (SetVariable('gallery_mode', "bg"), SetVariable('page', 0), ShowMenu("gallery"))
            hbox xalign 0.5 yalign 0.08:
                add get_image("gui/settings/star.png") yalign 0.65
                text " "+translation_new["CG"]+" " style "settings_link" yalign 0.5 color "#ffffff"
                add get_image("gui/settings/star.png") yalign 0.65
        elif gallery_mode == "bg":
            textbutton translation_new["CG"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action (SetVariable('gallery_mode', "cg"), SetVariable('page', 0), ShowMenu("gallery"))
            textbutton translation_new["SPRITES"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action (SetVariable('page', 0), ShowMenu("gallery_sp"))
            hbox xalign 0.5 yalign 0.08:
                add get_image("gui/settings/star.png") yalign 0.65
                text " "+translation_new["BG"]+" " style "settings_link" yalign 0.5 color "#ffffff"
                add get_image("gui/settings/star.png") yalign 0.65

        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        grid rows cols xpos 0.09 ypos 0.18:
            $ cg_displayed = 0
            $ next_page = page + 1
            if next_page > int(len_table/cells):
                $ next_page = 0
            for n in range(0, len_table):
                if n < (page+1)*cells and n>=page*cells:
                    python:
                        if gallery_mode == "cg":
                            _t = im.Crop("images/cg/"+gallery_table[n]+".jpg" , (0,0,1920,1080))
                        elif gallery_mode == "bg":
                            _t = im.Crop("images/bg/"+gallery_table[n]+".jpg" , (0,0,1920,1080))
                        th = im.Scale(_t, 320, 180)
                        img = im.Composite((336,196),(8,8),im.Alpha(th,0.9),(0,0),im.Image(get_image("gui/gallery/thumbnail_idle.png")))
                        imgh = im.Composite((336,196),(8,8),th,(0,0),im.Image(get_image("gui/gallery/thumbnail_hover.png")))
                    add g.make_button(gallery_table[n], get_image("gui/gallery/blank.png"), None, imgh, img, style="blank_button", bottom_margin=50, right_margin=50)
                    $ cg_displayed += 1

                    if n+1 == len_table:
                        $ next_page = 0

            for j in range(0, cells-cg_displayed):
                null

        if page != 0:
            imagebutton auto get_image("gui/dialogue_box/day/backward_%s.png") yalign 0.5 xalign 0.01 action (SetVariable('page', page-1), ShowMenu("gallery"))
        imagebutton auto get_image("gui/dialogue_box/day/forward_%s.png") yalign 0.5 xalign 0.99 action (SetVariable('page', next_page), ShowMenu("gallery"))

        python:
            def abc(n,k):
                l = float(n)/float(k)
                if l-int(l) > 0:
                    return int(l)+1
                else:
                    return l
            pages = str(page+1)+"/"+str(int(abc(len_table,cells)))
        text pages style "settings_link" xalign 0.985 yalign 0.92

screen sprite_menu:

    modal True

    $ show_spr_menu = []

    if spr_menu_acc:
        for k in gallery_sp_acc.values():
            for acc in k:
                $ found = False
                for i in persistent._seen_images:
                    if show_spr in i and show_spr_emo in i and (show_spr_dress or show_spr) in i and acc in i:
                        if not found:
                            if (show_spr, acc) not in show_spr_menu:
                                $ show_spr_menu.append((show_spr, acc))
                                $ found = True
                $ found = False

    elif spr_menu_emo:
        for k in gallery_sp_emo.values():
            for emo in k:
                $ found = False
                for i in persistent._seen_images:
                    if show_spr in i and emo in i and (show_spr_dress or show_spr) in i:
                        if not found:
                            if (show_spr, emo) not in show_spr_menu:
                                $ show_spr_menu.append((show_spr, emo))
                                $ found = True
                $ found = False

    elif spr_menu_dress:
        for k in gallery_sp_dress.values():
            for dress in k:
                $ found = False
                for i in persistent._seen_images:
                    if dress in i and show_spr in i:
                        if not found:
                            if (show_spr, dress) not in show_spr_menu:
                                $ show_spr_menu.append((show_spr, dress))
                                $ found = True
                $ found = False

    elif spr_menu_spr:
        for spr in gallery_sp_emo.keys():
            $ found = False
            for i in persistent._seen_images:
                if spr in i:
                    if not found:
                        if (spr, spr) not in show_spr_menu:
                            $ show_spr_menu.append((spr, spr))
                            $ found = True
            $ found = False


    button style "blank_button" xpos 0 ypos 0 xfill True yfill True action (Hide('sprite_menu'), ShowMenu("gallery_sp"))

    frame background Frame(get_image("gui/choice/day/choice_box.png"),50,50) xfill True yalign 0.5 left_padding 75 right_padding 75 bottom_padding 50 top_padding 50:

        has vbox xalign 0.5

        for i in show_spr_menu:
            if spr_menu_acc:
                textbutton translation_new[i[1]] style "log_button" text_style "sprite_menu" action (SetVariable('show_spr_acc', i[1]), Hide('sprite_menu'), ShowMenu("gallery_sp"))
            elif spr_menu_emo:
                textbutton translation_new[i[1]] style "log_button" text_style "sprite_menu" action (SetVariable('show_spr_emo', i[1]), Hide('sprite_menu'), ShowMenu("gallery_sp"))
            elif spr_menu_dress:
                textbutton translation_new[i[1]] style "log_button" text_style "sprite_menu" action (SetVariable('show_spr_dress', i[1]), Hide('sprite_menu'), ShowMenu("gallery_sp"))
            elif spr_menu_spr:
                textbutton translation_new[i[1]] style "log_button" text_style "sprite_menu" action (SetVariable('show_spr', i[1]), Hide('sprite_menu'), ShowMenu("gallery_sp"))

        if spr_menu_acc:
            textbutton "x" style "log_button" text_style "sprite_menu" action (SetVariable('show_spr_acc', False), Hide('sprite_menu'), ShowMenu("gallery_sp"))


screen gallery_sp:
    tag menu


    modal True

    $ persistent.sprite_time = "day"

    frame background get_image("gui/settings/history_bg.jpg"):

        textbutton translation_new["BG"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action (SetVariable('gallery_mode', "bg"), SetVariable('page', 0), SetVariable('show_spr', False), ShowMenu("gallery"))
        textbutton translation_new["MUSIC"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action (SetVariable('page', 0), SetVariable('show_spr', False), ShowMenu("music_room"))
        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["SPRITES"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65
        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action (Return(), SetVariable('show_spr', False))




        textbutton translation_new["Sprites2"] text_size 30 style "log_button" text_style "settings_link" xalign 0.02 yalign 0.28 action (ShowMenu("sprite_menu"), SetVariable('spr_menu_spr', True), SetVariable('spr_menu_dress', False), SetVariable('spr_menu_emo', False), SetVariable('show_spr', False), SetVariable('show_spr_dress', False), SetVariable('show_spr_emo', False), SetVariable('show_spr_acc', False), SetVariable('spr_menu_acc', False))

        if show_spr:
            text translation_new[show_spr] size 30 style "settings_link" xalign 0.03 yalign 0.35

            textbutton translation_new["Dress2"] text_size 30 style "log_button" text_style "settings_link" xalign 0.02 yalign 0.42 action (ShowMenu("sprite_menu"), SetVariable('show_spr_emo', False), SetVariable('spr_menu_dress', True), SetVariable('spr_menu_emo', False), SetVariable('show_spr_dress', False), SetVariable('show_spr_acc', False), SetVariable('spr_menu_acc', False))

            if show_spr_dress or show_spr in ('pi', 'sh', 'cs', 'uv'):
                if show_spr_dress:
                    text translation_new[show_spr_dress] size 30 style "settings_link" xalign 0.03 yalign 0.49

                textbutton translation_new["Emotion2"] text_size 30 style "log_button" text_style "settings_link" xalign 0.02 yalign 0.56 action (ShowMenu("sprite_menu"), SetVariable('spr_menu_emo', True), SetVariable('spr_menu_acc', False), SetVariable('show_spr_emo', False), SetVariable('show_spr_acc', False))

                if show_spr_emo:
                    text translation_new[show_spr_emo] size 30 style "settings_link" xalign 0.03 yalign 0.63

                    if show_spr in ('mt', 'mz', 'cs'):
                        textbutton translation_new["Accessory"] text_size 30 style "log_button" text_style "settings_link" xalign 0.02 yalign 0.7 action (ShowMenu("sprite_menu"), SetVariable('spr_menu_acc', True), SetVariable('show_spr_acc', False))

                        if show_spr_acc:
                            text translation_new[show_spr_acc] size 30 style "settings_link" xalign 0.03 yalign 0.77



        if show_spr and show_spr_emo and show_spr_acc:
            if show_spr_dress:
                add show_spr+" "+show_spr_emo+" "+show_spr_acc+" "+show_spr_dress xalign 0.5
            else:
                add show_spr+" "+show_spr_emo+" "+show_spr_acc xalign 0.5
        elif show_spr and show_spr_emo:
            if show_spr_dress:
                add show_spr+" "+show_spr_emo+" "+show_spr_dress xalign 0.5
            else:
                add show_spr+" "+show_spr_emo xalign 0.5


init python:

    music_box = {
    "Opening Theme" : "sound/music/everlasting_summer_op_edition.ogg",
    "A Promise From Distant Days" : "sound/music/a_promise_from_distant_days.ogg",
    "A Promise From Distant Days v.2" : "sound/music/a_promise_from_distant_days_v2.ogg",
    "Afterword" : "sound/music/afterword.ogg",
    "Always Ready" : "sound/music/always_ready.ogg",
    "Awakening Power" : "sound/music/awakening_power.ogg",
    "Blow With The Fires" : "sound/music/blow_with_the_fires.ogg",
    "Confession" : "sound/music/confession.ogg",
    "Dance Of Fireflies" : "sound/music/dance_of_fireflies.ogg",
    "Doomed To Be Defeated" : "sound/music/doomed_to_be_defeated.ogg",
    "Door To Nightmare" : "sound/music/door_to_nightmare.ogg",
    "Drown" : "sound/music/drown.ogg",
    "Eat Some Trouble" : "sound/music/eat_some_trouble.ogg",
    "Eternal Longing" : "sound/music/eternal_longing.ogg",
    "Everlasting Summer" : "sound/music/everlasting_summer.ogg",
    "Feeling Good" : "sound/music/feeling_good.ogg",
    "Faceless" : "sound/music/faceless.ogg",
    "Farewell To The Past (Short ver.)" : "sound/music/farewell_to_the_past_short.ogg",
    "Farewell To The Past" : "sound/music/farewell_to_the_past.ogg",
    "Forest Maiden" : "sound/music/forest_maiden.ogg",
    "Gentle Predator" : "sound/music/gentle_predator.ogg",
    "Get To Know Me Better" : "sound/music/get_to_know_me_better.ogg",
    "Glimmering Coals" : "sound/music/glimmering_coals.ogg",
    "Goodbye Home Shores" : "sound/music/goodbye_home_shores.ogg",
    "Heather" : "sound/music/heather.ogg",
    "I Don't Blame You" : "sound/music/i_dont_blame_you.ogg",
    "I Want To Play" : "sound/music/i_want_to_play.ogg",
    "Into The Unknown" : "sound/music/into_the_unknown.ogg",
    "Just Think" : "sound/music/just_think.ogg",
    "Let's Be Friends" : "sound/music/lets_be_friends.ogg",
    "Lightness" : "sound/music/lightness.ogg",
    "Lightness (Radio edit)" : "sound/music/lightness_radio.ogg",
    "Meet Me There" : "sound/music/meet_me_there.ogg",
    "Memories" : "sound/music/memories.ogg",
    "Memories (Piano Outdoors)" : "sound/music/memories_piano_outdoors.ogg",
    "Miku Song" : "sound/music/miku_song_voice.ogg",
    "My Daily Life" : "sound/music/my_daily_life.ogg",
    "Mystery Girl" : "sound/music/mystery_girl.ogg",
    "No Tresspassing" : "sound/music/no_tresspassing.ogg",
    "Orchid" : "sound/music/orchid.ogg",
    "Pile" : "sound/music/pile.ogg",
    "Raindrops" : "sound/music/raindrops.ogg",
    "Reflection On Water" : "sound/music/reflection_on_water.ogg",
    "Reminiscences" : "sound/music/reminiscences.ogg",
    "Revenga" : "sound/music/revenga.ogg",
    "Scarytale" : "sound/music/scarytale.ogg",
    "She Is Kind" : "sound/music/she_is_kind.ogg",
    "Silhouette In Sunset" : "sound/music/silhouette_in_sunset.ogg",
    "Smooth Machine" : "sound/music/smooth_machine.ogg",
    "So Good To Be Careless" : "sound/music/so_good_to_be_careless.ogg",
    "Sparkles" : "sound/music/sparkles.ogg",
    "Sunny Day" : "sound/music/sunny_day.ogg",
    "Sweet Darkness" : "sound/music/sweet_darkness.ogg",
    "Take Me Beautifully" : "sound/music/take_me_beautifully.ogg",
    "That's Our Madhouse" : "sound/music/that_s_our_madhouse.ogg",
    "Timid Girl" : "sound/music/timid_girl.ogg",
    "Torture" : "sound/music/torture.ogg",
    "Trapped In Dreams" : "sound/music/trapped_in_dreams.ogg",
    "Tried To Bring It Back" : "sound/music/tried_to_bring_it_back.ogg",
    "Two Glasses Of Melancholy" : "sound/music/two_glasses_of_melancholy.ogg",
    "Waltz Of Doubts" : "sound/music/waltz_of_doubts.ogg",
    "Went Fishing Caught A Girl" : "sound/music/went_fishing_caught_a_girl.ogg",
    "What Do You Think Of Me" : "sound/music/what_do_you_think_of_me.ogg",
    "You Lost Me" : "sound/music/you_lost_me.ogg",
    "You Won't Let Me Down" : "sound/music/you_won_t_let_me_down.ogg",
    "Your Bright Side" : "sound/music/your_bright_side.ogg",
    "410" : "sound/music/410.ogg"
    }

    mr = MusicRoom(fadeout=1.0)

    for name in music_box.values():
        mr.add(name)


screen music_room:
    tag menu


    modal True

    frame background get_image("gui/settings/history_bg.jpg"):

        textbutton translation_new["SPRITES"] style "log_button" text_style "settings_link" xalign 0.02 yalign 0.08 action (ShowMenu("gallery_sp"), SetVariable('page', 0))
        textbutton translation_new["CG"] style "log_button" text_style "settings_link" xalign 0.98 yalign 0.08 action (SetVariable('gallery_mode', "cg"), ShowMenu("gallery"), SetVariable('page', 0))
        hbox xalign 0.5 yalign 0.08:
            add get_image("gui/settings/star.png") yalign 0.65
            text " "+translation_new["MUSIC"]+" " style "settings_link" yalign 0.5 color "#ffffff"
            add get_image("gui/settings/star.png") yalign 0.65

        textbutton translation_new["Back"] style "log_button" text_style "settings_link" xalign 0.015 yalign 0.92 action Return()

        side "c b r":
            area (0.23, 0.15, 0.61, 0.75)
            viewport id "music_box":
                draggable True
                mousewheel True
                scrollbars None

                has grid 1 len(music_box)
                for name, track in sorted(music_box.iteritems()):
                    textbutton name style "log_button" text_style "music_link" action mr.Play(track)

            $ vbar_null = Frame(get_image("gui/settings/vbar_null.png"),0,0)

            bar value XScrollValue("music_box") left_bar "images/misc/none.png" right_bar "images/misc/none.png" thumb "images/misc/none.png" hover_thumb "images/misc/none.png"
            vbar value YScrollValue("music_box") bottom_bar vbar_null top_bar vbar_null thumb "images/gui/settings/vthumb.png" thumb_offset -12




    on "replaced" action Play("music", "sound/music/blow_with_the_fires.ogg")

init python:
    def force_quit():
        renpy.quit()

screen quit:
    tag menu


    modal True

    add get_image("maps/exit.jpg")

    text translation_new["Quit_confirm"] style "settings_link" size 60 text_align 0.5 xalign 0.7 yalign 0.33 color "#031a68" antialias True kerning 2

    textbutton translation_new["Yes"] text_size 70 style "log_button" text_style "settings_link" xalign 0.51 yalign 0.55 text_color "#3b5bc2" text_hover_color "#ff7b02" action Quit(confirm=False)
    textbutton translation_new["No"] text_size 70 style "log_button" text_style "settings_link" xalign 0.85 yalign 0.55 text_color "#3b5bc2" text_hover_color "#ff7b02" action Return()

label _compat_confirm_quit:
    $ renpy.call_screen('quit')


screen notify(message):

    modal False
    zorder 100

    python:
        choice_colors_hover={
        'day': "#9dcd55",
        'night': "#3ccfa2",
        'sunset': "#dcd168",
        'prologue': "#98d8da"
                            }
        choice_colors={
        'day': "#466123",
        'night': "#145644",
        'sunset': "#69652f",
        'prologue': "#496463"
                            }

    if not config.skipping:
        frame background Frame("images/gui/choice/"+persistent.timeofday+"/choice_box.png",0,0) xalign 0.01 yalign 0.01 left_padding 75 right_padding 75 bottom_padding 75 top_padding 75 at notify_appear:
            text message font header_font size 37 color "#ffdd7d" xmaximum 0.4
    else:
        timer 0.01 action Hide('notify')


    key "dismiss" action (Hide('notify'), Return())
    key "toggle_skip" action (Hide('notify'), Return())
    key "skip" action (Hide('notify'), Return())

transform notify_appear:
    on show:
        alpha 0
        linear .25 alpha 1.0
    on hide:
        linear .5 alpha 0.0

style notify_frame is frame
style notify_text is gui_text

style notify_frame

style notify_text








define config.history_length = 100
define gui.history_height = 1000
define gui.history_name_xpos = 0
define gui.history_name_ypos = 0
define gui.history_name_width = 0
define gui.history_name_xalign = 0.0
define gui.history_text_xpos = 250
define gui.history_text_ypos = 0
define gui.history_text_width = 1500
define gui.history_text_xalign = 0.0
define gui.scrollbar_size = 18
screen text_history_screen:
    tag menu



    predict False

    $ xmax = 1600
    $ xposition = 100

    $ history_text_size = 21
    $ history_name_size = 22

    if persistent.font_size == "large":
        $ history_text_size = 28
        $ history_name_size = 29

    elif persistent.font_size == "giant":
        $ history_text_size = 36
        $ history_name_size = 37

    button style "blank_button" xpos 0 ypos 0 xfill True yfill True action Return()







    window background Frame("images/gui/choice/"+persistent.timeofday+"/choice_box.png") left_padding 75 right_padding 75 bottom_padding 120 top_padding 120:


        viewport id "text_history_screen":
            draggable True
            mousewheel True
            scrollbars None
            yinitial 1.0

            has vbox

            for h in _history_list:

                if h.who:

                    text h.who:
                        font main_font
                        ypos 0
                        xpos xposition
                        xalign 0.0
                        size history_name_size
                        if "color" in h.who_args:
                            color h.who_args["color"]

                textbutton h.what style "log_button" text_style "normal_day" text_size history_text_size action RollbackToIdentifier(h.rollback_identifier) xmaximum xmax text_hover_color "#40e138" xpos 100

        vbar value YScrollValue("text_history_screen") bottom_bar "images/misc/none.png" top_bar "images/misc/none.png" thumb "images/gui/settings/vthumb.png" xoffset 1700







screen license:

    modal True

    add "bg black"

    text translation_new["license"]["text"]:
        size 42
        xalign 0.5
        yalign 0.2
        font header_font
        color "#ee1"
        drop_shadow [ (-1, -1), (1, -1), (-1, 1), (1, 1) ]
        drop_shadow_color "#000"
        italic False
        bold False
        text_align 0.5
        xmaximum 0.8

    textbutton translation_new["license"]["yes"] style "log_button":
        top_margin 30
        text_size 60
        xalign 0.5
        yalign 0.8
        text_color "#aaa"
        text_hover_color "#fff"
        action (Hide('license'), Return())
    textbutton translation_new["license"]["no"] style "log_button":
        top_margin 100
        text_size 60
        xalign 0.5
        yalign 0.95
        text_color "#aaa"
        text_hover_color "#fff"
        action (Hide('license'), Quit(confirm=False))

screen support:

    modal True

    add "bg black"

    text translation_new["lmr"]:
        size 80
        xalign 0.5
        yalign 0.05
        font header_font
        color "#fff"
        drop_shadow [ (-1, -1), (1, -1), (-1, 1), (1, 1) ]
        drop_shadow_color "#000"
        italic False
        bold False
        text_align 0.5
        xmaximum 0.8

    imagebutton:
        idle ("images/misc/lmr_ru_idle.png" if _preferences.language == None else "images/misc/lmr_en_idle.png")
        hover ("images/misc/lmr_ru_hover.png" if _preferences.language == None else "images/misc/lmr_en_hover.png")
        selected_idle ("images/misc/lmr_ru_hover.png" if _preferences.language == None else "images/misc/lmr_en_hover.png")
        selected_hover ("images/misc/lmr_ru_hover.png" if _preferences.language == None else "images/misc/lmr_en_hover.png")
        xalign 0.5
        yalign 0.5
        action (Hide('support'), OpenURL("https://sovietgames.su/love-money-rocknroll/"), Return())

    hbox xalign 0.95 yalign 0.95:
        if persistent.lmr_hide:
            add get_image("gui/settings/leaf.png") ypos 0.12
        else:
            null width 22
        textbutton translation_new["lmr_hide"] style "log_button" text_style "settings_text" action SetField(persistent, "lmr_hide", True)

    textbutton translation_new["lmr_skip"] style "log_button" text_style "settings_text" xalign 0.05 yalign 0.95 action (Hide('support'), Return())

screen cardgame_results(result_status):
    modal True
    zorder 100

    vbox:
        align (0.5, 0.5)
        spacing 20


        if result_status == "win":
            text "YOU WIN!" size 72 color "#0f0"
        elif result_status == "draw":
            text "IT'S A DRAW!" size 72 color "#ff0"
        else:
            text "YOU LOSE!" size 72 color "#f00"


        textbutton translation_new["understandable"]:

            text_size 70
            xalign 0.5
            yalign 0.5
            text_color "#ffdd7d"
            text_hover_color "#40e138"
            action Return("continue")








screen skip_indicator():

    zorder 100
    style_prefix "skip"

    $ xposition = 0

    frame xpos xposition:

        has hbox
        spacing 9

        text translation_new["Skipping"] font header_font color "#ffdd7d" ypos 5

        text "▸" at delayed_blink(0.0, 1.0) style "skip_triangle" color "#ffdd7d"
        text "▸" at delayed_blink(0.2, 1.0) style "skip_triangle" color "#ffdd7d"
        text "▸" at delayed_blink(0.4, 1.0) style "skip_triangle" color "#ffdd7d"


transform delayed_blink(delay, cycle):
    alpha .5

    pause delay

    block:
        linear .2 alpha 1.0
        pause .2
        linear .2 alpha 0.5
        pause (cycle - .4)
        repeat


style skip_frame is empty
style skip_text is gui_text
style skip_triangle is skip_text

style skip_frame:
    ypos gui.skip_ypos
    background Frame("images/misc/skip.png", gui.skip_frame_borders, tile=gui.frame_tile)
    padding gui.skip_frame_borders.padding

style skip_text:
    size gui.notify_text_size

style skip_triangle:


    font "DejaVuSans.ttf"

init -2 python:

    def edgescroll_proportional(n):
        return

    config.locked = False 
    config.readback_buffer_length = 100 
    config.readback_full = True 
    config.readback_disallowed_tags = ["size"] 
    config.readback_choice_prefix = ">> "   
    config.locked = True


    class ReadbackADVCharacter(ADVCharacter):
        def do_done(self, who, what, multiple=None):
            self.add_history("adv", who, what, multiple=multiple)
            return

    class ReadbackNVLCharacter(NVLCharacter):
        def do_done(self, who, what):
            store_say(who, what)
            store.current_voice = ''
            return


    def say_wrapper(who, what, **kwargs):
        return










    readback_buffer = []
    current_line = None
    current_voice = None

    def store_say(who, what):
        
        say_color = " "
        try:
            say_color = '%02x%02x%02x'
        except:
            pass
        global readback_buffer, current_voice
        new_line = (who, preparse_say_for_store(what), current_voice, say_color)
        readback_buffer = readback_buffer + [new_line]
        readback_prune()

    def store_current_line(who, what):
        
        global current_line, current_voice
        current_line = (who, preparse_say_for_store(what), current_voice, " ")

    disallowed_tags_regexp = ""
    for tag in config.readback_disallowed_tags:
        if disallowed_tags_regexp != "":
            disallowed_tags_regexp += "|"
        disallowed_tags_regexp += "{"+tag+"=.*?}|{"+tag+"}|{/"+tag+"}"

    import re
    remove_tags_expr = re.compile(disallowed_tags_regexp)
    def preparse_say_for_store(input):
        
        global remove_tags_expr
        if input:
            return re.sub(remove_tags_expr, "", input)

    def readback_prune():
        global readback_buffer
        while len(readback_buffer) > config.readback_buffer_length:
            del readback_buffer[0]


    def readback_catcher():
        ui.add(renpy.Keymap(rollback=(SetVariable("yvalue", 1.0), ShowMenu("text_history"))))
        ui.add(renpy.Keymap(rollforward=ui.returns(None)))
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc