<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset_script(self):
 """Clear any partially received script."""


        self.remote_bridge.status = BRIDGE_STATUS.IDLE
        self.remote_bridge.error = 0
        self.remote_bridge.parsed_script = None
        self._device.script = bytearray()

        return [0]