private void ButtonReleaseAll_Click(object sender, RoutedEventArgs e) { for (int i = 0; i < MonsterArenaData.MonsterArenaAreas.Length; i++) { for (int j = 0; j < MonsterArenaData.MonsterArenaAreas[i].Monsters.Length; j++) { MonsterArena.SetCaptureCount(MonsterArenaData.MonsterArenaAreas[i].Monsters[j].Index, 0); } } Refresh(); }
private void WriteMonster(int index, byte count) { MonsterArena.SetCaptureCount(index, count); }