I haven't personally messed with Z-moves or anything like that but the types are in include/constants/pokemon.h. For example normal is 0x0, Fighting is 0x1, Flying is 0x2, etc. Just match the numbers there for making type Z-Crystals. Not sure about the specials ones still though, not enough time...