Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //gimme 4 moves
- public ushort[] getMoves(byte[] pgfbytes)
- {
- ushort[] moves = { 0, 0, 0, 0 };
- int m = 0;
- for (int i = 0x12; i <= 0x18; i += 2)
- {
- moves[m] = (ushort)((pgfbytes[i + 1] << 8) + pgfbytes[i]);
- m++;
- }
- return moves;
- }
Advertisement