Advertisement
Jhynjhiruu

Level loading code

Apr 12th, 2018
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _root.DoorTrasition = function(doorplace)
  2. {
  3.    if(doorplace == "XY")
  4.    {
  5.       _root.Course.Char._x = _root.WarpPipeX + _root.Course.BackGFX._x;
  6.       _root.Course.Char._y = _root.WarpPipeY + _root.Course.BackGFX._y;
  7.       _root.Course.Char.attack = false;
  8.       _root.attachMovie("StarIn","Transition",_root.getNextHighestDepth(),{_x:_root.screensizeX / 2,_y:_root.screensizeY / 2});
  9.    }
  10.    else if(doorplace == "inCastle")
  11.    {
  12.       _root.StartInsideofCastle();
  13.    }
  14.    else if(doorplace == "outCastle")
  15.    {
  16.       _root.RemoveCourse();
  17.       _root.gotoAndStop("Courseframe");
  18.       _root.StartChar("Castle",0,50,0,50,150,_root.CurrentPlayer,_root.Fluddpow,"StarIn",true);
  19.       _root.onEnterFrame = function()
  20.       {
  21.          _root.CharCode();
  22.       };
  23.    }
  24.    else if(doorplace == "C-MR")
  25.    {
  26.       _root.changecourse("StarIn","C-4-SC1",-674,-60,-674,-60);
  27.    }
  28.    else if(doorplace == "C-MR-back")
  29.    {
  30.       _root.changecourse("StarIn","C-4",1260,0,1260,0);
  31.    }
  32.    else if(doorplace == "C-1-1")
  33.    {
  34.       _root.changecourse("StarIn","C-1",0,0,0,0);
  35.    }
  36.    else if(doorplace == "Castle-02")
  37.    {
  38.       _root.changecourse("StarIn","Castle",1400,390,1400,390,true);
  39.    }
  40.    else if(doorplace == "C-1-2")
  41.    {
  42.       _root.changecourse("StarIn","C-1",-550,-60,-550,-60);
  43.    }
  44.    else if(doorplace == "C-1-3")
  45.    {
  46.       _root.changecourse("StarIn","C-1",550,-60,550,-60);
  47.    }
  48.    else if(doorplace == "C-1-4")
  49.    {
  50.       _root.changecourse("StarIn","C-1",0,-195,0,-195);
  51.    }
  52.    else if(doorplace == "C-1-5")
  53.    {
  54.       _root.changecourse("StarIn","C-1",160,0,160,0);
  55.    }
  56.    else if(doorplace == "C-1-6")
  57.    {
  58.       _root.changecourse("StarIn","C-1",-160,0,-160,0);
  59.    }
  60.    else if(doorplace == "C-1-7")
  61.    {
  62.       _root.changecourse("StarIn","C-1",460,-200,460,-200);
  63.    }
  64.    else if(doorplace == "C-1-8")
  65.    {
  66.       _root.changecourse("StarIn","C-1",-460,-200,-460,-200);
  67.    }
  68.    else if(doorplace == "C-1-9")
  69.    {
  70.       _root.changecourse("StarIn","C-1",-390,-16,-390,-16);
  71.    }
  72.    else if(doorplace == "C-1-10")
  73.    {
  74.       _root.changecourse("StarIn","C-1",390,-16,390,-16);
  75.    }
  76.    else if(doorplace == "C-2-1")
  77.    {
  78.       _root.changecourse("StarIn","C-2",0,0,0,0);
  79.    }
  80.    else if(doorplace == "C-2-2")
  81.    {
  82.       _root.changecourse("StarIn","C-2-2",0,0,0,0);
  83.    }
  84.    else if(doorplace == "C-3-1")
  85.    {
  86.       _root.changecourse("StarIn","C-3",0,0,0,0);
  87.    }
  88.    else if(doorplace == "C-3-2")
  89.    {
  90.       _root.changecourse("StarIn","C-3-2",0,0,0,0);
  91.    }
  92.    else if(doorplace == "C-4-1")
  93.    {
  94.       _root.changecourse("StarIn","C-4",0,0,0,0);
  95.    }
  96.    else if(doorplace == "C-4-2")
  97.    {
  98.       _root.changecourse("StarIn","C-4",-846,-406,-846,-400);
  99.    }
  100.    else if(doorplace == "C-4-L")
  101.    {
  102.       if(_root.CurrentPlayer !== "Luigi")
  103.       {
  104.          _root.CurrentPlayer = "Luigi";
  105.       }
  106.       else
  107.       {
  108.          _root.CurrentPlayer = "Mario";
  109.       }
  110.       _root.changecourse("StarIn","C-4",1100,0,1100,0);
  111.    }
  112.    else if(doorplace == "C-4H-1")
  113.    {
  114.       _root.changecourse("StarIn","C-4H",0,0,0,0);
  115.    }
  116.    else if(doorplace == "C-4H-2")
  117.    {
  118.       _root.changecourse("StarIn","C-4H",0,0,382,-85);
  119.    }
  120.    else if(doorplace == "C-4H-sd")
  121.    {
  122.       _root.changecourse("StarIn","C-4H",400,-365,400,-365);
  123.    }
  124.    else if(doorplace == "C-4H-3")
  125.    {
  126.       _root.changecourse("StarIn","C-4H",0,-300,20,-575);
  127.    }
  128.    else if(doorplace == "C-5-1")
  129.    {
  130.       _root.changecourse("StarIn","C-5",0,0,0,0);
  131.    }
  132.    else if(doorplace == "C-6-1")
  133.    {
  134.       _root.changecourse("StarIn","C-6",250,0,250,0);
  135.    }
  136.    else if(doorplace == "C-6-2")
  137.    {
  138.       _root.changecourse("StarIn","C-6",-250,0,-250,0);
  139.    }
  140.    else if(doorplace == "C-6-3")
  141.    {
  142.       _root.changecourse("StarIn","C-6",0,-95,0,-95,true);
  143.    }
  144.    else if(doorplace == "C-6-4")
  145.    {
  146.       _root.changecourse("StarIn","C-6",0,80,0,80);
  147.    }
  148.    else if(doorplace == "C-7-1")
  149.    {
  150.       _root.changecourse("StarIn","C-7",0,0,0,0);
  151.    }
  152.    else if(doorplace == "C-7-2")
  153.    {
  154.       _root.changecourse("StarIn","C-7",-820,12,-820,12);
  155.    }
  156.    else if(doorplace == "C-7-3")
  157.    {
  158.       _root.changecourse("StarIn","C-7",610,40,610,40);
  159.    }
  160.    else if(doorplace == "C-8-1")
  161.    {
  162.       _root.changecourse("StarIn","C-8",0,0,0,0);
  163.    }
  164.    else if(doorplace == "C-8-2")
  165.    {
  166.       _root.changecourse("StarIn","C-8",784,-16,784,-16);
  167.    }
  168.    else if(doorplace == "C-8-3")
  169.    {
  170.       _root.changecourse("StarIn","C-8",1201,45,1201,45,true);
  171.    }
  172.    else if(doorplace == "C-9-1")
  173.    {
  174.       _root.changecourse("StarIn","C-9",0,0,0,0);
  175.    }
  176.    else if(doorplace == "C-9-2")
  177.    {
  178.       _root.changecourse("StarIn","C-9",300,-185,300,-185);
  179.    }
  180.    else if(doorplace == "C-10-1")
  181.    {
  182.       _root.changecourse("StarIn","C-10",0,0,0,0);
  183.    }
  184.    else if(doorplace == "C-10-2")
  185.    {
  186.       _root.changecourse("StarIn","C-10",-223,0,-223,0);
  187.    }
  188.    else if(doorplace == "C-10-3")
  189.    {
  190.       _root.changecourse("StarIn","C-10",720,-185,720,-185);
  191.    }
  192.    else if(doorplace == "C-10-sd")
  193.    {
  194.       _root.changecourse("StarIn","C-10",-235,-575,-235,-575);
  195.    }
  196.    else if(doorplace == "C-10-D3")
  197.    {
  198.       _root.changecourse("StarIn","C-10",-170,-512,-170,-512,true);
  199.    }
  200.    else if(doorplace == "C-10-D2")
  201.    {
  202.       _root.changecourse("StarIn","C-10",-235,-512,-235,0);
  203.    }
  204.    else if(doorplace == "C-10-D1")
  205.    {
  206.       _root.changecourse("StarIn","C-10",-297,-512,-297,0);
  207.    }
  208.    else if(doorplace == "C-11-1")
  209.    {
  210.       _root.changecourse("StarIn","C-11",0,0,0,0);
  211.    }
  212.    else if(doorplace == "C-12-1")
  213.    {
  214.       _root.changecourse("StarIn","C-12",0,0,0,0);
  215.    }
  216.    else if(doorplace == "C-12-2")
  217.    {
  218.       _root.changecourse("StarIn","C-12",80,-250,80,-250);
  219.    }
  220.    else if(doorplace == "C-13-1")
  221.    {
  222.       _root.changecourse("StarIn","C-13",0,0,0,0);
  223.    }
  224.    else if(doorplace == "C-O-1")
  225.    {
  226.       _root.changecourse("StarIn","C-O",0,0,0,0,true);
  227.    }
  228.    else if(doorplace == "C-O-2")
  229.    {
  230.       _root.changecourse("StarIn","C-O",300,0,-950,-363,true);
  231.    }
  232.    else if(doorplace == "C-Opening")
  233.    {
  234.       if(_root.Star[39] == true)
  235.       {
  236.          _root.changecourse("righttransition2","Castle",-1300,100,-1300,100);
  237.       }
  238.       else
  239.       {
  240.          _root.bgsong.stop();
  241.          _root.gotoAndStop("Intro2");
  242.          _root.RemoveCourse();
  243.       }
  244.    }
  245.    else if(doorplace == "4-1-1")
  246.    {
  247.       _root.changecourse("StarIn","4-1",610,150,610,150);
  248.    }
  249.    else if(doorplace == "4-1-2")
  250.    {
  251.       _root.changecourse("StarIn","4-1",-315,200,-315,200);
  252.    }
  253.    else if(doorplace == "4-1-3")
  254.    {
  255.       _root.changecourse("StarIn","4-1",610,-810,610,-810);
  256.    }
  257.    else if(doorplace == "4-1-4")
  258.    {
  259.       _root.changecourse("StarIn","4-1",245,-1010,245,-1010);
  260.    }
  261.    else if(doorplace == "4-1-5")
  262.    {
  263.       _root.changecourse("StarIn","4-1",610,-1305,610,-1305);
  264.    }
  265.    else if(doorplace == "4-2-1")
  266.    {
  267.       _root.changecourse("StarIn","4-2",0,0,0,0);
  268.    }
  269.    else if(doorplace == "4-2-2")
  270.    {
  271.       _root.changecourse("StarIn","4-2",-400,0,-400,0);
  272.    }
  273.    else if(doorplace == "4-2-3")
  274.    {
  275.       _root.changecourse("StarIn","4-2",-250,0,-250,0);
  276.    }
  277.    else if(doorplace == "4-2-4")
  278.    {
  279.       _root.changecourse("StarIn","4-2",250,0,250,0);
  280.    }
  281.    else if(doorplace == "4-2-5")
  282.    {
  283.       _root.changecourse("StarIn","4-2",400,0,400,0);
  284.    }
  285.    else if(doorplace == "4-2-6")
  286.    {
  287.       _root.changecourse("StarIn","4-2",-400,-375,-400,-375);
  288.    }
  289.    else if(doorplace == "4-2-7")
  290.    {
  291.       _root.changecourse("StarIn","4-2",-250,-375,-250,-375);
  292.    }
  293.    else if(doorplace == "4-2-8")
  294.    {
  295.       _root.changecourse("StarIn","4-2",250,-375,250,-375);
  296.    }
  297.    else if(doorplace == "4-2-9")
  298.    {
  299.       _root.changecourse("StarIn","4-2",400,-375,400,-375);
  300.    }
  301.    else if(doorplace == "4-2-10")
  302.    {
  303.       _root.changecourse("StarIn","4-2",0,-610,0,-610);
  304.    }
  305.    else if(doorplace == "4-3-1")
  306.    {
  307.       _root.changecourse("StarIn","4-3",0,20,0,20);
  308.    }
  309.    else if(doorplace == "4-3-2")
  310.    {
  311.       _root.changecourse("StarIn","4-3",1300,20,1300,20);
  312.    }
  313.    else if(doorplace == "4-3-3")
  314.    {
  315.       _root.changecourse("StarIn","4-3",0,-780,0,-780);
  316.    }
  317.    else if(doorplace == "4-3-4")
  318.    {
  319.       _root.changecourse("StarIn","4-3",100,-1776,100,-1776);
  320.    }
  321.    else if(doorplace == "4-4-1")
  322.    {
  323.       _root.changecourse("StarIn","4-4",0,20,0,20);
  324.    }
  325.    else if(doorplace == "4-4-2")
  326.    {
  327.       _root.changecourse("StarIn","4-4",-1300,20,-1300,20);
  328.    }
  329.    else if(doorplace == "4-4-3")
  330.    {
  331.       _root.changecourse("StarIn","4-4",0,-780,0,-780);
  332.    }
  333.    else if(doorplace == "4-4-4")
  334.    {
  335.       _root.changecourse("StarIn","4-4",200,-1776,200,-1776);
  336.    }
  337.    else if(doorplace == "4-5-1")
  338.    {
  339.       _root.changecourse("StarIn","4-5",-1300,20,-1300,20);
  340.    }
  341.    else if(doorplace == "4-5-2")
  342.    {
  343.       _root.changecourse("StarIn","4-5",1300,20,1300,20);
  344.    }
  345.    else if(doorplace == "4-6-1")
  346.    {
  347.       _root.changecourse("StarIn","4-6",0,0,0,0);
  348.    }
  349.    else if(doorplace == "4-6-2")
  350.    {
  351.       _root.changecourse("StarIn","4-6",0,-480,0,-480);
  352.    }
  353.    else if(doorplace == "4-7-1")
  354.    {
  355.       _root.changecourse("StarIn","4-7",0,0,0,0);
  356.    }
  357.    else if(doorplace == "4-7-2")
  358.    {
  359.       _root.changecourse("StarIn","4-7",-150,-400,-150,-400);
  360.    }
  361.    else if(doorplace == "4-8-1")
  362.    {
  363.       _root.changecourse("StarIn","4-8",-1350,100,-1350,100);
  364.    }
  365.    else if(doorplace == "4-8-2")
  366.    {
  367.       _root.changecourse("StarIn","4-8",-800,100,-800,100);
  368.    }
  369.    else if(doorplace == "4-8-3")
  370.    {
  371.       _root.changecourse("StarIn","4-8",0,0,0,0);
  372.    }
  373.    else if(doorplace == "4-8-4")
  374.    {
  375.       _root.changecourse("StarIn","4-8",1200,100,1200,100);
  376.    }
  377.    else if(doorplace == "4-8-5")
  378.    {
  379.       _root.changecourse("StarIn","4-8",800,100,800,100);
  380.    }
  381.    else if(doorplace == "4-9-1")
  382.    {
  383.       _root.changecourse("StarIn","4-9",0,0,0,0);
  384.    }
  385.    else if(doorplace == "4-9-2")
  386.    {
  387.       _root.changecourse("StarIn","4-9",-1450,0,-1450,0);
  388.    }
  389.    else if(doorplace == "4-9-3")
  390.    {
  391.       _root.changecourse("StarIn","4-9",0,-1055,0,-1055);
  392.    }
  393.    else if(doorplace == "4-10-1")
  394.    {
  395.       _root.changecourse("StarIn","4-10",-3090,-630,-3090,-630);
  396.    }
  397.    else if(doorplace == "4-11-1")
  398.    {
  399.       _root.changecourse("StarIn","4-11",0,0,0,0,true);
  400.    }
  401.    else if(doorplace == "5-1-1")
  402.    {
  403.       _root.changecourse("StarIn","5-1",620,150,620,150);
  404.    }
  405.    else if(doorplace == "5-1-2")
  406.    {
  407.       _root.changecourse("StarIn","5-1",2980,-50,2980,-50);
  408.    }
  409.    else if(doorplace == "5-5")
  410.    {
  411.       _root.changecourse("StarIn","5-5",0,0,0,0);
  412.    }
  413.    else if(doorplace == "5-7-1")
  414.    {
  415.       _root.changecourse("StarIn","5-7",0,0,0,0);
  416.    }
  417.    else if(doorplace == "5-8-1")
  418.    {
  419.       _root.changecourse("StarIn","5-8",0,0,0,0);
  420.    }
  421.    else if(doorplace == "6-5")
  422.    {
  423.       _root.changecourse("StarIn","6-5",500,500,-600,666,true);
  424.    }
  425.    else if(doorplace == "7-6")
  426.    {
  427.       _root.changecourse("StarIn","7-6",0,0,0,0,true);
  428.    }
  429.    else if(doorplace == "8-1-2")
  430.    {
  431.       _root.changecourse("StarIn","8-1",4128,-10,4128,-10);
  432.    }
  433.    else if(doorplace == "8-2-1")
  434.    {
  435.       _root.changecourse("StarIn","8-2",0,0,0,0);
  436.    }
  437.    else if(doorplace == "8-2-bleft")
  438.    {
  439.       _root.changecourse("StarIn","8-2",-812,-114,-812,-114);
  440.    }
  441.    else if(doorplace == "8-2-bright")
  442.    {
  443.       _root.changecourse("StarIn","8-2",760,-114,760,-114);
  444.    }
  445.    else if(doorplace == "8-2-uleft")
  446.    {
  447.       _root.changecourse("StarIn","8-2",-1350,-420,-1350,-420,true);
  448.    }
  449.    else if(doorplace == "8-2-uright")
  450.    {
  451.       _root.changecourse("StarIn","8-2",830,-420,830,-420);
  452.    }
  453.    else if(doorplace == "8-2-top")
  454.    {
  455.       _root.changecourse("StarIn","8-2",0,-1090,0,-1090);
  456.    }
  457.    else if(doorplace == "8-3")
  458.    {
  459.       _root.changecourse("StarIn","8-3",0,95,0,95);
  460.    }
  461.    else if(doorplace == "8-4")
  462.    {
  463.       _root.changecourse("StarIn","8-4",0,95,0,95);
  464.    }
  465.    else if(doorplace == "8-5")
  466.    {
  467.       _root.changecourse("StarIn","8-5",0,0,0,0,true);
  468.    }
  469.    else if(doorplace == "8-6")
  470.    {
  471.       _root.changecourse("StarIn","8-6",0,0,0,0);
  472.    }
  473.    else if(doorplace == "8-7")
  474.    {
  475.       _root.changecourse("StarIn","8-7",0,0,0,0);
  476.    }
  477.    else if(doorplace == "8-7bleft")
  478.    {
  479.       _root.changecourse("StarIn","8-7",-468,20,-468,20);
  480.    }
  481.    else if(doorplace == "8-7bright")
  482.    {
  483.       _root.changecourse("StarIn","8-7",468,20,468,20);
  484.    }
  485.    else if(doorplace == "8-7uleft")
  486.    {
  487.       _root.changecourse("StarIn","8-7",-556,-577,-556,-577);
  488.    }
  489.    else if(doorplace == "8-7uright")
  490.    {
  491.       _root.changecourse("StarIn","8-7",556,-577,556,-577);
  492.    }
  493.    else if(doorplace == "8-7utop")
  494.    {
  495.       _root.changecourse("StarIn","8-7",0,-582,0,-582);
  496.    }
  497.    else if(doorplace == "8-8")
  498.    {
  499.       _root.changecourse("StarIn","8-8",0,0,0,0);
  500.    }
  501.    else if(doorplace == "8-8u")
  502.    {
  503.       _root.changecourse("StarIn","8-8",-656,-2620,-656,-2620);
  504.    }
  505.    else if(doorplace == "8-9")
  506.    {
  507.       _root.changecourse("StarIn","8-9",0,0,0,0);
  508.    }
  509.    else if(doorplace == "8-9u")
  510.    {
  511.       _root.changecourse("StarIn","8-9",0,0,0,0);
  512.    }
  513.    else if(doorplace == "8-10")
  514.    {
  515.       _root.changecourse("StarIn","8-10",-290,0,-290,0);
  516.    }
  517.    else if(doorplace == "8-10-b")
  518.    {
  519.       _root.changecourse("StarIn","8-10-b",-547,-1470,-547,-1470,true);
  520.    }
  521.    else if(doorplace == "8-10u")
  522.    {
  523.       _root.changecourse("StarIn","8-10-b",-575,-1470,-575,-1470,true);
  524.    }
  525.    else if(doorplace == "8-11")
  526.    {
  527.       _root.changecourse("StarIn","8-11",-170,30,-170,30,true);
  528.    }
  529.    else if(doorplace == "8-11u")
  530.    {
  531.       _root.changecourse("StarIn","8-11",0,-820,0,-820,true);
  532.    }
  533.    else if(doorplace == "8-12")
  534.    {
  535.       _root.changecourse("StarIn","8-12",0,0,0,0);
  536.    }
  537.    else if(doorplace == "8-12-Warp")
  538.    {
  539.       _root.Fluddpow = "";
  540.       _root.StopBGsong();
  541.       _root.lvl8keyA = false;
  542.       _root.lvl8keyB = false;
  543.       _root.lvl8keyC = false;
  544.       _root.lvl8keyD = false;
  545.       _root.lvl8keyE = true;
  546.       _root.Playinglevel = 8;
  547.       _root.SongIntro = "BowserTrapIntro";
  548.       _root.SongRepeat = "BowserTrapRepeat";
  549.       _root.PlayMusicAndIntro();
  550.       _root.changecourse("StarIn","8-12",-192,-52,-192,-52);
  551.    }
  552.    else if(doorplace == "C-13-Warp")
  553.    {
  554.       _root.Fluddpow = "";
  555.       _root.StopBGsong();
  556.       _root.lvl8keyA = false;
  557.       _root.lvl8keyB = false;
  558.       _root.lvl8keyC = false;
  559.       _root.lvl8keyD = false;
  560.       _root.lvl8keyE = true;
  561.       _root.Playinglevel = 0;
  562.       _root.SongIntro = "None";
  563.       _root.SongRepeat = "InsidetheCastleWalls";
  564.       _root.StartNewMusicAndIntroNoVar("BowserPlan-Intro","BowserPlan-Repeat");
  565.       _root.changecourse("StarIn","C-13",1066,-215,1066,-215);
  566.    }
  567.    else if(doorplace == "8-E2-2")
  568.    {
  569.       _root.Fluddpow = "";
  570.       _root.changecourse("StarIn","8-E2-2",0,-200,0,-200,true);
  571.    }
  572.    else if(doorplace == "8-13")
  573.    {
  574.       _root.changecourse("StarIn","8-13",0,0,0,0,true);
  575.    }
  576.    else if(doorplace == "8-E3-1")
  577.    {
  578.       _root.changecourse("StarIn","8-E3-1",0,0,0,0,true);
  579.    }
  580.    else if(doorplace == "8-E5-1")
  581.    {
  582.       _root.Restartcoins();
  583.       _root.Fluddpow = "";
  584.       _root.changecourse("StarIn","8-E5-1",-1693,-60,-1693,-60,true);
  585.    }
  586.    else if(doorplace == "8-E5-1-1")
  587.    {
  588.       _root.Fluddpow = "";
  589.       _root.changecourse("StarIn","8-E5-1",-212,-25,-212,-25,true);
  590.    }
  591.    else if(doorplace == "9-02")
  592.    {
  593.       _root.Restartcoins();
  594.       _root.Fluddpow = "";
  595.       _root.changecourse("StarIn","9-02",0,0,0,0,true);
  596.    }
  597.    else if(doorplace == "9-04")
  598.    {
  599.       _root.Restartcoins();
  600.       _root.Fluddpow = "";
  601.       _root.changecourse("StarIn","9-04",0,0,0,0,true);
  602.    }
  603.    else if(doorplace == "9-06")
  604.    {
  605.       _root.Restartcoins();
  606.       _root.Fluddpow = "";
  607.       _root.changecourse("StarIn","9-06",0,0,0,0,true);
  608.    }
  609.    else if(doorplace == "M1-2")
  610.    {
  611.       _root.changecourse("StarIn","M1-2",-1465,-320,-1465,-320,true);
  612.    }
  613.    else if(doorplace == "M2-1-1")
  614.    {
  615.       _root.changecourse("StarIn","M2-1",795,125,795,125);
  616.    }
  617.    else if(doorplace == "M2-2-1")
  618.    {
  619.       _root.changecourse("StarIn","M2-2",0,0,0,0);
  620.    }
  621.    else if(doorplace == "BC-0")
  622.    {
  623.       _root.gotoAndStop("BowserBattle3");
  624.       _root.RemoveCourse();
  625.    }
  626.    else if(doorplace == "BC-1")
  627.    {
  628.       _root.changecourse("StarIn","BC-1",0,0,0,0);
  629.    }
  630.    else if(doorplace == "C-4-SC1")
  631.    {
  632.       _root.changecourse("StarIn","C-4-SC1",0,0,0,0);
  633.    }
  634.    else if(doorplace == "C-4-SC2")
  635.    {
  636.       _root.changecourse("StarIn","C-4-SC1",0,-260,0,-260);
  637.    }
  638.    else if(doorplace == "C-4-SC1-back")
  639.    {
  640.       _root.changecourse("StarIn","C-4",1164,0,1164,0);
  641.    }
  642.    else if(doorplace == "C-4-SC1-back2")
  643.    {
  644.       _root.changecourse("StarIn","C-4",1036,0,1036,0);
  645.    }
  646.    else if(doorplace == "level1")
  647.    {
  648.       _root.changecourse("StarIn","level1",0,0,0,0);
  649.    }
  650.    else
  651.    {
  652.       _root.changecourse("StarIn","C-1",0,0,0,0);
  653.    }
  654. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement