Jump to content

pkmtuts

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

10 Good

About pkmtuts

  • Rank
    Member
  • Birthday 09/03/1992
  1. Thanks a lot , I get the values by doing this: UInt32 Stats = BitConverter.ToUInt32(pkm, 0x38); byte PsIV = Convert.ToByte((Stats >> 0) & 31); byte AtaIV = Convert.ToByte((Stats >> 5) & 31); byte DefIV = Convert.ToByte((Stats >> 10) & 31); byte VelIV = Convert.ToByte((Stats >> 15) & 31); byte AtaSIV = Convert.ToByte((Stats >> 20) & 31); byte DefSIV = Convert.ToByte((Stats >> 25) & 31); byte EggF = Convert.ToByte((Stats >> 30) & 1); byte NickF = Convert.ToByte((Stats >> 31) & 1); texbox1.Text = (Convert.ToString(PsIV)
  2. The problem is that I cant get the bits from 0x38-0x3B Might you help me please :smile: Im using this code for pokémon ID UInt16 pkmID = BitConverter.ToUInt16(pkm, 8); This code works fine :smile: for stats im using this code; UInt32 Stats = BitConverter.ToUInt32(pkm, (0x38 << 0)); This code dont work :frown: then i try this UInt32 Stats = BitConverter.ToUInt32(pkm, 0x38 ( [0-31] << 0 )); But noting same problem help me please
×
×
  • Create New...