Ejemplo n.º 1
0
            public void dump_area()
            {
                int tmp_slot = indexpkm;

                byte[] phl = new byte[4 * 20];

                indexpkm = 0;

                if (area > 0 && area < 4)        //Area 9 ony holds 10 pokes
                {
                    for (indexpkm = 0; indexpkm < 10; indexpkm++)
                    {
                        BitConverter.GetBytes(get_pkm()).CopyTo(phl, indexpkm * 4);
                    }
                }
                else
                {
                    for (indexpkm = 0; indexpkm < 20; indexpkm++)
                    {
                        BitConverter.GetBytes(get_pkm()).CopyTo(phl, indexpkm * 4);
                    }
                }

                indexpkm = tmp_slot;

                FileIO.save_file(phl, "Entree Forest Area data|*.phl|All Files (*.*)|*.*");
            }
Ejemplo n.º 2
0
 public void export_forest()
 {
     FileIO.save_file(Data, "Entralink Forest Decrypted Data|*.efdd|All Files (*.*)|*.*");
 }
Ejemplo n.º 3
0
 void Memory_exportClick(object sender, EventArgs e)
 {
     FileIO.save_file(ml.Data, "Memory Link Data|*.mld|All Files (*.*)|*.*");
 }
Ejemplo n.º 4
0
 void B2_exportClick(object sender, EventArgs e)
 {
     FileIO.save_file(ml.block2.Data, "Memory Link Data|*.bin|All Files (*.*)|*.*");
 }