int GetShowPartyClassPaletteType(uint unit_number)
 {
     if (unit_number < 0x40)
     {//Player
         return(0);
     }
     if (unit_number < 0x80)
     {//NPC
         return(1);
     }
     if (unit_number < 0xC0)
     {//ENEMY
         return(2);
     }
     if (PatchUtil.SearchCache_FourthAllegiance() == PatchUtil.FourthAllegiance_extends.FourthAllegiance)
     {
         //第4の忠誠
         return(3);
     }
     //ENEMY
     return(2);
 }