gdjs.LevelStartTemplateCode = {};
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final = [];

gdjs.LevelStartTemplateCode.GDDCbrandingObjects1= [];
gdjs.LevelStartTemplateCode.GDDCbrandingObjects2= [];
gdjs.LevelStartTemplateCode.GDDCbrandingObjects3= [];
gdjs.LevelStartTemplateCode.GDDCbrandingObjects4= [];
gdjs.LevelStartTemplateCode.GDDCbrandingObjects5= [];
gdjs.LevelStartTemplateCode.GDUIBGObjects1= [];
gdjs.LevelStartTemplateCode.GDUIBGObjects2= [];
gdjs.LevelStartTemplateCode.GDUIBGObjects3= [];
gdjs.LevelStartTemplateCode.GDUIBGObjects4= [];
gdjs.LevelStartTemplateCode.GDUIBGObjects5= [];
gdjs.LevelStartTemplateCode.GDStraightObjects1= [];
gdjs.LevelStartTemplateCode.GDStraightObjects2= [];
gdjs.LevelStartTemplateCode.GDStraightObjects3= [];
gdjs.LevelStartTemplateCode.GDStraightObjects4= [];
gdjs.LevelStartTemplateCode.GDStraightObjects5= [];
gdjs.LevelStartTemplateCode.GDCornerObjects1= [];
gdjs.LevelStartTemplateCode.GDCornerObjects2= [];
gdjs.LevelStartTemplateCode.GDCornerObjects3= [];
gdjs.LevelStartTemplateCode.GDCornerObjects4= [];
gdjs.LevelStartTemplateCode.GDCornerObjects5= [];
gdjs.LevelStartTemplateCode.GDEndObjects1= [];
gdjs.LevelStartTemplateCode.GDEndObjects2= [];
gdjs.LevelStartTemplateCode.GDEndObjects3= [];
gdjs.LevelStartTemplateCode.GDEndObjects4= [];
gdjs.LevelStartTemplateCode.GDEndObjects5= [];
gdjs.LevelStartTemplateCode.GDChicaneObjects1= [];
gdjs.LevelStartTemplateCode.GDChicaneObjects2= [];
gdjs.LevelStartTemplateCode.GDChicaneObjects3= [];
gdjs.LevelStartTemplateCode.GDChicaneObjects4= [];
gdjs.LevelStartTemplateCode.GDChicaneObjects5= [];
gdjs.LevelStartTemplateCode.GDCrossingObjects1= [];
gdjs.LevelStartTemplateCode.GDCrossingObjects2= [];
gdjs.LevelStartTemplateCode.GDCrossingObjects3= [];
gdjs.LevelStartTemplateCode.GDCrossingObjects4= [];
gdjs.LevelStartTemplateCode.GDCrossingObjects5= [];
gdjs.LevelStartTemplateCode.GDTreeGreenObjects1= [];
gdjs.LevelStartTemplateCode.GDTreeGreenObjects2= [];
gdjs.LevelStartTemplateCode.GDTreeGreenObjects3= [];
gdjs.LevelStartTemplateCode.GDTreeGreenObjects4= [];
gdjs.LevelStartTemplateCode.GDTreeGreenObjects5= [];
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects1= [];
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects2= [];
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects3= [];
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects4= [];
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects5= [];
gdjs.LevelStartTemplateCode.GDTreeSnowObjects1= [];
gdjs.LevelStartTemplateCode.GDTreeSnowObjects2= [];
gdjs.LevelStartTemplateCode.GDTreeSnowObjects3= [];
gdjs.LevelStartTemplateCode.GDTreeSnowObjects4= [];
gdjs.LevelStartTemplateCode.GDTreeSnowObjects5= [];
gdjs.LevelStartTemplateCode.GDMudObjects1= [];
gdjs.LevelStartTemplateCode.GDMudObjects2= [];
gdjs.LevelStartTemplateCode.GDMudObjects3= [];
gdjs.LevelStartTemplateCode.GDMudObjects4= [];
gdjs.LevelStartTemplateCode.GDMudObjects5= [];
gdjs.LevelStartTemplateCode.GDchicaneinObjects1= [];
gdjs.LevelStartTemplateCode.GDchicaneinObjects2= [];
gdjs.LevelStartTemplateCode.GDchicaneinObjects3= [];
gdjs.LevelStartTemplateCode.GDchicaneinObjects4= [];
gdjs.LevelStartTemplateCode.GDchicaneinObjects5= [];
gdjs.LevelStartTemplateCode.GDChicaneOutObjects1= [];
gdjs.LevelStartTemplateCode.GDChicaneOutObjects2= [];
gdjs.LevelStartTemplateCode.GDChicaneOutObjects3= [];
gdjs.LevelStartTemplateCode.GDChicaneOutObjects4= [];
gdjs.LevelStartTemplateCode.GDChicaneOutObjects5= [];
gdjs.LevelStartTemplateCode.GDHeadlightObjects1= [];
gdjs.LevelStartTemplateCode.GDHeadlightObjects2= [];
gdjs.LevelStartTemplateCode.GDHeadlightObjects3= [];
gdjs.LevelStartTemplateCode.GDHeadlightObjects4= [];
gdjs.LevelStartTemplateCode.GDHeadlightObjects5= [];
gdjs.LevelStartTemplateCode.GDStreetLightObjects1= [];
gdjs.LevelStartTemplateCode.GDStreetLightObjects2= [];
gdjs.LevelStartTemplateCode.GDStreetLightObjects3= [];
gdjs.LevelStartTemplateCode.GDStreetLightObjects4= [];
gdjs.LevelStartTemplateCode.GDStreetLightObjects5= [];
gdjs.LevelStartTemplateCode.GDLampleftObjects1= [];
gdjs.LevelStartTemplateCode.GDLampleftObjects2= [];
gdjs.LevelStartTemplateCode.GDLampleftObjects3= [];
gdjs.LevelStartTemplateCode.GDLampleftObjects4= [];
gdjs.LevelStartTemplateCode.GDLampleftObjects5= [];
gdjs.LevelStartTemplateCode.GDlampdownObjects1= [];
gdjs.LevelStartTemplateCode.GDlampdownObjects2= [];
gdjs.LevelStartTemplateCode.GDlampdownObjects3= [];
gdjs.LevelStartTemplateCode.GDlampdownObjects4= [];
gdjs.LevelStartTemplateCode.GDlampdownObjects5= [];
gdjs.LevelStartTemplateCode.GDLampRightObjects1= [];
gdjs.LevelStartTemplateCode.GDLampRightObjects2= [];
gdjs.LevelStartTemplateCode.GDLampRightObjects3= [];
gdjs.LevelStartTemplateCode.GDLampRightObjects4= [];
gdjs.LevelStartTemplateCode.GDLampRightObjects5= [];
gdjs.LevelStartTemplateCode.GDTyresObjects1= [];
gdjs.LevelStartTemplateCode.GDTyresObjects2= [];
gdjs.LevelStartTemplateCode.GDTyresObjects3= [];
gdjs.LevelStartTemplateCode.GDTyresObjects4= [];
gdjs.LevelStartTemplateCode.GDTyresObjects5= [];
gdjs.LevelStartTemplateCode.GDbarrelsObjects1= [];
gdjs.LevelStartTemplateCode.GDbarrelsObjects2= [];
gdjs.LevelStartTemplateCode.GDbarrelsObjects3= [];
gdjs.LevelStartTemplateCode.GDbarrelsObjects4= [];
gdjs.LevelStartTemplateCode.GDbarrelsObjects5= [];
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects1= [];
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2= [];
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects3= [];
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects4= [];
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects5= [];
gdjs.LevelStartTemplateCode.GDGrassBGObjects1= [];
gdjs.LevelStartTemplateCode.GDGrassBGObjects2= [];
gdjs.LevelStartTemplateCode.GDGrassBGObjects3= [];
gdjs.LevelStartTemplateCode.GDGrassBGObjects4= [];
gdjs.LevelStartTemplateCode.GDGrassBGObjects5= [];
gdjs.LevelStartTemplateCode.GDSnowBGObjects1= [];
gdjs.LevelStartTemplateCode.GDSnowBGObjects2= [];
gdjs.LevelStartTemplateCode.GDSnowBGObjects3= [];
gdjs.LevelStartTemplateCode.GDSnowBGObjects4= [];
gdjs.LevelStartTemplateCode.GDSnowBGObjects5= [];
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1= [];
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2= [];
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects3= [];
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects4= [];
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects5= [];
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects1= [];
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects2= [];
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects3= [];
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects4= [];
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects5= [];
gdjs.LevelStartTemplateCode.GDPuddlesObjects1= [];
gdjs.LevelStartTemplateCode.GDPuddlesObjects2= [];
gdjs.LevelStartTemplateCode.GDPuddlesObjects3= [];
gdjs.LevelStartTemplateCode.GDPuddlesObjects4= [];
gdjs.LevelStartTemplateCode.GDPuddlesObjects5= [];
gdjs.LevelStartTemplateCode.GDCrossingLightObjects1= [];
gdjs.LevelStartTemplateCode.GDCrossingLightObjects2= [];
gdjs.LevelStartTemplateCode.GDCrossingLightObjects3= [];
gdjs.LevelStartTemplateCode.GDCrossingLightObjects4= [];
gdjs.LevelStartTemplateCode.GDCrossingLightObjects5= [];
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1= [];
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2= [];
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects3= [];
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects4= [];
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects5= [];
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects1= [];
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects2= [];
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects3= [];
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects4= [];
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects5= [];
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects1= [];
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects2= [];
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects3= [];
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects4= [];
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerActionObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerActionObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerActionObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerActionObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerActionObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects5= [];
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1= [];
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects2= [];
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects3= [];
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects4= [];
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects5= [];
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1= [];
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2= [];
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects3= [];
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects4= [];
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects5= [];
gdjs.LevelStartTemplateCode.GDTrainTracksObjects1= [];
gdjs.LevelStartTemplateCode.GDTrainTracksObjects2= [];
gdjs.LevelStartTemplateCode.GDTrainTracksObjects3= [];
gdjs.LevelStartTemplateCode.GDTrainTracksObjects4= [];
gdjs.LevelStartTemplateCode.GDTrainTracksObjects5= [];
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1= [];
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects2= [];
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects3= [];
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects4= [];
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects5= [];
gdjs.LevelStartTemplateCode.GDCarStartObjects1= [];
gdjs.LevelStartTemplateCode.GDCarStartObjects2= [];
gdjs.LevelStartTemplateCode.GDCarStartObjects3= [];
gdjs.LevelStartTemplateCode.GDCarStartObjects4= [];
gdjs.LevelStartTemplateCode.GDCarStartObjects5= [];
gdjs.LevelStartTemplateCode.GDCarStopObjects1= [];
gdjs.LevelStartTemplateCode.GDCarStopObjects2= [];
gdjs.LevelStartTemplateCode.GDCarStopObjects3= [];
gdjs.LevelStartTemplateCode.GDCarStopObjects4= [];
gdjs.LevelStartTemplateCode.GDCarStopObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerdownObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerdownObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerdownObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerdownObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerdownObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerleftObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerleftObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerleftObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerleftObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerleftObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerrightObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerrightObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerrightObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerrightObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerrightObjects5= [];
gdjs.LevelStartTemplateCode.GDTriggerupObjects1= [];
gdjs.LevelStartTemplateCode.GDTriggerupObjects2= [];
gdjs.LevelStartTemplateCode.GDTriggerupObjects3= [];
gdjs.LevelStartTemplateCode.GDTriggerupObjects4= [];
gdjs.LevelStartTemplateCode.GDTriggerupObjects5= [];
gdjs.LevelStartTemplateCode.GDUIDamageObjects1= [];
gdjs.LevelStartTemplateCode.GDUIDamageObjects2= [];
gdjs.LevelStartTemplateCode.GDUIDamageObjects3= [];
gdjs.LevelStartTemplateCode.GDUIDamageObjects4= [];
gdjs.LevelStartTemplateCode.GDUIDamageObjects5= [];
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects1= [];
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects2= [];
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects3= [];
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects4= [];
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects5= [];
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects1= [];
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects2= [];
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects3= [];
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects4= [];
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects5= [];
gdjs.LevelStartTemplateCode.GDRocksObjects1= [];
gdjs.LevelStartTemplateCode.GDRocksObjects2= [];
gdjs.LevelStartTemplateCode.GDRocksObjects3= [];
gdjs.LevelStartTemplateCode.GDRocksObjects4= [];
gdjs.LevelStartTemplateCode.GDRocksObjects5= [];
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1= [];
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2= [];
gdjs.LevelStartTemplateCode.GDPoliceCarObjects3= [];
gdjs.LevelStartTemplateCode.GDPoliceCarObjects4= [];
gdjs.LevelStartTemplateCode.GDPoliceCarObjects5= [];
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1= [];
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects2= [];
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects3= [];
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects4= [];
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects5= [];
gdjs.LevelStartTemplateCode.GDbtnBraObjects1= [];
gdjs.LevelStartTemplateCode.GDbtnBraObjects2= [];
gdjs.LevelStartTemplateCode.GDbtnBraObjects3= [];
gdjs.LevelStartTemplateCode.GDbtnBraObjects4= [];
gdjs.LevelStartTemplateCode.GDbtnBraObjects5= [];
gdjs.LevelStartTemplateCode.GDbtnAccObjects1= [];
gdjs.LevelStartTemplateCode.GDbtnAccObjects2= [];
gdjs.LevelStartTemplateCode.GDbtnAccObjects3= [];
gdjs.LevelStartTemplateCode.GDbtnAccObjects4= [];
gdjs.LevelStartTemplateCode.GDbtnAccObjects5= [];
gdjs.LevelStartTemplateCode.GDbtnRightObjects1= [];
gdjs.LevelStartTemplateCode.GDbtnRightObjects2= [];
gdjs.LevelStartTemplateCode.GDbtnRightObjects3= [];
gdjs.LevelStartTemplateCode.GDbtnRightObjects4= [];
gdjs.LevelStartTemplateCode.GDbtnRightObjects5= [];
gdjs.LevelStartTemplateCode.GDbtnLeftObjects1= [];
gdjs.LevelStartTemplateCode.GDbtnLeftObjects2= [];
gdjs.LevelStartTemplateCode.GDbtnLeftObjects3= [];
gdjs.LevelStartTemplateCode.GDbtnLeftObjects4= [];
gdjs.LevelStartTemplateCode.GDbtnLeftObjects5= [];
gdjs.LevelStartTemplateCode.GDFordObjects1= [];
gdjs.LevelStartTemplateCode.GDFordObjects2= [];
gdjs.LevelStartTemplateCode.GDFordObjects3= [];
gdjs.LevelStartTemplateCode.GDFordObjects4= [];
gdjs.LevelStartTemplateCode.GDFordObjects5= [];
gdjs.LevelStartTemplateCode.GDRiverObjects1= [];
gdjs.LevelStartTemplateCode.GDRiverObjects2= [];
gdjs.LevelStartTemplateCode.GDRiverObjects3= [];
gdjs.LevelStartTemplateCode.GDRiverObjects4= [];
gdjs.LevelStartTemplateCode.GDRiverObjects5= [];
gdjs.LevelStartTemplateCode.GDRiver2Objects1= [];
gdjs.LevelStartTemplateCode.GDRiver2Objects2= [];
gdjs.LevelStartTemplateCode.GDRiver2Objects3= [];
gdjs.LevelStartTemplateCode.GDRiver2Objects4= [];
gdjs.LevelStartTemplateCode.GDRiver2Objects5= [];
gdjs.LevelStartTemplateCode.GDIceObjects1= [];
gdjs.LevelStartTemplateCode.GDIceObjects2= [];
gdjs.LevelStartTemplateCode.GDIceObjects3= [];
gdjs.LevelStartTemplateCode.GDIceObjects4= [];
gdjs.LevelStartTemplateCode.GDIceObjects5= [];
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects1= [];
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects2= [];
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects3= [];
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects4= [];
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects5= [];
gdjs.LevelStartTemplateCode.GDCrossroadsObjects1= [];
gdjs.LevelStartTemplateCode.GDCrossroadsObjects2= [];
gdjs.LevelStartTemplateCode.GDCrossroadsObjects3= [];
gdjs.LevelStartTemplateCode.GDCrossroadsObjects4= [];
gdjs.LevelStartTemplateCode.GDCrossroadsObjects5= [];
gdjs.LevelStartTemplateCode.GDBridgeOverObjects1= [];
gdjs.LevelStartTemplateCode.GDBridgeOverObjects2= [];
gdjs.LevelStartTemplateCode.GDBridgeOverObjects3= [];
gdjs.LevelStartTemplateCode.GDBridgeOverObjects4= [];
gdjs.LevelStartTemplateCode.GDBridgeOverObjects5= [];
gdjs.LevelStartTemplateCode.GDBarrierObjects1= [];
gdjs.LevelStartTemplateCode.GDBarrierObjects2= [];
gdjs.LevelStartTemplateCode.GDBarrierObjects3= [];
gdjs.LevelStartTemplateCode.GDBarrierObjects4= [];
gdjs.LevelStartTemplateCode.GDBarrierObjects5= [];
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects1= [];
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects2= [];
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects3= [];
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects4= [];
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects5= [];
gdjs.LevelStartTemplateCode.GDJunctionObjects1= [];
gdjs.LevelStartTemplateCode.GDJunctionObjects2= [];
gdjs.LevelStartTemplateCode.GDJunctionObjects3= [];
gdjs.LevelStartTemplateCode.GDJunctionObjects4= [];
gdjs.LevelStartTemplateCode.GDJunctionObjects5= [];
gdjs.LevelStartTemplateCode.GDTightObjects1= [];
gdjs.LevelStartTemplateCode.GDTightObjects2= [];
gdjs.LevelStartTemplateCode.GDTightObjects3= [];
gdjs.LevelStartTemplateCode.GDTightObjects4= [];
gdjs.LevelStartTemplateCode.GDTightObjects5= [];
gdjs.LevelStartTemplateCode.GDTraincrossingObjects1= [];
gdjs.LevelStartTemplateCode.GDTraincrossingObjects2= [];
gdjs.LevelStartTemplateCode.GDTraincrossingObjects3= [];
gdjs.LevelStartTemplateCode.GDTraincrossingObjects4= [];
gdjs.LevelStartTemplateCode.GDTraincrossingObjects5= [];
gdjs.LevelStartTemplateCode.GDlakeObjects1= [];
gdjs.LevelStartTemplateCode.GDlakeObjects2= [];
gdjs.LevelStartTemplateCode.GDlakeObjects3= [];
gdjs.LevelStartTemplateCode.GDlakeObjects4= [];
gdjs.LevelStartTemplateCode.GDlakeObjects5= [];
gdjs.LevelStartTemplateCode.GDMenuBGsObjects1= [];
gdjs.LevelStartTemplateCode.GDMenuBGsObjects2= [];
gdjs.LevelStartTemplateCode.GDMenuBGsObjects3= [];
gdjs.LevelStartTemplateCode.GDMenuBGsObjects4= [];
gdjs.LevelStartTemplateCode.GDMenuBGsObjects5= [];


gdjs.LevelStartTemplateCode.eventsList0 = function(runtimeScene) {

{



}


{


let isConditionTrue_0 = false;
{
{runtimeScene.getGame().getVariables().getFromIndex(0).setString("night");
}}

}


{



}


{


let isConditionTrue_0 = false;
{
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDBarrierObjects1, gdjs.LevelStartTemplateCode.GDBarrierObjects2);

gdjs.copyArray(runtimeScene.getObjects("BridgeOver"), gdjs.LevelStartTemplateCode.GDBridgeOverObjects2);
gdjs.copyArray(runtimeScene.getObjects("BridgeUnder"), gdjs.LevelStartTemplateCode.GDBridgeUnderObjects2);
gdjs.copyArray(runtimeScene.getObjects("CarStart"), gdjs.LevelStartTemplateCode.GDCarStartObjects2);
gdjs.copyArray(runtimeScene.getObjects("CarStop"), gdjs.LevelStartTemplateCode.GDCarStopObjects2);
gdjs.copyArray(runtimeScene.getObjects("Chicane"), gdjs.LevelStartTemplateCode.GDChicaneObjects2);
gdjs.copyArray(runtimeScene.getObjects("ChicaneOut"), gdjs.LevelStartTemplateCode.GDChicaneOutObjects2);
gdjs.copyArray(runtimeScene.getObjects("Corner"), gdjs.LevelStartTemplateCode.GDCornerObjects2);
gdjs.copyArray(runtimeScene.getObjects("Crossing"), gdjs.LevelStartTemplateCode.GDCrossingObjects2);
gdjs.copyArray(runtimeScene.getObjects("Crossroads"), gdjs.LevelStartTemplateCode.GDCrossroadsObjects2);
gdjs.copyArray(runtimeScene.getObjects("End"), gdjs.LevelStartTemplateCode.GDEndObjects2);
gdjs.copyArray(runtimeScene.getObjects("Ford"), gdjs.LevelStartTemplateCode.GDFordObjects2);
gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2);
gdjs.copyArray(runtimeScene.getObjects("Ice"), gdjs.LevelStartTemplateCode.GDIceObjects2);
gdjs.copyArray(runtimeScene.getObjects("Junction"), gdjs.LevelStartTemplateCode.GDJunctionObjects2);
gdjs.copyArray(runtimeScene.getObjects("LampRight"), gdjs.LevelStartTemplateCode.GDLampRightObjects2);
gdjs.copyArray(runtimeScene.getObjects("Lampleft"), gdjs.LevelStartTemplateCode.GDLampleftObjects2);
gdjs.copyArray(runtimeScene.getObjects("Mud"), gdjs.LevelStartTemplateCode.GDMudObjects2);
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1, gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);

gdjs.copyArray(runtimeScene.getObjects("Puddles"), gdjs.LevelStartTemplateCode.GDPuddlesObjects2);
gdjs.copyArray(runtimeScene.getObjects("River"), gdjs.LevelStartTemplateCode.GDRiverObjects2);
gdjs.copyArray(runtimeScene.getObjects("River2"), gdjs.LevelStartTemplateCode.GDRiver2Objects2);
gdjs.copyArray(runtimeScene.getObjects("RiverBridge"), gdjs.LevelStartTemplateCode.GDRiverBridgeObjects2);
gdjs.copyArray(runtimeScene.getObjects("Rocks"), gdjs.LevelStartTemplateCode.GDRocksObjects2);
gdjs.copyArray(runtimeScene.getObjects("Straight"), gdjs.LevelStartTemplateCode.GDStraightObjects2);
gdjs.copyArray(runtimeScene.getObjects("Tight"), gdjs.LevelStartTemplateCode.GDTightObjects2);
gdjs.copyArray(runtimeScene.getObjects("TrainTracks"), gdjs.LevelStartTemplateCode.GDTrainTracksObjects2);
gdjs.copyArray(runtimeScene.getObjects("Traincrossing"), gdjs.LevelStartTemplateCode.GDTraincrossingObjects2);
gdjs.copyArray(runtimeScene.getObjects("TreeBlossom"), gdjs.LevelStartTemplateCode.GDTreeBlossomObjects2);
gdjs.copyArray(runtimeScene.getObjects("TreeGreen"), gdjs.LevelStartTemplateCode.GDTreeGreenObjects2);
gdjs.copyArray(runtimeScene.getObjects("TreeSnow"), gdjs.LevelStartTemplateCode.GDTreeSnowObjects2);
gdjs.copyArray(runtimeScene.getObjects("TunnelCover"), gdjs.LevelStartTemplateCode.GDTunnelCoverObjects2);
gdjs.copyArray(runtimeScene.getObjects("Tyres"), gdjs.LevelStartTemplateCode.GDTyresObjects2);
gdjs.copyArray(runtimeScene.getObjects("ZebraCrossing"), gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2);
gdjs.copyArray(runtimeScene.getObjects("barrels"), gdjs.LevelStartTemplateCode.GDbarrelsObjects2);
gdjs.copyArray(runtimeScene.getObjects("chicanein"), gdjs.LevelStartTemplateCode.GDchicaneinObjects2);
gdjs.copyArray(runtimeScene.getObjects("lake"), gdjs.LevelStartTemplateCode.GDlakeObjects2);
gdjs.copyArray(runtimeScene.getObjects("lampdown"), gdjs.LevelStartTemplateCode.GDlampdownObjects2);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDStraightObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDStraightObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCornerObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCornerObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDChicaneObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDChicaneObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDEndObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDEndObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDFordObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDFordObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDMudObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDMudObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDchicaneinObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDchicaneinObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDChicaneOutObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDChicaneOutObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDRiverObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDRiverObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDRiver2Objects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDRiver2Objects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDIceObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDIceObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDRiverBridgeObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDRiverBridgeObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBridgeUnderObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBridgeUnderObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCrossroadsObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCrossroadsObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCrossingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCrossingObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTraincrossingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTraincrossingObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDJunctionObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDJunctionObjects2[i].setZOrder(1);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTightObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTightObjects2[i].setZOrder(1);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCarStartObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCarStartObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCarStopObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCarStopObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBarrierObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBarrierObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPuddlesObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPuddlesObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTrainTracksObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTrainTracksObjects2[i].setZOrder(2);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDlakeObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDlakeObjects2[i].setZOrder(2);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTyresObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTyresObjects2[i].setZOrder(3);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDbarrelsObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDbarrelsObjects2[i].setZOrder(3);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2[i].setZOrder(3);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTrainTracksObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTrainTracksObjects2[i].setZOrder(3);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBarrierObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBarrierObjects2[i].setZOrder(3);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].setZOrder(4);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTyresObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTyresObjects2[i].setZOrder(4);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDbarrelsObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDbarrelsObjects2[i].setZOrder(4);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].setZOrder(4);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDRocksObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDRocksObjects2[i].setZOrder(4);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBridgeOverObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBridgeOverObjects2[i].setZOrder(5);
}
}{}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDLampleftObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDLampleftObjects2[i].setZOrder(7);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDLampRightObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDLampRightObjects2[i].setZOrder(7);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDlampdownObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDlampdownObjects2[i].setZOrder(7);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTunnelCoverObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTunnelCoverObjects2[i].setZOrder(7);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTreeGreenObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTreeGreenObjects2[i].setZOrder(8);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTreeBlossomObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTreeBlossomObjects2[i].setZOrder(8);
}
for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTreeSnowObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTreeSnowObjects2[i].setZOrder(8);
}
}}

}


{



}


{


let isConditionTrue_0 = false;
{
{gdjs.evtTools.sound.playSoundOnChannel(runtimeScene, "engine.mp3", 1, true, 100, 1);
}}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = !(gdjs.evtTools.systemInfo.isMobile());
if (isConditionTrue_0) {
{gdjs.evtTools.camera.hideLayer(runtimeScene, "touch");
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects2Objects = Hashtable.newFrom({"VPropWalking": gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerupObjects2Objects = Hashtable.newFrom({"Triggerup": gdjs.LevelStartTemplateCode.GDTriggerupObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.LevelStartTemplateCode.GDTriggerdownObjects1});
gdjs.LevelStartTemplateCode.eventsList1 = function(runtimeScene) {

{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1, gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].getVariables().getFromIndex(0)) == "down" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[k] = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].addForce(0, 50, 0);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.LevelStartTemplateCode.GDTriggerupObjects2);
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1, gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects2Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerupObjects2Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].returnVariable(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].getVariables().getFromIndex(0)).setString("up");
}
}}

}


{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1, gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].getVariables().getFromIndex(0)) == "up" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[k] = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2[i].addPolarForce(-(90), 50, 0);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.LevelStartTemplateCode.GDTriggerdownObjects1);
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerdownObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1[i].getVariables().getFromIndex(0)).setString("down");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects2Objects = Hashtable.newFrom({"VPropAnimal": gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerupObjects2Objects = Hashtable.newFrom({"Triggerup": gdjs.LevelStartTemplateCode.GDTriggerupObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.LevelStartTemplateCode.GDTriggerdownObjects1});
gdjs.LevelStartTemplateCode.eventsList2 = function(runtimeScene) {

{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1, gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].getVariables().getFromIndex(0)) == "down" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[k] = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].addForce(0, 50, 0);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.LevelStartTemplateCode.GDTriggerupObjects2);
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1, gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects2Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerupObjects2Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].returnVariable(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].getVariables().getFromIndex(0)).setString("up");
}
}}

}


{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1, gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].getVariables().getFromIndex(0)) == "up" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[k] = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2[i].addPolarForce(-(90), 50, 0);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.LevelStartTemplateCode.GDTriggerdownObjects1);
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerdownObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1[i].getVariables().getFromIndex(0)).setString("down");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects2Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerleftObjects2Objects = Hashtable.newFrom({"Triggerleft": gdjs.LevelStartTemplateCode.GDTriggerleftObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerrightObjects1Objects = Hashtable.newFrom({"Triggerright": gdjs.LevelStartTemplateCode.GDTriggerrightObjects1});
gdjs.LevelStartTemplateCode.eventsList3 = function(runtimeScene) {

{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1, gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].getVariables().getFromIndex(0)) == "right" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[k] = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].addForce(300, 0, 0);
}
}}

}


{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1, gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2);

gdjs.copyArray(runtimeScene.getObjects("Triggerleft"), gdjs.LevelStartTemplateCode.GDTriggerleftObjects2);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects2Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerleftObjects2Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].returnVariable(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].getVariables().getFromIndex(0)).setString("left");
}
}}

}


{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1, gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].getVariableString(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].getVariables().getFromIndex(0)) == "left" ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[k] = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2[i].addPolarForce(-(180), 300, 0);
}
}}

}


{

/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1 */
gdjs.copyArray(runtimeScene.getObjects("Triggerright"), gdjs.LevelStartTemplateCode.GDTriggerrightObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerrightObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1[i].getVariables().getFromIndex(0)).setString("right");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnRightObjects2Objects = Hashtable.newFrom({"btnRight": gdjs.LevelStartTemplateCode.GDbtnRightObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnLeftObjects1Objects = Hashtable.newFrom({"btnLeft": gdjs.LevelStartTemplateCode.GDbtnLeftObjects1});
gdjs.LevelStartTemplateCode.eventsList4 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("btnRight"), gdjs.LevelStartTemplateCode.GDbtnRightObjects2);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnRightObjects2Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1, gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getDirectionOrAngle() + (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("btnLeft"), gdjs.LevelStartTemplateCode.GDbtnLeftObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnLeftObjects1Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].setDirectionOrAngle(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getDirectionOrAngle() - (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


};gdjs.LevelStartTemplateCode.eventsList5 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList4(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.eventsList6 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Right");
if (isConditionTrue_0) {
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1, gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getDirectionOrAngle() + (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Left");
if (isConditionTrue_0) {
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1, gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getDirectionOrAngle() - (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "touch");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList5(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDMudObjects1Objects = Hashtable.newFrom({"Mud": gdjs.LevelStartTemplateCode.GDMudObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDIceObjects1Objects = Hashtable.newFrom({"Ice": gdjs.LevelStartTemplateCode.GDIceObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDMudObjects1Objects = Hashtable.newFrom({"Mud": gdjs.LevelStartTemplateCode.GDMudObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDFordObjects1Objects = Hashtable.newFrom({"Ford": gdjs.LevelStartTemplateCode.GDFordObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDRiverBridgeObjects1Objects = Hashtable.newFrom({"RiverBridge": gdjs.LevelStartTemplateCode.GDRiverBridgeObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDIceObjects1Objects = Hashtable.newFrom({"Ice": gdjs.LevelStartTemplateCode.GDIceObjects1});
gdjs.LevelStartTemplateCode.asyncCallback18429132 = function (runtimeScene, asyncObjectsList) {
gdjs.copyArray(asyncObjectsList.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects5);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects5.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects5[i].setAngle(gdjs.randomFloatInRange(240, 300));
}
}}
gdjs.LevelStartTemplateCode.eventsList7 = function(runtimeScene, asyncObjectsList) {

{


{
const parentAsyncObjectsList = asyncObjectsList;
{
const asyncObjectsList = gdjs.LongLivedObjectsList.from(parentAsyncObjectsList);
for (const obj of gdjs.LevelStartTemplateCode.GDPoliceCarObjects4) asyncObjectsList.addObject("PoliceCar", obj);
runtimeScene.getAsyncTasksManager().addTask(gdjs.evtTools.runtimeScene.wait(0.3), (runtimeScene) => (gdjs.LevelStartTemplateCode.asyncCallback18429132(runtimeScene, asyncObjectsList)));
}
}

}


};gdjs.LevelStartTemplateCode.asyncCallback18428812 = function (runtimeScene, asyncObjectsList) {
gdjs.copyArray(asyncObjectsList.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects4);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects4.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects4[i].setAngle(gdjs.randomFloatInRange(240, 300));
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList7(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.LevelStartTemplateCode.eventsList8 = function(runtimeScene, asyncObjectsList) {

{


{
const parentAsyncObjectsList = asyncObjectsList;
{
const asyncObjectsList = gdjs.LongLivedObjectsList.from(parentAsyncObjectsList);
for (const obj of gdjs.LevelStartTemplateCode.GDPoliceCarObjects3) asyncObjectsList.addObject("PoliceCar", obj);
runtimeScene.getAsyncTasksManager().addTask(gdjs.evtTools.runtimeScene.wait(0.3), (runtimeScene) => (gdjs.LevelStartTemplateCode.asyncCallback18428812(runtimeScene, asyncObjectsList)));
}
}

}


};gdjs.LevelStartTemplateCode.asyncCallback18428572 = function (runtimeScene, asyncObjectsList) {
gdjs.copyArray(asyncObjectsList.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects3);

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects3.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects3[i].setAngle(gdjs.randomFloatInRange(240, 300));
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList8(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.LevelStartTemplateCode.eventsList9 = function(runtimeScene) {

{


{
{
const asyncObjectsList = new gdjs.LongLivedObjectsList();
for (const obj of gdjs.LevelStartTemplateCode.GDPoliceCarObjects2) asyncObjectsList.addObject("PoliceCar", obj);
runtimeScene.getAsyncTasksManager().addTask(gdjs.evtTools.runtimeScene.wait(0.3), (runtimeScene) => (gdjs.LevelStartTemplateCode.asyncCallback18428572(runtimeScene, asyncObjectsList)));
}
}

}


};gdjs.LevelStartTemplateCode.eventsList10 = function(runtimeScene) {

{

gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1, gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariables().get("acceleration")) > 201 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18400732);
}
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects2 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariables().get("acceleration")).mul(1.4);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].setAngle(gdjs.randomFloatInRange(240, 300));
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList9(runtimeScene);} //End of subevents
}

}


{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) <= 200 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(180);
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnAccObjects1Objects = Hashtable.newFrom({"btnAcc": gdjs.LevelStartTemplateCode.GDbtnAccObjects1});
gdjs.LevelStartTemplateCode.eventsList11 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("btnAcc"), gdjs.LevelStartTemplateCode.GDbtnAccObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnAccObjects1Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).add(300 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


};gdjs.LevelStartTemplateCode.eventsList12 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList11(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects1Objects = Hashtable.newFrom({"btnBra": gdjs.LevelStartTemplateCode.GDbtnBraObjects1});
gdjs.LevelStartTemplateCode.eventsList13 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("btnBra"), gdjs.LevelStartTemplateCode.GDbtnBraObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects1Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).sub(200 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


};gdjs.LevelStartTemplateCode.eventsList14 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList13(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects2Objects = Hashtable.newFrom({"btnBra": gdjs.LevelStartTemplateCode.GDbtnBraObjects2});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnAccObjects1Objects = Hashtable.newFrom({"btnAcc": gdjs.LevelStartTemplateCode.GDbtnAccObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects1Objects = Hashtable.newFrom({"btnBra": gdjs.LevelStartTemplateCode.GDbtnBraObjects1});
gdjs.LevelStartTemplateCode.eventsList15 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);
gdjs.copyArray(runtimeScene.getObjects("btnBra"), gdjs.LevelStartTemplateCode.GDbtnBraObjects2);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariables().get("acceleration")) > 150 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects2Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 0.5, "TraceFrein");
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "TraceFrein");
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("btnAcc"), gdjs.LevelStartTemplateCode.GDbtnAccObjects1);
gdjs.copyArray(runtimeScene.getObjects("btnBra"), gdjs.LevelStartTemplateCode.GDbtnBraObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) < 20 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnAccObjects1Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbtnBraObjects1Objects, runtimeScene, true, false);
}
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("Demarrage rapide")).setNumber(1);
}
}}

}


};gdjs.LevelStartTemplateCode.eventsList16 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList15(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects = Hashtable.newFrom({"CollisionSmoke": gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects = Hashtable.newFrom({"CollisionSmoke": gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTunnelCoverObjects1Objects = Hashtable.newFrom({"TunnelCover": gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTunnelCoverObjects1Objects = Hashtable.newFrom({"TunnelCover": gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1});
gdjs.LevelStartTemplateCode.eventsList17 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBridgeOverObjects1Objects = Hashtable.newFrom({"BridgeOver": gdjs.LevelStartTemplateCode.GDBridgeOverObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBridgeOverObjects1Objects = Hashtable.newFrom({"BridgeOver": gdjs.LevelStartTemplateCode.GDBridgeOverObjects1});
gdjs.LevelStartTemplateCode.eventsList18 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.eventsList19 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTrainCrossingBarrierObjects1Objects = Hashtable.newFrom({"TrainCrossingBarrier": gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTrainCrossingBarrierObjects1Objects = Hashtable.newFrom({"TrainCrossingBarrier": gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1});
gdjs.LevelStartTemplateCode.eventsList20 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbarrelsObjects1Objects = Hashtable.newFrom({"barrels": gdjs.LevelStartTemplateCode.GDbarrelsObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbarrelsObjects1Objects = Hashtable.newFrom({"barrels": gdjs.LevelStartTemplateCode.GDbarrelsObjects1});
gdjs.LevelStartTemplateCode.eventsList21 = function(runtimeScene, asyncObjectsList) {

{

gdjs.copyArray(asyncObjectsList.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects2 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.asyncCallback18451772 = function (runtimeScene, asyncObjectsList) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList21(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.LevelStartTemplateCode.eventsList22 = function(runtimeScene) {

{


{
{
const asyncObjectsList = new gdjs.LongLivedObjectsList();
for (const obj of gdjs.LevelStartTemplateCode.GDPoliceCarObjects1) asyncObjectsList.addObject("PoliceCar", obj);
runtimeScene.getAsyncTasksManager().addTask(gdjs.evtTools.runtimeScene.wait(2), (runtimeScene) => (gdjs.LevelStartTemplateCode.asyncCallback18451772(runtimeScene, asyncObjectsList)));
}
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects = Hashtable.newFrom({"Tyres": gdjs.LevelStartTemplateCode.GDTyresObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects = Hashtable.newFrom({"Tyres": gdjs.LevelStartTemplateCode.GDTyresObjects1});
gdjs.LevelStartTemplateCode.eventsList23 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18454828);
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{gdjs.evtTools.sound.playSound(runtimeScene, "62629ed1ad9c10ead7976fdd53eeb5c8a398d437cc425a8b4e97df939ee960c0_MetalV1_Run_13.wav", false, 30, 1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.eventsList24 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList23(runtimeScene);} //End of subevents
}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBarrierObjects1Objects = Hashtable.newFrom({"Barrier": gdjs.LevelStartTemplateCode.GDBarrierObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBarrierObjects1Objects = Hashtable.newFrom({"Barrier": gdjs.LevelStartTemplateCode.GDBarrierObjects1});
gdjs.LevelStartTemplateCode.eventsList25 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1});
gdjs.LevelStartTemplateCode.eventsList26 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1});
gdjs.LevelStartTemplateCode.eventsList27 = function(runtimeScene) {

{

/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getTimerElapsedTimeInSecondsOrNaN("Cooloff") >= 3 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{runtimeScene.getScene().getVariables().getFromIndex(0).sub(1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}}

}


};gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPuddlesObjects1Objects = Hashtable.newFrom({"Puddles": gdjs.LevelStartTemplateCode.GDPuddlesObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionObjects1Objects = Hashtable.newFrom({"TriggerAction": gdjs.LevelStartTemplateCode.GDTriggerActionObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionObjects1Objects = Hashtable.newFrom({"TriggerAction": gdjs.LevelStartTemplateCode.GDTriggerActionObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionBARRIERObjects1Objects = Hashtable.newFrom({"TriggerActionBARRIER": gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionBRIDGEObjects1Objects = Hashtable.newFrom({"TriggerActionBRIDGE": gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects = Hashtable.newFrom({"Tyres": gdjs.LevelStartTemplateCode.GDTyresObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects = Hashtable.newFrom({"CollisionSmoke": gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects = Hashtable.newFrom({"CollisionSmoke": gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.LevelStartTemplateCode.GDPoliceCarObjects1});
gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCarStopObjects1Objects = Hashtable.newFrom({"CarStop": gdjs.LevelStartTemplateCode.GDCarStopObjects1});
gdjs.LevelStartTemplateCode.asyncCallback18469996 = function (runtimeScene, asyncObjectsList) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Start", false);
}}
gdjs.LevelStartTemplateCode.eventsList28 = function(runtimeScene) {

{


{
{
const asyncObjectsList = new gdjs.LongLivedObjectsList();
runtimeScene.getAsyncTasksManager().addTask(gdjs.evtTools.runtimeScene.wait(4), (runtimeScene) => (gdjs.LevelStartTemplateCode.asyncCallback18469996(runtimeScene, asyncObjectsList)));
}
}

}


};gdjs.LevelStartTemplateCode.eventsList29 = function(runtimeScene) {

{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("Barrier"), gdjs.LevelStartTemplateCode.GDBarrierObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerAction"), gdjs.LevelStartTemplateCode.GDTriggerActionObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBARRIER"), gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBRIDGE"), gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.LevelStartTemplateCode.GDTriggerdownObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerleft"), gdjs.LevelStartTemplateCode.GDTriggerleftObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerright"), gdjs.LevelStartTemplateCode.GDTriggerrightObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.LevelStartTemplateCode.GDTriggerupObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerupObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerupObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerleftObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerleftObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerdownObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerdownObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerrightObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerrightObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerActionObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerActionObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBarrierObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBarrierObjects1[i].setAnimationName("BarrierUp");
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList0(runtimeScene);} //End of subevents
}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableString(runtimeScene.getGame().getVariables().getFromIndex(0)) == "night";
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("Headlight"), gdjs.LevelStartTemplateCode.GDHeadlightObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDHeadlightObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDHeadlightObjects1[i].setPosition((( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointX("HD")),(( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointY("HD")));
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList1(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList2(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList3(runtimeScene);} //End of subevents
}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 5;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18419932);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage5");
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 4;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18413644);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage4");
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 3;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18396124);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage3");
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 2;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18396756);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage2");
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 1;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18397500);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage1");
}
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 0;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18398220);
}
}
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("UIDamage"), gdjs.LevelStartTemplateCode.GDUIDamageObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDUIDamageObjects1[i].setAnimationName("damage0");
}
}}

}


{


let isConditionTrue_0 = false;
{
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{gdjs.evtTools.sound.setSoundOnChannelPitch(runtimeScene, 1, 0.1 + ((gdjs.RuntimeObject.getVariableNumber(((gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? gdjs.VariablesContainer.badVariablesContainer : gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getVariables()).get("acceleration"))) / 200));
}}

}


{



}


{



}


{

gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = 0;


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
{gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final.length = 0;
let isConditionTrue_1 = false;
isConditionTrue_0 = false;
{
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariables().get("acceleration")) > 0 ) {
        isConditionTrue_1 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = k;
if(isConditionTrue_1) {
    isConditionTrue_0 = true;
    for (let j = 0, jLen = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length; j < jLen ; ++j) {
        if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final.indexOf(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[j]) === -1 )
            gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final.push(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[j]);
    }
}
}
{
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects2);
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i].getVariables().get("acceleration")) < 0 ) {
        isConditionTrue_1 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = k;
if(isConditionTrue_1) {
    isConditionTrue_0 = true;
    for (let j = 0, jLen = gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length; j < jLen ; ++j) {
        if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final.indexOf(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[j]) === -1 )
            gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final.push(gdjs.LevelStartTemplateCode.GDPoliceCarObjects2[j]);
    }
}
}
{
gdjs.copyArray(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1_1final, gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
}
}
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList6(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("Ice"), gdjs.LevelStartTemplateCode.GDIceObjects1);
gdjs.copyArray(runtimeScene.getObjects("Mud"), gdjs.LevelStartTemplateCode.GDMudObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Up");
if (isConditionTrue_0) {
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) < 400 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDMudObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDIceObjects1Objects, true, runtimeScene, false);
}
}
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).add(300 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Mud"), gdjs.LevelStartTemplateCode.GDMudObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDMudObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Down");
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(120);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Ford"), gdjs.LevelStartTemplateCode.GDFordObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDFordObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(120);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("RiverBridge"), gdjs.LevelStartTemplateCode.GDRiverBridgeObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDRiverBridgeObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(120);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("Ice"), gdjs.LevelStartTemplateCode.GDIceObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDIceObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList10(runtimeScene);} //End of subevents
}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "touch");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList12(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Down");
if (isConditionTrue_0) {
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > -(75) ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).sub(200 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "touch");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList14(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > 150 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Down");
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 0.5, "TraceFrein");
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "TraceFrein");
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) < 20 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Down");
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Up");
}
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("Demarrage rapide")).setNumber(1);
}
}}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "touch");
if (isConditionTrue_0) {

{ //Subevents
gdjs.LevelStartTemplateCode.eventsList16(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > 20 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("Demarrage rapide")) == 1 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length = 0;

{gdjs.evtTools.object.createObjectOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects, (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointX("HL")), (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointY("HL")), "");
}{gdjs.evtTools.object.createObjectOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects, (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointX("HL")), (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointY("HL")), "");
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(130);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("Demarrage rapide")).setNumber(0);
}
}}

}


{



}


{


let isConditionTrue_0 = false;
{
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].addPolarForce((gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getDirectionOrAngle()), (gdjs.RuntimeObject.getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration"))), 0);
}
}}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > 0 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).sub(50 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TunnelCover"), gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTunnelCoverObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTunnelCoverObjects1Objects);
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList17(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("BridgeOver"), gdjs.LevelStartTemplateCode.GDBridgeOverObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBridgeOverObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDBridgeOverObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDBridgeOverObjects1[i].getZOrder() == 2 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDBridgeOverObjects1[k] = gdjs.LevelStartTemplateCode.GDBridgeOverObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDBridgeOverObjects1.length = k;
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDBridgeOverObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBridgeOverObjects1Objects);
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList18(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects);
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList19(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TrainCrossingBarrier"), gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTrainCrossingBarrierObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTrainCrossingBarrierObjects1Objects);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(-(10));
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList20(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("barrels"), gdjs.LevelStartTemplateCode.GDbarrelsObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbarrelsObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDbarrelsObjects1 */
{gdjs.evtTools.sound.playSound(runtimeScene, "67666566bcd116739999e8298d4ae34c50cfa4e498f4fa14e52009f9972a2fd9_Jump_Start_03.wav", false, 30, 1);
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDbarrelsObjects1Objects);
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList22(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("Tyres"), gdjs.LevelStartTemplateCode.GDTyresObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDTyresObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(-(10));
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList24(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Barrier"), gdjs.LevelStartTemplateCode.GDBarrierObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBarrierObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDBarrierObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDBarrierObjects1Objects);
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "67666566bcd116739999e8298d4ae34c50cfa4e498f4fa14e52009f9972a2fd9_Jump_Start_03.wav", false, 30, 1);
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList25(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropWalkingObjects1Objects);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1[i].getBehavior("PathfindingObstacle").setImpassable(true);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1[i].clearForces();
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList26(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
/* Reuse gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDVPropAnimalObjects1Objects);
}
}{}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1[i].clearForces();
}
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList27(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("Puddles"), gdjs.LevelStartTemplateCode.GDPuddlesObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPuddlesObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18461308);
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "splash.mp3", false, 100, 1);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerAction"), gdjs.LevelStartTemplateCode.GDTriggerActionObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("TrainCrossingBarrier"), gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1[i].setAnimationName("Down");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerAction"), gdjs.LevelStartTemplateCode.GDTriggerActionObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDHiSpeedTrainObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("TrainCrossingBarrier"), gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1[i].setAnimationName("Up");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBARRIER"), gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionBARRIERObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("Barrier"), gdjs.LevelStartTemplateCode.GDBarrierObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBarrierObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBarrierObjects1[i].setAnimationName("BarrierDown");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBRIDGE"), gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTriggerActionBRIDGEObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("BridgeOver"), gdjs.LevelStartTemplateCode.GDBridgeOverObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDBridgeOverObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDBridgeOverObjects1[i].setZOrder(2);
}
}}

}


{


let isConditionTrue_0 = false;
{
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("Tyres"), gdjs.LevelStartTemplateCode.GDTyresObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariableNumber(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > 100 ) {
        isConditionTrue_0 = true;
        gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[k] = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDTyresObjects1Objects, false, runtimeScene, false);
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDPoliceCarObjects1 */
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length = 0;

{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].returnVariable(gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(0);
}
}{gdjs.evtTools.object.createObjectOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects, (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointX("")) + gdjs.random(60), (( gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length === 0 ) ? 0 :gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0].getPointY("")) + gdjs.random(60), "");
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1[i].setZOrder(6);
}
}{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1[i].setAnimation(gdjs.random(2));
}
}}

}


{



}


{


let isConditionTrue_0 = false;
{
gdjs.copyArray(runtimeScene.getObjects("CollisionSmoke"), gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1);
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1[i].addPolarForce(200 + gdjs.random(90), gdjs.random(50), 0);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("CollisionSmoke"), gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 1, "SmokeDestroy");
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.pickRandomObject((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCollisionSmokeObjects1Objects);
}
if (isConditionTrue_0) {
/* Reuse gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1 */
{for(var i = 0, len = gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length ;i < len;++i) {
    gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1[i].deleteFromScene(runtimeScene);
}
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "SmokeDestroy");
}}

}


{



}


{


let isConditionTrue_0 = false;
{
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);
{gdjs.evtTools.camera.centerCamera(runtimeScene, (gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length !== 0 ? gdjs.LevelStartTemplateCode.GDPoliceCarObjects1[0] : null), true, "", 0);
}}

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.variable.getVariableNumber(runtimeScene.getScene().getVariables().getFromIndex(0)) == 0;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Game over", false);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("CarStop"), gdjs.LevelStartTemplateCode.GDCarStopObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.LevelStartTemplateCode.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDPoliceCarObjects1Objects, gdjs.LevelStartTemplateCode.mapOfGDgdjs_9546LevelStartTemplateCode_9546GDCarStopObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
{runtimeScene.getGame().getVariables().get("Level").setNumber(5);
}
{ //Subevents
gdjs.LevelStartTemplateCode.eventsList28(runtimeScene);} //End of subevents
}

}


{


let isConditionTrue_0 = false;
{
}

}


};

gdjs.LevelStartTemplateCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();

gdjs.LevelStartTemplateCode.GDDCbrandingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDDCbrandingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDDCbrandingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDDCbrandingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDDCbrandingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDUIBGObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDUIBGObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDUIBGObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDUIBGObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDUIBGObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDStraightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDStraightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDStraightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDStraightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDStraightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCornerObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCornerObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCornerObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCornerObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCornerObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDEndObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDEndObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDEndObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDEndObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDEndObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTreeGreenObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTreeGreenObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTreeGreenObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTreeGreenObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTreeGreenObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTreeBlossomObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTreeSnowObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTreeSnowObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTreeSnowObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTreeSnowObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTreeSnowObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDMudObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDMudObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDMudObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDMudObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDMudObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDchicaneinObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDchicaneinObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDchicaneinObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDchicaneinObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDchicaneinObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneOutObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneOutObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneOutObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneOutObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDChicaneOutObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDHeadlightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDHeadlightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDHeadlightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDHeadlightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDHeadlightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDStreetLightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDStreetLightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDStreetLightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDStreetLightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDStreetLightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDLampleftObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDLampleftObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDLampleftObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDLampleftObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDLampleftObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDlampdownObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDlampdownObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDlampdownObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDlampdownObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDlampdownObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDLampRightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDLampRightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDLampRightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDLampRightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDLampRightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTyresObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTyresObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTyresObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTyresObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTyresObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDbarrelsObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDbarrelsObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDbarrelsObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDbarrelsObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDbarrelsObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDZebraCrossingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDGrassBGObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDGrassBGObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDGrassBGObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDGrassBGObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDGrassBGObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDSnowBGObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDSnowBGObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDSnowBGObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDSnowBGObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDSnowBGObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDVPropWalkingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWalkingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDPuddlesObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDPuddlesObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDPuddlesObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDPuddlesObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDPuddlesObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingLightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingLightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingLightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingLightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCrossingLightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDVPropAnimalObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDHPropAnimalObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDHPropWanderingCowObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerHIDDENBARRIERObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBARRIERObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerActionBRIDGEIGNORETRAINObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTrainCrossingBarrierObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDHiSpeedTrainObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTrainTracksObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTrainTracksObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTrainTracksObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTrainTracksObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTrainTracksObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCollisionSmokeObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCarStartObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCarStartObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCarStartObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCarStartObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCarStartObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCarStopObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCarStopObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCarStopObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCarStopObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCarStopObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerdownObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerdownObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerdownObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerdownObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerdownObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerleftObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerleftObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerleftObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerleftObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerleftObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerrightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerrightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerrightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerrightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerrightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerupObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerupObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerupObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerupObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTriggerupObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDUIDamageTextObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDLightZebraCrossingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDRocksObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDRocksObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDRocksObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDRocksObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDRocksObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDPoliceCarObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDPoliceCarObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDPoliceCarObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDPoliceCarObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDPoliceCarObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTunnelCoverObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDbtnBraObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDbtnBraObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDbtnBraObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDbtnBraObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDbtnBraObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDbtnAccObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDbtnAccObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDbtnAccObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDbtnAccObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDbtnAccObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDbtnRightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDbtnRightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDbtnRightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDbtnRightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDbtnRightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDbtnLeftObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDbtnLeftObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDbtnLeftObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDbtnLeftObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDbtnLeftObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDFordObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDFordObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDFordObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDFordObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDFordObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDRiverObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDRiverObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDRiverObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDRiverObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDRiverObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDRiver2Objects1.length = 0;
gdjs.LevelStartTemplateCode.GDRiver2Objects2.length = 0;
gdjs.LevelStartTemplateCode.GDRiver2Objects3.length = 0;
gdjs.LevelStartTemplateCode.GDRiver2Objects4.length = 0;
gdjs.LevelStartTemplateCode.GDRiver2Objects5.length = 0;
gdjs.LevelStartTemplateCode.GDIceObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDIceObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDIceObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDIceObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDIceObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDRiverBridgeObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDCrossroadsObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDCrossroadsObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDCrossroadsObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDCrossroadsObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDCrossroadsObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeOverObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeOverObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeOverObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeOverObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeOverObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDBarrierObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDBarrierObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDBarrierObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDBarrierObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDBarrierObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDBridgeUnderObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDJunctionObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDJunctionObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDJunctionObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDJunctionObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDJunctionObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTightObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTightObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTightObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTightObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTightObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDTraincrossingObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDTraincrossingObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDTraincrossingObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDTraincrossingObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDTraincrossingObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDlakeObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDlakeObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDlakeObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDlakeObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDlakeObjects5.length = 0;
gdjs.LevelStartTemplateCode.GDMenuBGsObjects1.length = 0;
gdjs.LevelStartTemplateCode.GDMenuBGsObjects2.length = 0;
gdjs.LevelStartTemplateCode.GDMenuBGsObjects3.length = 0;
gdjs.LevelStartTemplateCode.GDMenuBGsObjects4.length = 0;
gdjs.LevelStartTemplateCode.GDMenuBGsObjects5.length = 0;

gdjs.LevelStartTemplateCode.eventsList29(runtimeScene);

return;

}

gdjs['LevelStartTemplateCode'] = gdjs.LevelStartTemplateCode;
