def set_destination_value(self, direction=1):
        # We can only know if we have a destination if we know where we are
        self.log.debug("@@@ set_destination_value")
        self.log.debug("@@@ old destination_index: %s",
                       self._destination_index)
        if self.assumed_value != -999:
            if direction == 1:
                self._destination_index = self.assumed_value + 1
                if self._destination_index > (self.num_values - 1):
                    self._destination_index = 0
                if self._destination_index == 1:
                    self.rollover_reel_advanced = False
                self.log.debug("@@@ new destination_index: %s",
                               self._destination_index)
                return self._destination_index
            elif direction == -1:
                self._destination_index = self.assumed_value - 1
                if self._destination_index < 0:
                    self._destination_index = (self.num_values - 1)
                self.log.debug("@@@ new destination_index: %s",
                               self._destination_index)
                return self._destination_index
        else:
            self.log.debug("@@@ new destination_index: -999")
            self._destination_index = -999
            return -999

# The MIT License (MIT)

# Copyright (c) 2013-2015 Brian Madden and Gabe Knuth

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Returns the integer value of the destination this reel is moving to.
dataset/ETHPy150Open missionpinball/mpf/mpf/devices/score_reel.py/ScoreReel.set_destination_value