NScumm.Sword1.Logic.fnGetTo C# (CSharp) Method

fnGetTo() private method

private fnGetTo ( SwordObject cpt, int id, int a, int b, int c, int d, int z, int x ) : int
cpt SwordObject
id int
a int
b int
c int
d int
z int
x int
return int
        private int fnGetTo(SwordObject cpt, int id, int a, int b, int c, int d, int z, int x)
        {
            SwordObject place = _objMan.FetchObject((uint)cpt.place);

            cpt.tree.script_level++;
            cpt.tree.script_pc[cpt.tree.script_level] = place.get_to_script;
            cpt.tree.script_id[cpt.tree.script_level] = place.get_to_script;
            return SCRIPT_STOP;
        }