46317: Graphic layout routine: (236) Set graphic index in next instruction to value randomly selected from list
Read current byte (n, number of values), generate random number m (1 to n inclusive) and copy the m-th byte in following list into position after end of list bytes (i.e. the graphic index field of the next graphic layout data entry), then advance current position to this location.