mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-25 08:10:48 -05:00
Gen5: Pokestar fame disallowed on ditto
transform in moves, disallow participation (can't copy the opponent!) https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/page/33/#comment-296835
This commit is contained in:
parent
82744a12ef
commit
ed419c49bd
|
|
@ -210,6 +210,7 @@ public sealed class LegalityCheckLocalization
|
|||
public string G5PIDShinyGrotto { get; set; } = "Hidden Grotto captures cannot be shiny.";
|
||||
public string G5SparkleInvalid { get; set; } = "Special In-game N's Sparkle flag should not be checked.";
|
||||
public string G5SparkleRequired { get; set; } = "Special In-game N's Sparkle flag missing.";
|
||||
public string G5PokeStarMustBeZero { get; set; } = "Pokéstar Studios fame must be zero, cannot participate.";
|
||||
public string G7BSocialShouldBe100Spirit { get; set; } = "Spirit should be 100 for Pokémon not in the player's party.";
|
||||
public string G7BSocialShouldBe100Mood { get; set; } = "Mood should be 100 for Pokémon not in the player's party.";
|
||||
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ public static class LegalityCheckResultCodeExtensions
|
|||
G5PIDShinyGrotto => localization.G5PIDShinyGrotto,
|
||||
G5SparkleInvalid => localization.G5SparkleInvalid,
|
||||
G5SparkleRequired => localization.G5SparkleRequired,
|
||||
G5PokeStarMustBeZero => localization.G5PokeStarMustBeZero,
|
||||
G7BSocialShouldBe100Spirit => localization.G7BSocialShouldBe100Spirit,
|
||||
G7BSocialShouldBe100Mood => localization.G7BSocialShouldBe100Mood,
|
||||
GanbaruStatLEQ_01 => localization.GanbaruStatTooHigh,
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ public enum LegalityCheckResultCode : ushort
|
|||
G5PIDShinyGrotto,
|
||||
G5SparkleInvalid,
|
||||
G5SparkleRequired,
|
||||
G5PokeStarMustBeZero,
|
||||
G7BSocialShouldBe100Spirit,
|
||||
G7BSocialShouldBe100Mood,
|
||||
|
||||
|
|
|
|||
|
|
@ -266,8 +266,13 @@ private static void VerifyStats5(LegalityAnalysis data, PK5 pk5)
|
|||
var enc = data.EncounterMatch;
|
||||
|
||||
// Cannot participate in Pokestar Studios as Egg
|
||||
if (pk5.IsEgg && pk5.PokeStarFame != 0)
|
||||
data.AddLine(GetInvalid(Egg, EggShinyPokeStar));
|
||||
if (pk5.PokeStarFame != 0)
|
||||
{
|
||||
if (pk5.IsEgg)
|
||||
data.AddLine(GetInvalid(Egg, EggShinyPokeStar));
|
||||
else if (enc.Species == (ushort)Species.Ditto) // Having Transform is not allowed; Smeargle can change moves.
|
||||
data.AddLine(GetInvalid(Misc, G5PokeStarMustBeZero));
|
||||
}
|
||||
|
||||
// Ensure NSparkle is only present on N's encounters.
|
||||
if (enc is EncounterStatic5N)
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "Hidden Grotto captures cannot be shiny.",
|
||||
"G5SparkleInvalid": "Special in-game N's Sparkle flag should not be checked.",
|
||||
"G5SparkleRequired": "Special in-game N's Sparkle flag missing.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "One or more Ganbaru Value is above the natural limit of (10 - IV bonus).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "Hidden Grotto captures cannot be shiny.",
|
||||
"G5SparkleInvalid": "Special in-game N's Sparkle flag should not be checked.",
|
||||
"G5SparkleRequired": "Special in-game N's Sparkle flag missing.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "One or more Ganbaru Value is above the natural limit of (10 - IV bonus).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "Las Capturas en Los Claros Ocultos no pueden ser variocolor.",
|
||||
"G5SparkleInvalid": "La marca chispeante especial de los Pokémon de N en el juego no debería marcarse.",
|
||||
"G5SparkleRequired": "Falta la marca chispeante especial de los Pokémon de N en el juego.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "Un nivel o más de esfuerzo es mayor del límite natural de (10 - bonus IV).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "Les Pokémon capturés dans les Trouées cachées ne peuvent pas être chromatiques.",
|
||||
"G5SparkleInvalid": "Le drapeau de l'éclat spécial des Pokémon de N ne doit pas être coché.",
|
||||
"G5SparkleRequired": "Le drapeau de l'éclat spécial des Pokémon de N est manquant.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Les Pokémon hors de l'Équipe devraient avoir leur Esprit à 100.",
|
||||
"G7BSocialShouldBe100Mood": "Les Pokémon hors de l'Équipe devraient avoir leur Humeur à 100.",
|
||||
"GanbaruStatTooHigh": "Une ou plusieurs valeurs du niveau d'effort sont supérieures à la limite naturelle de (10 - IV bonus).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "Gli incontri del Meandro Nascosto non possono essere Shiny.",
|
||||
"G5SparkleInvalid": "Il segnale speciale di luccichio dei Pokémon di N non dovrebbe essere ablitato.",
|
||||
"G5SparkleRequired": "Segnale speciale di luccichio dei Pokémon di N assente.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "Uno o più valori Ganbaru è oltre il limite naturale di (10 - IV bonus).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "隠し穴産のポケモンは色違いになりません。",
|
||||
"G5SparkleInvalid": "Nのポケモンフラグのチェックを外してください。",
|
||||
"G5SparkleRequired": "Nのポケモンフラグのチェックを入れてください。",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "1つ以上のがんばレベルが通常限界値(10-個体値ボーナス)を超えています。",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "은혈에서 포획한 포켓몬은 색이 다를 수 없습니다.",
|
||||
"G5SparkleInvalid": "게임 내 특수한 N 전용 반짝임 플래그가 켜져 있지 않아야 합니다.",
|
||||
"G5SparkleRequired": "게임 내 특수한 N 전용 반짝임 플래그가 켜져 있지 않습니다.",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "One or more Ganbaru Value is above the natural limit of (10 - IV bonus).",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "在隐藏洞穴捕获的宝可梦不能为异色。",
|
||||
"G5SparkleInvalid": "特殊游戏内宝可梦N的闪光标记不应勾选。",
|
||||
"G5SparkleRequired": "特殊游戏内宝可梦N的闪光标记缺失。",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "一项或多项奋斗等级超过上限 (10 - IV个体值提升等级)。",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
"G5PIDShinyGrotto": "於隱藏洞穴捕獲之寶可夢不能為異色。",
|
||||
"G5SparkleInvalid": "特殊遊戲內寶可夢N的異色標記不應勾選。",
|
||||
"G5SparkleRequired": "特殊遊戲內寶可夢N的異色標記缺失。",
|
||||
"G5PokeStarMustBeZero": "Pokéstar Studios fame must be zero, cannot participate.",
|
||||
"G7BSocialShouldBe100Spirit": "Spirit should be 100 for Pokémon not in the player's party.",
|
||||
"G7BSocialShouldBe100Mood": "Mood should be 100 for Pokémon not in the player's party.",
|
||||
"GanbaruStatTooHigh": "一項或多項奮鬥等級超過上限 (10 減 IV 個體值提升奮鬥等級)。",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user