static final boolean method778(int i, int i_59_, int i_60_, boolean bool, int i_61_, int i_62_, int i_63_, int i_64_, int i_65_) {
		anInt1040++;
		int fromSceneX = Class295.myPlayer.scenePositionXQueue[0];
		int fromSceneY = Class295.myPlayer.scenePositionYQueue[0];
		if ((fromSceneX ^ 0xffffffff) > -1 || fromSceneX >= Node_Sub54.GAME_SCENE_WDITH || (fromSceneY ^ 0xffffffff) > -1 || (Class377_Sub1.GAME_SCENE_HEIGHT ^ 0xffffffff) >= (fromSceneY ^ 0xffffffff)) {
			return false;
		}
		if (i_61_ < 0 || (Node_Sub54.GAME_SCENE_WDITH ^ 0xffffffff) >= (i_61_ ^ 0xffffffff) || (i_59_ ^ 0xffffffff) > -1 || i_59_ >= Class377_Sub1.GAME_SCENE_HEIGHT) {
			return false;
		}
		int steps = Class275.calculateRoute(fromSceneX, fromSceneY, i_61_, i_59_, Class295.myPlayer.getSize((byte) 107), i_63_, bool, i_65_, i_60_, i_62_, i, Class304.SCENE_CLIP_DATA_PLANES[Class295.myPlayer.plane], Class328_Sub1.calculatedScenePositionXs, Class258.calculatedScenePositionYs, (byte) -41);
		if (steps < 1) {
			return false;
		}
		Class359.anInt4467 = Class328_Sub1.calculatedScenePositionXs[-1 + steps];
		Node_Sub15_Sub4.anInt9798 = Class258.calculatedScenePositionYs[steps - 1];
		Class144.aBoolean1791 = false;
		NpcDefinition.method3002((byte) 97);
		return true;
	}