From 17f905ad34addefeeee3c4e835992b4f92566d56 Mon Sep 17 00:00:00 2001 From: AdAstra-LD <76622070+AdAstra-LD@users.noreply.github.com> Date: Sun, 8 Oct 2023 23:28:24 +0200 Subject: [PATCH] Fixed TM/HM write in Personal Data Editor --- DS_Map/ROMFiles/PokemonPersonalData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS_Map/ROMFiles/PokemonPersonalData.cs b/DS_Map/ROMFiles/PokemonPersonalData.cs index 0ec325f..18ae2e7 100644 --- a/DS_Map/ROMFiles/PokemonPersonalData.cs +++ b/DS_Map/ROMFiles/PokemonPersonalData.cs @@ -226,7 +226,7 @@ namespace DSPRE.ROMFiles { for (int j = 0; j < 32; j++) { if ((currentBitfield & (1 << j)) != 0) { - result.Add((byte)(i * 32 + j+1)); + result.Add((byte)(i * 32 + j)); } } }