function getZFactor(){ int x=0; int scale=player.Scaling; if (scale==0) { return 0; } else { switch (scale) { 1: x=0; break; 2: x=-1; break; 3: x=-2; break;...