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

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


gdjs.Tr4Code.eventsList0 = function(runtimeScene) {

{



}


{


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

}


{



}


{


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

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

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

};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects2Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPuddlesObjects2Objects = Hashtable.newFrom({"Puddles": gdjs.Tr4Code.GDPuddlesObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDFordObjects1Objects = Hashtable.newFrom({"Ford": gdjs.Tr4Code.GDFordObjects1});
gdjs.Tr4Code.eventsList2 = function(runtimeScene) {

{



}


{


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

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects2);
gdjs.copyArray(runtimeScene.getObjects("Puddles"), gdjs.Tr4Code.GDPuddlesObjects2);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects2Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPuddlesObjects2Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18746252);
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "splash.mp3", false, 100, 1);
}}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDFordObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18746732);
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "splash.mp3", false, 100, 1);
}}

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPuddlesObjects1Objects = Hashtable.newFrom({"Puddles": gdjs.Tr4Code.GDPuddlesObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDMudObjects1Objects = Hashtable.newFrom({"Mud": gdjs.Tr4Code.GDMudObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDIceObjects1Objects = Hashtable.newFrom({"Ice": gdjs.Tr4Code.GDIceObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects = Hashtable.newFrom({"Straight": gdjs.Tr4Code.GDStraightObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects = Hashtable.newFrom({"Straight": gdjs.Tr4Code.GDStraightObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDMudObjects1Objects = Hashtable.newFrom({"Mud": gdjs.Tr4Code.GDMudObjects1});
gdjs.Tr4Code.eventsList3 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18702796);
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "mud.mp3", false, 100, 1);
}}

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDIceObjects1Objects = Hashtable.newFrom({"Ice": gdjs.Tr4Code.GDIceObjects1});
gdjs.Tr4Code.asyncCallback18705684 = function (runtimeScene, asyncObjectsList) {
gdjs.copyArray(asyncObjectsList.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects5);

{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects5.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects5[i].setAngle(gdjs.randomFloatInRange(+(177), +(183)));
}
}}
gdjs.Tr4Code.eventsList4 = function(runtimeScene, asyncObjectsList) {

{


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

}


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

{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects4.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects4[i].setAngle(gdjs.randomFloatInRange(+(177), +(183)));
}
}
{ //Subevents
gdjs.Tr4Code.eventsList4(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.Tr4Code.eventsList5 = function(runtimeScene, asyncObjectsList) {

{


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

}


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

{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects3.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects3[i].setAngle(gdjs.randomFloatInRange(+(177), +(183)));
}
}
{ //Subevents
gdjs.Tr4Code.eventsList5(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.Tr4Code.eventsList6 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList7 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
{
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects2 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects2[i].setAngle(gdjs.randomFloatInRange(+(177), +(183)));
}
}
{ //Subevents
gdjs.Tr4Code.eventsList6(runtimeScene);} //End of subevents
}

}


};gdjs.Tr4Code.eventsList8 = function(runtimeScene) {

{

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


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Tr4Code.GDPoliceCarObjects2.length;i<l;++i) {
    if ( gdjs.Tr4Code.GDPoliceCarObjects2[i].getVariableNumber(gdjs.Tr4Code.GDPoliceCarObjects2[i].getVariables().get("acceleration")) > 201 ) {
        isConditionTrue_0 = true;
        gdjs.Tr4Code.GDPoliceCarObjects2[k] = gdjs.Tr4Code.GDPoliceCarObjects2[i];
        ++k;
    }
}
gdjs.Tr4Code.GDPoliceCarObjects2.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18704180);
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "icecrack.mp3", false, 100, 1);
}
{ //Subevents
gdjs.Tr4Code.eventsList7(runtimeScene);} //End of subevents
}

}


{



}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnRightObjects2Objects = Hashtable.newFrom({"btnRight": gdjs.Tr4Code.GDbtnRightObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnLeftObjects1Objects = Hashtable.newFrom({"btnLeft": gdjs.Tr4Code.GDbtnLeftObjects1});
gdjs.Tr4Code.eventsList9 = function(runtimeScene) {

{

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

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

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

}


{

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

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

}


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

{


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

{ //Subevents
gdjs.Tr4Code.eventsList9(runtimeScene);} //End of subevents
}

}


};gdjs.Tr4Code.eventsList11 = function(runtimeScene) {

{


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

{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects2[i].getDirectionOrAngle() + (3 * 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.Tr4Code.GDPoliceCarObjects1, gdjs.Tr4Code.GDPoliceCarObjects2);

{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects2[i].getDirectionOrAngle() - (3 * 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.Tr4Code.eventsList10(runtimeScene);} //End of subevents
}

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnRightObjects2Objects = Hashtable.newFrom({"btnRight": gdjs.Tr4Code.GDbtnRightObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnLeftObjects1Objects = Hashtable.newFrom({"btnLeft": gdjs.Tr4Code.GDbtnLeftObjects1});
gdjs.Tr4Code.eventsList12 = function(runtimeScene) {

{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnRightObjects2Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects2);
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects2.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects2[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects2[i].getDirectionOrAngle() + (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.cursorOnObject(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbtnLeftObjects1Objects, runtimeScene, true, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects1[i].getDirectionOrAngle() - (100 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene)));
}
}}

}


};gdjs.Tr4Code.eventsList13 = function(runtimeScene) {

{


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

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects2Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerleftObjects2Objects = Hashtable.newFrom({"Triggerleft": gdjs.Tr4Code.GDTriggerleftObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerrightObjects1Objects = Hashtable.newFrom({"Triggerright": gdjs.Tr4Code.GDTriggerrightObjects1});
gdjs.Tr4Code.eventsList14 = function(runtimeScene) {

{

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


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

}


{

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

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

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

}


{

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


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

}


{

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

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerleftObjects1Objects = Hashtable.newFrom({"Triggerleft": gdjs.Tr4Code.GDTriggerleftObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerrightObjects1Objects = Hashtable.newFrom({"Triggerright": gdjs.Tr4Code.GDTriggerrightObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects2Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerupObjects2Objects = Hashtable.newFrom({"Triggerup": gdjs.Tr4Code.GDTriggerupObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.Tr4Code.GDTriggerdownObjects1});
gdjs.Tr4Code.eventsList15 = function(runtimeScene) {

{

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


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

}


{

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


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

}


{

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


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

}


{

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

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerupObjects1Objects = Hashtable.newFrom({"Triggerup": gdjs.Tr4Code.GDTriggerupObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.Tr4Code.GDTriggerdownObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.Tr4Code.GDVPropWalkingObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects2Objects = Hashtable.newFrom({"VPropWalking": gdjs.Tr4Code.GDVPropWalkingObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerupObjects2Objects = Hashtable.newFrom({"Triggerup": gdjs.Tr4Code.GDTriggerupObjects2});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.Tr4Code.GDVPropWalkingObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.Tr4Code.GDTriggerdownObjects1});
gdjs.Tr4Code.eventsList16 = function(runtimeScene) {

{

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


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

}


{

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


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

}


{

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


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

}


{

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

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.Tr4Code.GDVPropWalkingObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerupObjects1Objects = Hashtable.newFrom({"Triggerup": gdjs.Tr4Code.GDTriggerupObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects1Objects = Hashtable.newFrom({"VPropWalking": gdjs.Tr4Code.GDVPropWalkingObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerdownObjects1Objects = Hashtable.newFrom({"Triggerdown": gdjs.Tr4Code.GDTriggerdownObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCrossingObjects1Objects = Hashtable.newFrom({"Crossing": gdjs.Tr4Code.GDCrossingObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects = Hashtable.newFrom({"Corner": gdjs.Tr4Code.GDCornerObjects1});
gdjs.Tr4Code.eventsList17 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList18 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects = Hashtable.newFrom({"Straight": gdjs.Tr4Code.GDStraightObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects = Hashtable.newFrom({"Straight": gdjs.Tr4Code.GDStraightObjects1});
gdjs.Tr4Code.eventsList19 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList20 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDChicaneObjects1Objects = Hashtable.newFrom({"Chicane": gdjs.Tr4Code.GDChicaneObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDChicaneObjects1Objects = Hashtable.newFrom({"Chicane": gdjs.Tr4Code.GDChicaneObjects1});
gdjs.Tr4Code.eventsList21 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList22 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects = Hashtable.newFrom({"Corner": gdjs.Tr4Code.GDCornerObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects = Hashtable.newFrom({"Corner": gdjs.Tr4Code.GDCornerObjects1});
gdjs.Tr4Code.eventsList23 = function(runtimeScene) {

{


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

}


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

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTightObjects1Objects = Hashtable.newFrom({"Tight": gdjs.Tr4Code.GDTightObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTightObjects1Objects = Hashtable.newFrom({"Tight": gdjs.Tr4Code.GDTightObjects1});
gdjs.Tr4Code.eventsList25 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList26 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDJunctionObjects1Objects = Hashtable.newFrom({"Junction": gdjs.Tr4Code.GDJunctionObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDJunctionObjects1Objects = Hashtable.newFrom({"Junction": gdjs.Tr4Code.GDJunctionObjects1});
gdjs.Tr4Code.eventsList27 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList28 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTunnelCoverObjects1Objects = Hashtable.newFrom({"TunnelCover": gdjs.Tr4Code.GDTunnelCoverObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTunnelCoverObjects1Objects = Hashtable.newFrom({"TunnelCover": gdjs.Tr4Code.GDTunnelCoverObjects1});
gdjs.Tr4Code.eventsList29 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDBridgeOverObjects1Objects = Hashtable.newFrom({"BridgeOver": gdjs.Tr4Code.GDBridgeOverObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDBridgeOverObjects1Objects = Hashtable.newFrom({"BridgeOver": gdjs.Tr4Code.GDBridgeOverObjects1});
gdjs.Tr4Code.eventsList30 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDEndObjects1Objects = Hashtable.newFrom({"End": gdjs.Tr4Code.GDEndObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDEndObjects1Objects = Hashtable.newFrom({"End": gdjs.Tr4Code.GDEndObjects1});
gdjs.Tr4Code.eventsList31 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18679924);
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "62629ed1ad9c10ead7976fdd53eeb5c8a398d437cc425a8b4e97df939ee960c0_MetalV1_Run_13.wav", false, 30, 1);
}}

}


};gdjs.Tr4Code.eventsList32 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerHIDDENBARRIERObjects1Objects = Hashtable.newFrom({"TriggerHIDDENBARRIER": gdjs.Tr4Code.GDTriggerHIDDENBARRIERObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerHIDDENBARRIERObjects1Objects = Hashtable.newFrom({"TriggerHIDDENBARRIER": gdjs.Tr4Code.GDTriggerHIDDENBARRIERObjects1});
gdjs.Tr4Code.eventsList33 = function(runtimeScene, asyncObjectsList) {

{

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


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

}


};gdjs.Tr4Code.asyncCallback18683244 = function (runtimeScene, asyncObjectsList) {

{ //Subevents
gdjs.Tr4Code.eventsList33(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.Tr4Code.eventsList34 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTrainCrossingBarrierObjects1Objects = Hashtable.newFrom({"TrainCrossingBarrier": gdjs.Tr4Code.GDTrainCrossingBarrierObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTrainCrossingBarrierObjects1Objects = Hashtable.newFrom({"TrainCrossingBarrier": gdjs.Tr4Code.GDTrainCrossingBarrierObjects1});
gdjs.Tr4Code.eventsList35 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbarrelsObjects1Objects = Hashtable.newFrom({"barrels": gdjs.Tr4Code.GDbarrelsObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDbarrelsObjects1Objects = Hashtable.newFrom({"barrels": gdjs.Tr4Code.GDbarrelsObjects1});
gdjs.Tr4Code.eventsList36 = function(runtimeScene, asyncObjectsList) {

{

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


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

}


};gdjs.Tr4Code.asyncCallback18688428 = function (runtimeScene, asyncObjectsList) {

{ //Subevents
gdjs.Tr4Code.eventsList36(runtimeScene, asyncObjectsList);} //End of subevents
}
gdjs.Tr4Code.eventsList37 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDBarrierObjects1Objects = Hashtable.newFrom({"Barrier": gdjs.Tr4Code.GDBarrierObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDBarrierObjects1Objects = Hashtable.newFrom({"Barrier": gdjs.Tr4Code.GDBarrierObjects1});
gdjs.Tr4Code.eventsList38 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTyresObjects1Objects = Hashtable.newFrom({"Tyres": gdjs.Tr4Code.GDTyresObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTyresObjects1Objects = Hashtable.newFrom({"Tyres": gdjs.Tr4Code.GDTyresObjects1});
gdjs.Tr4Code.eventsList39 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHPropWalkingObjects1Objects = Hashtable.newFrom({"HPropWalking": gdjs.Tr4Code.GDHPropWalkingObjects1});
gdjs.Tr4Code.eventsList40 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionBRIDGEIGNORETRAINObjects1Objects = Hashtable.newFrom({"TriggerActionBRIDGEIGNORETRAIN": gdjs.Tr4Code.GDTriggerActionBRIDGEIGNORETRAINObjects1});
gdjs.Tr4Code.eventsList41 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects = Hashtable.newFrom({"VPropAnimal": gdjs.Tr4Code.GDVPropAnimalObjects1});
gdjs.Tr4Code.eventsList42 = function(runtimeScene) {

{

/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */

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

}


};gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionObjects1Objects = Hashtable.newFrom({"TriggerAction": gdjs.Tr4Code.GDTriggerActionObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionBRIDGEObjects1Objects = Hashtable.newFrom({"TriggerActionBRIDGE": gdjs.Tr4Code.GDTriggerActionBRIDGEObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionBARRIERObjects1Objects = Hashtable.newFrom({"TriggerActionBARRIER": gdjs.Tr4Code.GDTriggerActionBARRIERObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects = Hashtable.newFrom({"HiSpeedTrain": gdjs.Tr4Code.GDHiSpeedTrainObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionObjects1Objects = Hashtable.newFrom({"TriggerAction": gdjs.Tr4Code.GDTriggerActionObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects = Hashtable.newFrom({"PoliceCar": gdjs.Tr4Code.GDPoliceCarObjects1});
gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCarStopObjects1Objects = Hashtable.newFrom({"CarStop": gdjs.Tr4Code.GDCarStopObjects1});
gdjs.Tr4Code.asyncCallback18546412 = function (runtimeScene, asyncObjectsList) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Start", false);
}}
gdjs.Tr4Code.eventsList43 = function(runtimeScene) {

{


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

}


};gdjs.Tr4Code.eventsList44 = 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.Tr4Code.GDBarrierObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerAction"), gdjs.Tr4Code.GDTriggerActionObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBARRIER"), gdjs.Tr4Code.GDTriggerActionBARRIERObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBRIDGE"), gdjs.Tr4Code.GDTriggerActionBRIDGEObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBRIDGEIGNORETRAIN"), gdjs.Tr4Code.GDTriggerActionBRIDGEIGNORETRAINObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.Tr4Code.GDTriggerdownObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerleft"), gdjs.Tr4Code.GDTriggerleftObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerright"), gdjs.Tr4Code.GDTriggerrightObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.Tr4Code.GDTriggerupObjects1);
{for(var i = 0, len = gdjs.Tr4Code.GDTriggerupObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerupObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerleftObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerleftObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerdownObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerdownObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerrightObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerrightObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerActionObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerActionObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerActionBARRIERObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerActionBARRIERObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerActionBRIDGEObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerActionBRIDGEObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTriggerActionBRIDGEIGNORETRAINObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTriggerActionBRIDGEIGNORETRAINObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].resetTimer("Cooloff");
}
}{for(var i = 0, len = gdjs.Tr4Code.GDBarrierObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDBarrierObjects1[i].setAnimationName("BarrierUp");
}
}{runtimeScene.getGame().getVariables().getFromIndex(1).setNumber(5);
}
{ //Subevents
gdjs.Tr4Code.eventsList0(runtimeScene);} //End of subevents
}

}


{



}


{


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

}


{



}


{


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

}


{


let isConditionTrue_0 = false;
{
}

}


{



}


{


gdjs.Tr4Code.eventsList1(runtimeScene);
}


{


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

}


{


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

}


{


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

}


{


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

}


{


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

}


{


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

}


{


gdjs.Tr4Code.eventsList2(runtimeScene);
}


{



}


{


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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPuddlesObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
{isConditionTrue_0 = runtimeScene.getOnceTriggers().triggerOnce(18748692);
}
}
if (isConditionTrue_0) {
{gdjs.evtTools.sound.playSound(runtimeScene, "splash.mp3", false, 100, 1);
}}

}


{


let isConditionTrue_0 = false;
{
}

}


{



}


{



}


{

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

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.Tr4Code.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariableNumber(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")) < 400 ) {
        isConditionTrue_0 = true;
        gdjs.Tr4Code.GDPoliceCarObjects1[k] = gdjs.Tr4Code.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.Tr4Code.GDPoliceCarObjects1.length = k;
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDMudObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDIceObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects, true, runtimeScene, false);
}
}
}
}
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).add(300 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDMudObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "Down"));
}
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(120);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList3(runtimeScene);} //End of subevents
}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDIceObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(400);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList8(runtimeScene);} //End of subevents
}

}


{

gdjs.Tr4Code.GDPoliceCarObjects1.length = 0;


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

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

}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Right");
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects1[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(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setDirectionOrAngle(gdjs.Tr4Code.GDPoliceCarObjects1[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.Tr4Code.eventsList13(runtimeScene);} //End of subevents
}

}


{



}


{


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

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.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.Tr4Code.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariableNumber(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > -(75) ) {
        isConditionTrue_0 = true;
        gdjs.Tr4Code.GDPoliceCarObjects1[k] = gdjs.Tr4Code.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.Tr4Code.GDPoliceCarObjects1.length = k;
}
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).sub(200 * gdjs.evtTools.runtimeScene.getElapsedTimeInSeconds(runtimeScene));
}
}}

}


{



}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Tr4Code.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariableNumber(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")) > 150 ) {
        isConditionTrue_0 = true;
        gdjs.Tr4Code.GDPoliceCarObjects1[k] = gdjs.Tr4Code.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.Tr4Code.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.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Tr4Code.GDPoliceCarObjects1.length;i<l;++i) {
    if ( gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariableNumber(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")) < 20 ) {
        isConditionTrue_0 = true;
        gdjs.Tr4Code.GDPoliceCarObjects1[k] = gdjs.Tr4Code.GDPoliceCarObjects1[i];
        ++k;
    }
}
gdjs.Tr4Code.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.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("Demarrage rapide")).setNumber(1);
}
}}

}


{



}


{

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

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

}


{


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

}


{


let isConditionTrue_0 = false;
{
}

}


{



}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

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

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerleft"), gdjs.Tr4Code.GDTriggerleftObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("Triggerright"), gdjs.Tr4Code.GDTriggerrightObjects1);

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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

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

}


{

gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.Tr4Code.GDVPropAnimalObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.Tr4Code.GDTriggerupObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.Tr4Code.GDVPropAnimalObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.Tr4Code.GDVPropAnimalObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.Tr4Code.GDTriggerdownObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropAnimal"), gdjs.Tr4Code.GDVPropAnimalObjects1);

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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropWalkingObjects1Objects, true, runtimeScene, false);
if (isConditionTrue_0) {

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

}


{

gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.Tr4Code.GDVPropWalkingObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerup"), gdjs.Tr4Code.GDTriggerupObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.Tr4Code.GDVPropWalkingObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.Tr4Code.GDVPropWalkingObjects1);

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

}


{

gdjs.copyArray(runtimeScene.getObjects("Triggerdown"), gdjs.Tr4Code.GDTriggerdownObjects1);
gdjs.copyArray(runtimeScene.getObjects("VPropWalking"), gdjs.Tr4Code.GDVPropWalkingObjects1);

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

}


{



}


{



}


{


let isConditionTrue_0 = false;
{
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Crossing"), gdjs.Tr4Code.GDCrossingObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCrossingObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("Corner"), gdjs.Tr4Code.GDCornerObjects1);
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateFromObjectsList(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects, true);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList18(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("Straight"), gdjs.Tr4Code.GDStraightObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
/* Reuse gdjs.Tr4Code.GDStraightObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateFromObjectsList(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDStraightObjects1Objects, true);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList20(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Chicane"), gdjs.Tr4Code.GDChicaneObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDChicaneObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDChicaneObjects1 */
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateFromObjectsList(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDChicaneObjects1Objects, true);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(-(10));
}
}
{ //Subevents
gdjs.Tr4Code.eventsList22(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Corner"), gdjs.Tr4Code.GDCornerObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDCornerObjects1 */
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateFromObjectsList(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCornerObjects1Objects, true);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList24(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("Tight"), gdjs.Tr4Code.GDTightObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTightObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
/* Reuse gdjs.Tr4Code.GDTightObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTightObjects1Objects);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList26(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Junction"), gdjs.Tr4Code.GDJunctionObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDJunctionObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDJunctionObjects1 */
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDJunctionObjects1Objects);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList28(runtimeScene);} //End of subevents
}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTunnelCoverObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
/* Reuse gdjs.Tr4Code.GDTunnelCoverObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTunnelCoverObjects1Objects);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList29(runtimeScene);} //End of subevents
}

}


{

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

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

}


{

gdjs.copyArray(runtimeScene.getObjects("End"), gdjs.Tr4Code.GDEndObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDEndObjects1Objects, false, runtimeScene, true);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDEndObjects1 */
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateFromObjectsList(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDEndObjects1Objects, true);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList32(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerHIDDENBARRIER"), gdjs.Tr4Code.GDTriggerHIDDENBARRIERObjects1);

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

}


{



}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTrainCrossingBarrierObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
/* Reuse gdjs.Tr4Code.GDTrainCrossingBarrierObjects1 */
{gdjs.evtsExt__CameraShake__ShakeCamera.func(runtimeScene, 1, 0, 0, (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTrainCrossingBarrierObjects1Objects);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(-(10));
}
}
{ //Subevents
gdjs.Tr4Code.eventsList35(runtimeScene);} //End of subevents
}

}


{

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

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

}


{

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

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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTyresObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
/* Reuse gdjs.Tr4Code.GDTyresObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].separateObjectsWithForces(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTyresObjects1Objects);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList39(runtimeScene);} //End of subevents
}

}


{



}


{

gdjs.copyArray(runtimeScene.getObjects("HPropWalking"), gdjs.Tr4Code.GDHPropWalkingObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHPropWalkingObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(0);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setPosition(607,518);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setAngle(270);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList40(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("PoliceCar"), gdjs.Tr4Code.GDPoliceCarObjects1);
gdjs.copyArray(runtimeScene.getObjects("TriggerActionBRIDGEIGNORETRAIN"), gdjs.Tr4Code.GDTriggerActionBRIDGEIGNORETRAINObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDHiSpeedTrainObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionBRIDGEIGNORETRAINObjects1Objects, true, runtimeScene, false);
}
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(0);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setPosition(92,1004);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setAngle(270);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList41(runtimeScene);} //End of subevents
}

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDVPropAnimalObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
/* Reuse gdjs.Tr4Code.GDPoliceCarObjects1 */
{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].returnVariable(gdjs.Tr4Code.GDPoliceCarObjects1[i].getVariables().get("acceleration")).setNumber(0);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setPosition(92,1004);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDPoliceCarObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDPoliceCarObjects1[i].setAngle(270);
}
}
{ //Subevents
gdjs.Tr4Code.eventsList42(runtimeScene);} //End of subevents
}

}


{



}


{

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

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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDTriggerActionBRIDGEObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("BridgeOver"), gdjs.Tr4Code.GDBridgeOverObjects1);
gdjs.copyArray(runtimeScene.getObjects("HiSpeedTrain"), gdjs.Tr4Code.GDHiSpeedTrainObjects1);
gdjs.copyArray(runtimeScene.getObjects("TrainTracks"), gdjs.Tr4Code.GDTrainTracksObjects1);
{for(var i = 0, len = gdjs.Tr4Code.GDBridgeOverObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDBridgeOverObjects1[i].setZOrder(2);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDHiSpeedTrainObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDHiSpeedTrainObjects1[i].setZOrder(1);
}
}{for(var i = 0, len = gdjs.Tr4Code.GDTrainTracksObjects1.length ;i < len;++i) {
    gdjs.Tr4Code.GDTrainTracksObjects1[i].setZOrder(1);
}
}}

}


{

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

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

}


{

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

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

}


{

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

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDPoliceCarObjects1Objects, gdjs.Tr4Code.mapOfGDgdjs_9546Tr4Code_9546GDCarStopObjects1Objects, false, runtimeScene, false);
if (isConditionTrue_0) {
{runtimeScene.getGame().getVariables().get("Level").setNumber(5);
}
{ //Subevents
gdjs.Tr4Code.eventsList43(runtimeScene);} //End of subevents
}

}


{


let isConditionTrue_0 = false;
{
}

}


};

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

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

gdjs.Tr4Code.eventsList44(runtimeScene);

return;

}

gdjs['Tr4Code'] = gdjs.Tr4Code;
