From e33bd4c3279c8771fd25f175e7fa19a4e0b86341 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 15 Feb 2018 19:40:42 -0800 Subject: [PATCH] Add Dialga/Palkia headbutt location turns out route 47 (below route 48) also yields dialgapalkia, which also has a tall grass patch that can be headbutted from. Closes #1833 --- PKHeX.Core/Legality/Encounters/Data/Encounters4.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PKHeX.Core/Legality/Encounters/Data/Encounters4.cs b/PKHeX.Core/Legality/Encounters/Data/Encounters4.cs index 54fca057f..c7f1afba8 100644 --- a/PKHeX.Core/Legality/Encounters/Data/Encounters4.cs +++ b/PKHeX.Core/Legality/Encounters/Data/Encounters4.cs @@ -281,6 +281,9 @@ private static void MarkDPPtEncounterTypeSlots(ref EncounterArea[] Areas) } private static EncounterType GetHeadbuttEncounterType(int Location) { + if (Location == 195 || Location == 196) // Route 47/48 + return EncounterType.DialgaPalkia | EncounterType.TallGrass; + // Routes with trees adjacent to water tiles var allowsurf = HGSS_SurfingHeadbutt_Locations.Contains(Location); // Cities