prewarned by tyler of this danger , captain rob gave the command and one of the able bodied seamen on deck raised the two colored flags that they had made a few days before : a red flag with white diagonal stripes , and a green flag with a large , round , black spot in the middle .