mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Minor fixes
First init with X/Y, path won't change if ORAS is loaded. Fixed.
This commit is contained in:
@@ -30,7 +30,7 @@ public Gifts()
|
||||
|
||||
loadData();
|
||||
}
|
||||
internal static readonly string FieldPath = Path.Combine(Main.RomFSPath, "DllField.cro");
|
||||
private readonly string FieldPath = Path.Combine(Main.RomFSPath, "DllField.cro");
|
||||
private byte[] FieldData;
|
||||
private readonly int fieldOffset = Main.oras ? 0xF906C : 0xF805C;
|
||||
private readonly int fieldSize = Main.oras ? 0x24 : 0x18;
|
||||
|
||||
@@ -49,8 +49,8 @@ public Starters()
|
||||
Width = Main.oras ? Width : Width/2 + 2;
|
||||
loadData();
|
||||
}
|
||||
internal static string CROPath = Path.Combine(Main.RomFSPath, "DllPoke3Select.cro");
|
||||
internal static string FieldPath = Path.Combine(Main.RomFSPath, "DllField.cro");
|
||||
private readonly string CROPath = Path.Combine(Main.RomFSPath, "DllPoke3Select.cro");
|
||||
private readonly string FieldPath = Path.Combine(Main.RomFSPath, "DllField.cro");
|
||||
private readonly string[] specieslist = Main.getText(Main.oras ? 98 : 80);
|
||||
private readonly ComboBox[][] Choices;
|
||||
private readonly PictureBox[][] Previews;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace pk3DS
|
||||
{
|
||||
public partial class TypeChart : Form
|
||||
{
|
||||
internal static string CROPath = Path.Combine(Main.RomFSPath, "DllBattle.cro");
|
||||
private readonly string CROPath = Path.Combine(Main.RomFSPath, "DllBattle.cro");
|
||||
private readonly string[] types = Main.getText(Main.oras ? 18 : 17);
|
||||
private readonly int offset = Main.oras ? 0x000DB428 : 0x000D12A8;
|
||||
private readonly byte[] chart = new byte[0x144];
|
||||
|
||||
Reference in New Issue
Block a user