mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 04:24:24 -05:00
Add rock smash encounter type flagging
I don't believe rock smash (EncounterType 1) exists, tests at Route 19 and Vermillion yielded None & City. Closes #1379 Opens #1502
This commit is contained in:
@@ -223,7 +223,11 @@ private static EncounterType GetEncounterTypeBySlotHGSS(SlotType Type, Encounter
|
||||
case SlotType.Super_Rod_Safari: return EncounterType.Surfing_Fishing;
|
||||
|
||||
case SlotType.Rock_Smash:
|
||||
case SlotType.Rock_Smash_Safari: return EncounterType.RockSmash;
|
||||
if (HeadbuttType == EncounterType.Building_EnigmaStone)
|
||||
return HeadbuttType;
|
||||
if (GrassType == EncounterType.Cave_HallOfOrigin)
|
||||
return GrassType;
|
||||
return EncounterType.None;
|
||||
|
||||
case SlotType.Headbutt: return HeadbuttType;
|
||||
case SlotType.Headbutt_Special: return EncounterType.None;
|
||||
|
||||
Reference in New Issue
Block a user