private void ChangeModels(SisterhaxMode mode) { SisterhaxLogic.ChangeModels(mode); if (SendStats) { StatisticTransmitter.WriteToSlot(8, 1); } }
private void takoBox_Click(object sender, EventArgs e) { OctohaxLogic.switchToOctopus(); if (SendStats) { StatisticTransmitter.WriteToSlot(9, 1); } }
private void gearButton_Click_1(object sender, EventArgs e) { GearUnlocker.PokeHats(); GearUnlocker.PokeClothes(); GearUnlocker.PokeShoes(); if (SendStats) { StatisticTransmitter.WriteToSlot(10, 1); } }
public void PokeAmiibo() { if (amiiboBox.SelectedIndex == 0) // none / nashi { SplatAIOCore.PokeAmiibo(UInt32.MaxValue); } else { SplatAIOCore.PokeAmiibo(Convert.ToUInt32(amiiboBox.SelectedIndex - 1)); if (SendStats) { StatisticTransmitter.WriteToSlot(7, 1); } } }
private void OKButton_Click(object sender, EventArgs e) { Hold(); if (SendStats) { if (kaneBox.Value != SplatAIOCore.Okane) { StatisticTransmitter.WriteToSlot(0, Math.Abs(kaneBox.Value - SplatAIOCore.Okane)); } if (rankBox.Value != SplatAIOCore.Rank) { StatisticTransmitter.WriteToSlot(3, Math.Abs(rankBox.Value - SplatAIOCore.Rank)); } if (sazaeBox.Value != SplatAIOCore.Sazae) { StatisticTransmitter.WriteToSlot(1, Math.Abs(sazaeBox.Value - SplatAIOCore.Sazae)); } if (eyeBox.SelectedIndex != SplatAIOCore.Eyes) { StatisticTransmitter.WriteToSlot(5, 1); } if (genderBox.SelectedIndex != SplatAIOCore.Gender) { StatisticTransmitter.WriteToSlot(4, 1); } if (skinBox.SelectedIndex != SplatAIOCore.Skin) { StatisticTransmitter.WriteToSlot(6, 1); } if (udeBox.SelectedIndex != SplatAIOCore.Ude || maeBox.Value != SplatAIOCore.Mae) { StatisticTransmitter.WriteToSlot(2, 1); } } SplatAIOCore.PokeRank(Convert.ToUInt32(rankBox.Value)); SplatAIOCore.PokeOkane(Convert.ToUInt32(kaneBox.Value)); SplatAIOCore.PokeUde(Convert.ToUInt32(udeBox.SelectedIndex)); SplatAIOCore.PokeMae(Convert.ToUInt32(maeBox.Value)); SplatAIOCore.PokeSazae(Convert.ToUInt32(sazaeBox.Value)); SplatAIOCore.PokeGender(Convert.ToUInt32(genderBox.SelectedIndex)); SplatAIOCore.PokeEyes(Convert.ToUInt32(eyeBox.SelectedIndex)); SplatAIOCore.PokeSkin(Convert.ToUInt32(skinBox.SelectedIndex)); PokeAmiibo(); Release(); }