Refactored code variable names to be shorter.  index0x88 -> index, pieceFlags -> piece