What is the runs definition of being on the ship? By the characters pixels touching the ship or him being on the ship's stairs?
The sprite touching the ship