371 lines
11 KiB
JavaScript
371 lines
11 KiB
JavaScript
gdjs.title_32officialCode = {};
|
|
gdjs.title_32officialCode.localVariables = [];
|
|
gdjs.title_32officialCode.idToCallbackMap = new Map();
|
|
gdjs.title_32officialCode.GDNewTextObjects1= [];
|
|
gdjs.title_32officialCode.GDNewTextObjects2= [];
|
|
gdjs.title_32officialCode.GDNewTextObjects3= [];
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects1= [];
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects2= [];
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects3= [];
|
|
gdjs.title_32officialCode.GDsettingsObjects1= [];
|
|
gdjs.title_32officialCode.GDsettingsObjects2= [];
|
|
gdjs.title_32officialCode.GDsettingsObjects3= [];
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects1= [];
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects2= [];
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects3= [];
|
|
gdjs.title_32officialCode.GDNewText2Objects1= [];
|
|
gdjs.title_32officialCode.GDNewText2Objects2= [];
|
|
gdjs.title_32officialCode.GDNewText2Objects3= [];
|
|
|
|
|
|
gdjs.title_32officialCode.eventsList0 = function(runtimeScene) {
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 1);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("berry dash 2.0 confirmed!");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 2);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("take control?");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 3);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("did Carlos snap?");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 4);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("rofl");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 5);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("96.61% accuracy");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 6);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("Sigeon Pex");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 7);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("Also try Berry Dash!");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 8);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("Also try BDWG!");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 9);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("Now with -34% bugs!");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 10);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("lets play goonie dash!");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 11);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("Does anybody see this?");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 12);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects2);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects2.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects2[i].getBehavior("Text").setText("is that carlos the bird");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
{isConditionTrue_0 = (runtimeScene.getScene().getVariables().getFromIndex(1).getAsNumber() == 13);
|
|
}
|
|
if (isConditionTrue_0) {
|
|
gdjs.copyArray(runtimeScene.getObjects("NewText2"), gdjs.title_32officialCode.GDNewText2Objects1);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewText2Objects1.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewText2Objects1[i].getBehavior("Text").setText("HELP IM STUCK IN THE SPLASHTEXT");
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
};gdjs.title_32officialCode.eventsList1 = function(runtimeScene) {
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
isConditionTrue_0 = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
|
|
if (isConditionTrue_0) {
|
|
{gdjs.evtTools.sound.playMusic(runtimeScene, "MenuMusic (1).wav", true, 100, 1);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
gdjs.copyArray(runtimeScene.getObjects("SmallGreyButton"), gdjs.title_32officialCode.GDSmallGreyButtonObjects1);
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
for (var i = 0, k = 0, l = gdjs.title_32officialCode.GDSmallGreyButtonObjects1.length;i<l;++i) {
|
|
if ( gdjs.title_32officialCode.GDSmallGreyButtonObjects1[i].IsClicked(null) ) {
|
|
isConditionTrue_0 = true;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects1[k] = gdjs.title_32officialCode.GDSmallGreyButtonObjects1[i];
|
|
++k;
|
|
}
|
|
}
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects1.length = k;
|
|
if (isConditionTrue_0) {
|
|
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "sg", false);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
{
|
|
gdjs.copyArray(runtimeScene.getObjects("NewTiledSprite"), gdjs.title_32officialCode.GDNewTiledSpriteObjects1);
|
|
{for(var i = 0, len = gdjs.title_32officialCode.GDNewTiledSpriteObjects1.length ;i < len;++i) {
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects1[i].setXOffset(gdjs.title_32officialCode.GDNewTiledSpriteObjects1[i].getXOffset() + (2));
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
{
|
|
|
|
|
|
let isConditionTrue_0 = false;
|
|
isConditionTrue_0 = false;
|
|
isConditionTrue_0 = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
|
|
if (isConditionTrue_0) {
|
|
{runtimeScene.getScene().getVariables().getFromIndex(1).setNumber(gdjs.randomInRange(1, 13));
|
|
}
|
|
|
|
{ //Subevents
|
|
gdjs.title_32officialCode.eventsList0(runtimeScene);} //End of subevents
|
|
}
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
gdjs.title_32officialCode.func = function(runtimeScene) {
|
|
runtimeScene.getOnceTriggers().startNewFrame();
|
|
|
|
gdjs.title_32officialCode.GDNewTextObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewTextObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewTextObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects3.length = 0;
|
|
|
|
gdjs.title_32officialCode.eventsList1(runtimeScene);
|
|
gdjs.title_32officialCode.GDNewTextObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewTextObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewTextObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDSmallGreyButtonObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDsettingsObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewTiledSpriteObjects3.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects1.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects2.length = 0;
|
|
gdjs.title_32officialCode.GDNewText2Objects3.length = 0;
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
gdjs['title_32officialCode'] = gdjs.title_32officialCode;
|