From ed7d32f9bbde14a5c079d77f8f3ab2748c3c55d6 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 22 Jun 2020 14:06:25 -0400 Subject: [PATCH] Fix Gigantamax1 get/set in Zukan8 (#2897) Bit 0, not bit 1. --- PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs b/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs index 4f57576e2..86ed1ae6b 100644 --- a/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs +++ b/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs @@ -391,8 +391,8 @@ public void SetGenderDisplayed(Zukan8Index entry, uint value = 0) public void SetUnk2Count(int species, uint value) => SetU32(species, value, OFS_UNK2); public bool GetCaughtGigantamax1(int species) => GetFlag28(species, 0); public void SetCaughtGigantamax1(int species, bool value = true) => SetFlag28(species, 0, value); - public bool GetCaughtGigantamax1(Zukan8Index entry) => GetFlag28(entry, 1); - public void SetCaughtGigantamax1(Zukan8Index entry, bool value = true) => SetFlag28(entry, 1, value); + public bool GetCaughtGigantamax1(Zukan8Index entry) => GetFlag28(entry, 0); + public void SetCaughtGigantamax1(Zukan8Index entry, bool value = true) => SetFlag28(entry, 0, value); private bool GetFlag28(int species, int bit) {