static Encounters1() { StaticRBY = Encounter_RBY; SlotsRBY = GetAreas(); MarkEncountersGeneration(1, SlotsRBY); MarkEncountersGeneration(1, StaticRBY, TradeGift_RBY_NoTradeback, TradeGift_RBY_Tradeback); var trades = TradeGift_RBY_Common.Concat(TradeGift_RBY_NoTradeback).Concat(TradeGift_RBY_Tradeback); var names = new[] { null, "トレーナー", "TRAINER", "TRAINER", "TRAINER", "TRAINER", null, "TRAINER", null }; foreach (var t in trades) { t.TrainerNames = names; t.Version = GameVersion.RBY; } SlotsRBY.SetVersion(GameVersion.RBY); StaticRBY.SetVersion(GameVersion.RBY); }
static Encounters1() { StaticRBY = Encounter_RBY; SlotsRBY = GetAreas(); MarkEncountersGeneration(1, SlotsRBY); MarkEncountersGeneration(1, StaticRBY, TradeGift_RBY_NoTradeback, TradeGift_RBY_Tradeback); var trades = TradeGift_RBY_Common.Concat(TradeGift_RBY_NoTradeback).Concat(TradeGift_RBY_Tradeback); foreach (var t in trades) { t.TrainerNames = TradeOTG1; if (t.Version == GameVersion.Any) { t.Version = GameVersion.RBY; } } SlotsRBY.SetVersion(GameVersion.RBY); StaticRBY.SetVersion(GameVersion.RBY); }