if (global.fighting == 1) depth = 1000; else depth = 50000;