case MASTER_CODE: case CHEATS_16_BIT_WRITE: case CHEATS_32_BIT_WRITE:
static int getCodeLength(int num){  if(num >= cheatsNumber || num < 0)    return 1;  // this is for all the codes that are true multiline  switch(cheatsList[num].size) {  case INT_8_BIT_WRITE:  case INT_16_BIT_WRITE:  case INT_32_BIT_WRITE:  case GSA_16_BIT_ROM_PATCH:  case GSA_8_BIT_GS_WRITE:  case GSA_16_BIT_GS_WRITE:  case GSA_32_BIT_GS_WRITE:  case CBA_AND:  case GSA_8_BIT_FILL:  case GSA_16_BIT_FILL:  case GSA_SLOWDOWN:  case CBA_ADD:  case CBA_OR:  case GSA_8_BIT_POINTER:  case GSA_16_BIT_POINTER:  case GSA_32_BIT_POINTER:  case GSA_8_BIT_ADD:  case GSA_16_BIT_ADD:  case GSA_32_BIT_ADD:  case GSA_CODES_ON:  case GSA_8_BIT_IF_TRUE3:  case GSA_16_BIT_IF_TRUE3:  case GSA_32_BIT_IF_TRUE3:  case GSA_8_BIT_IF_FALSE3:  case GSA_16_BIT_IF_FALSE3:  case GSA_32_BIT_IF_FALSE3:  case GSA_8_BIT_IF_LOWER_S3:  case GSA_16_BIT_IF_LOWER_S3:  case GSA_32_BIT_IF_LOWER_S3:  case GSA_8_BIT_IF_HIGHER_S3:  case GSA_16_BIT_IF_HIGHER_S3:  case GSA_32_BIT_IF_HIGHER_S3:  case GSA_8_BIT_IF_LOWER_U3:  case GSA_16_BIT_IF_LOWER_U3:  case GSA_32_BIT_IF_LOWER_U3:  case GSA_8_BIT_IF_HIGHER_U3:  case GSA_16_BIT_IF_HIGHER_U3:  case GSA_32_BIT_IF_HIGHER_U3:  case GSA_8_BIT_IF_AND3:  case GSA_16_BIT_IF_AND3:  case GSA_32_BIT_IF_AND3:  case GSA_8_BIT_IF_LOWER_U:  case GSA_16_BIT_IF_LOWER_U:  case GSA_32_BIT_IF_LOWER_U:  case GSA_8_BIT_IF_HIGHER_U:  case GSA_16_BIT_IF_HIGHER_U:  case GSA_32_BIT_IF_HIGHER_U:  case GSA_8_BIT_IF_AND:  case GSA_16_BIT_IF_AND:  case GSA_32_BIT_IF_AND:  case GSA_ALWAYS:  case GSA_8_BIT_IF_LOWER_S:  case GSA_16_BIT_IF_LOWER_S:  case GSA_32_BIT_IF_LOWER_S:  case GSA_8_BIT_IF_HIGHER_S:  case GSA_16_BIT_IF_HIGHER_S:  case GSA_32_BIT_IF_HIGHER_S:  case GSA_16_BIT_WRITE_IOREGS:  case GSA_32_BIT_WRITE_IOREGS:  case GSA_8_BIT_GS_WRITE2:  case GSA_16_BIT_GS_WRITE2:  case GSA_32_BIT_GS_WRITE2:  case GSA_16_BIT_ROM_PATCH2C:  case GSA_16_BIT_ROM_PATCH2D:  case GSA_16_BIT_ROM_PATCH2E:  case GSA_16_BIT_ROM_PATCH2F:  case GSA_8_BIT_SLIDE:  case GSA_16_BIT_SLIDE:  case GSA_32_BIT_SLIDE:  case GSA_8_BIT_IF_TRUE:  case GSA_32_BIT_IF_TRUE:  case GSA_8_BIT_IF_FALSE:  case GSA_32_BIT_IF_FALSE:  case CBA_LT:  case CBA_GT:  case CBA_IF_TRUE:  case CBA_IF_FALSE:  case GSA_8_BIT_IF_TRUE2:  case GSA_16_BIT_IF_TRUE2:  case GSA_32_BIT_IF_TRUE2:  case GSA_8_BIT_IF_FALSE2:  case GSA_16_BIT_IF_FALSE2:  case GSA_32_BIT_IF_FALSE2:  case GSA_8_BIT_IF_LOWER_U2:  case GSA_16_BIT_IF_LOWER_U2:  case GSA_32_BIT_IF_LOWER_U2:  case GSA_8_BIT_IF_HIGHER_U2:  case GSA_16_BIT_IF_HIGHER_U2:  case GSA_32_BIT_IF_HIGHER_U2:  case GSA_8_BIT_IF_AND2:  case GSA_16_BIT_IF_AND2:  case GSA_32_BIT_IF_AND2:  case GSA_ALWAYS2:  case GSA_8_BIT_IF_LOWER_S2:  case GSA_16_BIT_IF_LOWER_S2:  case GSA_32_BIT_IF_LOWER_S2:  case GSA_8_BIT_IF_HIGHER_S2:  case GSA_16_BIT_IF_HIGHER_S2:  case GSA_32_BIT_IF_HIGHER_S2:  case GSA_GROUP_WRITE:  case GSA_32_BIT_ADD2:  case GSA_32_BIT_SUB2:  case GSA_16_BIT_IF_LOWER_OR_EQ_U:  case GSA_16_BIT_IF_HIGHER_OR_EQ_U:  case GSA_16_BIT_MIF_TRUE:  case GSA_16_BIT_MIF_FALSE:  case GSA_16_BIT_MIF_LOWER_OR_EQ_U:  case GSA_16_BIT_MIF_HIGHER_OR_EQ_U:    return 1;  case CBA_IF_KEYS_PRESSED:  case CBA_SLIDE_CODE:    return 2;  case CBA_SUPER:    return ((((cheatsList[num].value-1) & 0xFFFF)/3) + 1);  }  return 1;}