mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Restrict memory 39 general locations for SWSH
This commit is contained in:
parent
5079b4f311
commit
4cb525aac1
1 changed files with 5 additions and 2 deletions
|
@ -125,10 +125,13 @@ namespace PKHeX.Core
|
|||
var arg = (byte)variable;
|
||||
return memory switch
|
||||
{
|
||||
// reading a sign
|
||||
// {0} saw {1} secretly picking up something {2}. {4} that {3}.
|
||||
39 when variable is not (4 or 8 or 12 or 22 or 33 or 35 or 37 or 40 or 41 or 44 or 47 or 48 or 49 or 50 or 51 or 53 or 65 or 71 or 72 or 75 or 76 or 77) => true,
|
||||
|
||||
// {0} checked the sign with {1} {2}. {4} that {3}.
|
||||
42 when variable is not (1 or 12 or 22 or 33 or 35 or 37 or 44 or 47 or 53 or 71 or 72 or 76 or 77) => true,
|
||||
|
||||
// sitting on a bench
|
||||
// {0} sat with {1} on a bench {2}. {4} that {3}.
|
||||
70 when variable is not (12 or 22 or 28 or 33 or 35 or 37 or 38 or 44 or 53 or 77) => true,
|
||||
|
||||
_ => !PossibleGeneralLocations8.Contains(arg),
|
||||
|
|
Loading…
Reference in a new issue