Please can you help me? Freetronics leostick vs the Arduino Pro mini

You'd need to get the datasheet for the Leo's processor, and see if you can match up the registers and ports used in the code with those on the processor.