Treasure Planet (1982 film)

On an entirely artificial Earth where nature ceased to exist long ago, a bio-robot named Black Dog confronts old space pirate and his fellow Billy Bones for a star map, leading to the treasure of Captain Flint.

After dropping trumpets onto Black Dog, Billy tries to fly away in a wheelchair, but is cornered and forced to jump rope until he hands the map over.

Filipe returns to his captain, Commander Smollett, who had been busy fending off several trickster robots, dressed in disguise, who had been asking for information about the map, in addition to wanting a haircut and a hamburger.

Filipe's conscience is transported to the past where he is now Jim Hawkins on an old wooden ship, where Smollett identifies the existence of both Treasure Island and Robert Louis Stevenson.

The commander and Filipe escape through a trap door, in time to see the Hispaniola fly away, leaving the duo, along with the parrot, marooned on Treasure Planet.

As the days go by, the trio prepare for the end of their lives; the commander refuses to speak, while the parrot runs low on batteries.

In epilogue, Filipe reveals that he is not condemned to the black hole for eternity and that every day he is reincarnated as a new being on Earth, one of which was a boy named Jim Hawkins.