Update poketch dropdown/set

#1263
This commit is contained in:
Kurt
2017-06-22 19:18:14 -07:00
parent 5d6ccdedd2
commit 86e0374efc
2 changed files with 2 additions and 2 deletions

View File

@@ -506,7 +506,7 @@ public int Y
}
public override int SecondsToStart { get => BitConverter.ToInt32(Data, AdventureInfo + 0x34); set => BitConverter.GetBytes(value).CopyTo(Data, AdventureInfo + 0x34); }
public override int SecondsToFame { get => BitConverter.ToInt32(Data, AdventureInfo + 0x3C); set => BitConverter.GetBytes(value).CopyTo(Data, AdventureInfo + 0x3C); }
public int CurrentPokeTchApp { get => Data[0x1162]; set => Data[0x1162] = (byte)Math.Min(25, value); /* Alarm Clock */ }
public int CurrentPokeTchApp { get => Data[0x1162]; set => Data[0x1162] = (byte)Math.Min(24, value); /* Alarm Clock */ }
// Storage
public override int CurrentBox

View File

@@ -186,7 +186,7 @@ private void ReadPoketch()
"16 Move Tester", "17 Calendar", "18 Dot Artist", "19 Roulette", "20 Trainer Counter",
"21 Kitchen Timer", "22 Color Changer", "23 Matchup Checker", "24 Stopwatch", "25 Alarm Clock"
};
CB_CurrentApp.Items.AddRange(new[] {"None"}.Concat(PoketchTitle).ToArray());
CB_CurrentApp.Items.AddRange(PoketchTitle);
CB_CurrentApp.SelectedIndex = SAV.CurrentPokeTchApp;
oldPoketchVal = new bool[PoketchTitle.Length];
CLB_Poketch.Items.Clear();