-
Notifications
You must be signed in to change notification settings - Fork 0
/
code4.js
55 lines (41 loc) · 1.96 KB
/
code4.js
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
gdjs.correct_95answerCode = {};
gdjs.correct_95answerCode.GDSkyBackgroundObjects1= [];
gdjs.correct_95answerCode.GDSkyBackgroundObjects2= [];
gdjs.correct_95answerCode.GDawesome_95textObjects1= [];
gdjs.correct_95answerCode.GDawesome_95textObjects2= [];
gdjs.correct_95answerCode.GDHomeObjects1= [];
gdjs.correct_95answerCode.GDHomeObjects2= [];
gdjs.correct_95answerCode.GDnext_95buttonObjects1= [];
gdjs.correct_95answerCode.GDnext_95buttonObjects2= [];
gdjs.correct_95answerCode.eventsList0 = function(runtimeScene) {
{
gdjs.copyArray(runtimeScene.getObjects("next_button"), gdjs.correct_95answerCode.GDnext_95buttonObjects1);
let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.correct_95answerCode.GDnext_95buttonObjects1.length;i<l;++i) {
if ( gdjs.correct_95answerCode.GDnext_95buttonObjects1[i].IsClicked((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined)) ) {
isConditionTrue_0 = true;
gdjs.correct_95answerCode.GDnext_95buttonObjects1[k] = gdjs.correct_95answerCode.GDnext_95buttonObjects1[i];
++k;
}
}
gdjs.correct_95answerCode.GDnext_95buttonObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Levels", false);
}}
}
};
gdjs.correct_95answerCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();
gdjs.correct_95answerCode.GDSkyBackgroundObjects1.length = 0;
gdjs.correct_95answerCode.GDSkyBackgroundObjects2.length = 0;
gdjs.correct_95answerCode.GDawesome_95textObjects1.length = 0;
gdjs.correct_95answerCode.GDawesome_95textObjects2.length = 0;
gdjs.correct_95answerCode.GDHomeObjects1.length = 0;
gdjs.correct_95answerCode.GDHomeObjects2.length = 0;
gdjs.correct_95answerCode.GDnext_95buttonObjects1.length = 0;
gdjs.correct_95answerCode.GDnext_95buttonObjects2.length = 0;
gdjs.correct_95answerCode.eventsList0(runtimeScene);
return;
}
gdjs['correct_95answerCode'] = gdjs.correct_95answerCode;