mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00: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:
parent
3f533399f2
commit
da9e316cd8
1 changed files with 5 additions and 1 deletions
|
@ -223,7 +223,11 @@ namespace PKHeX.Core
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue