text: 
  ////////////////////////////////////////////////////////////////////////////////
  ///
  ///		Compiled Scripts - File 2
  ///
  ///		A: Generated automatically
  ///
  ////////////////////////////////////////////////////////////////////////////////
  
  
  
  ////////////////////////////////////////////////////////////////////
  ///
  ///		 Ker Names
  ///
  ////////////////////////////////////////////////////////////////////
  
  CKerName* _KSID_Constructor = 0;
  CKerName* _KSID_LoadConstructor = 0;
  CKerName* _KSID_CopyConstructor = 0;
  CKerName* _KSID_Destructor = 0;
  CKerName* _KSID_OMap_0001_000F_0001_1001 = 0;
  CKerName* _KSID_OMap_0001_000F_0001_1001__M_Init1_0001_000F_0001_1001 = 0;
  CKerName* _KSID_OMap_0001_000F_0001_1001__M_Init2_0001_000F_0001_1001 = 0;
  CKerName* _KSID__KN_MResizeMap = 0;
  CKerName* _KSID_OMap_0001_000F_0001_1001__M_ClearGrid_0001_000F_0001_1001 = 0;
  CKerName* _KSID__KN_MPlaceObjToMap = 0;
  CKerName* _KSID__KN_Object = 0;
  CKerName* _KSID__KN_CellsArray = 0;
  CKerName* _KSID__KN_MRemoveObjFromMap = 0;
  CKerName* _KSID__KN_MMoveObjInMap = 0;
  CKerName* _KSID__KN_RemoveCellsArray = 0;
  CKerName* _KSID__KN_KeepCellsArray = 0;
  CKerName* _KSID__KN_PlaceCellsArray = 0;
  CKerName* _KSID__KN_MGetObjects = 0;
  CKerName* _KSID__KN_ObjectArray = 0;
  CKerName* _KSID_IsObjInCell_0001_000F_0001_1001 = 0;
  CKerName* _KSID_IsObjInCell_0001_000F_0001_1001__M_x_0001_000F_0001_1001 = 0;
  CKerName* _KSID_IsObjInCell_0001_000F_0001_1001__M_y_0001_000F_0001_1001 = 0;
  CKerName* _KSID_IsObjInCell_0001_000F_0001_1001__M_obj_0001_000F_0001_1001 = 0;
  CKerName* _KSID_sHlina_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sManikVDire_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sNaslPodlaha_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sPadKamenu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sPas_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sPrisera1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sPfiii_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sTeleport_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sKutaleni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sExplo2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sExplo3_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sSbirani_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sPrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_sFotobunka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_placeable_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_smejdic_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_LezeNadVecma_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Veci_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_MapPlaced = 0;
  CKerName* _KSID__KN_MoveEnded = 0;
  CKerName* _KSID_floors_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_floor_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_wall_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_EditTest_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_Everything = 0;
  CKerName* _KSID_PAutoTest_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetClzGr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_otrigger_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_Nothing = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetClzGr_0001_FFFF_0001_0001__M_SubGr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPos_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ovybuch_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_OPosmrtnaAnimace_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oVybuchuje_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZnicSeVeVybuchu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZnicSeVybuchem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_mina_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_AktivujeMinu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZnicitelneVeVybuchu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_mina_0001_FFFF_0001_0001__M_AktivujSe_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_TriggerOn = 0;
  CKerName* _KSID__KN_MapRemoved = 0;
  CKerName* _KSID_oPointTr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oDira_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_VeciPadajiciDoDiry_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PropadniSe_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SpadniDoDiry_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oLava_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPropadlo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSeSmerem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSeSmerem2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Smery_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Sever_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Vychod_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Zapad_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Jih_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Smery2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_smSV_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_smSZ_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_smJV_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_smJZ_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_AutoSmer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetSmer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetSmer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetSmer_0001_FFFF_0001_0001__M_Smer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMagnet_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oLaser_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oklic_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Barva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Cervena_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Zluta_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Modra_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetBarva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetBarva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oAreaTest_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oStartsMove_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_CalcMove_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_AddForce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_RemoveForce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pfdir_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pfpriority_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pftype_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pfspeed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Pfdir_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Pfpriority_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Pftype_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Pfspeed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_BanningForce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ModifyTrajektory_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oModifyTr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ptrpos_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetBlockedPath_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MoveCalculating_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MoveStarted_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MoveEnded_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TraingToMoveOver_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TTMOConsumer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_IsInMoveCollision_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_NarazilJsem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pCellX_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pCellY_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetLastDir_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_CalcMove2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_WaitMoveEnded_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Dir_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Speed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Step_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoveable_0001_FFFF_0001_0001__M_ClearLastMove_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMoves_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportLook_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportLookConsumer_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBlockedPath_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetFather_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPas_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_VeciStrkatelnePasem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriorityOPas_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ForceOPas_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_nOnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_On_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Off_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetOnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ChangeOnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TurnOn_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TurnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetOnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pOnOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPas_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPas_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_TriggerOff = 0;
  CKerName* _KSID_oLed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_KlouzePoLedu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriorityOLed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ForceOLed_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPrisera_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraOt_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ForceChci_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriChci1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriChci2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriChci3_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriChci4_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_nTocivost_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_LevoTociva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PravoTociva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oLineTr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMagnetForce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oAntiMagnet_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZajimaMagnet_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PritahovanoMagnetem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ForceMagnet_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriMagnet_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001__M_kill_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_ObjType = 0;
  CKerName* _KSID_oPusobiKulate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyLeft_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyRight_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyUp_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyDown_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManik_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oDracek_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oExit_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikControler_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_IncManik_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_DecManik_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyTab_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikControler_0001_FFFF_0001_0001__M_Terminate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikControler_0001_FFFF_0001_0001__M_PrepniManika_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikControler_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetKlic_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_pCount_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetBomba_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetMina_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetZnacka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_MnuSetZnacka_0001_FFFF_0001_0001__M_Typ_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZobrazHo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZobrazHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZobrazHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZobrazHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZabijak1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oObet1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Zabij_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Umri_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oHlina_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportLook_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oObetPohybu1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZabijiPohybem1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZnicSePadem_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_NezabijackaForce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oKamen_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnicitelnaStena_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSebratelnaBomba_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSebratelnaMina_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBomba_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_DecKlic_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_DecKlic_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZamek_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_OdemkniSe_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_ScrollObj = 0;
  CKerName* _KSID_keyZ_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyX_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyC_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetFocus_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetFocus_0001_FFFF_0001_0001__M_focus_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_GetFocus_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oVoda_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PadaDoVody_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SpadniDoVody_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oKrabice_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPneumatika_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBalonek_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oHemr_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPasovec_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oTeleport_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportujeSe_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportniHo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SoundTest_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportniHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportniHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_TeleportniHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oStrkatelne_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetStrkTimeOut_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oStrka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZjistiCoStrka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriStrkani_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ForceStrkani_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_StrkamTo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oStrkatelne_0001_FFFF_0001_0001__M_StrkaniStarted_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oStrkatelne_0001_FFFF_0001_0001__M_DisableStrkac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetCoStrka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_StrkatelnePBlocked_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_TestCollision = 0;
  CKerName* _KSID_oHajzl_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_CopyManik_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikE_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_CopyManik_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pSBomby_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pSMiny_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic0_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pFocus_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReadManik_0001_FFFF_0001_0001__M_pziju_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SlizOn_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SlizOff_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZemriVeSlizu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSliz_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraSNavadeci_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ResetMenu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikSliz_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oManikSliz_0001_FFFF_0001_0001__M_AktualizujSlizPruh_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnacky_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnSmerova_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnZakazVjezdu_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnSedesat_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oZnNeSedesat_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_keyA_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_key1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_key2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_key3_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_key4_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraZnackova_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraDopravni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001__M_KlaustrofobniKill_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Bestiar_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Testy_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Steny_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Predmety_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oScriptedTest_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_ESaveMe = 0;
  CKerName* _KSID_oScriptedTest_0001_FFFF_0001_0001__M_Init1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_ItemID = 0;
  CKerName* _KSID_oPrepinace_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepAkce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepUmisti_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepOdeber_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepVymen_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepMessage_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepOdeberUmisti2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PrepPusobnost_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_NaOblast_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_NaObjekty_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Prepni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPrepinace_0001_FFFF_0001_0001__M_PridejPolozku_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPrepinace_0001_FFFF_0001_0001__M_OdeberPolozku_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID__KN_ButtonUserID = 0;
  CKerName* _KSID_oPrepinace_0001_FFFF_0001_0001__M_InitAkce_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ZapinaPrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oTriggerPrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_KdyReagujePrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriZapnuti_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_PriVypnuti_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_ReagujeVzdy_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oFotobunka_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_AktivujeFotobunku_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oNaslapnaPodlaha_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oAreaTrigger_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_X1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_X2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oGlobalniPrepinac_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_NebezpeciProPriseru_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oOpatrnaPrisera_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSvetlo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSvetlo_0001_FFFF_0001_0001__M_AddButton_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oGlobalniSvetlo_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oGlobalniSvetlo_0001_FFFF_0001_0001__M_AddButton_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oGlobalniSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_Patro_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraSeZvukem1_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oPriseraSeZvukem2_0001_FFFF_0001_0001 = 0;
  CKerName* _KSID_oBouraDoSten_0001_FFFF_0001_0001 = 0;
  
  
  
  ////////////////////////////////////////////////////////////////
  ///
  ///  VNITRNI STRUKTURY OBJEKTU
  
  // typy se budou dat menit jen jako celky
  
  struct _KSVS_22_CCell_0001_000F_0001_1001 {
  	_KSVS_22_CCell_0001_000F_0001_1001* next;
  	OPointer Object;
  };
  struct _KSVS_3000_sAkce_0001_FFFF_0001_0001 {
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* next;
  	int x1;
  	int x2;
  	int y1;
  	int y2;
  	CKerArrObject* objs1;
  	CKerArrObject* objs2;
  	CKerName* typ1;
  	CKerName* typ2;
  	CKerName* typ;
  	CKerName* akce;
  	CKerName* Pusobnost;
  };
  
  
  
  ////////////////////////////////////////////////////////////////////
  ///
  ///			Globals
  ///
  ////////////////////////////////////////////////////////////////////
  
  void* _KSG_Map_0001_000F_0001_1001 = 0;
  void* _KSG_ovybuch_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001 = 0;
  void* _KSG_oMoveable_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_Veci_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_Moves_0001_FFFF_0001_0001 = 0;
  void* _KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001 = 0;
  void* _KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001 = 0;
  void* _KSG_ManikControler_0001_FFFF_0001_0001 = 0;
  void* _KSG_SdileneOvladani_0001_FFFF_0001_0001 = 0;
  void* _KSG_Skrolnik_0001_FFFF_0001_0001 = 0;
  void* _KSG_ManikFocus_0001_FFFF_0001_0001 = 0;
  void* _KSG_oTeleport_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_oPrepinace_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_oOpatrnaPrisera_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001 = 0;
  void* _KSG_GlobalniSvetlo_0001_FFFF_0001_0001 = 0;
  
  
  
  ////////////////////////////////////////////////////////////////////
  ///
  ///		 Object Variables
  ///
  ////////////////////////////////////////////////////////////////////
  
  
  ///////////////////////////////////////////////////////////////////////
  // Pointers to Object Variables
  
  
  void* _KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001;
  void* _KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001;
  void* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  void* _KSOV_smejdic_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  void* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_wall_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_a_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_probability_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_Objects_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_str_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_ch_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_chary_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_doubly_0001_FFFF_0001_0001;
  void* _KSOV_EditTest_0001_FFFF_0001_0001__M_namesy_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  void* _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  void* _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  void* _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  void* _KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001;
  void* _KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001;
  void* _KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  void* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  void* _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  void* _KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  void* _KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  void* _KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  void* _KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_z1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_z2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001;
  void* _KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001;
  void* _KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  void* _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  void* _KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  void* _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  void* _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  void* _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  void* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  void* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  void* _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  void* _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  void* _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  void* _KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001;
  void* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001;
  void* _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  void* _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  void* _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  void* _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  void* _KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  void* _KSOV__KN_ScrollObj__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV__KN_ScrollObj__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001;
  void* _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001;
  void* _KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001;
  void* _KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  void* _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001;
  void* _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001;
  void* _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001;
  void* _KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001;
  void* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  void* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  void* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  void* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ1_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ2_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  void* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001;
  void* _KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  void* _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  
  
  
  //////////////////////////////////////////////////////////////////////
  // KSVGs
  
  
  struct _KSVG_189_OMap_0001_000F_0001_1001 {
  	int _KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001;
  	int _KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001;
  	_KSVS_22_CCell_0001_000F_0001_1001** _KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001;
  };
  
  void* KSAlloc_KSVG_189_OMap_0001_000F_0001_1001() {
  	return new _KSVG_189_OMap_0001_000F_0001_1001;
  }
  
  void KSSetV_KSVG_189_OMap_0001_000F_0001_1001(void* KSVG) {
  	_KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001;
  	_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001 = &( (_KSVG_189_OMap_0001_000F_0001_1001*)KSVG)->_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001;
  }
  
  struct _KSVG_190_placeable_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_190_placeable_0001_FFFF_0001_0001() {
  	return new _KSVG_190_placeable_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_190_placeable_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_190_placeable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_190_placeable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_190_placeable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_191_smejdic_0001_FFFF_0001_0001 {
  	int _KSOV_smejdic_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_191_smejdic_0001_FFFF_0001_0001() {
  	return new _KSVG_191_smejdic_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_191_smejdic_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_smejdic_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001 = &( (_KSVG_191_smejdic_0001_FFFF_0001_0001*)KSVG)->_KSOV_smejdic_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_191_smejdic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_191_smejdic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_191_smejdic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_192_LezeNadVecma_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_192_LezeNadVecma_0001_FFFF_0001_0001() {
  	return new _KSVG_192_LezeNadVecma_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_192_LezeNadVecma_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_192_LezeNadVecma_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_193_Veci_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_193_Veci_0001_FFFF_0001_0001() {
  	return new _KSVG_193_Veci_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_193_Veci_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_193_Veci_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_194_floors_0001_FFFF_0001_0001 {
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_194_floors_0001_FFFF_0001_0001() {
  	return new _KSVG_194_floors_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_194_floors_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_194_floors_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_194_floors_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_194_floors_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_194_floors_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_195_floor_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_195_floor_0001_FFFF_0001_0001() {
  	return new _KSVG_195_floor_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_195_floor_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_195_floor_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_195_floor_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_195_floor_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_195_floor_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_196_wall_0001_FFFF_0001_0001 {
  	int _KSOV_wall_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_196_wall_0001_FFFF_0001_0001() {
  	return new _KSVG_196_wall_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_196_wall_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_wall_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001 = &( (_KSVG_196_wall_0001_FFFF_0001_0001*)KSVG)->_KSOV_wall_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_196_wall_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_196_wall_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_196_wall_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_197_EditTest_0001_FFFF_0001_0001 {
  	int _KSOV_EditTest_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	int _KSOV_EditTest_0001_FFFF_0001_0001__M_a_0001_FFFF_0001_0001;
  	double _KSOV_EditTest_0001_FFFF_0001_0001__M_probability_0001_FFFF_0001_0001;
  	CKerName* _KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_EditTest_0001_FFFF_0001_0001__M_Objects_0001_FFFF_0001_0001;
  	char _KSOV_EditTest_0001_FFFF_0001_0001__M_str_0001_FFFF_0001_0001[31];
  	unsigned char _KSOV_EditTest_0001_FFFF_0001_0001__M_ch_0001_FFFF_0001_0001;
  	OPointer _KSOV_EditTest_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001;
  	CKerArrChar* _KSOV_EditTest_0001_FFFF_0001_0001__M_chary_0001_FFFF_0001_0001;
  	CKerArrDouble* _KSOV_EditTest_0001_FFFF_0001_0001__M_doubly_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_EditTest_0001_FFFF_0001_0001__M_namesy_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_197_EditTest_0001_FFFF_0001_0001() {
  	return new _KSVG_197_EditTest_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_197_EditTest_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_EditTest_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M__KN_ANoConnect_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_a_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_a_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_probability_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_probability_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_Objects_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_Objects_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_str_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_str_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_ch_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_ch_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_chary_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_chary_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_doubly_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_doubly_0001_FFFF_0001_0001;
  	_KSOV_EditTest_0001_FFFF_0001_0001__M_namesy_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_EditTest_0001_FFFF_0001_0001__M_namesy_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_197_EditTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_198_PAutoTest_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_198_PAutoTest_0001_FFFF_0001_0001() {
  	return new _KSVG_198_PAutoTest_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_198_PAutoTest_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_198_PAutoTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_198_PAutoTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_198_PAutoTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_198_PAutoTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_199_otrigger_0001_FFFF_0001_0001 {
  	int _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	int _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_199_otrigger_0001_FFFF_0001_0001() {
  	return new _KSVG_199_otrigger_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_199_otrigger_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001 = &( (_KSVG_199_otrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_200_ovybuch_0001_FFFF_0001_0001 {
  	unsigned char _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	int _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_200_ovybuch_0001_FFFF_0001_0001() {
  	return new _KSVG_200_ovybuch_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_200_ovybuch_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_200_ovybuch_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001;
  	CKerName* _KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001() {
  	return new _KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001 = &( (_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001*)KSVG)->_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001;
  	_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001 = &( (_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001*)KSVG)->_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_201_OPosmrtnaAnimace_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_202_oVybuchuje_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_202_oVybuchuje_0001_FFFF_0001_0001() {
  	return new _KSVG_202_oVybuchuje_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_202_oVybuchuje_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_202_oVybuchuje_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_202_oVybuchuje_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_202_oVybuchuje_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_203_mina_0001_FFFF_0001_0001 {
  	OPointer _KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_203_mina_0001_FFFF_0001_0001() {
  	return new _KSVG_203_mina_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_203_mina_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_203_mina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_204_oPointTr_0001_FFFF_0001_0001 {
  	int _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_204_oPointTr_0001_FFFF_0001_0001() {
  	return new _KSVG_204_oPointTr_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_204_oPointTr_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001 = &( (_KSVG_204_oPointTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_205_oDira_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_205_oDira_0001_FFFF_0001_0001() {
  	return new _KSVG_205_oDira_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_205_oDira_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_205_oDira_0001_FFFF_0001_0001*)KSVG)->_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_205_oDira_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_205_oDira_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_205_oDira_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_205_oDira_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_206_oLava_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	OPointer _KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_206_oLava_0001_FFFF_0001_0001() {
  	return new _KSVG_206_oLava_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_206_oLava_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_206_oLava_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_206_oLava_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_206_oLava_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_206_oLava_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_206_oLava_0001_FFFF_0001_0001*)KSVG)->_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_207_oPropadlo_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_207_oPropadlo_0001_FFFF_0001_0001() {
  	return new _KSVG_207_oPropadlo_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_207_oPropadlo_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_207_oPropadlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_207_oPropadlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_207_oPropadlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_207_oPropadlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_207_oPropadlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_208_oSeSmerem_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_208_oSeSmerem_0001_FFFF_0001_0001() {
  	return new _KSVG_208_oSeSmerem_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_208_oSeSmerem_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_208_oSeSmerem_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_209_oSeSmerem2_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_209_oSeSmerem2_0001_FFFF_0001_0001() {
  	return new _KSVG_209_oSeSmerem2_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_209_oSeSmerem2_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_209_oSeSmerem2_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_210_oMagnet_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	OPointer _KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001;
  	int _KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  	int _KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  	int _KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	int _KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_210_oMagnet_0001_FFFF_0001_0001() {
  	return new _KSVG_210_oMagnet_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_210_oMagnet_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001;
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_210_oMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_211_oLaser_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_211_oLaser_0001_FFFF_0001_0001() {
  	return new _KSVG_211_oLaser_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_211_oLaser_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_211_oLaser_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_211_oLaser_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_211_oLaser_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_211_oLaser_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_212_oklic_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_212_oklic_0001_FFFF_0001_0001() {
  	return new _KSVG_212_oklic_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_212_oklic_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_212_oklic_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_213_oAreaTest_0001_FFFF_0001_0001 {
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_z1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_z2_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTest_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_213_oAreaTest_0001_FFFF_0001_0001() {
  	return new _KSVG_213_oAreaTest_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_213_oAreaTest_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_z1_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_z1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_z2_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_z2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001;
  	_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001 = &( (_KSVG_213_oAreaTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTest_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_214_oStartsMove_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_214_oStartsMove_0001_FFFF_0001_0001() {
  	return new _KSVG_214_oStartsMove_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_214_oStartsMove_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_214_oStartsMove_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_214_oStartsMove_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_214_oStartsMove_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_215_oMoveable_0001_FFFF_0001_0001 {
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_215_oMoveable_0001_FFFF_0001_0001() {
  	return new _KSVG_215_oMoveable_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_215_oMoveable_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_215_oMoveable_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_216_oMoves_0001_FFFF_0001_0001 {
  	int _KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001[17][17];
  	CKerArrInt* _KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001[17];
  	CKerArrInt* _KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001[17];
  	int _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001[17];
  	int _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001[17];
  	int _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001[17];
  	int _KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001[17];
  	CKerName* _KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001[17];
  };
  
  void* KSAlloc_KSVG_216_oMoves_0001_FFFF_0001_0001() {
  	return new _KSVG_216_oMoves_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_216_oMoves_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001;
  	_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001 = &( (_KSVG_216_oMoves_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_217_oBlockedPath_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_217_oBlockedPath_0001_FFFF_0001_0001() {
  	return new _KSVG_217_oBlockedPath_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_217_oBlockedPath_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001 = &( (_KSVG_217_oBlockedPath_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_217_oBlockedPath_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_217_oBlockedPath_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001() {
  	return new _KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001 = &( (_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_218_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001() {
  	return new _KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001 = &( (_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_219_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_220_oPas_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_220_oPas_0001_FFFF_0001_0001() {
  	return new _KSVG_220_oPas_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_220_oPas_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_220_oPas_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_221_oLed_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_221_oLed_0001_FFFF_0001_0001() {
  	return new _KSVG_221_oLed_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_221_oLed_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_221_oLed_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_221_oLed_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_221_oLed_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_221_oLed_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_221_oLed_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_222_oPrisera_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_222_oPrisera_0001_FFFF_0001_0001() {
  	return new _KSVG_222_oPrisera_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_222_oPrisera_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_222_oPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_223_oPriseraOt_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_223_oPriseraOt_0001_FFFF_0001_0001() {
  	return new _KSVG_223_oPriseraOt_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_223_oPriseraOt_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_223_oPriseraOt_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_224_oLineTr_0001_FFFF_0001_0001 {
  	int _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	int _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_224_oLineTr_0001_FFFF_0001_0001() {
  	return new _KSVG_224_oLineTr_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_224_oLineTr_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001 = &( (_KSVG_224_oLineTr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_225_oMagnetForce_0001_FFFF_0001_0001 {
  	int _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	int _KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_225_oMagnetForce_0001_FFFF_0001_0001() {
  	return new _KSVG_225_oMagnetForce_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_225_oMagnetForce_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_225_oMagnetForce_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_225_oMagnetForce_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_225_oMagnetForce_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001 = &( (_KSVG_225_oMagnetForce_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001;
  	_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001 = &( (_KSVG_225_oMagnetForce_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_226_oAntiMagnet_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_226_oAntiMagnet_0001_FFFF_0001_0001() {
  	return new _KSVG_226_oAntiMagnet_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_226_oAntiMagnet_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_226_oAntiMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_226_oAntiMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_226_oAntiMagnet_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_228_oManik_0001_FFFF_0001_0001 {
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001[3];
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_228_oManik_0001_FFFF_0001_0001() {
  	return new _KSVG_228_oManik_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_228_oManik_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_228_oManik_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_229_oDracek_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001[3];
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_229_oDracek_0001_FFFF_0001_0001() {
  	return new _KSVG_229_oDracek_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_229_oDracek_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001 = &( (_KSVG_229_oDracek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_230_oExit_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_230_oExit_0001_FFFF_0001_0001() {
  	return new _KSVG_230_oExit_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_230_oExit_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_230_oExit_0001_FFFF_0001_0001*)KSVG)->_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_230_oExit_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_230_oExit_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_230_oExit_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_230_oExit_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_231_oManikControler_0001_FFFF_0001_0001 {
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001;
  	int _KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001[4];
  	CKerArrObject* _KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_231_oManikControler_0001_FFFF_0001_0001() {
  	return new _KSVG_231_oManikControler_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_231_oManikControler_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001;
  	_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001 = &( (_KSVG_231_oManikControler_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_234_oHlina_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_234_oHlina_0001_FFFF_0001_0001() {
  	return new _KSVG_234_oHlina_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_234_oHlina_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_234_oHlina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_234_oHlina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_234_oHlina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_237_oKamen_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	OPointer _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_237_oKamen_0001_FFFF_0001_0001() {
  	return new _KSVG_237_oKamen_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_237_oKamen_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_237_oKamen_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001() {
  	return new _KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_238_oZnicitelnaStena_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001() {
  	return new _KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_239_oSebratelnaBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001() {
  	return new _KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_240_oSebratelnaMina_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_241_oBomba_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_241_oBomba_0001_FFFF_0001_0001() {
  	return new _KSVG_241_oBomba_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_241_oBomba_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_241_oBomba_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_242_oZamek_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_242_oZamek_0001_FFFF_0001_0001() {
  	return new _KSVG_242_oZamek_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_242_oZamek_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001 = &( (_KSVG_242_oZamek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_242_oZamek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_242_oZamek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_242_oZamek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001 {
  	int _KSOV__KN_ScrollObj__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV__KN_ScrollObj__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001() {
  	return new _KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV__KN_ScrollObj__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001*)KSVG)->_KSOV__KN_ScrollObj__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV__KN_ScrollObj__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001*)KSVG)->_KSOV__KN_ScrollObj__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_243__KN_ScrollObj_0001_FFFF_0001_0001*)KSVG)->_KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_244_oVoda_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_244_oVoda_0001_FFFF_0001_0001() {
  	return new _KSVG_244_oVoda_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_244_oVoda_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_244_oVoda_0001_FFFF_0001_0001*)KSVG)->_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_244_oVoda_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_244_oVoda_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_244_oVoda_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_244_oVoda_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_245_oKrabice_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	OPointer _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_245_oKrabice_0001_FFFF_0001_0001() {
  	return new _KSVG_245_oKrabice_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_245_oKrabice_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_245_oKrabice_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_246_oPneumatika_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	OPointer _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_246_oPneumatika_0001_FFFF_0001_0001() {
  	return new _KSVG_246_oPneumatika_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_246_oPneumatika_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001 = &( (_KSVG_246_oPneumatika_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_247_oBalonek_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	OPointer _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_247_oBalonek_0001_FFFF_0001_0001() {
  	return new _KSVG_247_oBalonek_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_247_oBalonek_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001 = &( (_KSVG_247_oBalonek_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_248_oHemr_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001[3];
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_248_oHemr_0001_FFFF_0001_0001() {
  	return new _KSVG_248_oHemr_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_248_oHemr_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001 = &( (_KSVG_248_oHemr_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_249_oPasovec_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001[3];
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_249_oPasovec_0001_FFFF_0001_0001() {
  	return new _KSVG_249_oPasovec_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_249_oPasovec_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001 = &( (_KSVG_249_oPasovec_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_250_oTeleport_0001_FFFF_0001_0001 {
  	int _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001;
  	int _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_250_oTeleport_0001_FFFF_0001_0001() {
  	return new _KSVG_250_oTeleport_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_250_oTeleport_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001 = &( (_KSVG_250_oTeleport_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001;
  	_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001 = &( (_KSVG_250_oTeleport_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_250_oTeleport_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_250_oTeleport_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_250_oTeleport_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_251_oStrkatelne_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	int _KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_251_oStrkatelne_0001_FFFF_0001_0001() {
  	return new _KSVG_251_oStrkatelne_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_251_oStrkatelne_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001;
  	_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_251_oStrkatelne_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_252_oStrka_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_252_oStrka_0001_FFFF_0001_0001() {
  	return new _KSVG_252_oStrka_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_252_oStrka_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_252_oStrka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_252_oStrka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_252_oStrka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_252_oStrka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_252_oStrka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_253_oHajzl_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001;
  	int _KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_253_oHajzl_0001_FFFF_0001_0001() {
  	return new _KSVG_253_oHajzl_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_253_oHajzl_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001;
  	_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001 = &( (_KSVG_253_oHajzl_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001 {
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001() {
  	return new _KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001 = &( (_KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001 = &( (_KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001 = &( (_KSVG_255_oUmiraNaSlizu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_256_oSliz_0001_FFFF_0001_0001 {
  	OPointer _KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_256_oSliz_0001_FFFF_0001_0001() {
  	return new _KSVG_256_oSliz_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_256_oSliz_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_256_oSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_256_oSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_256_oSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_256_oSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_256_oSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001() {
  	return new _KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_257_oPriseraSNavadeci_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_258_oManikSliz_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001[3];
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	OPointer _KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001[4];
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	int _KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	int _KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_258_oManikSliz_0001_FFFF_0001_0001() {
  	return new _KSVG_258_oManikSliz_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_258_oManikSliz_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001;
  	_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001;
  	_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001;
  	_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001 = &( (_KSVG_258_oManikSliz_0001_FFFF_0001_0001*)KSVG)->_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_259_oZnacky_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_259_oZnacky_0001_FFFF_0001_0001() {
  	return new _KSVG_259_oZnacky_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_259_oZnacky_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_259_oZnacky_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_260_oZnSmerova_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_260_oZnSmerova_0001_FFFF_0001_0001() {
  	return new _KSVG_260_oZnSmerova_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_260_oZnSmerova_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_260_oZnSmerova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001() {
  	return new _KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_261_oZnZakazVjezdu_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_262_oZnSedesat_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_262_oZnSedesat_0001_FFFF_0001_0001() {
  	return new _KSVG_262_oZnSedesat_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_262_oZnSedesat_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_262_oZnSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001() {
  	return new _KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_263_oZnNeSedesat_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001 {
  	int _KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001() {
  	return new _KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_264_oPriseraZnackova_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001() {
  	return new _KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001 = &( (_KSVG_265_oPriseraDopravni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	int _KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001() {
  	return new _KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  	_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001 = &( (_KSVG_266_oPriseraKlaustrofobni_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_271_oScriptedTest_0001_FFFF_0001_0001 {
  	int _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001;
  	CKerName** _KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_271_oScriptedTest_0001_FFFF_0001_0001() {
  	return new _KSVG_271_oScriptedTest_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_271_oScriptedTest_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001 = &( (_KSVG_271_oScriptedTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001;
  	_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001 = &( (_KSVG_271_oScriptedTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001;
  	_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001 = &( (_KSVG_271_oScriptedTest_0001_FFFF_0001_0001*)KSVG)->_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_272_oPrepinace_0001_FFFF_0001_0001 {
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_272_oPrepinace_0001_FFFF_0001_0001() {
  	return new _KSVG_272_oPrepinace_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_272_oPrepinace_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_272_oPrepinace_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_273_oPrepinac_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_273_oPrepinac_0001_FFFF_0001_0001() {
  	return new _KSVG_273_oPrepinac_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_273_oPrepinac_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001;
  	_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_273_oPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001 {
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	OPointer _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001() {
  	return new _KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_274_oTriggerPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_275_oFotobunka_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	OPointer _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_275_oFotobunka_0001_FFFF_0001_0001() {
  	return new _KSVG_275_oFotobunka_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_275_oFotobunka_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_275_oFotobunka_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	unsigned char _KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	OPointer _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001() {
  	return new _KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_276_oNaslapnaPodlaha_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_277_oAreaTrigger_0001_FFFF_0001_0001 {
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ1_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001;
  	int _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ2_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	OPointer _KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001() {
  	return new _KSVG_277_oAreaTrigger_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX1_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY1_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ1_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ1_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ2_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ2_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001 = &( (_KSVG_277_oAreaTrigger_0001_FFFF_0001_0001*)KSVG)->_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001 {
  	int _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  	int _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  	int _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	int _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	int _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	int _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	OPointer _KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001() {
  	return new _KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001;
  	_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001;
  	_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001 = &( (_KSVG_278_oGlobalniPrepinac_0001_FFFF_0001_0001*)KSVG)->_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	CKerName* _KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	CKerArrName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	CKerArrInt* _KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	CKerArrObject* _KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	CKerName* _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	int _KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001() {
  	return new _KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  	_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001;
  	_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001;
  	_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001 = &( (_KSVG_279_oOpatrnaPrisera_0001_FFFF_0001_0001*)KSVG)->_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_280_oSvetlo_0001_FFFF_0001_0001 {
  	unsigned char _KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  	int _KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001;
  	int _KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001;
  	int _KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_280_oSvetlo_0001_FFFF_0001_0001() {
  	return new _KSVG_280_oSvetlo_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_280_oSvetlo_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001;
  	_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_280_oSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001 {
  	unsigned char _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  	unsigned char _KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001() {
  	return new _KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001 = &( (_KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001 = &( (_KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001;
  	_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001 = &( (_KSVG_281_oGlobalniSvetlo_0001_FFFF_0001_0001*)KSVG)->_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001() {
  	return new _KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_282_oPriseraSeZvukem1_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001 {
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001() {
  	return new _KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_283_oPriseraSeZvukem2_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  struct _KSVG_284_oBouraDoSten_0001_FFFF_0001_0001 {
  	int _KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	int _KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	CKerName* _KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  };
  
  void* KSAlloc_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001() {
  	return new _KSVG_284_oBouraDoSten_0001_FFFF_0001_0001;
  }
  
  void KSSetV_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001(void* KSVG) {
  	_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001 = &( (_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001*)KSVG)->_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001 = &( (_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001 = &( (_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001;
  	_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001 = &( (_KSVG_284_oBouraDoSten_0001_FFFF_0001_0001*)KSVG)->_KSOV_placeable_0001_FFFF_0001_0001__M__KN_APicture_0001_FFFF_0001_0001;
  }
  
  
  
  
  ///////////////////////////////////////////////////////////////////
  ///
  ///		Pointers To Direct Call Methods
  ///
  ///////////////////////////////////////////////////////////////////
  
  int (*_KSDM_oMoveable_0001_FFFF_0001_0001__M_TestDir_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_Bottom, int _KSL_Top, int _KSL_OldTop, int* _KSL_TestedDirs, CKerArrObject** _KSL_TestedObjs) = 0;
  void (*_KSDM_oMoveable_0001_FFFF_0001_0001__M_StartMove_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir, int _KSL_speed) = 0;
  void (*_KSDM_oMagnet_0001_FFFF_0001_0001__M_GetDxDy_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int* _KSL_dx, int* _KSL_dy) = 0;
  void (*_KSDM_oMagnet_0001_FFFF_0001_0001__M_Deactivate2_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_x, int _KSL_y, int _KSL_z) = 0;
  int (*_KSDM_oMoves_0001_FFFF_0001_0001__M_BanningTest_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_bfdirection, int _KSL_direction) = 0;
  CKerArrInt* (*_KSDM_oMoves_0001_FFFF_0001_0001__M_GetPath_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir) = 0;
  CKerArrInt* (*_KSDM_oMoves_0001_FFFF_0001_0001__M_GetPathP_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir) = 0;
  void (*_KSDM_oMoves_0001_FFFF_0001_0001__M_GetDeBlockArea_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir, int* _KSL_x1, int* _KSL_x2, int* _KSL_y1, int* _KSL_y2) = 0;
  CKerName* (*_KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir) = 0;
  void (*_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_keep) = 0;
  CKerName* (*_KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_muf) = 0;
  int (*_KSDM_oManik_0001_FFFF_0001_0001__M_TestKolize_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO) = 0;
  int* (*_KSDM_oManik_0001_FFFF_0001_0001__M_GetPointerToZnacky_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO) = 0;
  int (*_KSDM_oManikControler_0001_FFFF_0001_0001__M_NajdiManika_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, OPointer _KSL_m) = 0;
  int (*_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_dir, int _KSL_x, int _KSL_y, OPointer _KSL_obj) = 0;
  void (*_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCile_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_pfdir, OPointer _KSL_obj) = 0;
  void (*_KSDM_oPrepinace_0001_FFFF_0001_0001__M_ZobrazPolozku_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, _KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a, int _KSL_index) = 0;
  int (*_KSDM_oPrepinace_0001_FFFF_0001_0001__M_KillPlace_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, OPointer _KSL_o, CKerArrObject* _KSL_objs) = 0;
  void (*_KSDM_oPrepinace_0001_FFFF_0001_0001__M_PlaceOrFindPlace_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, OPointer _KSL_o, CKerArrObject* _KSL_objs, CKerName* _KSL_typ) = 0;
  void (*_KSDM_oPrepinace_0001_FFFF_0001_0001__M_OdeberAZarovnej_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, OPointer _KSL_o) = 0;
  int (*_KSDM_oPrepinace_0001_FFFF_0001_0001__M_JsouSouradniceObsazene_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, CKerArrObject* _KSL_objs, int _KSL_x, int _KSL_y) = 0;
  void (*_KSDM_oTriggerPrepinac_0001_FFFF_0001_0001__M__Prepni_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, int _KSL_hned) = 0;
  void (*_KSDM_oSvetlo_0001_FFFF_0001_0001__M_SetSvetlo_0001_FFFF_0001_0001)(int __CodeLine, OPointer __thisO, unsigned char _KSL_R, unsigned char _KSL_G, unsigned char _KSL_B, int _KSL_Radius, int _KSL_Vyska) = 0;
  
  
  
  ///////////////////////////////////////////////////////////////////
  ///
  ///		 Object Methods
  ///
  ////////////////////////////////////////////////////////////////////
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_OMap_0001_000F_0001_1001__M_Init1_0001_000F_0001_1001
  void _KSM_42_Init1_0001_000F_0001_1001() {
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001) = -20;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001) = -20;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001) = 620;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001) = 420;
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_OMap_0001_000F_0001_1001__M_Init2_0001_000F_0001_1001
  void _KSM_51_Init2_0001_000F_0001_1001() {
  	int _KSL_f;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001) = 0;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001) = 0;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001) = eKCTctverce;
  	(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001) = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001) = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001) = 40;
  	KerMain->MapInfo->RegisterMap((*(int*)_KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001));
  	KerMain->MapInfo->GetNumberOfCells(&(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001));
  	(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001) = KER_NEW(62, _KSVS_22_CCell_0001_000F_0001_1001*, (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001) * (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001));
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001) * (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001) ;_KSL_f++)
  		(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_f] = 0;
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID__KN_MResizeMap
  void _KSM_67__KN_MResizeMap_0001_000F_0001_1001() {
  	int _KSL_f;
  	KerMain->call(69, KerContext->KCthis, _KSID_OMap_0001_000F_0001_1001__M_ClearGrid_0001_000F_0001_1001, 0);
  	KerMain->MapInfo->RegisterMap((*(int*)_KSOV_OMap_0001_000F_0001_1001__M_CellType_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_leftx_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lefty_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_rightx_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_righty_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_lowerlevel_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_upperlevel_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeX_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeY_0001_000F_0001_1001), (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_csizeZ_0001_000F_0001_1001));
  	KerMain->MapInfo->GetNumberOfCells(&(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001), &(*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001));
  	(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001) = KER_NEW(73, _KSVS_22_CCell_0001_000F_0001_1001*, (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001) * (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001));
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001) * (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001) ;_KSL_f++)
  		(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_f] = 0;
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_OMap_0001_000F_0001_1001__M_ClearGrid_0001_000F_0001_1001
  void _KSM_77_ClearGrid_0001_000F_0001_1001() {
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p2;
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001) * (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizey_0001_000F_0001_1001) ;_KSL_f++)
  	{
  		_KSL_p = (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_f];
  
  		while(_KSL_p)
  		{
  			_KSL_p2 = _KSL_p;
  			_KSL_p = _KSL_p->next;
  			KerInterpret->ISFree(85, _KSL_p2);
  		}
  	}
  	KerInterpret->ISFree(88, (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001));
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_Constructor
  void _KSM_91_Constructor_0001_000F_0001_1001() {
  	KerMain->call(93, KerContext->KCthis, _KSID_OMap_0001_000F_0001_1001__M_Init1_0001_000F_0001_1001, 0);
  	KerMain->call(94, KerContext->KCthis, _KSID_OMap_0001_000F_0001_1001__M_Init2_0001_000F_0001_1001, 0);
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_LoadConstructor
  void _KSM_98_LoadConstructor_0001_000F_0001_1001() {
  	KerMain->call(100, KerContext->KCthis, _KSID_OMap_0001_000F_0001_1001__M_Init2_0001_000F_0001_1001, 0);
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_Destructor
  void _KSM_106_Destructor_0001_000F_0001_1001() {
  	KerMain->call(108, KerContext->KCthis, _KSID_OMap_0001_000F_0001_1001__M_ClearGrid_0001_000F_0001_1001, 0);
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID__KN_MPlaceObjToMap
  void _KSM_116__KN_MPlaceObjToMap_0001_000F_0001_1001() {
  	int _KSL_f;
  	int _KSL_pos;
  	int _KSL_sx;
  	int _KSL_count;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p;
  
  	if(!KER_ARGUMENT(CKerArrInt*, 1))
  		return;
  	_KSL_sx = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001);
  	_KSL_count = KER_ARGUMENT(CKerArrInt*, 1)->GetCount() / 3;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  	{
  		_KSL_pos = (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3 + 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  		_KSL_p = KER_NEW(132, _KSVS_22_CCell_0001_000F_0001_1001, 1);
  		_KSL_p->Object = KER_ARGUMENT(OPointer, 0);
  		_KSL_p->next = (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos];
  		(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos] = _KSL_p;
  	}
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID__KN_MRemoveObjFromMap
  void _KSM_142__KN_MRemoveObjFromMap_0001_000F_0001_1001() {
  	int _KSL_f;
  	int _KSL_pos;
  	int _KSL_sx;
  	int _KSL_count;
  	_KSVS_22_CCell_0001_000F_0001_1001** _KSL_p;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p2;
  
  	if(!KER_ARGUMENT(CKerArrInt*, 1))
  		return;
  	_KSL_sx = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001);
  	_KSL_count = KER_ARGUMENT(CKerArrInt*, 1)->GetCount() / 3;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  	{
  		_KSL_pos = (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3 + 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  		_KSL_p = &((*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos]);
  
  		while(*_KSL_p)
  		{
  
  			if((**_KSL_p).Object == KER_ARGUMENT(OPointer, 0))
  			{
  				_KSL_p2 = *_KSL_p;
  				*_KSL_p = _KSL_p2->next;
  				KerInterpret->ISFree(166, _KSL_p2);
  				break;
  			}
  			_KSL_p = &((**_KSL_p).next);
  		}
  	}
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID__KN_MMoveObjInMap
  void _KSM_178__KN_MMoveObjInMap_0001_000F_0001_1001() {
  	int _KSL_count;
  	int _KSL_f;
  	int _KSL_pos;
  	_KSVS_22_CCell_0001_000F_0001_1001** _KSL_p;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p2;
  	int _KSL_sx;
  	_KSL_sx = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001);
  
  	if(!KER_ARGUMENT(CKerArrInt*, 1)||!KER_ARGUMENT(CKerArrInt*, 2)||!KER_ARGUMENT(CKerArrInt*, 3))
  		return;
  	_KSL_count = KER_ARGUMENT(CKerArrInt*, 1)->GetCount() / 3;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  	{
  		_KSL_pos = (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(CKerArrInt*, 1)->Read(_KSL_f * 3 + 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  		_KSL_p = &(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos];
  
  		while(*_KSL_p)
  		{
  
  			if((**_KSL_p).Object == KER_ARGUMENT(OPointer, 0))
  			{
  				_KSL_p2 = *_KSL_p;
  				*_KSL_p = _KSL_p2->next;
  				KerInterpret->ISFree(196, _KSL_p2);
  				break;
  			}
  			_KSL_p = &((**_KSL_p).next);
  		}
  	}
  	_KSL_count = KER_ARGUMENT(CKerArrInt*, 3)->GetCount() / 3;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  	{
  		_KSL_pos = (KER_ARGUMENT(CKerArrInt*, 3)->Read(_KSL_f * 3) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(CKerArrInt*, 3)->Read(_KSL_f * 3 + 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  		_KSL_p2 = KER_NEW(207, _KSVS_22_CCell_0001_000F_0001_1001, 1);
  		_KSL_p2->Object = KER_ARGUMENT(OPointer, 0);
  		_KSL_p2->next = (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos];
  		(*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos] = _KSL_p2;
  	}
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID__KN_MGetObjects
  void _KSM_219__KN_MGetObjects_0001_000F_0001_1001() {
  
  	if(!KER_ARGUMENT(CKerArrObject*, 1))
  		KER_ARGUMENT(CKerArrObject*, 1) = new CKerArrObject();
  	KER_ARGUMENT(CKerArrObject*, 1)->SetCount(0);
  
  	if(!KER_ARGUMENT(CKerArrInt*, 0))
  		{ KER_RETARG(CKerArrObject*) = KER_ARGUMENT(CKerArrObject*, 1); return; }
  	KerServices.DeleteOutOfMapCalls(KER_ARGUMENT(CKerArrInt*, 0));
  	int _KSL_f;
  	int _KSL_count;
  	int _KSL_sx;
  	int _KSL_pos;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p;
  	int _KSL_g;
  	_KSL_g = 0;
  	_KSL_sx = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001);
  	_KSL_count = KER_ARGUMENT(CKerArrInt*, 0)->GetCount() / 3;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  	{
  		_KSL_pos = (KER_ARGUMENT(CKerArrInt*, 0)->Read(_KSL_f * 3) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(CKerArrInt*, 0)->Read(_KSL_f * 3 + 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  		_KSL_p = (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos];
  
  		while(_KSL_p)
  		{
  
  			if(KerServices.ExistsObj(_KSL_p->Object)&&KerServices.CheckTag(_KSL_p->Object) == 0)
  			{
  				KerServices.SetTag(_KSL_p->Object);
  				KER_ARGUMENT(CKerArrObject*, 1)->Get(_KSL_g) = _KSL_p->Object;
  				_KSL_g++;
  			}
  			_KSL_p = _KSL_p->next;
  		}
  	}
  	_KSL_count = KER_ARGUMENT(CKerArrObject*, 1)->GetCount();
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_count ;_KSL_f++)
  		KerServices.ClearTag(KER_ARGUMENT(CKerArrObject*, 1)->Read(_KSL_f));
  	{ KER_RETARG(CKerArrObject*) = KER_ARGUMENT(CKerArrObject*, 1); return; }
  }
  
  //_KSID_OMap_0001_000F_0001_1001::_KSID_IsObjInCell_0001_000F_0001_1001
  void _KSM_253_IsObjInCell_0001_000F_0001_1001() {
  	int _KSL_sx;
  	int _KSL_pos;
  	_KSVS_22_CCell_0001_000F_0001_1001* _KSL_p;
  
  	if(!KerMain->MapInfo->IsCellInMap(KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1), 0))
  		{ KER_RETARG(int) = 0; return; }
  	_KSL_sx = (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_sizex_0001_000F_0001_1001);
  	_KSL_pos = (KER_ARGUMENT(int, 0) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_startx_0001_000F_0001_1001)) + (KER_ARGUMENT(int, 1) - (*(int*)_KSOV_OMap_0001_000F_0001_1001__M_starty_0001_000F_0001_1001)) * _KSL_sx;
  	_KSL_p = (*(_KSVS_22_CCell_0001_000F_0001_1001***)_KSOV_OMap_0001_000F_0001_1001__M_grid_0001_000F_0001_1001)[_KSL_pos];
  
  	while(_KSL_p)
  	{
  
  		if(_KSL_p->Object == KER_ARGUMENT(OPointer, 2))
  			{ KER_RETARG(int) = 1; return; }
  		_KSL_p = _KSL_p->next;
  	}
  	{ KER_RETARG(int) = 0; return; }
  }
  
  //_KSID_smejdic_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_54__KN_MapPlaced_0001_FFFF_0001_0001() {
  	int _KSL_dx;
  	int _KSL_dy;
  
  	switch(mtr.randInt(3))
  	{
  	case 0:
  		_KSL_dx = 40;
  		_KSL_dy = 0;
  		break;
  	case 1:
  		_KSL_dx = 0;
  		_KSL_dy = 40;
  		break;
  	case 2:
  		_KSL_dx = 0;
  		_KSL_dy = -40;
  		break;
  	case 3:
  		_KSL_dx = -40;
  		_KSL_dy = 0;
  		break;
  	}
  
  	if(!KerMain->MapInfo->IsObjInCollision(62, KerContext->KCthis, _KSL_dx, _KSL_dy))
  		KerServices.InitMoveTo(KerContext->KCthis, 330, _KSL_dx, _KSL_dy);
  }
  
  //_KSID_smejdic_0001_FFFF_0001_0001::_KSID__KN_MoveEnded
  void _KSM_65__KN_MoveEnded_0001_FFFF_0001_0001() {
  	int _KSL_dx;
  	int _KSL_dy;
  
  	switch(mtr.randInt(3))
  	{
  	case 0:
  		_KSL_dx = 40;
  		_KSL_dy = 0;
  		break;
  	case 1:
  		_KSL_dx = 0;
  		_KSL_dy = 40;
  		break;
  	case 2:
  		_KSL_dx = 0;
  		_KSL_dy = -40;
  		break;
  	case 3:
  		_KSL_dx = -40;
  		_KSL_dy = 0;
  		break;
  	}
  
  	if(!KerMain->MapInfo->IsObjInCollision(73, KerContext->KCthis, _KSL_dx, _KSL_dy))
  		KerServices.InitMoveTo(KerContext->KCthis, 330, _KSL_dx, _KSL_dy);
  }
  
  //_KSID_LezeNadVecma_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_35_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID_Veci_0001_FFFF_0001_0001;
  }
  
  //_KSID_LezeNadVecma_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_35_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_LezeNadVecma_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID_Veci_0001_FFFF_0001_0001;
  }
  
  //_KSID_Veci_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_42_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID_LezeNadVecma_0001_FFFF_0001_0001;
  }
  
  //_KSID_Veci_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_42_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_Veci_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID_LezeNadVecma_0001_FFFF_0001_0001;
  }
  
  //_KSID_Veci_0001_FFFF_0001_0001::_KSID_IsInMoveCollision_0001_FFFF_0001_0001
  void _KSM_946_IsInMoveCollision_0001_FFFF_0001_0001() {
  	KerServices.FindObjsInArea(947, (*(CKerArrObject**)_KSG_Veci_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), KerContext->KCthis, _KSID_LezeNadVecma_0001_FFFF_0001_0001, KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1));
  	int _KSL_re;
  	_KSL_re = (*(CKerArrObject**)_KSG_Veci_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount();
  
  	if(!_KSL_re)
  		{ KER_RETARG(int) = 0; return; }
  	int _KSL_f;
  	int _KSL_X;
  	int _KSL_Y;
  	int _KSL_Z;
  	KerServices.FindObjCell(KerContext->KCthis, &_KSL_X, &_KSL_Y, &_KSL_Z);
  
  	for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_Veci_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  
  		if(KerMain->callint(953, (*(OPointer*)_KSG_Map_0001_000F_0001_1001), _KSID_IsObjInCell_0001_000F_0001_1001, 2, 3, eKTint, _KSID_IsObjInCell_0001_000F_0001_1001__M_x_0001_000F_0001_1001, _KSL_X, eKTint, _KSID_IsObjInCell_0001_000F_0001_1001__M_y_0001_000F_0001_1001, _KSL_Y, eKTobject, _KSID_IsObjInCell_0001_000F_0001_1001__M_obj_0001_000F_0001_1001, (*(CKerArrObject**)_KSG_Veci_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f)))
  			_KSL_re--;
  	{ KER_RETARG(int) = _KSL_re; return; }
  }
  
  //_KSID_floors_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_90_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCConeCell|eKCCfloor;
  }
  
  //_KSID_floors_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_90_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_floors_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCConeCell|eKCCfloor;
  }
  
  //_KSID_EditTest_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_136_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_EditTest_0001_FFFF_0001_0001__M_a_0001_FFFF_0001_0001) = 101;
  	strcpy(((char*)_KSOV_EditTest_0001_FFFF_0001_0001__M_str_0001_FFFF_0001_0001), CComString("Test", 138) + CComString("String", 138));
  	(*(unsigned char*)_KSOV_EditTest_0001_FFFF_0001_0001__M_ch_0001_FFFF_0001_0001) = 'b';
  	(*(double*)_KSOV_EditTest_0001_FFFF_0001_0001__M_probability_0001_FFFF_0001_0001) = 0;
  	(*(CKerName**)_KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001) = _KSID_OMap_0001_000F_0001_1001__M_Init1_0001_000F_0001_1001;
  	(*(CKerName**)_KSOV_EditTest_0001_FFFF_0001_0001__M_Affects_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerArrObject**)_KSOV_EditTest_0001_FFFF_0001_0001__M_Objects_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(OPointer*)_KSOV_EditTest_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001) = KerMain->NewObject(144 , _KSID_wall_0001_FFFF_0001_0001);
  	(*(CKerArrInt**)_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrInt**)_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001)->Get(0) = 5;
  	(*(CKerArrInt**)_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001)->Get(1) = 5;
  	(*(CKerArrInt**)_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001)->Get(2) = 6;
  	(*(CKerArrInt**)_KSOV_EditTest_0001_FFFF_0001_0001__M_inty_0001_FFFF_0001_0001)->Get(3) = 5;
  	(*(CKerArrChar**)_KSOV_EditTest_0001_FFFF_0001_0001__M_chary_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrDouble**)_KSOV_EditTest_0001_FFFF_0001_0001__M_doubly_0001_FFFF_0001_0001) = new CKerArrDouble();
  	(*(CKerArrName**)_KSOV_EditTest_0001_FFFF_0001_0001__M_namesy_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_otrigger_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_182_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCrect1|eKCCcell|eKCCtriggerBit;
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = 1;
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = 1;
  	(*(CKerName**)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerName**)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID__KN_Nothing;
  	(*(OPointer*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_otrigger_0001_FFFF_0001_0001::_KSID_SetPosSz_0001_FFFF_0001_0001
  void _KSM_188_SetPosSz_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 2);
  	(*(int*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 3);
  }
  
  //_KSID_otrigger_0001_FFFF_0001_0001::_KSID_SetClzGr_0001_FFFF_0001_0001
  void _KSM_192_SetClzGr_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	(*(CKerName**)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 1);
  	(*(OPointer*)_KSOV_otrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = KER_ARGUMENT(OPointer, 2);
  }
  
  //_KSID_ovybuch_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_215_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCrect1|eKCCcell;
  	(*(int*)_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = 3;
  	(*(int*)_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = 3;
  	(*(CKerName**)_KSOV_ovybuch_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = _KSID_ZnicitelneVeVybuchu_0001_FFFF_0001_0001;
  }
  
  //_KSID_ovybuch_0001_FFFF_0001_0001::_KSID_SetPos_0001_FFFF_0001_0001
  void _KSM_220_SetPos_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  }
  
  //_KSID_ovybuch_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_224__KN_MapPlaced_0001_FFFF_0001_0001() {
  	KerMain->message(225, KerContext->KCthis, _KSID_Destructor, eKerCTtimed, 231, 0);
  	int _KSL_f;
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		KerMain->MapInfo->FindCollidingObjs(228, KerContext->KCthis, (*(CKerArrObject**)_KSG_ovybuch_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001));
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_ovybuch_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  			KerMain->message(229, (*(CKerArrObject**)_KSG_ovybuch_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_ZnicSeVeVybuchu_0001_FFFF_0001_0001, eKerCTtimed, 165, 0);
  	}
  }
  
  //_KSID_ovybuch_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_558__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerServices.AreaMessage(559, _KSID_CalcMove_0001_FFFF_0001_0001, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001, -1, -1, 3, 3);
  }
  
  //_KSID_OPosmrtnaAnimace_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_249_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001) = 0;
  	(*(CKerName**)_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_OPosmrtnaAnimace_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_250_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylGrafiky_0001_FFFF_0001_0001) = 0;
  	(*(CKerName**)_KSOV_OPosmrtnaAnimace_0001_FFFF_0001_0001__M_StylSmrti_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oVybuchuje_0001_FFFF_0001_0001::_KSID_ZnicSeVybuchem_0001_FFFF_0001_0001
  void _KSM_261_ZnicSeVybuchem_0001_FFFF_0001_0001() {
  	OPointer _KSL_o;
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		ME->PlaySample(_KSID_sExplo2_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		_KSL_o = KerMain->NewObject(265 , _KSID_ovybuch_0001_FFFF_0001_0001);
  		int _KSL_x;
  		int _KSL_y;
  		int _KSL_z;
  		KerServices.FindObjCell(KerContext->KCthis, &_KSL_x, &_KSL_y, &_KSL_z);
  		KerMain->call(268, _KSL_o, _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (_KSL_x - 1) * 40, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (_KSL_y - 1) * 40);
  		KerMain->MapInfo->PlaceObjToMap(269, _KSL_o);
  	}
  	KerMain->DeleteObject(271, KerContext->KCthis);
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_290_Constructor_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_290_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_292__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->message(293, KerContext->KCthis, _KSID_mina_0001_FFFF_0001_0001__M_AktivujSe_0001_FFFF_0001_0001, eKerCTtimed, 660, 0);
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID_mina_0001_FFFF_0001_0001__M_AktivujSe_0001_FFFF_0001_0001
  void _KSM_296_AktivujSe_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		(*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(298 , _KSID_otrigger_0001_FFFF_0001_0001);
  		KerMain->call(299, (*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) - 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) - 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, 3, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, 3);
  		KerMain->call(300, (*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_AktivujeMinu_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  		KerMain->MapInfo->PlaceObjToMap(301, (*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  		KerServices.MConnectObjs((*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  	}
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_306__KN_TriggerOn_0001_FFFF_0001_0001() {
  	KerServices.LogDebugInfo(307, 1, 0, "Mina aktivovana!");
  	KerMain->message(308, KerContext->KCthis, _KSID_ZnicSeVybuchem_0001_FFFF_0001_0001, eKerCTtimed, 396, 0);
  	KerMain->DeleteObject(309, (*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_mina_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_313__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(314, (*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_mina_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPointTr_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_333_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint|eKCCcell|eKCCtriggerBit|eKCCcenterColBit;
  	(*(CKerName**)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerName**)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID__KN_Nothing;
  	(*(OPointer*)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPointTr_0001_FFFF_0001_0001::_KSID_SetPos_0001_FFFF_0001_0001
  void _KSM_338_SetPos_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  }
  
  //_KSID_oPointTr_0001_FFFF_0001_0001::_KSID_SetClzGr_0001_FFFF_0001_0001
  void _KSM_341_SetClzGr_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	(*(CKerName**)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 1);
  	(*(OPointer*)_KSOV_oPointTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = KER_ARGUMENT(OPointer, 2);
  }
  
  //_KSID_oDira_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_329__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(364 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(365, (*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(366, (*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_VeciPadajiciDoDiry_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(367, (*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oDira_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_336__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oManik_0001_FFFF_0001_0001))
  		ME->PlaySample(_KSID_sManikVDire_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->message(373, KER_ARGUMENT(OPointer, 0), _KSID_SpadniDoDiry_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oDira_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_334__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(377, (*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oDira_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oLava_0001_FFFF_0001_0001::_KSID_SetPos_0001_FFFF_0001_0001
  void _KSM_375_SetPos_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  }
  
  //_KSID_oPropadlo_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_406__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(408 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(409, (*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(410, (*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_VeciPadajiciDoDiry_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(411, (*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oPropadlo_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_415__KN_TriggerOn_0001_FFFF_0001_0001() {
  	KerServices.LogDebugInfo(416, 1, 0, "Propadnu se!");
  	KerMain->message(417, KerContext->KCthis, _KSID_PropadniSe_0001_FFFF_0001_0001, eKerCTtimed, 396, 0);
  	KerMain->DeleteObject(418, (*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPropadlo_0001_FFFF_0001_0001::_KSID_PropadniSe_0001_FFFF_0001_0001
  void _KSM_422_PropadniSe_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		OPointer _KSL_o;
  		_KSL_o = KerMain->NewObject(424 , _KSID_oLava_0001_FFFF_0001_0001);
  		KerMain->call(425, _KSL_o, _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		KerMain->MapInfo->PlaceObjToMap(426, _KSL_o);
  		KerMain->DeleteObject(427, KerContext->KCthis);
  	}
  }
  
  //_KSID_oPropadlo_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_431__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(432, (*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oPropadlo_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oSeSmerem_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_457_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) = _KSID_Sever_0001_FFFF_0001_0001;
  }
  
  //_KSID_oSeSmerem_0001_FFFF_0001_0001::_KSID_GetSmer_0001_FFFF_0001_0001
  void _KSM_458_GetSmer_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oSeSmerem_0001_FFFF_0001_0001::_KSID_SetSmer_0001_FFFF_0001_0001
  void _KSM_459_SetSmer_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	KerServices.ResetAuto(KerContext->KCthis, 0, 1);
  }
  
  //_KSID_oSeSmerem2_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_469_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) = _KSID_Sever_0001_FFFF_0001_0001;
  }
  
  //_KSID_oSeSmerem2_0001_FFFF_0001_0001::_KSID_GetSmer_0001_FFFF_0001_0001
  void _KSM_470_GetSmer_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oSeSmerem2_0001_FFFF_0001_0001::_KSID_SetSmer_0001_FFFF_0001_0001
  void _KSM_471_SetSmer_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oSeSmerem2_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	KerServices.ResetAuto(KerContext->KCthis, 0, 1);
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1490_Constructor_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1490_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSDM_oMagnet_0001_FFFF_0001_0001__M_GetDxDy_0001_FFFF_0001_0001
  void _KSM_1495_GetDxDy_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int* _KSL_dx, int* _KSL_dy) {
  	DIRECT_CALL_BEGIN(_KSID_oMagnet_0001_FFFF_0001_0001,"_KSM_1495_GetDxDy_0001_FFFF_0001_0001",;)
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Sever_0001_FFFF_0001_0001)
  	{
  		*_KSL_dx = 0;
  		*_KSL_dy = -1;
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	}
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Vychod_0001_FFFF_0001_0001)
  	{
  		*_KSL_dx = 1;
  		*_KSL_dy = 0;
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	}
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Zapad_0001_FFFF_0001_0001)
  	{
  		*_KSL_dx = -1;
  		*_KSL_dy = 0;
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	}
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Jih_0001_FFFF_0001_0001)
  	{
  		*_KSL_dx = 0;
  		*_KSL_dy = 1;
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001
  void _KSM_1505_Activate_0001_FFFF_0001_0001() {
  
  	if((*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	int _KSL_z;
  	int _KSL_dx;
  	int _KSL_dy;
  	int _KSL_f;
  	KerServices.FindObjCell(KerContext->KCthis, &(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), &(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), &_KSL_z);
  	(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001);
  	_KSDM_oMagnet_0001_FFFF_0001_0001__M_GetDxDy_0001_FFFF_0001_0001(1511, KerContext->KCthis, &_KSL_dx, &_KSL_dy);
  
  	while(KerMain->MapInfo->IsCellInMap((*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) + _KSL_dx, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) + _KSL_dy, _KSL_z))
  	{
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) + _KSL_dx;
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) + _KSL_dy;
  		KerServices.FindObjsInArea(1515, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001), 0, _KSID_oAntiMagnet_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001));
  
  		if((*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001)->GetCount())
  			break;
  		KerServices.FindObjsInArea(1517, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001), 0, _KSID_oMagnet_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001));
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  		{
  
  			if((CKerName*)KerMain->callint(1519, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_GetSmer_0001_FFFF_0001_0001, 5, 0) == (*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001))
  				KerMain->call(1519, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsA_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 1, eKTint, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001__M_kill_0001_FFFF_0001_0001, 1);
  		}
  	}
  
  	if((*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) == (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) == (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001))
  		return;
  	(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) + _KSL_dx;
  	(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) + _KSL_dy;
  
  	if((*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) > (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001))
  	{
  		_KSL_f = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001);
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001);
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) = _KSL_f;
  	}
  
  	if((*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) > (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001))
  	{
  		_KSL_f = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001);
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) = (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001);
  		(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) = _KSL_f;
  	}
  
  	if(_KSL_dx < 0)
  		_KSL_dx = 1;
  
  	if(_KSL_dy < 0)
  		_KSL_dy = 1;
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(1529 , _KSID_oLineTr_0001_FFFF_0001_0001);
  	KerMain->call(1530, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) * 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) * 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) - (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) + _KSL_dx, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) - (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) + _KSL_dy);
  	KerMain->call(1531, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_PritahovanoMagnetem_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(1532, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  	KerMain->call(1534, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_ZajimaMagnet_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001) = KerMain->NewObject(1536 , _KSID_oMagnetForce_0001_FFFF_0001_0001);
  	KerMain->call(1537, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) * 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) * 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) - (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001) + _KSL_dx, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) - (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001) + _KSL_dy);
  	KerMain->MapInfo->PlaceObjToMap(1538, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSDM_oMagnet_0001_FFFF_0001_0001__M_Deactivate2_0001_FFFF_0001_0001
  void _KSM_1543_Deactivate2_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_x, int _KSL_y, int _KSL_z) {
  	DIRECT_CALL_BEGIN(_KSID_oMagnet_0001_FFFF_0001_0001,"_KSM_1543_Deactivate2_0001_FFFF_0001_0001",;)
  	int _KSL_dx;
  	int _KSL_dy;
  	int _KSL_f;
  	_KSDM_oMagnet_0001_FFFF_0001_0001__M_GetDxDy_0001_FFFF_0001_0001(1546, KerContext->KCthis, &_KSL_dx, &_KSL_dy);
  
  	while(KerMain->MapInfo->IsCellInMap(_KSL_x + _KSL_dx, _KSL_y + _KSL_dy, _KSL_z))
  	{
  		_KSL_x = _KSL_x + _KSL_dx;
  		_KSL_y = _KSL_y + _KSL_dy;
  		KerServices.FindObjsInArea(1549, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001), 0, _KSID_oAntiMagnet_0001_FFFF_0001_0001, _KSL_x, _KSL_y, _KSL_x, _KSL_y);
  
  		if((*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001)->GetCount())
  			{
  				DIRECT_CALL_END
  				return; 
  			}
  		KerServices.FindObjsInArea(1551, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001), 0, _KSID_oMagnet_0001_FFFF_0001_0001, _KSL_x, _KSL_y, _KSL_x, _KSL_y);
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  		{
  
  			if((CKerName*)KerMain->callint(1553, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_GetSmer_0001_FFFF_0001_0001, 5, 0) == (*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001))
  				KerMain->call(1553, (*(CKerArrObject**)_KSG_oMagnet_0001_FFFF_0001_0001__M_objsD_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  			{
  				DIRECT_CALL_END
  				return; 
  			}
  		}
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001
  void _KSM_1559_Deactivate_0001_FFFF_0001_0001() {
  
  	if(!(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	KerServices.AreaCall(1561, _KSID_RemoveForce_0001_FFFF_0001_0001, 0, _KSID_PritahovanoMagnetem_0001_FFFF_0001_0001, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001));
  	KerMain->DeleteObject(1562, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerMain->DeleteObject(1563, (*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  	(*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_mforce_0001_FFFF_0001_0001) = 0;
  
  	if(KER_ARGUMENT(int, 0))
  		return;
  	int _KSL_z;
  	KerServices.FindObjCell(KerContext->KCthis, &(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), &(*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), &_KSL_z);
  	_KSDM_oMagnet_0001_FFFF_0001_0001__M_Deactivate2_0001_FFFF_0001_0001(1570, KerContext->KCthis, (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001), (*(int*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001), _KSL_z);
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1487__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->call(1574, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_1490__KN_MapRemoved_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->call(1577, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_1580__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if((*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  	{
  
  		if(KerServices.IsFMemberOfS(KER_ARGUMENT(CKerName*, 1), _KSID_oAntiMagnet_0001_FFFF_0001_0001))
  		{
  			KerMain->call(1583, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 1, eKTint, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001__M_kill_0001_FFFF_0001_0001, 1);
  			int _KSL_x;
  			int _KSL_y;
  			int _KSL_z;
  			KerServices.FindObjCell(KER_ARGUMENT(OPointer, 0), &_KSL_x, &_KSL_y, &_KSL_z);
  			_KSDM_oMagnet_0001_FFFF_0001_0001__M_Deactivate2_0001_FFFF_0001_0001(1586, KerContext->KCthis, _KSL_x, _KSL_y, _KSL_z);
  			KerMain->call(1587, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  		}
  		else
  		{
  
  			if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Sever_0001_FFFF_0001_0001)
  				KerMain->message(1589, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 8, _KSID_PriMagnet_0001_FFFF_0001_0001, _KSID_ForceMagnet_0001_FFFF_0001_0001, 33);
  			else
  
  				if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Vychod_0001_FFFF_0001_0001)
  					KerMain->message(1590, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 12, _KSID_PriMagnet_0001_FFFF_0001_0001, _KSID_ForceMagnet_0001_FFFF_0001_0001, 33);
  				else
  
  					if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Zapad_0001_FFFF_0001_0001)
  						KerMain->message(1591, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 4, _KSID_PriMagnet_0001_FFFF_0001_0001, _KSID_ForceMagnet_0001_FFFF_0001_0001, 33);
  					else
  
  						if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Jih_0001_FFFF_0001_0001)
  							KerMain->message(1592, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 16, _KSID_PriMagnet_0001_FFFF_0001_0001, _KSID_ForceMagnet_0001_FFFF_0001_0001, 33);
  		}
  	}
  }
  
  //_KSID_oMagnet_0001_FFFF_0001_0001::_KSID__KN_TriggerOff
  void _KSM_1597__KN_TriggerOff_0001_FFFF_0001_0001() {
  
  	if((*(OPointer*)_KSOV_oMagnet_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  	{
  
  		if(KerServices.IsFMemberOfS(KER_ARGUMENT(CKerName*, 1), _KSID_oAntiMagnet_0001_FFFF_0001_0001))
  		{
  			KerMain->call(1600, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 1, eKTint, _KSID_oMagnet_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001__M_kill_0001_FFFF_0001_0001, 1);
  			KerMain->call(1601, KerContext->KCthis, _KSID_oMagnet_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  		}
  		else
  		{
  			KerMain->message(1603, KER_ARGUMENT(OPointer, 0), _KSID_RemoveForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  		}
  	}
  }
  
  //_KSID_oklic_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_515_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001) = _KSID_Cervena_0001_FFFF_0001_0001;
  }
  
  //_KSID_oklic_0001_FFFF_0001_0001::_KSID_GetBarva_0001_FFFF_0001_0001
  void _KSM_516_GetBarva_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oklic_0001_FFFF_0001_0001::_KSID_SetBarva_0001_FFFF_0001_0001
  void _KSM_517_SetBarva_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oklic_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  }
  
  //_KSID_oStartsMove_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_551__KN_MapRemoved_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerServices.AreaMessage(552, _KSID_CalcMove_0001_FFFF_0001_0001, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001, -1, -1, 1, 1);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_610_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_610_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_GetLastDir_0001_FFFF_0001_0001
  void _KSM_614_GetLastDir_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_616_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001) = _KSID_oBlockedPath_0001_FFFF_0001_0001;
  	KerMain->message(627, KerContext->KCthis, _KSID_SetBlockedPath_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001) = 33;
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_616_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001) = _KSID_oBlockedPath_0001_FFFF_0001_0001;
  	KerMain->message(627, KerContext->KCthis, _KSID_SetBlockedPath_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001) = 33;
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_CopyConstructor
  void _KSM_630_CopyConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001) = new CKerArrObject();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001) = new CKerArrName();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001) = new CKerArrInt();
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001) = new CKerArrObject();
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_641_Destructor_0001_FFFF_0001_0001() {
  	delete (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001);
  	delete (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001);
  	delete (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001);
  	delete (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001);
  	delete (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001);
  	delete (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001);
  	delete (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_AddForce_0001_FFFF_0001_0001
  void _KSM_653_AddForce_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_pos;
  	_KSL_pos = (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->GetCount();
  
  	for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  	{
  
  		if((*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->Read(_KSL_f) == 0)
  		{
  			_KSL_pos = _KSL_f;
  			break;
  		}
  	}
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->Get(_KSL_pos) = KerContext->Sender;
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_pos) = KER_ARGUMENT(int, 0);
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Get(_KSL_pos) = KER_ARGUMENT(CKerName*, 1);
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Get(_KSL_pos) = KER_ARGUMENT(CKerName*, 2);
  
  	if(KerContext->ParamsInfo[3])
  		(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Get(_KSL_pos) = KER_ARGUMENT(int, 3);
  	else
  		(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Get(_KSL_pos) = (*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001);
  	KerMain->call(665, KerContext->KCthis, _KSID_CalcMove_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_RemoveForce_0001_FFFF_0001_0001
  void _KSM_669_RemoveForce_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  	{
  
  		if((*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->Read(_KSL_f) == KerContext->Sender)
  			(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->Get(_KSL_f) = 0;
  	}
  	KerMain->call(674, KerContext->KCthis, _KSID_CalcMove_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_677__KN_MapPlaced_0001_FFFF_0001_0001() {
  	KerMain->call(678, KerContext->KCthis, _KSID_CalcMove_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_CalcMove_0001_FFFF_0001_0001
  void _KSM_682_CalcMove_0001_FFFF_0001_0001() {
  
  	if(!(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001)&&!(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001)&&KerMain->IsGameMode())
  	{
  		(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 1;
  		KerMain->message(686, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001__M_CalcMove2_0001_FFFF_0001_0001, eKerCTend, 0, 0);
  		KerMain->message(687, KerContext->KCthis, _KSID_MoveCalculating_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  	}
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_oMoveable_0001_FFFF_0001_0001__M_CalcMove2_0001_FFFF_0001_0001
  void _KSM_693_CalcMove2_0001_FFFF_0001_0001() {
  	int _KSL_TestedDirs[17];
  	CKerArrObject* _KSL_TestedObjs[17];
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 0;
  
  	if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001)||!KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  		return;
  	int _KSL_f;
  	int _KSL_g;
  	int _KSL_a;
  	int _KSL_OldTop;
  	_KSL_OldTop = (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->GetCount();
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  		_KSL_TestedDirs[_KSL_f] = 1;
  		_KSL_TestedObjs[_KSL_f] = 0;
  	}
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_OldTop ;_KSL_f++)
  	{
  
  		if((*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->Read(_KSL_f) == 0)
  			(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Get(_KSL_f) = 0;
  		else
  		{
  
  			if(KerServices.IsFMemberOfS((*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_BanningForce_0001_FFFF_0001_0001))
  			{
  				(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Get(_KSL_f) = 2;
  				_KSL_a = (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_f) + 8;
  
  				if(_KSL_a > 16)
  					_KSL_a = _KSL_a - 16;
  
  				for(_KSL_g = 0 ;_KSL_g < _KSL_f ;_KSL_g++)
  
  					if((*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Read(_KSL_g) == 2&&(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_g) == _KSL_a)
  					{
  						(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Get(_KSL_f) = 0;
  						(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Get(_KSL_g) = 0;
  						break;
  					}
  			}
  			else
  				(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Get(_KSL_f) = 1;
  		}
  	}
  	_KSDM_oMoveable_0001_FFFF_0001_0001__M_TestDir_0001_FFFF_0001_0001(726, KerContext->KCthis, 0, _KSL_OldTop, _KSL_OldTop, _KSL_TestedDirs, _KSL_TestedObjs);
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  
  		if(_KSL_TestedObjs[_KSL_f])
  			delete _KSL_TestedObjs[_KSL_f];
  	}
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSDM_oMoveable_0001_FFFF_0001_0001__M_TestDir_0001_FFFF_0001_0001
  int _KSM_733_TestDir_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_Bottom, int _KSL_Top, int _KSL_OldTop, int* _KSL_TestedDirs, CKerArrObject** _KSL_TestedObjs) {
  	DIRECT_CALL_BEGIN(_KSID_oMoveable_0001_FFFF_0001_0001,"_KSM_733_TestDir_0001_FFFF_0001_0001",0)
  	int _KSL_best;
  	int _KSL_f;
  	int _KSL_olddir;
  	int _KSL_top2;
  	CKerArrInt* _KSL_rcells;
  	int _KSL_OK;
  
  	while(1)
  	{
  		_KSL_best = _KSL_Top;
  
  		for(_KSL_f = _KSL_Bottom ;_KSL_f < _KSL_Top ;_KSL_f++)
  		{
  
  			if((*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_f) < 0||(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_f) > 16)
  				KerServices.LogUserError(744, eKEGPanicError, 0, "Pristup Mimo Meze!");
  
  			if((_KSL_f >= _KSL_OldTop||(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Read(_KSL_f))&&_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_f)]&&(_KSL_best == _KSL_Top||(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_f) == (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_best)&&mtr.randInt(1)||(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_f) != (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_best)&&KerServices.IsFMemberOfS((*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_best), (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_f))))
  			{
  				_KSL_best = _KSL_f;
  			}
  		}
  
  		if(_KSL_best == _KSL_Top)
  			{
  				int _KSTMP_RET = 0;
  				DIRECT_CALL_END
  				return _KSTMP_RET;
  			}
  		(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_Top) = (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_best);
  		(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Get(_KSL_Top) = (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->Read(_KSL_best);
  		_KSL_OK = 1;
  		(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Get(_KSL_Top) = (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Read(_KSL_best);
  		(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Get(_KSL_Top) = (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Read(_KSL_best);
  
  		if(_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_best)] == 1)
  		{
  			_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_best)] = 2;
  
  			for(_KSL_f = 0 ;_KSL_f < _KSL_OldTop ;_KSL_f++)
  
  				if((*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->Read(_KSL_f) == 2)
  				{
  					_KSL_olddir = (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top);
  					(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_Top) = _KSDM_oMoves_0001_FFFF_0001_0001__M_BanningTest_0001_FFFF_0001_0001(761, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_f), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top));
  
  					if(_KSL_olddir != (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top))
  					{
  						_KSL_TestedDirs[_KSL_olddir] = 0;
  
  						if((*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top) < 0||(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top) > 16)
  							KerServices.LogUserError(764, eKEGPanicError, 0, "Pristup Mimo Meze!");
  
  						if((*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top) == 0||_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top)] != 1)
  						{
  							_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_Top)] = 0;
  							_KSL_OK = 0;
  							break;
  						}
  						_KSL_TestedDirs[(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Get(_KSL_Top)] = 2;
  					}
  				}
  		}
  
  		if(_KSL_OK&&(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top))
  		{
  			_KSL_olddir = (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top);
  
  			if(_KSL_TestedObjs[_KSL_olddir] == 0)
  			{
  				int _KSL_x;
  				int _KSL_y;
  				int _KSL_z;
  				KerServices.FindObjCell(KerContext->KCthis, &_KSL_x, &_KSL_y, &_KSL_z);
  				_KSL_rcells = _KSDM_oMoves_0001_FFFF_0001_0001__M_GetPath_0001_FFFF_0001_0001(780, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), _KSL_olddir);
  				(*(CKerArrInt**)_KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001)->SetCount(0);
  
  				for(_KSL_f = 0 ;_KSL_f < _KSL_rcells->GetCount() / 2 ;_KSL_f++)
  				{
  					(*(CKerArrInt**)_KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001)->Get(_KSL_f * 3) = _KSL_x + _KSL_rcells->Read(_KSL_f * 2);
  					(*(CKerArrInt**)_KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001)->Get(_KSL_f * 3 + 1) = _KSL_y + _KSL_rcells->Read(_KSL_f * 2 + 1);
  					(*(CKerArrInt**)_KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001)->Get(_KSL_f * 3 + 2) = _KSL_z;
  				}
  				_KSL_TestedObjs[_KSL_olddir] = (CKerArrObject*)KerMain->callint(787, (*(OPointer*)_KSG_Map_0001_000F_0001_1001), _KSID__KN_MGetObjects, 11, 1, eKTarrInt, _KSID__KN_CellsArray, (*(CKerArrInt**)_KSG_oMoveable_0001_FFFF_0001_0001__M_cells_0001_FFFF_0001_0001));
  			}
  
  			for(_KSL_f = 0 ;_KSL_f < _KSL_TestedObjs[_KSL_olddir]->GetCount() ;_KSL_f++)
  			{
  
  				if(_KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f) != KerContext->KCthis)
  				{
  
  					if(KerServices.IsFMemberOfS(KerMain->GetObjType(_KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f)), _KSID_TTMOConsumer_0001_FFFF_0001_0001))
  						KerMain->call(792, _KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f), _KSID_TraingToMoveOver_0001_FFFF_0001_0001, 3, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top), eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Read(_KSL_Top), eKTname, _KSID_pftype_0001_FFFF_0001_0001, (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Read(_KSL_Top));
  					else
  
  						if(KerServices.ExistsObj(_KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f)))
  							KerMain->message(793, _KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f), _KSID_TraingToMoveOver_0001_FFFF_0001_0001, eKerCTmsg, 0, 3, eKTint, eKTint, eKTname, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Read(_KSL_Top), (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Read(_KSL_Top));
  
  					if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001))
  						{
  							int _KSTMP_RET = 1;
  							DIRECT_CALL_END
  							return _KSTMP_RET;
  						}
  				}
  
  				if(KerServices.IsFMemberOfS(_KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f), _KSID_oModifyTr_0001_FFFF_0001_0001))
  				{
  					OPointer _KSL_obj;
  					_KSL_obj = _KSL_TestedObjs[_KSL_olddir]->Read(_KSL_f);
  					_KSL_TestedObjs[_KSL_olddir]->Get(_KSL_f) = 0;
  					_KSL_top2 = KerMain->callint(800, _KSL_obj, _KSID_ModifyTrajektory_0001_FFFF_0001_0001, 2, 5, eKTint, _KSID_ptrpos_0001_FFFF_0001_0001, _KSL_Top, eKTarrInt, _KSID_Pfdir_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001), eKTarrName, _KSID_Pfpriority_0001_FFFF_0001_0001, (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001), eKTarrInt, _KSID_Pfspeed_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001), eKTarrName, _KSID_Pftype_0001_FFFF_0001_0001, (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001));
  
  					if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001))
  						{
  							int _KSTMP_RET = 1;
  							DIRECT_CALL_END
  							return _KSTMP_RET;
  						}
  
  					if(_KSL_olddir != (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top)||_KSL_top2 < _KSL_Top)
  					{
  						_KSL_TestedDirs[_KSL_olddir] = 0;
  
  						if(_KSL_top2 >= _KSL_Top)
  						{
  
  							if(_KSDM_oMoveable_0001_FFFF_0001_0001__M_TestDir_0001_FFFF_0001_0001(807, KerContext->KCthis, _KSL_Top, _KSL_top2 + 1, _KSL_OldTop, _KSL_TestedDirs, _KSL_TestedObjs))
  								{
  									int _KSTMP_RET = 1;
  									DIRECT_CALL_END
  									return _KSTMP_RET;
  								}
  						}
  						_KSL_OK = 0;
  						break;
  					}
  					else
  
  						if(_KSL_top2 > _KSL_Top)
  						{
  
  							if(_KSDM_oMoveable_0001_FFFF_0001_0001__M_TestDir_0001_FFFF_0001_0001(813, KerContext->KCthis, _KSL_Top, _KSL_top2 + 1, _KSL_OldTop, _KSL_TestedDirs, _KSL_TestedObjs))
  								{
  									int _KSTMP_RET = 1;
  									DIRECT_CALL_END
  									return _KSTMP_RET;
  								}
  							_KSL_OK = 0;
  							break;
  						}
  				}
  			}
  
  			if(_KSL_OK)
  			{
  				_KSL_rcells = _KSDM_oMoves_0001_FFFF_0001_0001__M_GetPath_0001_FFFF_0001_0001(820, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), _KSL_olddir);
  
  				for(_KSL_f = 0 ;_KSL_f < _KSL_rcells->GetCount() / 2 ;_KSL_f++)
  				{
  
  					if(KerMain->MapInfo->IsObjInCollision(823, KerContext->KCthis, _KSL_rcells->Read(_KSL_f * 2) * 40, _KSL_rcells->Read(_KSL_f * 2 + 1) * 40))
  					{
  						_KSL_TestedDirs[_KSL_olddir] = 0;
  
  						if((*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001)&&(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) == _KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001(825, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top)))
  							KerMain->message(825, KerContext->KCthis, _KSID_NarazilJsem_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  						_KSL_OK = 0;
  						break;
  					}
  
  					if(_KSL_f)
  
  						if(KerMain->callint(830, KerContext->KCthis, _KSID_IsInMoveCollision_0001_FFFF_0001_0001, 2 | eKTretOR, 5, eKTint, _KSID_pCellX_0001_FFFF_0001_0001, _KSL_rcells->Read(_KSL_f * 2), eKTint, _KSID_pCellY_0001_FFFF_0001_0001, _KSL_rcells->Read(_KSL_f * 2 + 1), eKTint, _KSID_pfdir_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top), eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Read(_KSL_Top), eKTname, _KSID_pftype_0001_FFFF_0001_0001, (*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->Read(_KSL_Top)))
  						{
  							_KSL_TestedDirs[_KSL_olddir] = 0;
  
  							if((*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001)&&(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) == _KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001(832, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top)))
  								KerMain->message(832, KerContext->KCthis, _KSID_NarazilJsem_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  							_KSL_OK = 0;
  							break;
  						}
  				}
  
  				if(_KSL_OK)
  				{
  					_KSDM_oMoveable_0001_FFFF_0001_0001__M_StartMove_0001_FFFF_0001_0001(838, KerContext->KCthis, (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->Read(_KSL_Top), (*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->Read(_KSL_Top));
  					{
  						int _KSTMP_RET = 1;
  						DIRECT_CALL_END
  						return _KSTMP_RET;
  					}
  				}
  			}
  		}
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSDM_oMoveable_0001_FFFF_0001_0001__M_StartMove_0001_FFFF_0001_0001
  void _KSM_847_StartMove_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir, int _KSL_speed) {
  	DIRECT_CALL_BEGIN(_KSID_oMoveable_0001_FFFF_0001_0001,"_KSM_847_StartMove_0001_FFFF_0001_0001",;)
  	int _KSL_f;
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  	CKerArrInt* _KSL_rcells;
  	_KSL_rcells = _KSDM_oMoves_0001_FFFF_0001_0001__M_GetPath_0001_FFFF_0001_0001(850, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), _KSL_dir);
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->SetCount(0);
  	KerServices.FindObjCell(KerContext->KCthis, &_KSL_x, &_KSL_y, &_KSL_z);
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_rcells->GetCount() / 2 ;_KSL_f++)
  	{
  		(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Get(_KSL_f) = KerMain->NewObject(855 , (*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001));
  		KerMain->call(856, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (_KSL_x + _KSL_rcells->Read(_KSL_f * 2)) * 40, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (_KSL_y + _KSL_rcells->Read(_KSL_f * 2 + 1)) * 40);
  		KerMain->MapInfo->PlaceObjToMap(857, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(_KSL_f));
  	}
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 1;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LSpeed_0001_FFFF_0001_0001) = _KSL_speed;
  	KerMain->call(862, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001, 3, eKTint, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Dir_0001_FFFF_0001_0001, _KSL_dir, eKTint, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Speed_0001_FFFF_0001_0001, _KSL_speed, eKTint, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Step_0001_FFFF_0001_0001, 0);
  	KerMain->message(863, KerContext->KCthis, _KSID_MoveStarted_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_oMoveable_0001_FFFF_0001_0001__M_WaitMoveEnded_0001_FFFF_0001_0001
  void _KSM_866_WaitMoveEnded_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 0;
  	KerMain->message(868, KerContext->KCthis, _KSID_MoveEnded_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  	KerMain->message(869, KerContext->KCthis, _KSID_CalcMove_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001
  void _KSM_873_DoMove_0001_FFFF_0001_0001() {
  
  	if(!KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  		return;
  	CKerArrInt* _KSL_path;
  	_KSL_path = _KSDM_oMoves_0001_FFFF_0001_0001__M_GetPathP_0001_FFFF_0001_0001(875, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0));
  	int _KSL_f;
  
  	if(KER_ARGUMENT(int, 2) * 3 >= _KSL_path->GetCount())
  	{
  		int _KSL_x1;
  		int _KSL_x2;
  		int _KSL_y1;
  		int _KSL_y2;
  		_KSDM_oMoves_0001_FFFF_0001_0001__M_GetDeBlockArea_0001_FFFF_0001_0001(881, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0), &_KSL_x1, &_KSL_x2, &_KSL_y1, &_KSL_y2);
  		KerServices.AreaMessage(882, _KSID_CalcMove_0001_FFFF_0001_0001, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(0), _KSID_oMoveable_0001_FFFF_0001_0001, _KSL_x1, _KSL_y1, _KSL_x2, _KSL_y2);
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  			KerMain->DeleteObject(883, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(_KSL_f));
  		(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->SetCount(0);
  		KerMain->message(886, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001__M_ClearLastMove_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  		KerMain->message(887, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001__M_WaitMoveEnded_0001_FFFF_0001_0001, eKerCTend, 0, 0);
  	}
  	else
  	{
  		int _KSL_time2;
  
  		if((*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001))
  		{
  			int _KSL_time1;
  			_KSL_time1 = KerMain->GetTime() - (*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001);
  			_KSL_time2 = _KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 2) * KER_ARGUMENT(int, 1) - _KSL_time1;
  			KerMain->MapInfo->MoveObjRel(895, KerContext->KCthis, (_KSL_path->Read(KER_ARGUMENT(int, 2) * 3) * _KSL_time1) / (_KSL_time1 + _KSL_time2), (_KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 1) * _KSL_time1) / (_KSL_time1 + _KSL_time2), 0);
  			KerServices.InitMoveTo(KerContext->KCthis, _KSL_time2, _KSL_path->Read(KER_ARGUMENT(int, 2) * 3) - (_KSL_path->Read(KER_ARGUMENT(int, 2) * 3) * _KSL_time1) / (_KSL_time1 + _KSL_time2), _KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 1) - (_KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 1) * _KSL_time1) / (_KSL_time1 + _KSL_time2), 0);
  		}
  		else
  		{
  			_KSL_time2 = _KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 2) * KER_ARGUMENT(int, 1);
  			KerServices.InitMoveTo(KerContext->KCthis, _KSL_time2, _KSL_path->Read(KER_ARGUMENT(int, 2) * 3), _KSL_path->Read(KER_ARGUMENT(int, 2) * 3 + 1));
  		}
  		(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastMTime_0001_FFFF_0001_0001) = KerMain->GetTime() + _KSL_time2;
  		KerMain->message(902, KerContext->KCthis, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001, eKerCTtimed, _KSL_time2, 3, eKTint, eKTint, eKTint, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Dir_0001_FFFF_0001_0001, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Speed_0001_FFFF_0001_0001, _KSID_oMoveable_0001_FFFF_0001_0001__M_DoMove_0001_FFFF_0001_0001__M_Step_0001_FFFF_0001_0001, KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2) + 1);
  
  		if(KER_ARGUMENT(int, 2) == 0)
  		{
  			(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) = _KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001(905, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0));
  
  			if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), _KSID_oSeSmerem_0001_FFFF_0001_0001))
  				KerMain->call(906, KerContext->KCthis, _KSID_SetSmer_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetSmer_0001_FFFF_0001_0001__M_Smer_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001));
  
  			if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), _KSID_oSeSmerem2_0001_FFFF_0001_0001))
  				KerMain->call(907, KerContext->KCthis, _KSID_SetSmer_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetSmer_0001_FFFF_0001_0001__M_Smer_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001));
  		}
  	}
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_oMoveable_0001_FFFF_0001_0001__M_ClearLastMove_0001_FFFF_0001_0001
  void _KSM_913_ClearLastMove_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) == 0)
  	{
  		(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) = 0;
  	}
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_919__KN_MapRemoved_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001) = 0;
  
  	if((*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->GetCount())
  	{
  		int _KSL_f;
  		KerServices.AreaMessage(923, _KSID_CalcMove_0001_FFFF_0001_0001, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(0), _KSID_oMoveable_0001_FFFF_0001_0001, -2, -2, 2, 2);
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  			KerMain->DeleteObject(924, (*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->Read(_KSL_f));
  		(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockingObjs_0001_FFFF_0001_0001)->SetCount(0);
  	}
  	(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_LastDir_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_WillCalculate_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fsource_0001_FFFF_0001_0001)->SetCount(0);
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fdir_0001_FFFF_0001_0001)->SetCount(0);
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fpriority_0001_FFFF_0001_0001)->SetCount(0);
  	(*(CKerArrName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_ftype_0001_FFFF_0001_0001)->SetCount(0);
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fspeed_0001_FFFF_0001_0001)->SetCount(0);
  	(*(CKerArrInt**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_fstate_0001_FFFF_0001_0001)->SetCount(0);
  }
  
  //_KSID_oMoveable_0001_FFFF_0001_0001::_KSID_SetBlockedPath_0001_FFFF_0001_0001
  void _KSM_1197_SetBlockedPath_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), _KSID_Veci_0001_FFFF_0001_0001))
  		(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001) = _KSID_oBlockedPath_0001_FFFF_0001_0001__M_Veci_0001_FFFF_0001_0001;
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), _KSID_LezeNadVecma_0001_FFFF_0001_0001))
  		(*(CKerName**)_KSOV_oMoveable_0001_FFFF_0001_0001__M_BlockedPath_0001_FFFF_0001_0001) = _KSID_oBlockedPath_0001_FFFF_0001_0001__M_LezeNadVecma_0001_FFFF_0001_0001;
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_975_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  	int _KSL_a;
  	int _KSL_b;
  	int _KSL_f2;
  
  	for(_KSL_g = 0 ;_KSL_g < 17 ;_KSL_g++)
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[0*17 + _KSL_g] = _KSL_g;
  
  	for(_KSL_f = 1 ;_KSL_f < 17 ;_KSL_f++)
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + 0] = 0;
  
  	for(_KSL_f = 1 ;_KSL_f < 17 ;_KSL_f++)
  
  		for(_KSL_g = 1 ;_KSL_g < 17 ;_KSL_g++)
  		{
  
  			if(_KSL_f&1)
  			{
  
  				if(_KSL_f&2)
  					_KSL_f2 = _KSL_f - 1;
  				else
  					_KSL_f2 = _KSL_f + 1;
  			}
  			else
  				_KSL_f2 = _KSL_f;
  			_KSL_a = _KSL_f2 + 6;
  
  			if(_KSL_a > 16)
  				_KSL_a = _KSL_a - 16;
  			_KSL_b = _KSL_f2 + 10;
  
  			if(_KSL_b > 16)
  				_KSL_b = _KSL_b - 16;
  
  			if(_KSL_g == _KSL_a)
  			{
  				_KSL_a = _KSL_g - 1;
  
  				if(_KSL_a == 0)
  					_KSL_a = 16;
  				((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_a;
  			}
  			else
  
  				if(_KSL_g == _KSL_b)
  				{
  					_KSL_a = _KSL_g + 1;
  
  					if(_KSL_a == 17)
  						_KSL_a = 1;
  					((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_a;
  				}
  				else
  
  					if((_KSL_g > _KSL_a&&(_KSL_g < _KSL_b||_KSL_b < _KSL_a))||(_KSL_b < _KSL_a&&_KSL_g < _KSL_b))
  					{
  						((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = 0;
  					}
  					else
  						((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_g;
  		}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_975_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  	int _KSL_a;
  	int _KSL_b;
  	int _KSL_f2;
  
  	for(_KSL_g = 0 ;_KSL_g < 17 ;_KSL_g++)
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[0*17 + _KSL_g] = _KSL_g;
  
  	for(_KSL_f = 1 ;_KSL_f < 17 ;_KSL_f++)
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + 0] = 0;
  
  	for(_KSL_f = 1 ;_KSL_f < 17 ;_KSL_f++)
  
  		for(_KSL_g = 1 ;_KSL_g < 17 ;_KSL_g++)
  		{
  
  			if(_KSL_f&1)
  			{
  
  				if(_KSL_f&2)
  					_KSL_f2 = _KSL_f - 1;
  				else
  					_KSL_f2 = _KSL_f + 1;
  			}
  			else
  				_KSL_f2 = _KSL_f;
  			_KSL_a = _KSL_f2 + 6;
  
  			if(_KSL_a > 16)
  				_KSL_a = _KSL_a - 16;
  			_KSL_b = _KSL_f2 + 10;
  
  			if(_KSL_b > 16)
  				_KSL_b = _KSL_b - 16;
  
  			if(_KSL_g == _KSL_a)
  			{
  				_KSL_a = _KSL_g - 1;
  
  				if(_KSL_a == 0)
  					_KSL_a = 16;
  				((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_a;
  			}
  			else
  
  				if(_KSL_g == _KSL_b)
  				{
  					_KSL_a = _KSL_g + 1;
  
  					if(_KSL_a == 17)
  						_KSL_a = 1;
  					((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_a;
  				}
  				else
  
  					if((_KSL_g > _KSL_a&&(_KSL_g < _KSL_b||_KSL_b < _KSL_a))||(_KSL_b < _KSL_a&&_KSL_g < _KSL_b))
  					{
  						((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = 0;
  					}
  					else
  						((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_f*17 + _KSL_g] = _KSL_g;
  		}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1000_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f] = new CKerArrInt();
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Get(0) = 0;
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Get(1) = 0;
  	}
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(2) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(3) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(4) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(3) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(4) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(6) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(7) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(3) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(4) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[4]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[4]->Get(3) = 0;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 2 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 2) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 2 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 2 + 1) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 2);
  		}
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->GetCount() ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g);
  		}
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1000_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f] = new CKerArrInt();
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Get(0) = 0;
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Get(1) = 0;
  	}
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(2) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(3) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(4) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[1]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(3) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(4) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(6) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[2]->Get(7) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(3) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(4) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[3]->Get(5) = -1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[4]->Get(2) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[4]->Get(3) = 0;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 2 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 2) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 2 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 2 + 1) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 2);
  		}
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->GetCount() ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g);
  		}
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1032_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f] = new CKerArrInt();
  	}
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(0) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(1) = -30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(2) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(3) = 10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(4) = -10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(5) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(6) = 30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(7) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(8) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(0) = 40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(1) = -40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(2) = 5;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(0) = 30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(1) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(2) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(3) = 10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(4) = -10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(5) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(6) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(7) = -30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(8) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(0) = 40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(1) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(2) = 5;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 3 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3 + 1) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3 + 2) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 2);
  		}
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 3 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3 + 1) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3 + 2) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 2);
  		}
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1032_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_g;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  	{
  		((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f] = new CKerArrInt();
  	}
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(0) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(1) = -30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(2) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(3) = 10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(4) = -10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(5) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(6) = 30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(7) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[1]->Get(8) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(0) = 40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(1) = -40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[2]->Get(2) = 5;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(0) = 30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(1) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(2) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(3) = 10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(4) = -10;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(5) = 1;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(6) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(7) = -30;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[3]->Get(8) = 2;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(0) = 40;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(1) = 0;
  	((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[4]->Get(2) = 5;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 3 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3 + 1) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(4 + _KSL_f)]->Get(_KSL_g * 3 + 2) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 2);
  		}
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  
  		for(_KSL_g = 0 ;_KSL_g < ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->GetCount() / 3 ;_KSL_g++)
  		{
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3 + 1) = -1 * ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 1);
  			((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[(8 + _KSL_f)]->Get(_KSL_g * 3 + 2) = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f]->Read(_KSL_g * 3 + 2);
  		}
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_1067_Destructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  		delete ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_f];
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_1072_Destructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  		delete ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_f];
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSDM_oMoves_0001_FFFF_0001_0001__M_BanningTest_0001_FFFF_0001_0001
  int _KSM_1078_BanningTest_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_bfdirection, int _KSL_direction) {
  	DIRECT_CALL_BEGIN(_KSID_oMoves_0001_FFFF_0001_0001,"_KSM_1078_BanningTest_0001_FFFF_0001_0001",0)
  
  	if(_KSL_bfdirection < 0||_KSL_bfdirection > 16)
  		KerServices.LogUserError(1079, eKEGPanicError, 0, "Pristup Mimo Meze!");
  
  	if(_KSL_direction < 0||_KSL_direction > 16)
  		KerServices.LogUserError(1080, eKEGPanicError, 0, "Pristup Mimo Meze!");
  	{
  		int _KSTMP_RET = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_banning_0001_FFFF_0001_0001)[_KSL_bfdirection*17 + _KSL_direction];
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSDM_oMoves_0001_FFFF_0001_0001__M_GetPath_0001_FFFF_0001_0001
  CKerArrInt* _KSM_1085_GetPath_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir) {
  	DIRECT_CALL_BEGIN(_KSID_oMoves_0001_FFFF_0001_0001,"_KSM_1085_GetPath_0001_FFFF_0001_0001",0)
  
  	if(_KSL_dir < 0||_KSL_dir > 16)
  		KerServices.LogUserError(1086, eKEGPanicError, 0, "Pristup Mimo Meze!");
  	{
  		CKerArrInt* _KSTMP_RET = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_path_0001_FFFF_0001_0001)[_KSL_dir];
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSDM_oMoves_0001_FFFF_0001_0001__M_GetPathP_0001_FFFF_0001_0001
  CKerArrInt* _KSM_1091_GetPathP_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir) {
  	DIRECT_CALL_BEGIN(_KSID_oMoves_0001_FFFF_0001_0001,"_KSM_1091_GetPathP_0001_FFFF_0001_0001",0)
  
  	if(_KSL_dir < 0||_KSL_dir > 16)
  		KerServices.LogUserError(1092, eKEGPanicError, 0, "Pristup Mimo Meze!");
  	{
  		CKerArrInt* _KSTMP_RET = ((CKerArrInt**)_KSOV_oMoves_0001_FFFF_0001_0001__M_pathp_0001_FFFF_0001_0001)[_KSL_dir];
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1101_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[1] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[1] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[1] = -2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[1] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[2] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[2] = 2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[2] = -2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[2] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[3] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[3] = 2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[3] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[3] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[4] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[4] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[4] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[4] = 1;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[(_KSL_f + 4)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[(_KSL_f + 4)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[(_KSL_f + 4)] = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[(_KSL_f + 4)] = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[_KSL_f];
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[_KSL_f];
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1101_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[1] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[1] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[1] = -2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[1] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[2] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[2] = 2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[2] = -2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[2] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[3] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[3] = 2;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[3] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[3] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[4] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[4] = 1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[4] = -1;
  	((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[4] = 1;
  
  	for(_KSL_f = 1 ;_KSL_f < 5 ;_KSL_f++)
  	{
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[(_KSL_f + 4)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[(_KSL_f + 4)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[(_KSL_f + 4)] = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[(_KSL_f + 4)] = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[_KSL_f];
  	}
  
  	for(_KSL_f = 1 ;_KSL_f < 9 ;_KSL_f++)
  	{
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[_KSL_f];
  		((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[(_KSL_f + 8)] = -1 * ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[_KSL_f];
  	}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSDM_oMoves_0001_FFFF_0001_0001__M_GetDeBlockArea_0001_FFFF_0001_0001
  void _KSM_1129_GetDeBlockArea_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir, int* _KSL_x1, int* _KSL_x2, int* _KSL_y1, int* _KSL_y2) {
  	DIRECT_CALL_BEGIN(_KSID_oMoves_0001_FFFF_0001_0001,"_KSM_1129_GetDeBlockArea_0001_FFFF_0001_0001",;)
  
  	if(_KSL_dir < 0||_KSL_dir > 16)
  		KerServices.LogUserError(1130, eKEGPanicError, 0, "Pristup Mimo Meze!");
  	*_KSL_x1 = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX1_0001_FFFF_0001_0001)[_KSL_dir];
  	*_KSL_x2 = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaX2_0001_FFFF_0001_0001)[_KSL_dir];
  	*_KSL_y1 = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY1_0001_FFFF_0001_0001)[_KSL_dir];
  	*_KSL_y2 = ((int*)_KSOV_oMoves_0001_FFFF_0001_0001__M_DeBlockAreaY2_0001_FFFF_0001_0001)[_KSL_dir];
  	DIRECT_CALL_END
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1138_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  
  		switch(_KSL_f)
  		{
  		case 16:
  		case 13:
  		case 3:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Sever_0001_FFFF_0001_0001;
  			break;
  		case 9:
  		case 12:
  		case 15:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Zapad_0001_FFFF_0001_0001;
  			break;
  		case 5:
  		case 8:
  		case 11:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Jih_0001_FFFF_0001_0001;
  			break;
  		case 1:
  		case 4:
  		case 7:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Vychod_0001_FFFF_0001_0001;
  			break;
  		case 2:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smSV_0001_FFFF_0001_0001;
  			break;
  		case 6:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smJV_0001_FFFF_0001_0001;
  			break;
  		case 10:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smJZ_0001_FFFF_0001_0001;
  			break;
  		case 14:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smSZ_0001_FFFF_0001_0001;
  			break;
  		default:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = 0;
  		}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1138_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 17 ;_KSL_f++)
  
  		switch(_KSL_f)
  		{
  		case 16:
  		case 13:
  		case 3:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Sever_0001_FFFF_0001_0001;
  			break;
  		case 9:
  		case 12:
  		case 15:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Zapad_0001_FFFF_0001_0001;
  			break;
  		case 5:
  		case 8:
  		case 11:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Jih_0001_FFFF_0001_0001;
  			break;
  		case 1:
  		case 4:
  		case 7:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_Vychod_0001_FFFF_0001_0001;
  			break;
  		case 2:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smSV_0001_FFFF_0001_0001;
  			break;
  		case 6:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smJV_0001_FFFF_0001_0001;
  			break;
  		case 10:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smJZ_0001_FFFF_0001_0001;
  			break;
  		case 14:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = _KSID_smSZ_0001_FFFF_0001_0001;
  			break;
  		default:
  			((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_f] = 0;
  		}
  }
  
  //_KSID_oMoves_0001_FFFF_0001_0001::_KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001
  CKerName* _KSM_1162_ConvertLastDir_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir) {
  	DIRECT_CALL_BEGIN(_KSID_oMoves_0001_FFFF_0001_0001,"_KSM_1162_ConvertLastDir_0001_FFFF_0001_0001",0)
  
  	if(_KSL_dir < 0||_KSL_dir > 16)
  		KerServices.LogUserError(1163, eKEGPanicError, 0, "Pristup Mimo Meze!");
  	{
  		CKerName* _KSTMP_RET = ((CKerName**)_KSOV_oMoves_0001_FFFF_0001_0001__M_LastDirs_0001_FFFF_0001_0001)[_KSL_dir];
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oBlockedPath_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1069_Constructor_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001) = KerContext->Sender;
  }
  
  //_KSID_oBlockedPath_0001_FFFF_0001_0001::_KSID_GetFather_0001_FFFF_0001_0001
  void _KSM_1070_GetFather_0001_FFFF_0001_0001() {
  	{ KER_RETARG(OPointer) = (*(OPointer*)_KSOV_oBlockedPath_0001_FFFF_0001_0001__M_Father_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oBlockedPath_0001_FFFF_0001_0001::_KSID_SetPos_0001_FFFF_0001_0001
  void _KSM_1183_SetPos_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oBlockedPath_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_SetOnOff_0001_FFFF_0001_0001
  void _KSM_1226_SetOnOff_0001_FFFF_0001_0001() {
  
  	if(KER_ARGUMENT(CKerName*, 0) == (*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001))
  		return;
  	(*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  
  	if(!KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  		return;
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_On_0001_FFFF_0001_0001)
  		KerMain->call(1230, KerContext->KCthis, _KSID_oPas_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_Off_0001_FFFF_0001_0001)
  		KerMain->call(1231, KerContext->KCthis, _KSID_oPas_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 0);
  	KerServices.ResetAuto(KerContext->KCthis, 0, 1);
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  	KerServices.FindObjCell(KerContext->KCthis, &_KSL_x, &_KSL_y, &_KSL_z);
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Sever_0001_FFFF_0001_0001)
  		_KSL_y--;
  	else
  
  		if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Vychod_0001_FFFF_0001_0001)
  			_KSL_x++;
  		else
  
  			if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Zapad_0001_FFFF_0001_0001)
  				_KSL_x--;
  			else
  
  				if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Jih_0001_FFFF_0001_0001)
  					_KSL_y++;
  
  	if((*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001)
  		KerServices.AreaMessage(1241, _KSID_TurnOn_0001_FFFF_0001_0001, 0, _KSID_oPas_0001_FFFF_0001_0001, _KSL_x, _KSL_y, _KSL_x, _KSL_y);
  	else
  		KerServices.AreaMessage(1242, _KSID_TurnOff_0001_FFFF_0001_0001, 0, _KSID_oPas_0001_FFFF_0001_0001, _KSL_x, _KSL_y, _KSL_x, _KSL_y);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_TurnOn_0001_FFFF_0001_0001
  void _KSM_1244_TurnOn_0001_FFFF_0001_0001() {
  	KerMain->call(1244, KerContext->KCthis, _KSID_SetOnOff_0001_FFFF_0001_0001, 1, eKTname, _KSID_pOnOff_0001_FFFF_0001_0001, _KSID_On_0001_FFFF_0001_0001);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_TurnOff_0001_FFFF_0001_0001
  void _KSM_1245_TurnOff_0001_FFFF_0001_0001() {
  	KerMain->call(1245, KerContext->KCthis, _KSID_SetOnOff_0001_FFFF_0001_0001, 1, eKTname, _KSID_pOnOff_0001_FFFF_0001_0001, _KSID_Off_0001_FFFF_0001_0001);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_GetOnOff_0001_FFFF_0001_0001
  void _KSM_1246_GetOnOff_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1247_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_On_0001_FFFF_0001_0001;
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_ChangeOnOff_0001_FFFF_0001_0001
  void _KSM_1248_ChangeOnOff_0001_FFFF_0001_0001() {
  
  	if((*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_Off_0001_FFFF_0001_0001)
  		KerMain->call(1248, KerContext->KCthis, _KSID_SetOnOff_0001_FFFF_0001_0001, 1, eKTname, _KSID_pOnOff_0001_FFFF_0001_0001, _KSID_On_0001_FFFF_0001_0001);
  	else
  		KerMain->call(1248, KerContext->KCthis, _KSID_SetOnOff_0001_FFFF_0001_0001, 1, eKTname, _KSID_pOnOff_0001_FFFF_0001_0001, _KSID_Off_0001_FFFF_0001_0001);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_oPas_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001
  void _KSM_1251_Activate_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(1253 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(1254, (*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(1255, (*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 3, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_VeciStrkatelnePasem_0001_FFFF_0001_0001, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_SubGr_0001_FFFF_0001_0001, 0, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(1256, (*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID_oPas_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001
  void _KSM_1261_Deactivate_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	KerMain->DeleteObject(1263, (*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  	KerServices.AreaMessage(1265, _KSID_RemoveForce_0001_FFFF_0001_0001, KerContext->KCthis, _KSID_VeciStrkatelnePasem_0001_FFFF_0001_0001);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1268__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if((*(CKerName**)_KSOV_oPas_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001)
  		KerMain->call(1269, KerContext->KCthis, _KSID_oPas_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_1272__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(!(*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	ME->PlaySample(_KSID_sPas_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Sever_0001_FFFF_0001_0001)
  		KerMain->message(1275, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 16, _KSID_PriorityOPas_0001_FFFF_0001_0001, _KSID_ForceOPas_0001_FFFF_0001_0001, 33);
  	else
  
  		if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Zapad_0001_FFFF_0001_0001)
  			KerMain->message(1276, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 12, _KSID_PriorityOPas_0001_FFFF_0001_0001, _KSID_ForceOPas_0001_FFFF_0001_0001, 33);
  		else
  
  			if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Vychod_0001_FFFF_0001_0001)
  				KerMain->message(1277, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 4, _KSID_PriorityOPas_0001_FFFF_0001_0001, _KSID_ForceOPas_0001_FFFF_0001_0001, 33);
  			else
  
  				if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Jih_0001_FFFF_0001_0001)
  					KerMain->message(1278, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 4, eKTint, eKTname, eKTname, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, _KSID_pfspeed_0001_FFFF_0001_0001, 8, _KSID_PriorityOPas_0001_FFFF_0001_0001, _KSID_ForceOPas_0001_FFFF_0001_0001, 33);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID__KN_TriggerOff
  void _KSM_1280__KN_TriggerOff_0001_FFFF_0001_0001() {
  
  	if(!(*(OPointer*)_KSOV_oPas_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	KerMain->message(1282, KER_ARGUMENT(OPointer, 0), _KSID_RemoveForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oPas_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_1285__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->call(1286, KerContext->KCthis, _KSID_oPas_0001_FFFF_0001_0001__M_Deactivate_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oLed_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1309__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(1311 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(1312, (*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(1313, (*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_KlouzePoLedu_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(1314, (*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oLed_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_1318__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(!KerServices.ExistsObj(KER_ARGUMENT(OPointer, 0)))
  		return;
  	CKerName* _KSL_smer;
  	_KSL_smer = (CKerName*)KerMain->callint(1320, KER_ARGUMENT(OPointer, 0), _KSID_GetLastDir_0001_FFFF_0001_0001, 5, 0);
  
  	if(_KSL_smer == _KSID_Sever_0001_FFFF_0001_0001)
  		KerMain->message(1321, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 3, eKTint, eKTname, eKTname, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, 16, _KSID_PriorityOLed_0001_FFFF_0001_0001, _KSID_ForceOLed_0001_FFFF_0001_0001);
  	else
  
  		if(_KSL_smer == _KSID_Zapad_0001_FFFF_0001_0001)
  			KerMain->message(1322, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 3, eKTint, eKTname, eKTname, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, 12, _KSID_PriorityOLed_0001_FFFF_0001_0001, _KSID_ForceOLed_0001_FFFF_0001_0001);
  		else
  
  			if(_KSL_smer == _KSID_Vychod_0001_FFFF_0001_0001)
  				KerMain->message(1323, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 3, eKTint, eKTname, eKTname, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, 4, _KSID_PriorityOLed_0001_FFFF_0001_0001, _KSID_ForceOLed_0001_FFFF_0001_0001);
  			else
  
  				if(_KSL_smer == _KSID_Jih_0001_FFFF_0001_0001)
  					KerMain->message(1324, KER_ARGUMENT(OPointer, 0), _KSID_AddForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 3, eKTint, eKTname, eKTname, _KSID_pfdir_0001_FFFF_0001_0001, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_pftype_0001_FFFF_0001_0001, 8, _KSID_PriorityOLed_0001_FFFF_0001_0001, _KSID_ForceOLed_0001_FFFF_0001_0001);
  				else
  					return;
  	KerMain->message(1326, KER_ARGUMENT(OPointer, 0), _KSID_RemoveForce_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  }
  
  //_KSID_oLed_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_1329__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(1330, (*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oLed_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oLed_0001_FFFF_0001_0001::_KSID_ZnicSeVeVybuchu_0001_FFFF_0001_0001
  void _KSM_2267_ZnicSeVeVybuchu_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		OPointer _KSL_o;
  		_KSL_o = KerMain->NewObject(2269 , _KSID_oVoda_0001_FFFF_0001_0001);
  		KerMain->MapInfo->ChangeObjCoords(2270, _KSL_o, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		KerMain->MapInfo->PlaceObjToMap(2271, _KSL_o);
  		KerMain->DeleteObject(2272, KerContext->KCthis);
  	}
  }
  
  //_KSID_oPriseraOt_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1355_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001) = _KSID_LevoTociva_0001_FFFF_0001_0001;
  }
  
  //_KSID_oPriseraOt_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1356__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->call(1357, KerContext->KCthis, _KSID_MoveEnded_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oPriseraOt_0001_FFFF_0001_0001::_KSID_MoveEnded_0001_FFFF_0001_0001
  void _KSM_1360_MoveEnded_0001_FFFF_0001_0001() {
  	KerMain->call(1361, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, 0);
  
  	if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Sever_0001_FFFF_0001_0001)
  	{
  
  		if((*(CKerName**)_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001) == _KSID_LevoTociva_0001_FFFF_0001_0001)
  		{
  			KerMain->call(1364, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1365, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1366, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1367, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		}
  		else
  		{
  			KerMain->call(1369, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1370, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1371, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			KerMain->call(1372, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		}
  	}
  	else
  
  		if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Vychod_0001_FFFF_0001_0001)
  		{
  
  			if((*(CKerName**)_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001) == _KSID_LevoTociva_0001_FFFF_0001_0001)
  			{
  				KerMain->call(1376, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1377, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1378, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1379, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			}
  			else
  			{
  				KerMain->call(1381, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1382, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1383, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				KerMain->call(1384, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  			}
  		}
  		else
  
  			if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Jih_0001_FFFF_0001_0001)
  			{
  
  				if((*(CKerName**)_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001) == _KSID_LevoTociva_0001_FFFF_0001_0001)
  				{
  					KerMain->call(1388, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1389, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1390, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1391, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				}
  				else
  				{
  					KerMain->call(1393, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1394, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1395, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					KerMain->call(1396, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  				}
  			}
  			else
  
  				if((*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001) == _KSID_Zapad_0001_FFFF_0001_0001)
  				{
  
  					if((*(CKerName**)_KSOV_oPriseraOt_0001_FFFF_0001_0001__M_Tocivost_0001_FFFF_0001_0001) == _KSID_LevoTociva_0001_FFFF_0001_0001)
  					{
  						KerMain->call(1400, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1401, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1402, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1403, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					}
  					else
  					{
  						KerMain->call(1405, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1406, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1407, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  						KerMain->call(1408, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  					}
  				}
  }
  
  //_KSID_oLineTr_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1428_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCrect1|eKCCcell|eKCCtriggerBit|eKCCcenterColBit;
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = 0;
  	(*(CKerName**)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerName**)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID__KN_Nothing;
  	(*(OPointer*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oLineTr_0001_FFFF_0001_0001::_KSID_SetPosSz_0001_FFFF_0001_0001
  void _KSM_1434_SetPosSz_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 2);
  	(*(int*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 3);
  }
  
  //_KSID_oLineTr_0001_FFFF_0001_0001::_KSID_SetClzGr_0001_FFFF_0001_0001
  void _KSM_1438_SetClzGr_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	(*(CKerName**)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 1);
  	(*(OPointer*)_KSOV_oLineTr_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = KER_ARGUMENT(OPointer, 2);
  }
  
  //_KSID_oMagnetForce_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1455_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCrect1|eKCCnothing;
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oMagnetForce_0001_FFFF_0001_0001::_KSID_SetPosSz_0001_FFFF_0001_0001
  void _KSM_1459_SetPosSz_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 2);
  	(*(int*)_KSOV_oMagnetForce_0001_FFFF_0001_0001__M__KN_NumCellY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 3);
  }
  
  //_KSID_oPusobiKulate_0001_FFFF_0001_0001::_KSID_ModifyTrajektory_0001_FFFF_0001_0001
  void _KSM_1623_ModifyTrajektory_0001_FFFF_0001_0001() {
  
  	if(KerContext->Sender != KerContext->KCthis&&KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oPusobiKulate_0001_FFFF_0001_0001)&&KER_ARGUMENT(CKerArrName*, 4)->Read(KER_ARGUMENT(int, 0)) != _KSID_ForceStrkani_0001_FFFF_0001_0001&&(!(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), _KSID_oMoveable_0001_FFFF_0001_0001))||(CKerName*)KerMain->callint(1624, KerContext->KCthis, _KSID_GetLastDir_0001_FFFF_0001_0001, 5, 0) == 0))
  	{
  
  		if((KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0))&3) == 0)
  		{
  			KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) + 3;
  
  			if(KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0) + 1) > 16)
  				KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0) + 1) - 16;
  			KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0)) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) - 3;
  
  			if(KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) < 1)
  				KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0)) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) + 16;
  		}
  		else
  
  			if((KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0))&1) == 0)
  			{
  				KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) + 3;
  
  				if(KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0) + 1) > 16)
  					KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0) + 1) - 16;
  				KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0)) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) - 3;
  
  				if(KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) < 1)
  					KER_ARGUMENT(CKerArrInt*, 1)->Get(KER_ARGUMENT(int, 0)) = KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0)) + 16;
  			}
  			else
  				{ KER_RETARG(int) = KER_ARGUMENT(int, 0); return; }
  
  		if((CKerName*)KerMain->callint(1636, KerContext->Sender, _KSID_GetLastDir_0001_FFFF_0001_0001, 5, 0) == _KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001(1636, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), KER_ARGUMENT(CKerArrInt*, 1)->Read(KER_ARGUMENT(int, 0))))
  			KerMain->message(1636, KerContext->Sender, _KSID_NarazilJsem_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  		KER_ARGUMENT(CKerArrName*, 2)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrName*, 2)->Read(KER_ARGUMENT(int, 0));
  		KER_ARGUMENT(CKerArrInt*, 3)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrInt*, 3)->Read(KER_ARGUMENT(int, 0));
  		KER_ARGUMENT(CKerArrName*, 4)->Get(KER_ARGUMENT(int, 0) + 1) = KER_ARGUMENT(CKerArrName*, 4)->Read(KER_ARGUMENT(int, 0));
  		{ KER_RETARG(int) = KER_ARGUMENT(int, 0) + 1; return; }
  	}
  	{ KER_RETARG(int) = KER_ARGUMENT(int, 0); return; }
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1663_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1663_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1664__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  
  	if(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001))
  	{
  		(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001) = 1;
  		KerMain->call(1668, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_IncManik_0001_FFFF_0001_0001, 0);
  	}
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3] = 0;
  	KerMain->call(1672, KerContext->KCthis, _KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_1674_Destructor_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001))
  		KerMain->call(1675, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_DecManik_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001
  void _KSM_1678_ReSort_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_keep) {
  	DIRECT_CALL_BEGIN(_KSID_oManik_0001_FFFF_0001_0001,"_KSM_1678_ReSort_0001_FFFF_0001_0001",;)
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[_KSL_keep] = 1;
  
  	if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0]&&_KSL_keep != 0)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0]++;
  
  	if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1]&&_KSL_keep != 1)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1]++;
  
  	if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2]&&_KSL_keep != 2)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2]++;
  
  	if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3]&&_KSL_keep != 3)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3]++;
  	DIRECT_CALL_END
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001
  CKerName* _KSM_1685_GetMuflonPri_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_muf) {
  	DIRECT_CALL_BEGIN(_KSID_oManik_0001_FFFF_0001_0001,"_KSM_1685_GetMuflonPri_0001_FFFF_0001_0001",0)
  
  	switch(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[_KSL_muf])
  	{
  	case 1:
  		{
  			CKerName* _KSTMP_RET = _KSID_PriChci1_0001_FFFF_0001_0001;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	case 2:
  		{
  			CKerName* _KSTMP_RET = _KSID_PriChci2_0001_FFFF_0001_0001;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	case 3:
  		{
  			CKerName* _KSTMP_RET = _KSID_PriChci3_0001_FFFF_0001_0001;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	case 4:
  		{
  			CKerName* _KSTMP_RET = _KSID_PriChci4_0001_FFFF_0001_0001;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	}
  	{
  		CKerName* _KSTMP_RET = 0;
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001
  void _KSM_1695_EveryTurn_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  
  		if(((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)||(*(int*)_KSG_SdileneOvladani_0001_FFFF_0001_0001)))
  		{
  
  			if(Input->IsKeyDown(_KSID_keyLeft_0001_FFFF_0001_0001))
  			{
  
  				if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0] == 0)
  					_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001(1698, KerContext->KCthis, 0);
  			}
  			else
  				((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0] = 0;
  
  			if(Input->IsKeyDown(_KSID_keyRight_0001_FFFF_0001_0001))
  			{
  
  				if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1] == 0)
  					_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001(1699, KerContext->KCthis, 1);
  			}
  			else
  				((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1] = 0;
  
  			if(Input->IsKeyDown(_KSID_keyUp_0001_FFFF_0001_0001))
  			{
  
  				if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2] == 0)
  					_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001(1700, KerContext->KCthis, 2);
  			}
  			else
  				((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2] = 0;
  
  			if(Input->IsKeyDown(_KSID_keyDown_0001_FFFF_0001_0001))
  			{
  
  				if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3] == 0)
  					_KSDM_oManik_0001_FFFF_0001_0001__M_ReSort_0001_FFFF_0001_0001(1701, KerContext->KCthis, 3);
  			}
  			else
  				((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3] = 0;
  			KerMain->call(1702, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, 0);
  
  			if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[0])
  				KerMain->call(1703, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 12, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001(1703, KerContext->KCthis, 0), eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  
  			if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[1])
  				KerMain->call(1704, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001(1704, KerContext->KCthis, 1), eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  
  			if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[2])
  				KerMain->call(1705, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 16, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001(1705, KerContext->KCthis, 2), eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  
  			if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_muflon_0001_FFFF_0001_0001)[3])
  				KerMain->call(1706, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, 8, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSDM_oManik_0001_FFFF_0001_0001__M_GetMuflonPri_0001_FFFF_0001_0001(1706, KerContext->KCthis, 3), eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		}
  		KerMain->message(1708, KerContext->KCthis, _KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1990_Constructor_0001_FFFF_0001_0001() {
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2] = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1990_LoadConstructor_0001_FFFF_0001_0001() {
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1] = 0;
  	((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2] = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1994__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(1996 , _KSID_otrigger_0001_FFFF_0001_0001);
  	KerMain->call(1997, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(1998, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_Veci_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(1999, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_2003__KN_TriggerOn_0001_FFFF_0001_0001() {
  	CKerName* _KSL_b;
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oklic_0001_FFFF_0001_0001))
  	{
  		_KSL_b = (CKerName*)KerMain->callint(2006, KER_ARGUMENT(OPointer, 0), _KSID_GetBarva_0001_FFFF_0001_0001, 5, 0);
  
  		if(_KSL_b == _KSID_Cervena_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0] < 12)
  		{
  			ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  			((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]++;
  
  			if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  				KerMain->call(2010, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Cervena_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]);
  			KerMain->DeleteObject(2011, KER_ARGUMENT(OPointer, 0));
  		}
  		else
  
  			if(_KSL_b == _KSID_Modra_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1] < 12)
  			{
  				ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  				((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]++;
  
  				if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  					KerMain->call(2015, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Modra_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]);
  				KerMain->DeleteObject(2016, KER_ARGUMENT(OPointer, 0));
  			}
  			else
  
  				if(_KSL_b == _KSID_Zluta_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2] < 12)
  				{
  					ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  					((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]++;
  
  					if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  						KerMain->call(2020, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Zluta_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]);
  					KerMain->DeleteObject(2021, KER_ARGUMENT(OPointer, 0));
  				}
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_DecKlic_0001_FFFF_0001_0001
  void _KSM_2026_DecKlic_0001_FFFF_0001_0001() {
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_Cervena_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0])
  	{
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]--;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2029, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Cervena_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]);
  		{ KER_RETARG(int) = 1; return; }
  	}
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_Modra_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1])
  	{
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]--;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2034, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Modra_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]);
  		{ KER_RETARG(int) = 1; return; }
  	}
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_Zluta_0001_FFFF_0001_0001&&((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2])
  	{
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]--;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2039, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Zluta_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]);
  		{ KER_RETARG(int) = 1; return; }
  	}
  	{ KER_RETARG(int) = 0; return; }
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_2045__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(2046, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2107_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  		(*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001) = KerMain->NewObject(2109 , _KSID_oSebratelnaBomba_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2107_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  		(*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001) = KerMain->NewObject(2109 , _KSID_oSebratelnaBomba_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_2113_Destructor_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->DeleteObject(2114, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001));
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_2118__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oSebratelnaBomba_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001) < 12)
  	{
  		ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001)++;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2122, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetBomba_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001));
  		KerMain->DeleteObject(2123, KER_ARGUMENT(OPointer, 0));
  	}
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oSebratelnaMina_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001) < 12)
  	{
  		ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001)++;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2128, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetMina_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001));
  		KerMain->DeleteObject(2129, KER_ARGUMENT(OPointer, 0));
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSDM_oManik_0001_FFFF_0001_0001__M_TestKolize_0001_FFFF_0001_0001
  int _KSM_2135_TestKolize_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO) {
  	DIRECT_CALL_BEGIN(_KSID_oManik_0001_FFFF_0001_0001,"_KSM_2135_TestKolize_0001_FFFF_0001_0001",0)
  	int _KSL_z;
  	KerServices.FindObjCell(KerContext->KCthis, &(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001), &(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001), &_KSL_z);
  	KerMain->MapInfo->ChangeObjCoords(2138, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001), (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001) * 40, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001) * 40);
  
  	if(KerMain->MapInfo->IsObjInCollision(2139, (*(OPointer*)_KSOV_oManik_0001_FFFF_0001_0001__M_koliznik_0001_FFFF_0001_0001)))
  		{
  			int _KSTMP_RET = 0;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	else
  		{
  			int _KSTMP_RET = 1;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	DIRECT_CALL_END
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001
  void _KSM_2143_EveryTurn_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis)&&((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)||(*(int*)_KSG_SdileneOvladani_0001_FFFF_0001_0001)))
  	{
  		OPointer _KSL_o;
  
  		if(Input->IsKeyDown(_KSID_keyZ_0001_FFFF_0001_0001))
  		{
  
  			if(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001)&&_KSDM_oManik_0001_FFFF_0001_0001__M_TestKolize_0001_FFFF_0001_0001(2147, KerContext->KCthis))
  			{
  				(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001)--;
  
  				if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  					KerMain->call(2149, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetBomba_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001));
  				_KSL_o = KerMain->NewObject(2150 , _KSID_oBomba_0001_FFFF_0001_0001);
  				KerMain->MapInfo->ChangeObjCoords(2151, _KSL_o, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001) * 40, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001) * 40);
  				KerMain->MapInfo->PlaceObjToMap(2152, _KSL_o);
  				(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001) = 1;
  			}
  		}
  		else
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyBombaDown_0001_FFFF_0001_0001) = 0;
  
  		if(Input->IsKeyDown(_KSID_keyX_0001_FFFF_0001_0001))
  		{
  
  			if(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001)&&_KSDM_oManik_0001_FFFF_0001_0001__M_TestKolize_0001_FFFF_0001_0001(2157, KerContext->KCthis))
  			{
  				(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001)--;
  
  				if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  					KerMain->call(2159, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetMina_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001));
  				_KSL_o = KerMain->NewObject(2160 , _KSID_mina_0001_FFFF_0001_0001);
  				KerMain->MapInfo->ChangeObjCoords(2161, _KSL_o, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001) * 40, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001) * 40);
  				KerMain->MapInfo->PlaceObjToMap(2162, _KSL_o);
  				(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001) = 1;
  			}
  		}
  		else
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyMinaDown_0001_FFFF_0001_0001) = 0;
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2172_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2172_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_CopyConstructor
  void _KSM_2173_CopyConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_SetFocus_0001_FFFF_0001_0001
  void _KSM_2174_SetFocus_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  
  	if(KER_ARGUMENT(int, 0))
  	{
  
  		if((*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001) != KerContext->KCthis)
  		{
  			KerMain->call(2179, KerContext->KCthis, _KSID_ResetMenu_0001_FFFF_0001_0001, 0);
  
  			if(KerServices.ExistsObj((*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001)))
  				KerMain->call(2180, (*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001), _KSID_SetFocus_0001_FFFF_0001_0001, 1, eKTint, _KSID_SetFocus_0001_FFFF_0001_0001__M_focus_0001_FFFF_0001_0001, 0);
  			(*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001) = KerContext->KCthis;
  
  			if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  			{
  				KerMain->MapInfo->RemoveObjFromMap(2183, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001));
  				KerMain->MapInfo->ChangeObjCoords(2184, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  				KerMain->MapInfo->PlaceObjToMap(2185, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001));
  				KerServices.MConnectObjs((*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001), KerContext->KCthis);
  			}
  		}
  	}
  	else
  
  		if((*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001) == KerContext->KCthis)
  			(*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_GetFocus_0001_FFFF_0001_0001
  void _KSM_2191_GetFocus_0001_FFFF_0001_0001() {
  	{ KER_RETARG(int) = (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_2193__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)&&KerMain->IsGameMode())
  	{
  		KerMain->MapInfo->RemoveObjFromMap(2195, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001));
  		KerMain->MapInfo->ChangeObjCoords(2196, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		KerMain->MapInfo->PlaceObjToMap(2197, (*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001));
  		KerServices.MConnectObjs((*(OPointer*)_KSG_Skrolnik_0001_FFFF_0001_0001), KerContext->KCthis);
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_CopyManik_0001_FFFF_0001_0001
  void _KSM_2523_CopyManik_0001_FFFF_0001_0001() {
  	int _KSL__focus;
  	int _KSL__ziju;
  	KerMain->call(2525, KER_ARGUMENT(OPointer, 0), _KSID_ReadManik_0001_FFFF_0001_0001, 7, eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pSBomby_0001_FFFF_0001_0001, &((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001)), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pSMiny_0001_FFFF_0001_0001, &((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001)), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic0_0001_FFFF_0001_0001, &(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic1_0001_FFFF_0001_0001, &(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pSKlic2_0001_FFFF_0001_0001, &(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pFocus_0001_FFFF_0001_0001, &(_KSL__focus), eKTint | eKTret, _KSID_ReadManik_0001_FFFF_0001_0001__M_pziju_0001_FFFF_0001_0001, &(_KSL__ziju));
  
  	if(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001)&&_KSL__ziju)
  		KerMain->call(2526, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_IncManik_0001_FFFF_0001_0001, 0);
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ziju_0001_FFFF_0001_0001) = _KSL__ziju;
  	KerMain->call(2528, KerContext->KCthis, _KSID_SetFocus_0001_FFFF_0001_0001, 1, eKTint, _KSID_SetFocus_0001_FFFF_0001_0001__M_focus_0001_FFFF_0001_0001, _KSL__focus);
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_ReadManik_0001_FFFF_0001_0001
  void _KSM_2530_ReadManik_0001_FFFF_0001_0001() {
  	KER_ARGUMENT(int, 0) = (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001);
  	KER_ARGUMENT(int, 1) = (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001);
  	KER_ARGUMENT(int, 4) = ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0];
  	KER_ARGUMENT(int, 2) = ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1];
  	KER_ARGUMENT(int, 3) = ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2];
  	KER_ARGUMENT(int, 5) = (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001);
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2712_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 4 ;_KSL_f++)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_f] = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2712_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < 4 ;_KSL_f++)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_f] = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_2719__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oZnacky_0001_FFFF_0001_0001)&&Input->IsKeyDown(_KSID_keyA_0001_FFFF_0001_0001)&&((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)||(*(int*)_KSG_SdileneOvladani_0001_FFFF_0001_0001)))
  	{
  		int _KSL_typ;
  		_KSL_typ = 0;
  
  		if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oZnSmerova_0001_FFFF_0001_0001))
  			_KSL_typ = 0;
  		else
  
  			if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oZnZakazVjezdu_0001_FFFF_0001_0001))
  				_KSL_typ = 1;
  			else
  
  				if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oZnSedesat_0001_FFFF_0001_0001))
  					_KSL_typ = 2;
  				else
  
  					if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oZnNeSedesat_0001_FFFF_0001_0001))
  						_KSL_typ = 3;
  
  		if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ] < 12)
  		{
  			ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  			((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ]++;
  
  			if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  				KerMain->call(2729, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetZnacka_0001_FFFF_0001_0001, 2, eKTint, _KSID_MnuSetZnacka_0001_FFFF_0001_0001__M_Typ_0001_FFFF_0001_0001, _KSL_typ, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ]);
  			KerMain->DeleteObject(2730, KER_ARGUMENT(OPointer, 0));
  		}
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001
  void _KSM_2735_EveryTurn_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis)&&((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)||(*(int*)_KSG_SdileneOvladani_0001_FFFF_0001_0001)))
  	{
  
  		if(Input->IsKeyDown(_KSID_keyA_0001_FFFF_0001_0001))
  		{
  
  			if(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001))
  			{
  				(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001) = 1;
  				KerServices.FindObjsInArea(2740, (*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), KerContext->KCthis, _KSID_oZnacky_0001_FFFF_0001_0001);
  				int _KSL_f;
  
  				for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  					KerMain->message(2742, KerContext->KCthis, _KSID__KN_TriggerOn, eKerCTmsg, 0, 1, eKTobject, _KSID__KN_Object, (*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f));
  			}
  		}
  		else
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_ZmacknutoA_0001_FFFF_0001_0001) = 0;
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_oManik_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001
  void _KSM_2748_EveryTurn_0001_FFFF_0001_0001() {
  
  	if(!KerMain->MapInfo->IsObjInMap(KerContext->KCthis)||(!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001)&&!(*(int*)_KSG_SdileneOvladani_0001_FFFF_0001_0001)))
  		return;
  	OPointer _KSL_o;
  	int _KSL_typ;
  	_KSL_typ = -1;
  	CKerName* _KSL_smer;
  	_KSL_smer = 0;
  
  	if(Input->IsKeyDown(_KSID_key2_0001_FFFF_0001_0001))
  		_KSL_typ = 1;
  	else
  
  		if(Input->IsKeyDown(_KSID_key3_0001_FFFF_0001_0001))
  			_KSL_typ = 2;
  		else
  
  			if(Input->IsKeyDown(_KSID_key4_0001_FFFF_0001_0001))
  				_KSL_typ = 3;
  
  	if(_KSL_typ == -1)
  		(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001) = 0;
  
  	if(Input->IsKeyDown(_KSID_key1_0001_FFFF_0001_0001))
  	{
  		KerMain->message(2759, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  
  		if(Input->IsKeyDown(_KSID_keyUp_0001_FFFF_0001_0001))
  			_KSL_smer = _KSID_Sever_0001_FFFF_0001_0001;
  		else
  
  			if(Input->IsKeyDown(_KSID_keyDown_0001_FFFF_0001_0001))
  				_KSL_smer = _KSID_Jih_0001_FFFF_0001_0001;
  			else
  
  				if(Input->IsKeyDown(_KSID_keyRight_0001_FFFF_0001_0001))
  					_KSL_smer = _KSID_Vychod_0001_FFFF_0001_0001;
  				else
  
  					if(Input->IsKeyDown(_KSID_keyLeft_0001_FFFF_0001_0001))
  						_KSL_smer = _KSID_Zapad_0001_FFFF_0001_0001;
  
  		if(_KSL_smer)
  			_KSL_typ = 0;
  		else
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001) = 0;
  	}
  
  	if(_KSL_typ == -1)
  		return;
  
  	if(_KSL_typ == 0)
  	{
  		KerServices.FindObjsInArea(2770, (*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), KerContext->KCthis, _KSID_oZnSmerova_0001_FFFF_0001_0001);
  
  		if((*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount()&&!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001))
  		{
  			ME->PlaySample(_KSID_sSbirani_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  			KerMain->call(2774, (*(CKerArrObject**)_KSG_oManik_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0), _KSID_SetSmer_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetSmer_0001_FFFF_0001_0001__M_Smer_0001_FFFF_0001_0001, _KSL_smer);
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001) = 1;
  			return;
  		}
  	}
  
  	if(((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ]&&!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001)&&!(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001)&&_KSDM_oManik_0001_FFFF_0001_0001__M_TestKolize_0001_FFFF_0001_0001(2781, KerContext->KCthis))
  	{
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ]--;
  
  		if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  			KerMain->call(2783, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetZnacka_0001_FFFF_0001_0001, 2, eKTint, _KSID_MnuSetZnacka_0001_FFFF_0001_0001__M_Typ_0001_FFFF_0001_0001, _KSL_typ, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_typ]);
  
  		switch(_KSL_typ)
  		{
  		case 0:
  			_KSL_o = KerMain->NewObject(2786 , _KSID_oZnSmerova_0001_FFFF_0001_0001);
  			KerMain->call(2787, _KSL_o, _KSID_SetSmer_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetSmer_0001_FFFF_0001_0001__M_Smer_0001_FFFF_0001_0001, _KSL_smer);
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown1_0001_FFFF_0001_0001) = 1;
  			break;
  		case 1:
  			_KSL_o = KerMain->NewObject(2790 , _KSID_oZnZakazVjezdu_0001_FFFF_0001_0001);
  			break;
  		case 2:
  			_KSL_o = KerMain->NewObject(2791 , _KSID_oZnSedesat_0001_FFFF_0001_0001);
  			break;
  		case 3:
  			_KSL_o = KerMain->NewObject(2792 , _KSID_oZnNeSedesat_0001_FFFF_0001_0001);
  			break;
  		}
  		KerMain->MapInfo->ChangeObjCoords(2794, _KSL_o, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellX_0001_FFFF_0001_0001) * 40, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_cellY_0001_FFFF_0001_0001) * 40);
  		KerMain->MapInfo->PlaceObjToMap(2795, _KSL_o);
  
  		if(_KSL_typ)
  			(*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_KeyZnackyDown_0001_FFFF_0001_0001) = 1;
  	}
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_CopyManik_0001_FFFF_0001_0001
  void _KSM_2801_CopyManik_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int* _KSL_p;
  	_KSL_p = _KSDM_oManik_0001_FFFF_0001_0001__M_GetPointerToZnacky_0001_FFFF_0001_0001(2803, KER_ARGUMENT(OPointer, 0));
  
  	for(_KSL_f = 0 ;_KSL_f < 4 ;_KSL_f++)
  		((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_f] = _KSL_p[_KSL_f];
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSDM_oManik_0001_FFFF_0001_0001__M_GetPointerToZnacky_0001_FFFF_0001_0001
  int* _KSM_2806_GetPointerToZnacky_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO) {
  	DIRECT_CALL_BEGIN(_KSID_oManik_0001_FFFF_0001_0001,"_KSM_2806_GetPointerToZnacky_0001_FFFF_0001_0001",0)
  	{
  		int* _KSTMP_RET = ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001);
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oManik_0001_FFFF_0001_0001::_KSID_ResetMenu_0001_FFFF_0001_0001
  void _KSM_2811_ResetMenu_0001_FFFF_0001_0001() {
  	int _KSL_f;
  
  	if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  	{
  		KerMain->call(2814, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Cervena_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[0]);
  		KerMain->call(2815, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Modra_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[1]);
  		KerMain->call(2816, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetKlic_0001_FFFF_0001_0001, 2, eKTname, _KSID_MnuSetKlic_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Zluta_0001_FFFF_0001_0001, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SKlice_0001_FFFF_0001_0001)[2]);
  		KerMain->call(2817, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetBomba_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SBomby_0001_FFFF_0001_0001));
  		KerMain->call(2818, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetMina_0001_FFFF_0001_0001, 1, eKTint, _KSID_pCount_0001_FFFF_0001_0001, (*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SMiny_0001_FFFF_0001_0001));
  
  		for(_KSL_f = 0 ;_KSL_f < 4 ;_KSL_f++)
  			KerMain->call(2819, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_MnuSetZnacka_0001_FFFF_0001_0001, 2, eKTint, _KSID_MnuSetZnacka_0001_FFFF_0001_0001__M_Typ_0001_FFFF_0001_0001, _KSL_f, eKTint, _KSID_pCount_0001_FFFF_0001_0001, ((int*)_KSOV_oManik_0001_FFFF_0001_0001__M_SZnacky_0001_FFFF_0001_0001)[_KSL_f]);
  	}
  }
  
  //_KSID_oExit_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1734__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(1736 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(1737, (*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(1738, (*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 3, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_oManik_0001_FFFF_0001_0001, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_SubGr_0001_FFFF_0001_0001, 0, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(1739, (*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oExit_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_1743__KN_TriggerOn_0001_FFFF_0001_0001() {
  	KRKAL->GameVictory();
  	KerMain->call(1745, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_oManikControler_0001_FFFF_0001_0001__M_Terminate_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oExit_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_1748__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(1749, (*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oExit_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1773_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001) = new CKerArrObject();
  
  	if(KerMain->IsGameMode())
  		KerMain->call(1777, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1773_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001) = 0;
  	(*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001) = new CKerArrObject();
  
  	if(KerMain->IsGameMode())
  		KerMain->call(1777, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_IncManik_0001_FFFF_0001_0001
  void _KSM_1779_IncManik_0001_FFFF_0001_0001() {
  	(*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Get((*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->GetCount()) = KerContext->Sender;
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001)++;
  
  	if((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001) == 1)
  		KerMain->call(1782, KerContext->Sender, _KSID_SetFocus_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_DecManik_0001_FFFF_0001_0001
  void _KSM_1784_DecManik_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001)--;
  
  	if((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ManikCount_0001_FFFF_0001_0001) <= 0)
  		KerMain->message(1787, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_Terminate_0001_FFFF_0001_0001, eKerCTtimed, 1000, 0);
  	int _KSL_f;
  	_KSL_f = _KSDM_oManikControler_0001_FFFF_0001_0001__M_NajdiManika_0001_FFFF_0001_0001(1788, KerContext->KCthis, KerContext->Sender);
  
  	if(_KSL_f >= 0)
  		(*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Get(_KSL_f) = 0;
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_oManikControler_0001_FFFF_0001_0001__M_Terminate_0001_FFFF_0001_0001
  void _KSM_1791_Terminate_0001_FFFF_0001_0001() {
  
  	if(Input->KeyPressed())
  		KerMain->message(1792, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_Terminate_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  	else
  		KerMain->TerminateKernel();
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSDM_oManikControler_0001_FFFF_0001_0001__M_NajdiManika_0001_FFFF_0001_0001
  int _KSM_1796_NajdiManika_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, OPointer _KSL_m) {
  	DIRECT_CALL_BEGIN(_KSID_oManikControler_0001_FFFF_0001_0001,"_KSM_1796_NajdiManika_0001_FFFF_0001_0001",0)
  	int _KSL_f;
  
  	for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  
  		if((*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Read(_KSL_f) == _KSL_m)
  			{
  				int _KSTMP_RET = _KSL_f;
  				DIRECT_CALL_END
  				return _KSTMP_RET;
  			}
  	{
  		int _KSTMP_RET = -1;
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_oManikControler_0001_FFFF_0001_0001__M_PrepniManika_0001_FFFF_0001_0001
  void _KSM_1803_PrepniManika_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	int _KSL_oldf;
  	_KSL_oldf = _KSL_f = _KSDM_oManikControler_0001_FFFF_0001_0001__M_NajdiManika_0001_FFFF_0001_0001(1805, KerContext->KCthis, (*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001));
  	_KSL_f++;
  
  	if(_KSL_f >= (*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->GetCount())
  	{
  		_KSL_f = 0;
  
  		if(_KSL_oldf == -1)
  			return;
  	}
  
  	while(_KSL_f != _KSL_oldf)
  	{
  
  		if(KerServices.ExistsObj((*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Read(_KSL_f))&&KerMain->MapInfo->IsObjInMap((*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Read(_KSL_f)))
  		{
  			KerMain->call(1813, (*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_SetFocus_0001_FFFF_0001_0001, 0);
  			return;
  		}
  		_KSL_f++;
  
  		if(_KSL_f >= (*(CKerArrObject**)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Manici_0001_FFFF_0001_0001)->GetCount())
  		{
  			_KSL_f = 0;
  
  			if(_KSL_oldf == -1)
  				return;
  		}
  	}
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_oManikControler_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001
  void _KSM_1825_EveryTurn_0001_FFFF_0001_0001() {
  
  	if(Input->IsKeyDown(_KSID_keyTab_0001_FFFF_0001_0001))
  	{
  
  		if((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001) == 0)
  			KerMain->call(1827, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_PrepniManika_0001_FFFF_0001_0001, 0);
  		(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001) = 1;
  	}
  	else
  		(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_ZmacknutTab_0001_FFFF_0001_0001) = 0;
  	KerMain->message(1830, KerContext->KCthis, _KSID_oManikControler_0001_FFFF_0001_0001__M_EveryTurn_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_1838_Constructor_0001_FFFF_0001_0001() {
  	CGameMenu::Add2ProgressBars(0xFFFF0088, 0xFF00FFFF);
  	OPointer _KSL_o;
  	_KSL_o = KerMain->NewObject(1840 , _KSID_oklic_0001_FFFF_0001_0001);
  	KerMain->call(1841, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Cervena_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	KerMain->call(1843, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Modra_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	KerMain->call(1845, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Zluta_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSID_oSebratelnaBomba_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSID_oSebratelnaMina_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[0] = CGameMenu::AddItem(_KSID_oZnSmerova_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[1] = CGameMenu::AddItem(_KSID_oZnZakazVjezdu_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[2] = CGameMenu::AddItem(_KSID_oZnSedesat_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[3] = CGameMenu::AddItem(_KSID_oZnNeSedesat_0001_FFFF_0001_0001);
  	CGameMenu::Refresh();
  	KerMain->DeleteObject(1854, _KSL_o);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_1838_LoadConstructor_0001_FFFF_0001_0001() {
  	CGameMenu::Add2ProgressBars(0xFFFF0088, 0xFF00FFFF);
  	OPointer _KSL_o;
  	_KSL_o = KerMain->NewObject(1840 , _KSID_oklic_0001_FFFF_0001_0001);
  	KerMain->call(1841, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Cervena_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	KerMain->call(1843, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Modra_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	KerMain->call(1845, _KSL_o, _KSID_SetBarva_0001_FFFF_0001_0001, 1, eKTname, _KSID_SetBarva_0001_FFFF_0001_0001__M_Barva_0001_FFFF_0001_0001, _KSID_Zluta_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSL_o);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSID_oSebratelnaBomba_0001_FFFF_0001_0001);
  	(*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001) = CGameMenu::AddItem(_KSID_oSebratelnaMina_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[0] = CGameMenu::AddItem(_KSID_oZnSmerova_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[1] = CGameMenu::AddItem(_KSID_oZnZakazVjezdu_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[2] = CGameMenu::AddItem(_KSID_oZnSedesat_0001_FFFF_0001_0001);
  	((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[3] = CGameMenu::AddItem(_KSID_oZnNeSedesat_0001_FFFF_0001_0001);
  	CGameMenu::Refresh();
  	KerMain->DeleteObject(1854, _KSL_o);
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_MnuSetKlic_0001_FFFF_0001_0001
  void _KSM_1857_MnuSetKlic_0001_FFFF_0001_0001() {
  
  	if(KER_ARGUMENT(CKerName*, 0) == _KSID_Cervena_0001_FFFF_0001_0001)
  		CGameMenu::ObjectSetCount((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic1_0001_FFFF_0001_0001), KER_ARGUMENT(int, 1));
  	else
  
  		if(KER_ARGUMENT(CKerName*, 0) == _KSID_Modra_0001_FFFF_0001_0001)
  			CGameMenu::ObjectSetCount((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic2_0001_FFFF_0001_0001), KER_ARGUMENT(int, 1));
  		else
  
  			if(KER_ARGUMENT(CKerName*, 0) == _KSID_Zluta_0001_FFFF_0001_0001)
  				CGameMenu::ObjectSetCount((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Klic3_0001_FFFF_0001_0001), KER_ARGUMENT(int, 1));
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_MnuSetBomba_0001_FFFF_0001_0001
  void _KSM_1862_MnuSetBomba_0001_FFFF_0001_0001() {
  	CGameMenu::ObjectSetCount((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Bomba_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0));
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_MnuSetMina_0001_FFFF_0001_0001
  void _KSM_1865_MnuSetMina_0001_FFFF_0001_0001() {
  	CGameMenu::ObjectSetCount((*(int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Mina_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0));
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_MnuSetZnacka_0001_FFFF_0001_0001
  void _KSM_1869_MnuSetZnacka_0001_FFFF_0001_0001() {
  	CGameMenu::ObjectSetCount(((int*)_KSOV_oManikControler_0001_FFFF_0001_0001__M_Znacky_0001_FFFF_0001_0001)[KER_ARGUMENT(int, 0)], KER_ARGUMENT(int, 1));
  }
  
  //_KSID_oManikControler_0001_FFFF_0001_0001::_KSID_ZobrazHo_0001_FFFF_0001_0001
  void _KSM_1875_ZobrazHo_0001_FFFF_0001_0001() {
  
  	if(!KerServices.ExistsObj(KER_ARGUMENT(OPointer, 0)))
  		return;
  	KerMain->MapInfo->ChangeObjCoords(1877, KER_ARGUMENT(OPointer, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2));
  
  	if(KerMain->MapInfo->IsObjInCollision(1878, KER_ARGUMENT(OPointer, 0)))
  		KerMain->DeleteObject(1878, KER_ARGUMENT(OPointer, 0));
  	else
  		KerMain->MapInfo->PlaceObjToMap(1879, KER_ARGUMENT(OPointer, 0));
  }
  
  //_KSID_oObet1_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_1895_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oZabijak1_0001_FFFF_0001_0001))
  	{
  		KerMain->message(1897, KerContext->Sender, _KSID_Zabij_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  		KerMain->call(1898, KerContext->KCthis, _KSID_Umri_0001_FFFF_0001_0001, 0);
  	}
  }
  
  //_KSID_oHlina_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_1910_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oManik_0001_FFFF_0001_0001))
  	{
  		KerMain->DeleteObject(1912, KerContext->KCthis);
  	}
  }
  
  //_KSID_oHlina_0001_FFFF_0001_0001::_KSID_TeleportLook_0001_FFFF_0001_0001
  void _KSM_1915_TeleportLook_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oManik_0001_FFFF_0001_0001))
  	{
  		KerMain->DeleteObject(1917, KerContext->KCthis);
  	}
  }
  
  //_KSID_oObetPohybu1_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_1933_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oZabijiPohybem1_0001_FFFF_0001_0001)&&!(KerServices.IsFMemberOfS(KER_ARGUMENT(CKerName*, 1), _KSID_NezabijackaForce_0001_FFFF_0001_0001)))
  	{
  
  		if((KER_ARGUMENT(int, 0)&3) == 0&&_KSDM_oMoves_0001_FFFF_0001_0001__M_ConvertLastDir_0001_FFFF_0001_0001(1935, (*(OPointer*)_KSG_Moves_0001_FFFF_0001_0001), KER_ARGUMENT(int, 0)) == (CKerName*)KerMain->callint(1935, KerContext->Sender, _KSID_GetLastDir_0001_FFFF_0001_0001, 5, 0))
  			KerMain->message(1935, KerContext->KCthis, _KSID_ZnicSePadem_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  	}
  }
  
  //_KSID_oBomba_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_1978__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->message(1979, KerContext->KCthis, _KSID_ZnicSeVybuchem_0001_FFFF_0001_0001, eKerCTtimed, 660, 0);
  }
  
  //_KSID_oZamek_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2062_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001) = _KSID_Cervena_0001_FFFF_0001_0001;
  }
  
  //_KSID_oZamek_0001_FFFF_0001_0001::_KSID_GetBarva_0001_FFFF_0001_0001
  void _KSM_2063_GetBarva_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oZamek_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_2065_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oManik_0001_FFFF_0001_0001))
  	{
  
  		if(KerMain->callint(2067, KerContext->Sender, _KSID_DecKlic_0001_FFFF_0001_0001, 2, 1, eKTname, _KSID_DecKlic_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001)))
  			KerMain->message(2067, KerContext->KCthis, _KSID_OdemkniSe_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  	}
  }
  
  //_KSID_oZamek_0001_FFFF_0001_0001::_KSID_TeleportLook_0001_FFFF_0001_0001
  void _KSM_2070_TeleportLook_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oManik_0001_FFFF_0001_0001))
  	{
  
  		if(KerMain->callint(2072, KER_ARGUMENT(OPointer, 0), _KSID_DecKlic_0001_FFFF_0001_0001, 2, 1, eKTname, _KSID_DecKlic_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oZamek_0001_FFFF_0001_0001__M_barva_0001_FFFF_0001_0001)))
  			KerMain->message(2072, KerContext->KCthis, _KSID_OdemkniSe_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  	}
  }
  
  //_KSID_oZamek_0001_FFFF_0001_0001::_KSID_OdemkniSe_0001_FFFF_0001_0001
  void _KSM_2076_OdemkniSe_0001_FFFF_0001_0001() {
  	ME->PlaySample(_KSID_sPrepinac_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->DeleteObject(2078, KerContext->KCthis);
  }
  
  //_KSID__KN_ScrollObj::_KSID_Constructor
  void _KSM_2089_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint|eKCCnothing;
  }
  
  //_KSID__KN_ScrollObj::_KSID_LoadConstructor
  void _KSM_2089_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV__KN_ScrollObj__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint|eKCCnothing;
  }
  
  //_KSID_oVoda_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_2220__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(2222 , _KSID_oPointTr_0001_FFFF_0001_0001);
  	KerMain->call(2223, (*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPos_0001_FFFF_0001_0001, 2, eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPos_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->call(2224, (*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_PadaDoVody_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(2225, (*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oVoda_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_2229__KN_TriggerOn_0001_FFFF_0001_0001() {
  	KerMain->message(2230, KER_ARGUMENT(OPointer, 0), _KSID_SpadniDoVody_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oVoda_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_2233__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(2234, (*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oVoda_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2311_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001) = 2456128;
  	(*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001) = -2456128;
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_2312__KN_MapPlaced_0001_FFFF_0001_0001() {
  	int _KSL_z;
  
  	if((*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001) == 2456128&&(*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001) == -2456128)
  	{
  		KerServices.FindObjCell(KerContext->KCthis, &(*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001), &(*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001), &_KSL_z);
  	}
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001
  int _KSM_2319_TestujCil_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_dir, int _KSL_x, int _KSL_y, OPointer _KSL_obj) {
  	DIRECT_CALL_BEGIN(_KSID_oTeleport_0001_FFFF_0001_0001,"_KSM_2319_TestujCil_0001_FFFF_0001_0001",0)
  	int _KSL_f;
  
  	switch(_KSL_dir)
  	{
  	case 16:
  		_KSL_y--;
  		break;
  	case 8:
  		_KSL_y++;
  		break;
  	case 4:
  		_KSL_x++;
  		break;
  	case 12:
  		_KSL_x--;
  		break;
  	}
  	int _KSL_OldX;
  	int _KSL_OldY;
  	int _KSL_OldZ;
  	KerServices.FindObjsInArea(2328, (*(CKerArrObject**)_KSG_oTeleport_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), 0, _KSID_TeleportLookConsumer_0001_FFFF_0001_0001, _KSL_x, _KSL_y, _KSL_x, _KSL_y);
  
  	for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_oTeleport_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++)
  		KerMain->call(2329, (*(CKerArrObject**)_KSG_oTeleport_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f), _KSID_TeleportLook_0001_FFFF_0001_0001, 1, eKTobject, _KSID_TeleportLook_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSL_obj);
  	KerServices.ReadObjCoords(_KSL_obj, &_KSL_OldX, &_KSL_OldY, &_KSL_OldZ);
  
  	if(KerMain->MapInfo->IsObjInCollision(2331, _KSL_obj, _KSL_x * 40 - _KSL_OldX, _KSL_y * 40 - _KSL_OldY))
  		{
  			int _KSTMP_RET = 0;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  	KerMain->call(2332, _KSL_obj, _KSID_CalcMove_0001_FFFF_0001_0001, 0);
  	ME->PlaySample(_KSID_SoundTest_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	KerMain->message(2334, KerContext->KCthis, _KSID_TeleportniHo_0001_FFFF_0001_0001, eKerCTcallend, _KSL_obj, 3, eKTobject, eKTint, eKTint, _KSID_TeleportniHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSID_TeleportniHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001, _KSID_TeleportniHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001, _KSL_obj, _KSL_x * 40, _KSL_y * 40);
  	{
  		int _KSTMP_RET = 1;
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCile_0001_FFFF_0001_0001
  void _KSM_2338_TestujCile_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_pfdir, OPointer _KSL_obj) {
  	DIRECT_CALL_BEGIN(_KSID_oTeleport_0001_FFFF_0001_0001,"_KSM_2338_TestujCile_0001_FFFF_0001_0001",;)
  	int _KSL_dir;
  
  	if(_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001(2340, KerContext->KCthis, _KSL_pfdir, (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001), (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001), _KSL_obj))
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	_KSL_dir = _KSL_pfdir - 4;
  
  	if(_KSL_dir < 1)
  		_KSL_dir = _KSL_dir + 16;
  
  	if(_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001(2343, KerContext->KCthis, _KSL_dir, (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001), (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001), _KSL_obj))
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	_KSL_dir = _KSL_pfdir + 4;
  
  	if(_KSL_dir > 16)
  		_KSL_dir = _KSL_dir - 16;
  
  	if(_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001(2346, KerContext->KCthis, _KSL_dir, (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001), (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001), _KSL_obj))
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	_KSL_dir = _KSL_pfdir + 8;
  
  	if(_KSL_dir > 16)
  		_KSL_dir = _KSL_dir - 16;
  
  	if(_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCil_0001_FFFF_0001_0001(2349, KerContext->KCthis, _KSL_dir, (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestX_0001_FFFF_0001_0001), (*(int*)_KSOV_oTeleport_0001_FFFF_0001_0001__M_DestY_0001_FFFF_0001_0001), _KSL_obj))
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	DIRECT_CALL_END
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_2352_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_TeleportujeSe_0001_FFFF_0001_0001)&&KerMain->IsGameMode())
  		_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCile_0001_FFFF_0001_0001(2353, KerContext->KCthis, KER_ARGUMENT(int, 0), KerContext->Sender);
  }
  
  //_KSID_oTeleport_0001_FFFF_0001_0001::_KSID_TeleportniHo_0001_FFFF_0001_0001
  void _KSM_2356_TeleportniHo_0001_FFFF_0001_0001() {
  	int _KSL_OldX;
  	int _KSL_OldY;
  	int _KSL_OldZ;
  	int _KSL_dx;
  	int _KSL_dy;
  
  	if(!KerServices.ExistsObj(KER_ARGUMENT(OPointer, 0)))
  		return;
  	KerMain->MapInfo->RemoveObjFromMap(2360, KER_ARGUMENT(OPointer, 0));
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oManik_0001_FFFF_0001_0001)&&KerMain->callint(2361, KER_ARGUMENT(OPointer, 0), _KSID_GetFocus_0001_FFFF_0001_0001, 2, 0))
  	{
  		KerServices.ReadObjCoords(KER_ARGUMENT(OPointer, 0), &_KSL_OldX, &_KSL_OldY, &_KSL_OldZ);
  		_KSL_dx = KER_ARGUMENT(int, 1) - _KSL_OldX;
  		_KSL_dy = KER_ARGUMENT(int, 2) - _KSL_OldY;
  		KerMain->MapInfo->CalcScrollDistance(_KSL_OldX, _KSL_OldY, &_KSL_dx, &_KSL_dy);
  		int _KSL_a;
  		_KSL_a = KerServices.round(sqrt(_KSL_dx * _KSL_dx + _KSL_dy * _KSL_dy)) + 165;
  		KerMain->MapInfo->WindowScroll(KER_ARGUMENT(int, 1) - _KSL_OldX, KER_ARGUMENT(int, 2) - _KSL_OldY, _KSL_a);
  		KerMain->message(2367, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_ZobrazHo_0001_FFFF_0001_0001, eKerCTtimed, _KSL_a, 3, eKTobject, eKTint, eKTint, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001, KER_ARGUMENT(OPointer, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2));
  	}
  	else
  		KerMain->message(2368, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_ZobrazHo_0001_FFFF_0001_0001, eKerCTtimed, 165, 3, eKTobject, eKTint, eKTint, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001, KER_ARGUMENT(OPointer, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2));
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2395_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) = 0;
  	(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001) = 4;
  	KerMain->message(2400, KerContext->KCthis, _KSID_SetStrkTimeOut_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2395_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) = 0;
  	(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001) = 4;
  	KerMain->message(2400, KerContext->KCthis, _KSID_SetStrkTimeOut_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_2403_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode()||!(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oStrka_0001_FFFF_0001_0001)))
  		return;
  
  	if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001))
  		return;
  
  	if(!(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->KCthis), (CKerName*)KerMain->callint(2406, KerContext->Sender, _KSID_ZjistiCoStrka_0001_FFFF_0001_0001, 5, 0))))
  		return;
  
  	if((*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) == KerMain->GetTime())
  		return;
  
  	if(!(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001)||(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001) == KerContext->Sender)
  	{
  
  		if(!(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001))
  			KerMain->message(2411, KerContext->KCthis, _KSID_oStrkatelne_0001_FFFF_0001_0001__M_DisableStrkac_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  		(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001) = KerContext->Sender;
  		(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001)++;
  		(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) = KerMain->GetTime();
  
  		if((*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001) > (*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTimeOut_0001_FFFF_0001_0001))
  		{
  			KerMain->call(2417, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, KER_ARGUMENT(int, 0), eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriStrkani_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceStrkani_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, KER_ARGUMENT(int, 1));
  			KerMain->message(2418, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  			KerMain->message(2419, KerContext->Sender, _KSID_CalcMove_0001_FFFF_0001_0001, eKerCTend, 0, 0);
  			KerMain->message(2420, KerContext->KCthis, _KSID_oStrkatelne_0001_FFFF_0001_0001__M_StrkaniStarted_0001_FFFF_0001_0001, eKerCTend, 0, 0);
  		}
  		KerMain->message(2422, KerContext->Sender, _KSID_CalcMove_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  	}
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_oStrkatelne_0001_FFFF_0001_0001__M_StrkaniStarted_0001_FFFF_0001_0001
  void _KSM_2426_StrkaniStarted_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001))
  	{
  		ME->PlaySample(_KSID_sKutaleni_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  	}
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_oStrkatelne_0001_FFFF_0001_0001__M_DisableStrkac_0001_FFFF_0001_0001
  void _KSM_2432_DisableStrkac_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) < KerMain->GetTime())
  		(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) = KerMain->GetTime() - 1;
  
  	if((*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_Time_0001_FFFF_0001_0001) + 40 < KerMain->GetTime())
  	{
  		(*(int*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_StrkTime_0001_FFFF_0001_0001) = 0;
  		(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001) = 0;
  	}
  	else
  		KerMain->message(2438, KerContext->KCthis, _KSID_oStrkatelne_0001_FFFF_0001_0001__M_DisableStrkac_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  }
  
  //_KSID_oStrkatelne_0001_FFFF_0001_0001::_KSID_StrkamTo_0001_FFFF_0001_0001
  void _KSM_2441_StrkamTo_0001_FFFF_0001_0001() {
  
  	if(KerContext->Sender == (*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001)&&(*(OPointer*)_KSOV_oStrkatelne_0001_FFFF_0001_0001__M_LastStrkac_0001_FFFF_0001_0001)&&(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001))
  		{ KER_RETARG(int) = 1; return; }
  	{ KER_RETARG(int) = 0; return; }
  }
  
  //_KSID_oStrka_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2458_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001) = _KSID_oStrkatelne_0001_FFFF_0001_0001;
  	(*(CKerName**)_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001) = _KSID_StrkatelnePBlocked_0001_FFFF_0001_0001;
  	KerMain->message(2461, KerContext->KCthis, _KSID_SetCoStrka_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oStrka_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2458_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001) = _KSID_oStrkatelne_0001_FFFF_0001_0001;
  	(*(CKerName**)_KSOV_oStrka_0001_FFFF_0001_0001__M__KN_clzFceGr_0001_FFFF_0001_0001) = _KSID_StrkatelnePBlocked_0001_FFFF_0001_0001;
  	KerMain->message(2461, KerContext->KCthis, _KSID_SetCoStrka_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oStrka_0001_FFFF_0001_0001::_KSID_ZjistiCoStrka_0001_FFFF_0001_0001
  void _KSM_2463_ZjistiCoStrka_0001_FFFF_0001_0001() {
  	{ KER_RETARG(CKerName*) = (*(CKerName**)_KSOV_oStrka_0001_FFFF_0001_0001__M_CoStrka_0001_FFFF_0001_0001); return; }
  }
  
  //_KSID_oStrka_0001_FFFF_0001_0001::_KSID__KN_TestCollision
  void _KSM_2467__KN_TestCollision_0001_FFFF_0001_0001() {
  	OPointer _KSL_o;
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oBlockedPath_0001_FFFF_0001_0001))
  		_KSL_o = (OPointer)KerMain->callint(2469, KER_ARGUMENT(OPointer, 0), _KSID_GetFather_0001_FFFF_0001_0001, 4, 0);
  	else
  		_KSL_o = KER_ARGUMENT(OPointer, 0);
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(_KSL_o), _KSID_oStrkatelne_0001_FFFF_0001_0001))
  
  		if(KerMain->callint(2470, _KSL_o, _KSID_StrkamTo_0001_FFFF_0001_0001, 2, 0))
  			{ KER_RETARG(int) = 0; return; }
  	{ KER_RETARG(int) = 1; return; }
  }
  
  //_KSID_oHajzl_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2197_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001) = _KSID_oPasovec_0001_FFFF_0001_0001;
  }
  
  //_KSID_oHajzl_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_2490_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_oManik_0001_FFFF_0001_0001)&&KerMain->IsGameMode())
  		_KSDM_oTeleport_0001_FFFF_0001_0001__M_TestujCile_0001_FFFF_0001_0001(2491, KerContext->KCthis, KER_ARGUMENT(int, 0), KerContext->Sender);
  }
  
  //_KSID_oHajzl_0001_FFFF_0001_0001::_KSID_TeleportniHo_0001_FFFF_0001_0001
  void _KSM_2494_TeleportniHo_0001_FFFF_0001_0001() {
  	int _KSL_OldX;
  	int _KSL_OldY;
  	int _KSL_OldZ;
  	int _KSL_dx;
  	int _KSL_dy;
  
  	if(!KerServices.ExistsObj(KER_ARGUMENT(OPointer, 0)))
  		return;
  	KerMain->MapInfo->RemoveObjFromMap(2498, KER_ARGUMENT(OPointer, 0));
  	KerServices.ReadObjCoords(KER_ARGUMENT(OPointer, 0), &_KSL_OldX, &_KSL_OldY, &_KSL_OldZ);
  
  	if(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)) != (*(CKerName**)_KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001))
  	{
  		OPointer _KSL_obj2;
  		_KSL_obj2 = KER_ARGUMENT(OPointer, 0);
  		KER_ARGUMENT(OPointer, 0) = KerMain->NewObject(2503 , (*(CKerName**)_KSOV_oHajzl_0001_FFFF_0001_0001__M_MeniNa_0001_FFFF_0001_0001));
  		KerMain->call(2504, KER_ARGUMENT(OPointer, 0), _KSID_CopyManik_0001_FFFF_0001_0001, 1, eKTobject, _KSID_CopyManik_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSL_obj2);
  		KerMain->DeleteObject(2505, _KSL_obj2);
  	}
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KER_ARGUMENT(OPointer, 0)), _KSID_oManik_0001_FFFF_0001_0001)&&KerMain->callint(2508, KER_ARGUMENT(OPointer, 0), _KSID_GetFocus_0001_FFFF_0001_0001, 2, 0))
  	{
  		_KSL_dx = KER_ARGUMENT(int, 1) - _KSL_OldX;
  		_KSL_dy = KER_ARGUMENT(int, 2) - _KSL_OldY;
  		KerMain->MapInfo->CalcScrollDistance(_KSL_OldX, _KSL_OldY, &_KSL_dx, &_KSL_dy);
  		int _KSL_a;
  		_KSL_a = KerServices.round(sqrt(_KSL_dx * _KSL_dx + _KSL_dy * _KSL_dy)) + 165;
  		KerMain->MapInfo->WindowScroll(KER_ARGUMENT(int, 1) - _KSL_OldX, KER_ARGUMENT(int, 2) - _KSL_OldY, _KSL_a);
  		KerMain->message(2513, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_ZobrazHo_0001_FFFF_0001_0001, eKerCTtimed, _KSL_a, 3, eKTobject, eKTint, eKTint, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001, KER_ARGUMENT(OPointer, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2));
  	}
  	else
  		KerMain->message(2514, (*(OPointer*)_KSG_ManikControler_0001_FFFF_0001_0001), _KSID_ZobrazHo_0001_FFFF_0001_0001, eKerCTtimed, 165, 3, eKTobject, eKTint, eKTint, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_obj_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_x_0001_FFFF_0001_0001, _KSID_ZobrazHo_0001_FFFF_0001_0001__M_y_0001_FFFF_0001_0001, KER_ARGUMENT(OPointer, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 2));
  }
  
  //_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2549_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001) = 17;
  }
  
  //_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2549_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001) = 17;
  }
  
  //_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001::_KSID_SlizOn_0001_FFFF_0001_0001
  void _KSM_2552_SlizOn_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001)++;
  
  	if((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001) == 1&&(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) == 0)
  		KerMain->call(2554, KerContext->KCthis, _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001, 0);
  }
  
  //_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001::_KSID_SlizOff_0001_FFFF_0001_0001
  void _KSM_2556_SlizOff_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001) > 0)
  		(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001)--;
  }
  
  //_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001::_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001
  void _KSM_2560_SlizTikac_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizCount_0001_FFFF_0001_0001))
  	{
  		(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001)++;
  
  		if((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) > (*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001))
  			KerMain->message(2563, KerContext->KCthis, _KSID_ZemriVeSlizu_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  	}
  	else
  
  		if((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001))
  			(*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001)--;
  		else
  			return;
  	KerMain->message(2566, KerContext->KCthis, _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  }
  
  //_KSID_oSliz_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_2578__KN_MapPlaced_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsEditorMode())
  		return;
  	(*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(2580 , _KSID_otrigger_0001_FFFF_0001_0001);
  	KerMain->call(2581, (*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, 0, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, 0);
  	KerMain->call(2582, (*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(2583, (*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oSliz_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_2587__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if((*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		KerMain->message(2588, KER_ARGUMENT(OPointer, 0), _KSID_SlizOn_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oSliz_0001_FFFF_0001_0001::_KSID__KN_TriggerOff
  void _KSM_2590__KN_TriggerOff_0001_FFFF_0001_0001() {
  
  	if((*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		KerMain->message(2591, KER_ARGUMENT(OPointer, 0), _KSID_SlizOff_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oSliz_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_2594__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(2595, (*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oSliz_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  	KerServices.AreaMessage(2597, _KSID_SlizOff_0001_FFFF_0001_0001, KerContext->KCthis, _KSID_oUmiraNaSlizu_0001_FFFF_0001_0001);
  }
  
  //_KSID_oPriseraSNavadeci_0001_FFFF_0001_0001::_KSID_MoveCalculating_0001_FFFF_0001_0001
  void _KSM_2615_MoveCalculating_0001_FFFF_0001_0001() {
  	KerMain->call(2616, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, 0);
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  	int _KSL_dx;
  	int _KSL_dy;
  
  	if(!KerMain->MapInfo->IsObjInMap((*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001)))
  	{
  		KerMain->message(2620, KerContext->KCthis, _KSID_CalcMove_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  		return;
  	}
  	KerServices.ReadObjCoords((*(OPointer*)_KSG_ManikFocus_0001_FFFF_0001_0001), &_KSL_x, &_KSL_y, &_KSL_z);
  
  	if((*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) > _KSL_x)
  		_KSL_dx = (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) - _KSL_x;
  	else
  		_KSL_dx = _KSL_x - (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001);
  
  	if((*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) > _KSL_y)
  		_KSL_dy = (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) - _KSL_y;
  	else
  		_KSL_dy = _KSL_y - (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001);
  	int _KSL_sm1;
  	int _KSL_sm2;
  	int _KSL_sm3;
  	int _KSL_sm4;
  
  	if(_KSL_x < (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001))
  	{
  		_KSL_sm1 = 12;
  		_KSL_sm3 = 4;
  	}
  	else
  	{
  		_KSL_sm1 = 4;
  		_KSL_sm3 = 12;
  	}
  
  	if(_KSL_y < (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001))
  	{
  		_KSL_sm2 = 16;
  		_KSL_sm4 = 8;
  	}
  	else
  	{
  		_KSL_sm2 = 8;
  		_KSL_sm4 = 16;
  	}
  	int _KSL_randret;
  	_KSL_randret = mtr.randInt(_KSL_dx + _KSL_dy);
  
  	if(_KSL_randret < _KSL_dx)
  	{
  		KerMain->call(2635, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm1, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		KerMain->call(2636, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm2, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  	}
  	else
  	{
  		KerMain->call(2638, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm2, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		KerMain->call(2639, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm1, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  	}
  
  	if(mtr.randInt(1))
  	{
  		KerMain->call(2642, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm3, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		KerMain->call(2643, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  	}
  	else
  	{
  		KerMain->call(2645, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm4, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci3_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  		KerMain->call(2646, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_sm3, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci4_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, 33);
  	}
  }
  
  //_KSID_oManikSliz_0001_FFFF_0001_0001::_KSID_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001
  void _KSM_2660_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizTikac_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  		KerMain->message(2661, KerContext->KCthis, _KSID_oManikSliz_0001_FFFF_0001_0001__M_AktualizujSlizPruh_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oManikSliz_0001_FFFF_0001_0001::_KSID_oManikSliz_0001_FFFF_0001_0001__M_AktualizujSlizPruh_0001_FFFF_0001_0001
  void _KSM_2663_AktualizujSlizPruh_0001_FFFF_0001_0001() {
  	CGameMenu::SetProgressBar(1, ((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) * 100) / (*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001));
  }
  
  //_KSID_oManikSliz_0001_FFFF_0001_0001::_KSID_ResetMenu_0001_FFFF_0001_0001
  void _KSM_2666_ResetMenu_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oManik_0001_FFFF_0001_0001__M_Focus_0001_FFFF_0001_0001))
  		CGameMenu::SetProgressBar(1, ((*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizSmrtCount_0001_FFFF_0001_0001) * 100) / (*(int*)_KSOV_oUmiraNaSlizu_0001_FFFF_0001_0001__M_SlizMez_0001_FFFF_0001_0001));
  }
  
  //_KSID_oPriseraZnackova_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2835_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001) = 33;
  }
  
  //_KSID_oPriseraZnackova_0001_FFFF_0001_0001::_KSID_MoveCalculating_0001_FFFF_0001_0001
  void _KSM_2837_MoveCalculating_0001_FFFF_0001_0001() {
  	KerMain->call(2838, KerContext->KCthis, _KSID_RemoveForce_0001_FFFF_0001_0001, 0);
  	KerServices.FindObjsInArea(2839, (*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), KerContext->KCthis, _KSID_oZnacky_0001_FFFF_0001_0001);
  	CKerName* _KSL__smer;
  	_KSL__smer = (*(CKerName**)_KSOV_oSeSmerem_0001_FFFF_0001_0001__M_smer_0001_FFFF_0001_0001);
  	int _KSL__prikaz;
  	_KSL__prikaz = 0;
  	int _KSL_invert;
  	_KSL_invert = 0;
  	int _KSL_dir;
  	_KSL_dir = 16;
  
  	if((*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount())
  	{
  
  		if(KerServices.IsFMemberOfS(KerMain->GetObjType((*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0)), _KSID_oZnSmerova_0001_FFFF_0001_0001))
  		{
  			_KSL__smer = (CKerName*)KerMain->callint(2845, (*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0), _KSID_GetSmer_0001_FFFF_0001_0001, 5, 0);
  			_KSL__prikaz = 1;
  		}
  		else
  
  			if(KerServices.IsFMemberOfS(KerMain->GetObjType((*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0)), _KSID_oZnZakazVjezdu_0001_FFFF_0001_0001))
  			{
  				_KSL_invert = 1;
  				_KSL__prikaz = 1;
  			}
  			else
  
  				if(KerServices.IsFMemberOfS(KerMain->GetObjType((*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0)), _KSID_oZnSedesat_0001_FFFF_0001_0001))
  					(*(int*)_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001) = 33;
  				else
  
  					if(KerServices.IsFMemberOfS(KerMain->GetObjType((*(CKerArrObject**)_KSG_oPriseraZnackova_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(0)), _KSID_oZnNeSedesat_0001_FFFF_0001_0001))
  						(*(int*)_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001) = 16;
  	}
  
  	if(_KSL__smer == _KSID_Sever_0001_FFFF_0001_0001)
  		_KSL_dir = 16;
  	else
  
  		if(_KSL__smer == _KSID_Jih_0001_FFFF_0001_0001)
  			_KSL_dir = 8;
  		else
  
  			if(_KSL__smer == _KSID_Zapad_0001_FFFF_0001_0001)
  				_KSL_dir = 12;
  			else
  
  				if(_KSL__smer == _KSID_Vychod_0001_FFFF_0001_0001)
  					_KSL_dir = 4;
  
  	if(_KSL_invert)
  	{
  		_KSL_dir = _KSL_dir + 8;
  
  		if(_KSL_dir > 16)
  			_KSL_dir = _KSL_dir - 16;
  	}
  	KerMain->call(2858, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_dir, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci1_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, (*(int*)_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001));
  	_KSL_dir = _KSL_dir + 8;
  
  	if(_KSL_dir > 16)
  		_KSL_dir = _KSL_dir - 16;
  
  	if(!_KSL__prikaz)
  		KerMain->call(2860, KerContext->KCthis, _KSID_AddForce_0001_FFFF_0001_0001, 4, eKTint, _KSID_pfdir_0001_FFFF_0001_0001, _KSL_dir, eKTname, _KSID_pfpriority_0001_FFFF_0001_0001, _KSID_PriChci2_0001_FFFF_0001_0001, eKTname, _KSID_pftype_0001_FFFF_0001_0001, _KSID_ForceChci_0001_FFFF_0001_0001, eKTint, _KSID_pfspeed_0001_FFFF_0001_0001, (*(int*)_KSOV_oPriseraZnackova_0001_FFFF_0001_0001__M_Rychlost_0001_FFFF_0001_0001));
  }
  
  //_KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001::_KSID_MoveCalculating_0001_FFFF_0001_0001
  void _KSM_2878_MoveCalculating_0001_FFFF_0001_0001() {
  	KerMain->message(2879, KerContext->KCthis, _KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001__M_KlaustrofobniKill_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  }
  
  //_KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001::_KSID_oPriseraKlaustrofobni_0001_FFFF_0001_0001__M_KlaustrofobniKill_0001_FFFF_0001_0001
  void _KSM_2881_KlaustrofobniKill_0001_FFFF_0001_0001() {
  
  	if(!(*(int*)_KSOV_oMoveable_0001_FFFF_0001_0001__M_Moving_0001_FFFF_0001_0001)&&KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  		KerMain->message(2882, KerContext->KCthis, _KSID_ZnicSeVybuchem_0001_FFFF_0001_0001, eKerCTcallend, KerContext->KCthis, 0);
  }
  
  //_KSID_oScriptedTest_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_2935_Constructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	(*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001) = KER_NEW(2937, CKerName*, 5);
  
  	for(_KSL_f = 0 ;_KSL_f < 5 ;_KSL_f++)
  		(*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001)[_KSL_f] = _KSID_oKrabice_0001_FFFF_0001_0001;
  }
  
  //_KSID_oScriptedTest_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_2940_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	(*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001) = KER_NEW(2942, CKerName*, 5);
  	(*(unsigned char*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001) = KerSaveLoad.LoadChar();
  	(*(int*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001) = KerSaveLoad.LoadInt();
  
  	for(_KSL_f = 0 ;_KSL_f < 5 ;_KSL_f++)
  		(*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001)[_KSL_f] = KerSaveLoad.LoadName();
  }
  
  //_KSID_oScriptedTest_0001_FFFF_0001_0001::_KSID__KN_ESaveMe
  void _KSM_2948__KN_ESaveMe_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	KerSaveLoad.SaveChar((*(unsigned char*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001));
  	KerSaveLoad.SaveInt((*(int*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001));
  
  	for(_KSL_f = 0 ;_KSL_f < 5 ;_KSL_f++)
  		KerSaveLoad.SaveName((*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001)[_KSL_f]);
  }
  
  //_KSID_oScriptedTest_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_2955_Destructor_0001_FFFF_0001_0001() {
  	KerInterpret->ISFree(2956, (*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001));
  }
  
  //_KSID_oScriptedTest_0001_FFFF_0001_0001::_KSID_oScriptedTest_0001_FFFF_0001_0001__M_Init1_0001_FFFF_0001_0001
  void _KSM_2959_Init1_0001_FFFF_0001_0001() {
  
  	if(KER_ARGUMENT(int, 0) == 20)
  	{
  		int _KSL_f;
  		KerEditI.ECreateInt(&(*(int*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_blb_0001_FFFF_0001_0001), "Tuflik");
  		KerEditI.EPlaceItem();
  		CGUIScriptVariableInterface::AddGap();
  
  		for(_KSL_f = 0 ;_KSL_f < 5 ;_KSL_f++)
  		{
  			KerEditI.ECreateName((*(CKerName***)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_pole_0001_FFFF_0001_0001) + _KSL_f, "Polozka");
  			KerEditI.EPlaceItem();
  		}
  	}
  	else
  	{
  		KerEditI.ECreateChar(&(*(unsigned char*)_KSOV_oScriptedTest_0001_FFFF_0001_0001__M_chr_0001_FFFF_0001_0001), "Chrochta", "To Teda JO!");
  		KerEditI.EPlaceItem();
  	}
  	CGUIScriptVariableInterface::ScriptedVariableFinish();
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3014_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001) = _KSID_PrepUmisti_0001_FFFF_0001_0001;
  	(*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001) = _KSID_NaOblast_0001_FFFF_0001_0001;
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3014_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001) = _KSID_PrepUmisti_0001_FFFF_0001_0001;
  	(*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001) = _KSID_NaOblast_0001_FFFF_0001_0001;
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID__KN_ESaveMe
  void _KSM_3021__KN_ESaveMe_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSL_a = (*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001) ;_KSL_f++)
  	{
  
  		if(!_KSL_a)
  			KerServices.LogUserError(3025, eKEGPanicError);
  		KerSaveLoad.SaveName(_KSL_a->akce);
  		KerSaveLoad.SaveName(_KSL_a->Pusobnost);
  
  		if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  		{
  			KerSaveLoad.SaveInt(_KSL_a->x1);
  			KerSaveLoad.SaveInt(_KSL_a->y1);
  			KerSaveLoad.SaveInt(_KSL_a->x2);
  			KerSaveLoad.SaveInt(_KSL_a->y2);
  		}
  		else
  		{
  			KerSaveLoad.SaveObjPtrA(_KSL_a->objs1);
  			KerSaveLoad.SaveObjPtrA(_KSL_a->objs2);
  		}
  		KerSaveLoad.SaveName(_KSL_a->typ1);
  		KerSaveLoad.SaveName(_KSL_a->typ2);
  		KerSaveLoad.SaveName(_KSL_a->typ);
  		_KSL_a = _KSL_a->next;
  	}
  
  	if(_KSL_a)
  		KerServices.LogUserError(3038, eKEGPanicError);
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3041_LoadConstructor_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001** _KSL_a2;
  	_KSL_a2 = &(*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001) ;_KSL_f++)
  	{
  		_KSL_a = KER_NEW(3045, _KSVS_3000_sAkce_0001_FFFF_0001_0001, 1);
  		_KSL_a->next = 0;
  		_KSL_a->akce = KerSaveLoad.LoadName();
  		_KSL_a->Pusobnost = KerSaveLoad.LoadName();
  
  		if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  		{
  			_KSL_a->x1 = KerSaveLoad.LoadInt();
  			_KSL_a->y1 = KerSaveLoad.LoadInt();
  			_KSL_a->x2 = KerSaveLoad.LoadInt();
  			_KSL_a->y2 = KerSaveLoad.LoadInt();
  			_KSL_a->objs1 = new CKerArrObject();
  			_KSL_a->objs2 = new CKerArrObject();
  		}
  		else
  		{
  			_KSL_a->x1 = 0;
  			_KSL_a->x2 = 0;
  			_KSL_a->y1 = 0;
  			_KSL_a->y2 = 0;
  			_KSL_a->objs1 = KerSaveLoad.LoadObjPtrA();
  			_KSL_a->objs2 = KerSaveLoad.LoadObjPtrA();
  		}
  		_KSL_a->typ1 = KerSaveLoad.LoadName();
  		_KSL_a->typ2 = KerSaveLoad.LoadName();
  		_KSL_a->typ = KerSaveLoad.LoadName();
  		*_KSL_a2 = _KSL_a;
  		_KSL_a2 = &_KSL_a->next;
  	}
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_CopyConstructor
  void _KSM_3065_CopyConstructor_0001_FFFF_0001_0001() {
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001** _KSL_a2;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_b;
  	_KSL_b = (*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	_KSL_a2 = &(*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  
  	while(_KSL_b)
  	{
  		_KSL_a = KER_NEW(3069, _KSVS_3000_sAkce_0001_FFFF_0001_0001, 1);
  		_KSL_a->next = 0;
  		_KSL_a->akce = _KSL_b->akce;
  		_KSL_a->Pusobnost = _KSL_b->Pusobnost;
  		_KSL_a->objs1 = KerServices.CopyObjPtrA(_KSL_b->objs1);
  		_KSL_a->objs2 = KerServices.CopyObjPtrA(_KSL_b->objs2);
  		_KSL_a->x1 = _KSL_b->x1;
  		_KSL_a->y1 = _KSL_b->y1;
  		_KSL_a->x2 = _KSL_b->x2;
  		_KSL_a->y2 = _KSL_b->y2;
  		_KSL_a->typ1 = _KSL_b->typ1;
  		_KSL_a->typ2 = _KSL_b->typ2;
  		_KSL_a->typ = _KSL_b->typ;
  		*_KSL_a2 = _KSL_a;
  		_KSL_a2 = &_KSL_a->next;
  		_KSL_b = _KSL_b->next;
  	}
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3087_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001) = 1;
  	(*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001) = 0;
  	(*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_Destructor
  void _KSM_3093_Destructor_0001_FFFF_0001_0001() {
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSL_a = (*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a2;
  
  	while(_KSL_a)
  	{
  		_KSL_a2 = _KSL_a;
  		_KSL_a = _KSL_a->next;
  		delete _KSL_a2->objs1;
  		delete _KSL_a2->objs2;
  		KerInterpret->ISFree(3100, _KSL_a2);
  	}
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_oPrepinace_0001_FFFF_0001_0001__M_PridejPolozku_0001_FFFF_0001_0001
  void _KSM_3105_PridejPolozku_0001_FFFF_0001_0001() {
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSL_a = KER_NEW(3106, _KSVS_3000_sAkce_0001_FFFF_0001_0001, 1);
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001** _KSL_a2;
  	_KSL_a2 = &(*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  
  	while(*_KSL_a2)
  		_KSL_a2 = &(**_KSL_a2).next;
  	*_KSL_a2 = _KSL_a;
  	_KSL_a->next = 0;
  	_KSL_a->x1 = 0;
  	_KSL_a->x2 = 0;
  	_KSL_a->y1 = 0;
  	_KSL_a->y2 = 0;
  	_KSL_a->objs1 = new CKerArrObject();
  	_KSL_a->objs2 = new CKerArrObject();
  
  	if((*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001) == _KSID_PrepMessage_0001_FFFF_0001_0001)
  	{
  		_KSL_a->typ1 = _KSID_TurnOn_0001_FFFF_0001_0001;
  		_KSL_a->typ2 = _KSID_TurnOff_0001_FFFF_0001_0001;
  	}
  	else
  	{
  		_KSL_a->typ1 = 0;
  		_KSL_a->typ2 = 0;
  	}
  	_KSL_a->typ = 0;
  	_KSL_a->akce = (*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_DruhAkce_0001_FFFF_0001_0001);
  	_KSL_a->Pusobnost = (*(CKerName**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Pusobnost_0001_FFFF_0001_0001);
  	_KSDM_oPrepinace_0001_FFFF_0001_0001__M_ZobrazPolozku_0001_FFFF_0001_0001(3122, KerContext->KCthis, _KSL_a, (*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001));
  	(*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001)++;
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_oPrepinace_0001_FFFF_0001_0001__M_OdeberPolozku_0001_FFFF_0001_0001
  void _KSM_3127_OdeberPolozku_0001_FFFF_0001_0001() {
  	int _KSL_a;
  	_KSL_a = 0;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001** _KSL_ptr;
  	_KSL_ptr = &(*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_ptr2;
  
  	while(*_KSL_ptr)
  	{
  
  		if(_KSL_a == KER_ARGUMENT(int, 0))
  		{
  			_KSL_ptr2 = *_KSL_ptr;
  			*_KSL_ptr = _KSL_ptr2->next;
  			delete _KSL_ptr2->objs1;
  			delete _KSL_ptr2->objs2;
  			KerInterpret->ISFree(3136, _KSL_ptr2);
  			(*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001)--;
  			CGUIScriptVariableInterface::DeleteAllGroupItems(0);
  			KerMain->call(3139, KerContext->KCthis, _KSID_oPrepinace_0001_FFFF_0001_0001__M_InitAkce_0001_FFFF_0001_0001, 0);
  			break;
  		}
  		_KSL_a++;
  		_KSL_ptr = &((**_KSL_ptr).next);
  	}
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSDM_oPrepinace_0001_FFFF_0001_0001__M_ZobrazPolozku_0001_FFFF_0001_0001
  void _KSM_3148_ZobrazPolozku_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, _KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a, int _KSL_index) {
  	DIRECT_CALL_BEGIN(_KSID_oPrepinace_0001_FFFF_0001_0001,"_KSM_3148_ZobrazPolozku_0001_FFFF_0001_0001",;)
  	CGUIScriptVariableInterface::AddGap();
  
  	if(_KSL_a->akce == _KSID_PrepUmisti_0001_FFFF_0001_0001)
  		CGUIScriptVariableInterface::AddText(">> Umisti <<");
  	else
  
  		if(_KSL_a->akce == _KSID_PrepOdeber_0001_FFFF_0001_0001)
  			CGUIScriptVariableInterface::AddText(">> Odeber <<");
  		else
  
  			if(_KSL_a->akce == _KSID_PrepVymen_0001_FFFF_0001_0001)
  				CGUIScriptVariableInterface::AddText(">> Vymen <<");
  			else
  
  				if(_KSL_a->akce == _KSID_PrepMessage_0001_FFFF_0001_0001)
  					CGUIScriptVariableInterface::AddText(">> Message <<");
  				else
  
  					if(_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001)
  						CGUIScriptVariableInterface::AddText(">> Odeber a Umisti <<");
  
  	if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  	{
  		KerEditI.EAdd2DAreaC(&_KSL_a->x1, &_KSL_a->y1, &_KSL_a->x2, &_KSL_a->y2, "Oblast");
  
  		if(_KSL_a->akce == _KSID_PrepUmisti_0001_FFFF_0001_0001||_KSL_a->akce == _KSID_PrepOdeber_0001_FFFF_0001_0001)
  		{
  			KerEditI.ECreateName(&_KSL_a->typ1, "Typ Objektu", "Jaky objekt se bude do oblasti pridavat/odebirat");
  			KerEditI.ESetVarTags(eKVUBobjInMap, eEdNTobject);
  			KerEditI.EPlaceItem();
  		}
  		else
  
  			if(_KSL_a->akce == _KSID_PrepVymen_0001_FFFF_0001_0001)
  			{
  				KerEditI.ECreateName(&_KSL_a->typ1, "Tento Typ");
  				KerEditI.ESetVarTags(eKVUBobjInMap, eEdNTobject);
  				KerEditI.EPlaceItem();
  				KerEditI.ECreateName(&_KSL_a->typ2, "Vymen Za");
  				KerEditI.ESetVarTags(eKVUBobjInMap, eEdNTobject);
  				KerEditI.EPlaceItem();
  			}
  			else
  
  				if(_KSL_a->akce == _KSID_PrepMessage_0001_FFFF_0001_0001)
  				{
  					KerEditI.ECreateName(&_KSL_a->typ, "Typ Objektu", "Jakym objektum budou zpravy zasilany");
  					KerEditI.ESetVarTags(eKVUBobjInMap, eEdNTobject);
  					KerEditI.EPlaceItem();
  				}
  				else
  
  					if(_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001)
  					{
  						KerEditI.ECreateName(&_KSL_a->typ1, "Odeber typ");
  						KerEditI.ESetVarTags(eKVUBobjInMap|eKVUBincludeNull, eEdNTobject);
  						KerEditI.EPlaceItem();
  						KerEditI.ECreateName(&_KSL_a->typ2, "Pridej typ");
  						KerEditI.ESetVarTags(eKVUBobjInMap|eKVUBincludeNull, eEdNTobject);
  						KerEditI.EPlaceItem();
  					}
  	}
  	else
  	{
  
  		if(_KSL_a->akce == _KSID_PrepUmisti_0001_FFFF_0001_0001||_KSL_a->akce == _KSID_PrepOdeber_0001_FFFF_0001_0001)
  		{
  			KerEditI.ECreateObjPtrA(&_KSL_a->objs1, "Objekty", "Jake objekty se budou pridavat/odebirat. Nezapomen u objektu zadat souradnice");
  			KerEditI.ESetVarTags(eKVUBobjInMap);
  			KerEditI.EPlaceItem();
  		}
  		else
  
  			if(_KSL_a->akce == _KSID_PrepVymen_0001_FFFF_0001_0001)
  			{
  				KerEditI.ECreateObjPtrA(&_KSL_a->objs1, "Tyto Objekty", "Prvni objekt pude vymenen za prvni objekt z druheho pole, druhy za druhy, atd.");
  				KerEditI.ESetVarTags(eKVUBobjInMap);
  				KerEditI.EPlaceItem();
  				KerEditI.ECreateObjPtrA(&_KSL_a->objs2, "Vymen Za", "Prvni objekt z prvniho pole pude vymenen za prvni objekt, druhy za druhy, atd.");
  				KerEditI.ESetVarTags(eKVUBobjInMap);
  				KerEditI.EPlaceItem();
  			}
  			else
  
  				if(_KSL_a->akce == _KSID_PrepMessage_0001_FFFF_0001_0001)
  				{
  					KerEditI.ECreateObjPtrA(&_KSL_a->objs1, "Objekty", "Jakym objektum budou zpravy zasilany");
  					KerEditI.ESetVarTags(eKVUBobjInMap);
  					KerEditI.EPlaceItem();
  				}
  				else
  
  					if(_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001)
  					{
  						KerEditI.ECreateObjPtrA(&_KSL_a->objs1, "Odeber o.");
  						KerEditI.ESetVarTags(eKVUBobjInMap);
  						KerEditI.EPlaceItem();
  						KerEditI.ECreateObjPtrA(&_KSL_a->objs2, "Pridej o.");
  						KerEditI.ESetVarTags(eKVUBobjInMap);
  						KerEditI.EPlaceItem();
  					}
  	}
  
  	if(_KSL_a->akce == _KSID_PrepMessage_0001_FFFF_0001_0001)
  	{
  		KerEditI.ECreateName(&_KSL_a->typ1, "Prvni Zprava", "Posila se pri zapnuti");
  		KerEditI.ESetVarTags(0, eEdNTmethod);
  		KerEditI.EPlaceItem();
  
  		if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  		{
  			KerEditI.ECreateName(&_KSL_a->typ2, "Druha Zprava", "Posila se pri vypnuti");
  			KerEditI.ESetVarTags(0, eEdNTmethod);
  			KerEditI.EPlaceItem();
  		}
  	}
  	CGUIScriptVariableInterface::AddButton(0, 1, "Odeber Akci", 0, _KSL_index, _KSID_oPrepinace_0001_FFFF_0001_0001__M_OdeberPolozku_0001_FFFF_0001_0001);
  	DIRECT_CALL_END
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_oPrepinace_0001_FFFF_0001_0001__M_InitAkce_0001_FFFF_0001_0001
  void _KSM_3221_InitAkce_0001_FFFF_0001_0001() {
  	int _KSL_f;
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSL_a = (*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	CGUIScriptVariableInterface::AddButton(0, 1, "Pridej Akci", 0, 0, _KSID_oPrepinace_0001_FFFF_0001_0001__M_PridejPolozku_0001_FFFF_0001_0001);
  
  	for(_KSL_f = 0 ;_KSL_f < (*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_PocetAkci_0001_FFFF_0001_0001) ;_KSL_f++)
  	{
  
  		if(!_KSL_a)
  			KerServices.LogUserError(3226, eKEGPanicError);
  		_KSDM_oPrepinace_0001_FFFF_0001_0001__M_ZobrazPolozku_0001_FFFF_0001_0001(3227, KerContext->KCthis, _KSL_a, _KSL_f);
  		_KSL_a = _KSL_a->next;
  	}
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSDM_oPrepinace_0001_FFFF_0001_0001__M_KillPlace_0001_FFFF_0001_0001
  int _KSM_3238_KillPlace_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, OPointer _KSL_o, CKerArrObject* _KSL_objs) {
  	DIRECT_CALL_BEGIN(_KSID_oPrepinace_0001_FFFF_0001_0001,"_KSM_3238_KillPlace_0001_FFFF_0001_0001",0)
  
  	if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Nekoliduj_0001_FFFF_0001_0001)&&KerMain->MapInfo->IsObjInCollision(3239, _KSL_o))
  		{
  			int _KSTMP_RET = 0;
  			DIRECT_CALL_END
  			return _KSTMP_RET;
  		}
  
  	if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  	{
  		int _KSL_f;
  		int _KSL_p;
  		KerMain->MapInfo->FindCollidingObjs(3242, _KSL_o, (*(CKerArrObject**)_KSG_oPrepinace_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001));
  		_KSL_p = _KSL_objs->GetCount();
  
  		for(_KSL_f = 0 ;_KSL_f < (*(CKerArrObject**)_KSG_oPrepinace_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount() ;_KSL_f++,_KSL_p++)
  		{
  			KerMain->MapInfo->RemoveObjFromMap(3245, (*(CKerArrObject**)_KSG_oPrepinace_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f));
  			_KSL_objs->Get(_KSL_p) = (*(CKerArrObject**)_KSG_oPrepinace_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->Read(_KSL_f);
  		}
  		KerMain->MapInfo->PlaceObjToMap(3248, _KSL_o);
  	}
  	else
  		KerMain->MapInfo->PlaceObjToMapWithKill(3249, _KSL_o);
  	{
  		int _KSTMP_RET = 1;
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSDM_oPrepinace_0001_FFFF_0001_0001__M_PlaceOrFindPlace_0001_FFFF_0001_0001
  void _KSM_3255_PlaceOrFindPlace_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, OPointer _KSL_o, CKerArrObject* _KSL_objs, CKerName* _KSL_typ) {
  	DIRECT_CALL_BEGIN(_KSID_oPrepinace_0001_FFFF_0001_0001,"_KSM_3255_PlaceOrFindPlace_0001_FFFF_0001_0001",;)
  	int _KSL_f;
  	OPointer _KSL_o2;
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  	int _KSL_x2;
  	int _KSL_y2;
  	int _KSL_z2;
  
  	if(!KerServices.ExistsObj(_KSL_o))
  		{
  			DIRECT_CALL_END
  			return; 
  		}
  	KerServices.ReadObjCoords(_KSL_o, &_KSL_x, &_KSL_y, &_KSL_z);
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_objs->GetCount() ;_KSL_f++)
  	{
  
  		if(KerServices.ExistsObj(_KSL_objs->Read(_KSL_f)))
  		{
  			KerServices.ReadObjCoords(_KSL_objs->Read(_KSL_f), &_KSL_x2, &_KSL_y2, &_KSL_z2);
  
  			if(_KSL_x == _KSL_x2&&_KSL_y == _KSL_y2&&_KSL_z == _KSL_z2)
  			{
  				KerMain->MapInfo->PlaceObjToMapWithKill(3266, _KSL_objs->Read(_KSL_f));
  				{
  					DIRECT_CALL_END
  					return; 
  				}
  			}
  		}
  	}
  	_KSL_o2 = KerMain->NewObject(3271 , _KSL_typ);
  	KerMain->MapInfo->ChangeObjCoords(3272, _KSL_o2, _KSL_x, _KSL_y, _KSL_z);
  	KerMain->MapInfo->PlaceObjToMapWithKill(3273, _KSL_o2);
  	DIRECT_CALL_END
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSDM_oPrepinace_0001_FFFF_0001_0001__M_OdeberAZarovnej_0001_FFFF_0001_0001
  void _KSM_3277_OdeberAZarovnej_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, OPointer _KSL_o) {
  	DIRECT_CALL_BEGIN(_KSID_oPrepinace_0001_FFFF_0001_0001,"_KSM_3277_OdeberAZarovnej_0001_FFFF_0001_0001",;)
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  
  	if(KerMain->MapInfo->IsObjInMap(_KSL_o))
  	{
  		KerMain->MapInfo->RemoveObjFromMap(3280, _KSL_o);
  		KerServices.FindObjCell(_KSL_o, &_KSL_x, &_KSL_y, &_KSL_z);
  		KerMain->MapInfo->ChangeObjCoords(3282, _KSL_o, _KSL_x * 40, _KSL_y * 40, _KSL_z * 40);
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSDM_oPrepinace_0001_FFFF_0001_0001__M_JsouSouradniceObsazene_0001_FFFF_0001_0001
  int _KSM_3287_JsouSouradniceObsazene_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, CKerArrObject* _KSL_objs, int _KSL_x, int _KSL_y) {
  	DIRECT_CALL_BEGIN(_KSID_oPrepinace_0001_FFFF_0001_0001,"_KSM_3287_JsouSouradniceObsazene_0001_FFFF_0001_0001",0)
  	int _KSL_f;
  	int _KSL_x2;
  	int _KSL_y2;
  	int _KSL_z2;
  
  	for(_KSL_f = 0 ;_KSL_f < _KSL_objs->GetCount() ;_KSL_f++)
  	{
  
  		if(KerServices.ExistsObj(_KSL_objs->Read(_KSL_f)))
  		{
  			KerServices.ReadObjCoords(_KSL_objs->Read(_KSL_f), &_KSL_x2, &_KSL_y2, &_KSL_z2);
  
  			if(_KSL_x == _KSL_x2&&_KSL_y == _KSL_y2)
  				{
  					int _KSTMP_RET = 1;
  					DIRECT_CALL_END
  					return _KSTMP_RET;
  				}
  		}
  	}
  	{
  		int _KSTMP_RET = 0;
  		DIRECT_CALL_END
  		return _KSTMP_RET;
  	}
  	DIRECT_CALL_END
  }
  
  //_KSID_oPrepinace_0001_FFFF_0001_0001::_KSID_Prepni_0001_FFFF_0001_0001
  void _KSM_3301_Prepni_0001_FFFF_0001_0001() {
  	_KSVS_3000_sAkce_0001_FFFF_0001_0001* _KSL_a;
  	_KSL_a = (*(_KSVS_3000_sAkce_0001_FFFF_0001_0001**)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Akce_0001_FFFF_0001_0001);
  	OPointer _KSL_o;
  	int _KSL_f;
  	int _KSL_g;
  	CKerName* _KSL__t;
  	CKerArrObject* _KSL__o;
  	int _KSL_x;
  	int _KSL_y;
  	int _KSL_z;
  
  	while(_KSL_a)
  	{
  
  		if(_KSL_a->akce == _KSID_PrepUmisti_0001_FFFF_0001_0001)
  		{
  			_KSL_a->typ2 = _KSL_a->typ1;
  			_KSL_a->typ1 = 0;
  			_KSL__o = _KSL_a->objs1;
  			_KSL_a->objs1 = _KSL_a->objs2;
  			_KSL_a->objs2 = _KSL__o;
  			_KSL_a->akce = _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001;
  		}
  
  		if(_KSL_a->akce == _KSID_PrepOdeber_0001_FFFF_0001_0001)
  			_KSL_a->akce = _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001;
  
  		if(_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001||_KSL_a->akce == _KSID_PrepOdeberUmisti2_0001_FFFF_0001_0001)
  		{
  
  			if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  			{
  
  				if(!_KSL_a->typ1)
  					_KSL_a->objs1->SetCount(0);
  				else
  					KerServices.FindObjsInArea(3322, _KSL_a->objs1, 0, _KSL_a->typ1, _KSL_a->x1, _KSL_a->y1, _KSL_a->x2, _KSL_a->y2);
  			}
  
  			for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  			{
  
  				if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001)||_KSL_a->Pusobnost == _KSID_NaObjekty_0001_FFFF_0001_0001)
  					_KSDM_oPrepinace_0001_FFFF_0001_0001__M_OdeberAZarovnej_0001_FFFF_0001_0001(3325, KerContext->KCthis, _KSL_a->objs1->Read(_KSL_f));
  				else
  					KerMain->DeleteObject(3326, _KSL_a->objs1->Read(_KSL_f));
  			}
  
  			if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  			{
  
  				if(_KSL_a->typ2&&_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001)
  
  					for(_KSL_f = _KSL_a->x1 ;_KSL_f <= _KSL_a->x2 ;_KSL_f++)
  
  						for(_KSL_g = _KSL_a->y1 ;_KSL_g <= _KSL_a->y2 ;_KSL_g++)
  						{
  
  							if(!_KSDM_oPrepinace_0001_FFFF_0001_0001__M_JsouSouradniceObsazene_0001_FFFF_0001_0001(3332, KerContext->KCthis, _KSL_a->objs2, _KSL_f * 40, _KSL_g * 40))
  							{
  								_KSL_o = KerMain->NewObject(3333 , _KSL_a->typ2);
  								KerMain->MapInfo->ChangeObjCoords(3334, _KSL_o, _KSL_f * 40, _KSL_g * 40);
  
  								if(!_KSDM_oPrepinace_0001_FFFF_0001_0001__M_KillPlace_0001_FFFF_0001_0001(3335, KerContext->KCthis, _KSL_o, _KSL_a->objs1))
  									KerMain->DeleteObject(3335, _KSL_o);
  							}
  						}
  			}
  
  			for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs2->GetCount() ;_KSL_f++)
  			{
  				_KSDM_oPrepinace_0001_FFFF_0001_0001__M_KillPlace_0001_FFFF_0001_0001(3340, KerContext->KCthis, _KSL_a->objs2->Read(_KSL_f), _KSL_a->objs1);
  			}
  
  			if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  			{
  				_KSL__t = _KSL_a->typ1;
  				_KSL_a->typ1 = _KSL_a->typ2;
  				_KSL_a->typ2 = _KSL__t;
  				_KSL__o = _KSL_a->objs1;
  				_KSL_a->objs1 = _KSL_a->objs2;
  				_KSL_a->objs2 = _KSL__o;
  
  				if(_KSL_a->akce == _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001)
  					_KSL_a->akce = _KSID_PrepOdeberUmisti2_0001_FFFF_0001_0001;
  				else
  					_KSL_a->akce = _KSID_PrepOdeberUmisti_0001_FFFF_0001_0001;
  			}
  		}
  		else
  
  			if(_KSL_a->akce == _KSID_PrepVymen_0001_FFFF_0001_0001)
  			{
  
  				if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  				{
  					KerServices.FindObjsInArea(3353, _KSL_a->objs1, 0, _KSL_a->typ1, _KSL_a->x1, _KSL_a->y1, _KSL_a->x2, _KSL_a->y2);
  
  					for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  					{
  
  						if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  							_KSDM_oPrepinace_0001_FFFF_0001_0001__M_OdeberAZarovnej_0001_FFFF_0001_0001(3355, KerContext->KCthis, _KSL_a->objs1->Read(_KSL_f));
  						else
  							KerMain->DeleteObject(3356, _KSL_a->objs1->Read(_KSL_f));
  					}
  
  					for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  					{
  						_KSDM_oPrepinace_0001_FFFF_0001_0001__M_PlaceOrFindPlace_0001_FFFF_0001_0001(3360, KerContext->KCthis, _KSL_a->objs1->Read(_KSL_f), _KSL_a->objs2, _KSL_a->typ2);
  					}
  				}
  				else
  				{
  
  					for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  					{
  						_KSDM_oPrepinace_0001_FFFF_0001_0001__M_OdeberAZarovnej_0001_FFFF_0001_0001(3365, KerContext->KCthis, _KSL_a->objs1->Read(_KSL_f));
  					}
  
  					for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  					{
  
  						if(_KSL_f < _KSL_a->objs2->GetCount()&&KerServices.ExistsObj(_KSL_a->objs2->Read(_KSL_f))&&!KerMain->MapInfo->IsObjInMap(_KSL_a->objs2->Read(_KSL_f))&&KerServices.ExistsObj(_KSL_a->objs1->Read(_KSL_f)))
  						{
  							KerServices.ReadObjCoords(_KSL_a->objs1->Read(_KSL_f), &_KSL_x, &_KSL_y, &_KSL_z);
  							KerMain->MapInfo->ChangeObjCoords(3371, _KSL_a->objs2->Read(_KSL_f), _KSL_x, _KSL_y, _KSL_z);
  							KerMain->MapInfo->PlaceObjToMapWithKill(3372, _KSL_a->objs2->Read(_KSL_f));
  						}
  					}
  				}
  
  				if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  				{
  					_KSL__t = _KSL_a->typ1;
  					_KSL_a->typ1 = _KSL_a->typ2;
  					_KSL_a->typ2 = _KSL__t;
  					_KSL__o = _KSL_a->objs1;
  					_KSL_a->objs1 = _KSL_a->objs2;
  					_KSL_a->objs2 = _KSL__o;
  				}
  			}
  			else
  
  				if(_KSL_a->akce == _KSID_PrepMessage_0001_FFFF_0001_0001)
  				{
  
  					if(_KSL_a->Pusobnost == _KSID_NaOblast_0001_FFFF_0001_0001)
  					{
  						KerServices.AreaMessage(3385, _KSL_a->typ1, 0, _KSL_a->typ, _KSL_a->x1, _KSL_a->y1, _KSL_a->x2, _KSL_a->y2);
  					}
  					else
  					{
  
  						for(_KSL_f = 0 ;_KSL_f < _KSL_a->objs1->GetCount() ;_KSL_f++)
  						{
  							_KSL__t = _KSL_a->typ1;
  							KerMain->call(3389, _KSL_a->objs1->Read(_KSL_f), _KSL__t, eKerCTmsg, 0, 0);
  						}
  					}
  
  					if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001))
  					{
  						_KSL__t = _KSL_a->typ1;
  						_KSL_a->typ1 = _KSL_a->typ2;
  						_KSL_a->typ2 = _KSL__t;
  					}
  				}
  		_KSL_a = _KSL_a->next;
  	}
  }
  
  //_KSID_oPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3106_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPrepinac_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3106_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3102_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  }
  
  //_KSID_oPrepinac_0001_FFFF_0001_0001::_KSID_TraingToMoveOver_0001_FFFF_0001_0001
  void _KSM_3418_TraingToMoveOver_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001))
  		return;
  
  	if(KerServices.IsFMemberOfS(KerMain->GetObjType(KerContext->Sender), _KSID_ZapinaPrepinac_0001_FFFF_0001_0001))
  	{
  
  		if((*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001) + 40 > KerMain->GetTime())
  		{
  			(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001) = KerMain->GetTime();
  			return;
  		}
  		(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_time_0001_FFFF_0001_0001) = KerMain->GetTime();
  		ME->PlaySample(_KSID_sPrepinac_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  		KerMain->call(3427, KerContext->KCthis, _KSID_Prepni_0001_FFFF_0001_0001, 0);
  
  		if((*(int*)_KSOV_oPrepinace_0001_FFFF_0001_0001__M_Prepina_0001_FFFF_0001_0001) == 0)
  			(*(int*)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_prepnuto_0001_FFFF_0001_0001) = 1;
  
  		if((*(CKerName**)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001)
  			(*(CKerName**)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  		else
  			(*(CKerName**)_KSOV_oPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_On_0001_FFFF_0001_0001;
  		KerServices.ResetAuto(KerContext->KCthis, 0, 1);
  	}
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3449_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3449_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3453_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001) = _KSID_ReagujeVzdy_0001_FFFF_0001_0001;
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSDM_oTriggerPrepinac_0001_FFFF_0001_0001__M__Prepni_0001_FFFF_0001_0001
  void _KSM_3455__Prepni_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, int _KSL_hned) {
  	DIRECT_CALL_BEGIN(_KSID_oTriggerPrepinac_0001_FFFF_0001_0001,"_KSM_3455__Prepni_0001_FFFF_0001_0001",;)
  
  	if((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001) == _KSID_ReagujeVzdy_0001_FFFF_0001_0001||((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001&&(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001) == _KSID_PriVypnuti_0001_FFFF_0001_0001)||((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_Off_0001_FFFF_0001_0001&&(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_Reaguje_0001_FFFF_0001_0001) == _KSID_PriZapnuti_0001_FFFF_0001_0001))
  	{
  
  		if(_KSL_hned)
  			KerMain->call(3457, KerContext->KCthis, _KSID_Prepni_0001_FFFF_0001_0001, 0);
  		else
  			KerMain->message(3457, KerContext->KCthis, _KSID_Prepni_0001_FFFF_0001_0001, eKerCTnext, 0, 0);
  	}
  
  	if((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001)
  		(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	else
  		(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_On_0001_FFFF_0001_0001;
  	KerServices.ResetAuto(KerContext->KCthis, 0, 1);
  	DIRECT_CALL_END
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_3463__KN_TriggerOn_0001_FFFF_0001_0001() {
  
  	if(!(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001)++;
  
  	if((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_Off_0001_FFFF_0001_0001)
  		_KSDM_oTriggerPrepinac_0001_FFFF_0001_0001__M__Prepni_0001_FFFF_0001_0001(3466, KerContext->KCthis, 0);
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID__KN_TriggerOff
  void _KSM_3468__KN_TriggerOff_0001_FFFF_0001_0001() {
  
  	if(!(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001))
  		return;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001)--;
  
  	if((*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001) == 0)
  		_KSDM_oTriggerPrepinac_0001_FFFF_0001_0001__M__Prepni_0001_FFFF_0001_0001(3471, KerContext->KCthis, 0);
  }
  
  //_KSID_oTriggerPrepinac_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_3473__KN_MapRemoved_0001_FFFF_0001_0001() {
  	KerMain->DeleteObject(3474, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = 0;
  
  	if((*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) == _KSID_On_0001_FFFF_0001_0001)
  		_KSDM_oTriggerPrepinac_0001_FFFF_0001_0001__M__Prepni_0001_FFFF_0001_0001(3476, KerContext->KCthis, 1);
  }
  
  //_KSID_oFotobunka_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_3490__KN_MapPlaced_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  	{
  		(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(3494 , _KSID_otrigger_0001_FFFF_0001_0001);
  		KerMain->call(3495, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) - 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) - 40, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, 3, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, 3);
  		KerMain->call(3496, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_AktivujeFotobunku_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  		KerMain->MapInfo->PlaceObjToMap(3497, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  		KerServices.MConnectObjs((*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  	}
  }
  
  //_KSID_oFotobunka_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_3501__KN_TriggerOn_0001_FFFF_0001_0001() {
  	ME->PlaySample(_KSID_sFotobunka_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  }
  
  //_KSID_oNaslapnaPodlaha_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_3512__KN_MapPlaced_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  	{
  		(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(3516 , _KSID_otrigger_0001_FFFF_0001_0001);
  		KerMain->call(3517, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncX_0001_FFFF_0001_0001, 0, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_ncY_0001_FFFF_0001_0001, 0);
  		KerMain->call(3518, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 2, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, _KSID_VeciPadajiciDoDiry_0001_FFFF_0001_0001, eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  		KerMain->MapInfo->PlaceObjToMap(3519, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  		KerServices.MConnectObjs((*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  	}
  }
  
  //_KSID_oNaslapnaPodlaha_0001_FFFF_0001_0001::_KSID__KN_TriggerOn
  void _KSM_3523__KN_TriggerOn_0001_FFFF_0001_0001() {
  	ME->PlaySample(_KSID_sNaslPodlaha_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  }
  
  //_KSID_oAreaTrigger_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3542_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCcolCube|eKCCcell|eKCCtriggerBit;
  	(*(CKerName**)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerName**)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = _KSID__KN_Nothing;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeZ2_0001_FFFF_0001_0001) = 40;
  	(*(OPointer*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oAreaTrigger_0001_FFFF_0001_0001::_KSID_SetPosSz_0001_FFFF_0001_0001
  void _KSM_3549_SetPosSz_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 1);
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeX2_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 2) - KER_ARGUMENT(int, 0);
  	(*(int*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_BCubeY2_0001_FFFF_0001_0001) = KER_ARGUMENT(int, 3) - KER_ARGUMENT(int, 1);
  }
  
  //_KSID_oAreaTrigger_0001_FFFF_0001_0001::_KSID_SetClzGr_0001_FFFF_0001_0001
  void _KSM_3553_SetClzGr_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzAddGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 0);
  	(*(CKerName**)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_clzSubGr_0001_FFFF_0001_0001) = KER_ARGUMENT(CKerName*, 1);
  	(*(OPointer*)_KSOV_oAreaTrigger_0001_FFFF_0001_0001__M__KN_MsgRedirect_0001_FFFF_0001_0001) = KER_ARGUMENT(OPointer, 2);
  }
  
  //_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3567_Constructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  		KerMain->message(3570, KerContext->KCthis, _KSID_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3567_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(CKerName**)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_OnOff_0001_FFFF_0001_0001) = _KSID_Off_0001_FFFF_0001_0001;
  	(*(int*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_citac_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsGameMode())
  		KerMain->message(3570, KerContext->KCthis, _KSID_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3580_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001) = 0;
  	(*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001) = 0;
  	(*(CKerName**)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001) = _KSID__KN_Everything;
  	(*(CKerName**)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001) = 0;
  }
  
  //_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001::_KSID_CopyConstructor
  void _KSM_3586_CopyConstructor_0001_FFFF_0001_0001() {
  
  	if(KerMain->IsGameMode())
  		KerMain->message(3587, KerContext->KCthis, _KSID_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001, eKerCTmsg, 0, 0);
  }
  
  //_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001::_KSID_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Activate_0001_FFFF_0001_0001
  void _KSM_3590_Activate_0001_FFFF_0001_0001() {
  	(*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001) = KerMain->NewObject(3591 , _KSID_oAreaTrigger_0001_FFFF_0001_0001);
  	KerMain->call(3592, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetPosSz_0001_FFFF_0001_0001, 4, eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X1_0001_FFFF_0001_0001, (*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x1_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y1_0001_FFFF_0001_0001, (*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y1_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_X2_0001_FFFF_0001_0001, (*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_x2_0001_FFFF_0001_0001), eKTint, _KSID_SetPosSz_0001_FFFF_0001_0001__M_Y2_0001_FFFF_0001_0001, (*(int*)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_y2_0001_FFFF_0001_0001));
  	KerMain->call(3593, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), _KSID_SetClzGr_0001_FFFF_0001_0001, 3, eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_AddGr_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Reaguj_0001_FFFF_0001_0001), eKTname, _KSID_SetClzGr_0001_FFFF_0001_0001__M_SubGr_0001_FFFF_0001_0001, (*(CKerName**)_KSOV_oGlobalniPrepinac_0001_FFFF_0001_0001__M_Ignoruj_0001_FFFF_0001_0001), eKTobject, _KSID_SetClzGr_0001_FFFF_0001_0001__M_Redirect_0001_FFFF_0001_0001, KerContext->KCthis);
  	KerMain->MapInfo->PlaceObjToMap(3594, (*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001));
  	KerServices.MConnectObjs((*(OPointer*)_KSOV_oTriggerPrepinac_0001_FFFF_0001_0001__M_triger_0001_FFFF_0001_0001), KerContext->KCthis);
  }
  
  //_KSID_oOpatrnaPrisera_0001_FFFF_0001_0001::_KSID_IsInMoveCollision_0001_FFFF_0001_0001
  void _KSM_3610_IsInMoveCollision_0001_FFFF_0001_0001() {
  
  	if(KER_ARGUMENT(CKerName*, 2) != _KSID_ForceChci_0001_FFFF_0001_0001)
  		{ KER_RETARG(int) = 0; return; }
  	KerServices.FindObjsInArea(3612, (*(CKerArrObject**)_KSG_oOpatrnaPrisera_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001), KerContext->KCthis, _KSID_NebezpeciProPriseru_0001_FFFF_0001_0001, KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1), KER_ARGUMENT(int, 0), KER_ARGUMENT(int, 1));
  
  	if((*(CKerArrObject**)_KSG_oOpatrnaPrisera_0001_FFFF_0001_0001__M_objs_0001_FFFF_0001_0001)->GetCount())
  		{ KER_RETARG(int) = 1; return; }
  	{ KER_RETARG(int) = 0; return; }
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3638_Constructor_0001_FFFF_0001_0001() {
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001) = 255;
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001) = 255;
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001) = 255;
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001) = 64;
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001) = 50;
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3644_Constructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsEditorMode())
  		(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint;
  	else
  		(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint|eKCCinvisible;
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3644_LoadConstructor_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001) = 0;
  
  	if(KerMain->IsEditorMode())
  		(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint;
  	else
  		(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M__KN_CollisionCfg_0001_FFFF_0001_0001) = eKCCpoint|eKCCinvisible;
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID__KN_MapPlaced
  void _KSM_3650__KN_MapPlaced_0001_FFFF_0001_0001() {
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001) = GEnMain->AddLight((*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001), (*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001), (*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001));
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID__KN_MapRemoved
  void _KSM_3654__KN_MapRemoved_0001_FFFF_0001_0001() {
  	GEnMain->DeleteLight((*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001));
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSDM_oSvetlo_0001_FFFF_0001_0001__M_SetSvetlo_0001_FFFF_0001_0001
  void _KSM_3658_SetSvetlo_0001_FFFF_0001_0001(int __CodeLine, OPointer __thisO, unsigned char _KSL_R, unsigned char _KSL_G, unsigned char _KSL_B, int _KSL_Radius, int _KSL_Vyska) {
  	DIRECT_CALL_BEGIN(_KSID_oSvetlo_0001_FFFF_0001_0001,"_KSM_3658_SetSvetlo_0001_FFFF_0001_0001",;)
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001) = _KSL_R;
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001) = _KSL_G;
  	(*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001) = _KSL_B;
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001) = _KSL_Vyska;
  	(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001) = _KSL_Radius;
  	DIRECT_CALL_END
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID_oSvetlo_0001_FFFF_0001_0001__M_AddButton_0001_FFFF_0001_0001
  void _KSM_3665_AddButton_0001_FFFF_0001_0001() {
  	CGUIScriptVariableInterface::AddButton(0, 1, "Zmen Nasviceni", 0, 0, _KSID_oSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001);
  }
  
  //_KSID_oSvetlo_0001_FFFF_0001_0001::_KSID_oSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001
  void _KSM_3669_ZmenNasviceni_0001_FFFF_0001_0001() {
  
  	if(KerMain->MapInfo->IsObjInMap(KerContext->KCthis))
  	{
  		GEnMain->DeleteLight((*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001));
  		(*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_svetlo_0001_FFFF_0001_0001) = GEnMain->AddLight((*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001), (*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_vyska_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001), (*(int*)_KSOV_oSvetlo_0001_FFFF_0001_0001__M_radius_0001_FFFF_0001_0001));
  	}
  }
  
  //_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001::_KSID_Constructor
  void _KSM_3690_Constructor_0001_FFFF_0001_0001() {
  	GEnMain->GetTopLightIntenzity(&(*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001), &(*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001), &(*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001));
  }
  
  //_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001::_KSID_LoadConstructor
  void _KSM_3694_LoadConstructor_0001_FFFF_0001_0001() {
  	GEnMain->SetTopLightIntenzity((*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001));
  }
  
  //_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001::_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001__M_AddButton_0001_FFFF_0001_0001
  void _KSM_3700_AddButton_0001_FFFF_0001_0001() {
  	CGUIScriptVariableInterface::AddButton(0, 1, "Zmen Nasviceni", 0, 0, _KSID_oGlobalniSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001);
  }
  
  //_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001::_KSID_oGlobalniSvetlo_0001_FFFF_0001_0001__M_ZmenNasviceni_0001_FFFF_0001_0001
  void _KSM_3704_ZmenNasviceni_0001_FFFF_0001_0001() {
  	GEnMain->SetTopLightIntenzity((*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_r_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_g_0001_FFFF_0001_0001), (*(unsigned char*)_KSOV_oGlobalniSvetlo_0001_FFFF_0001_0001__M_b_0001_FFFF_0001_0001));
  }
  
  //_KSID_oPriseraSeZvukem1_0001_FFFF_0001_0001::_KSID_MoveStarted_0001_FFFF_0001_0001
  void _KSM_3719_MoveStarted_0001_FFFF_0001_0001() {
  
  	if(mtr.randInt(25) == 0)
  		ME->PlaySample(_KSID_sPfiii_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  }
  
  //_KSID_oPriseraSeZvukem2_0001_FFFF_0001_0001::_KSID_MoveStarted_0001_FFFF_0001_0001
  void _KSM_3727_MoveStarted_0001_FFFF_0001_0001() {
  
  	if(mtr.randInt(5) == 0)
  		ME->PlaySample(_KSID_sPrisera1_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001));
  }
  
  //_KSID_oBouraDoSten_0001_FFFF_0001_0001::_KSID_NarazilJsem_0001_FFFF_0001_0001
  void _KSM_3743_NarazilJsem_0001_FFFF_0001_0001() {
  
  	if((*(int*)_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001) == KerMain->GetTime())
  		return;
  	(*(int*)_KSOV_oBouraDoSten_0001_FFFF_0001_0001__M_cas_0001_FFFF_0001_0001) = KerMain->GetTime();
  	ME->PlaySample(_KSID_sPadKamenu_0001_FFFF_0001_0001, (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosX_0001_FFFF_0001_0001), (*(int*)_KSOV_placeable_0001_FFFF_0001_0001__M__KN_ObjPosY_0001_FFFF_0001_0001), 0.65);
  }
  
  