mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-16 21:38:40 +00:00
Wallpapers
This commit is contained in:
parent
146f0ad17d
commit
068db044f0
16 changed files with 500 additions and 57 deletions
|
@ -301,6 +301,13 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Resources\icon.ico" />
|
||||
<None Include="Resources\text\ko\text_Wallpaper_ko.txt" />
|
||||
<None Include="Resources\text\ja\text_Wallpaper_ja.txt" />
|
||||
<None Include="Resources\text\it\text_Wallpaper_it.txt" />
|
||||
<None Include="Resources\text\fr\text_Wallpaper_fr.txt" />
|
||||
<None Include="Resources\text\es\text_Wallpaper_es.txt" />
|
||||
<None Include="Resources\text\en\text_Wallpaper_en.txt" />
|
||||
<None Include="Resources\text\de\text_Wallpaper_de.txt" />
|
||||
<None Include="Resources\img\box\slotTrans.png" />
|
||||
<None Include="Resources\img\box\slotView.png" />
|
||||
<None Include="Resources\img\box\slotSet.png" />
|
||||
|
|
8
PKX/f1-Main.Designer.cs
generated
8
PKX/f1-Main.Designer.cs
generated
|
@ -3049,7 +3049,7 @@
|
|||
// B_BoxRight
|
||||
//
|
||||
this.B_BoxRight.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.B_BoxRight.Location = new System.Drawing.Point(220, 9);
|
||||
this.B_BoxRight.Location = new System.Drawing.Point(219, 9);
|
||||
this.B_BoxRight.Name = "B_BoxRight";
|
||||
this.B_BoxRight.Size = new System.Drawing.Size(27, 23);
|
||||
this.B_BoxRight.TabIndex = 61;
|
||||
|
@ -3060,7 +3060,7 @@
|
|||
// B_BoxLeft
|
||||
//
|
||||
this.B_BoxLeft.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.B_BoxLeft.Location = new System.Drawing.Point(58, 9);
|
||||
this.B_BoxLeft.Location = new System.Drawing.Point(57, 9);
|
||||
this.B_BoxLeft.Name = "B_BoxLeft";
|
||||
this.B_BoxLeft.Size = new System.Drawing.Size(27, 23);
|
||||
this.B_BoxLeft.TabIndex = 60;
|
||||
|
@ -3104,7 +3104,7 @@
|
|||
"Box 29",
|
||||
"Box 30",
|
||||
"Box 31"});
|
||||
this.C_BoxSelect.Location = new System.Drawing.Point(89, 10);
|
||||
this.C_BoxSelect.Location = new System.Drawing.Point(88, 10);
|
||||
this.C_BoxSelect.Name = "C_BoxSelect";
|
||||
this.C_BoxSelect.Size = new System.Drawing.Size(127, 21);
|
||||
this.C_BoxSelect.TabIndex = 0;
|
||||
|
@ -4134,7 +4134,6 @@
|
|||
private System.Windows.Forms.Button B_OpenPokedex;
|
||||
private System.Windows.Forms.GroupBox GB_SAVtools;
|
||||
private System.Windows.Forms.TabPage Tab_Other;
|
||||
private System.Windows.Forms.ComboBox C_BoxSelect;
|
||||
private System.Windows.Forms.Label L_BattleBox;
|
||||
private System.Windows.Forms.Label L_Party;
|
||||
private System.Windows.Forms.Label L_DaycareSeed;
|
||||
|
@ -4257,6 +4256,7 @@
|
|||
private System.Windows.Forms.Button B_OpenSuperTraining;
|
||||
private System.Windows.Forms.Button B_OutAHK;
|
||||
private System.Windows.Forms.Panel PAN_Box;
|
||||
public System.Windows.Forms.ComboBox C_BoxSelect;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -203,6 +203,7 @@ namespace PKHeX
|
|||
public string[] metXY_60000 = { };
|
||||
public string[] trainingbags = { };
|
||||
public string[] trainingstage = { };
|
||||
public string[] wallpapernames = { };
|
||||
public string[] puffs = { };
|
||||
public string[] ribbonlist = { };
|
||||
public string[] itempouch = { };
|
||||
|
@ -8452,6 +8453,7 @@ namespace PKHeX
|
|||
puffs = getStringList("Puff", l);
|
||||
ribbonlist = getStringList("Ribbon", l);
|
||||
itempouch = getStringList("ItemPouch", l);
|
||||
wallpapernames = getStringList("Wallpaper", l);
|
||||
|
||||
// Get the Egg Name and then replace it with --- for the comboboxes.
|
||||
eggname = specieslist[0];
|
||||
|
|
224
Properties/Resources.Designer.cs
generated
224
Properties/Resources.Designer.cs
generated
|
@ -17066,6 +17066,230 @@ namespace PKHeX.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Wald
|
||||
///Stadt
|
||||
///Wüste
|
||||
///Steppe
|
||||
///Geröll
|
||||
///Vulkan
|
||||
///Schnee
|
||||
///Höhle
|
||||
///Strand
|
||||
///Tiefsee
|
||||
///Fluss
|
||||
///Himmel
|
||||
///Poké-Center
|
||||
///Metall
|
||||
///Kariert
|
||||
///Weiß
|
||||
///Spezialmotiv 1
|
||||
///Spezialmotiv 2
|
||||
///Spezialmotiv 3
|
||||
///Spezialmotiv 4
|
||||
///Spezialmotiv 5
|
||||
///Spezialmotiv 6
|
||||
///Spezialmotiv 7
|
||||
///Spezialmotiv 8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_de {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_de", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to FOREST
|
||||
///CITY
|
||||
///DESERT
|
||||
///SAVANNA
|
||||
///CRAG
|
||||
///VOLCANO
|
||||
///SNOW
|
||||
///CAVE
|
||||
///BEACH
|
||||
///SEAFLOOR
|
||||
///RIVER
|
||||
///SKY
|
||||
///POKÉ CENTER
|
||||
///MACHINE
|
||||
///CHECKS
|
||||
///SIMPLE
|
||||
///SPECIAL 1
|
||||
///SPECIAL 2
|
||||
///SPECIAL 3
|
||||
///SPECIAL 4
|
||||
///SPECIAL 5
|
||||
///SPECIAL 6
|
||||
///SPECIAL 7
|
||||
///SPECIAL 8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_en {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_en", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bosque
|
||||
///Ciudad
|
||||
///Desierto
|
||||
///Sabana
|
||||
///Montaña
|
||||
///Volcán
|
||||
///Nieve
|
||||
///Cueva
|
||||
///Playa
|
||||
///Mar
|
||||
///Río
|
||||
///Cielo
|
||||
///Centro Pokémon
|
||||
///Máquina
|
||||
///Cuadros
|
||||
///Sencillo
|
||||
///Especial 1
|
||||
///Especial 2
|
||||
///Especial 3
|
||||
///Especial 4
|
||||
///Especial 5
|
||||
///Especial 6
|
||||
///Especial 7
|
||||
///Especial 8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_es {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_es", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Forêt
|
||||
///Ville
|
||||
///Désert
|
||||
///Savane
|
||||
///Rochers
|
||||
///Volcan
|
||||
///Neige
|
||||
///Grotte
|
||||
///Plage
|
||||
///Mer
|
||||
///Rivière
|
||||
///Ciel
|
||||
///Centre Pokémon
|
||||
///Métal
|
||||
///Vichy
|
||||
///Uni
|
||||
///Spécial 1
|
||||
///Spécial 2
|
||||
///Spécial 3
|
||||
///Spécial 4
|
||||
///Spécial 5
|
||||
///Spécial 6
|
||||
///Spécial 7
|
||||
///Spécial 8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_fr {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_fr", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Foresta
|
||||
///Città
|
||||
///Deserto
|
||||
///Savana
|
||||
///Rocce
|
||||
///Vulcano
|
||||
///Neve
|
||||
///Grotta
|
||||
///Spiaggia
|
||||
///Fondale
|
||||
///Fiume
|
||||
///Cielo
|
||||
///Centro Pokémon
|
||||
///Metallo
|
||||
///Quadretti
|
||||
///Semplice
|
||||
///Speciale 1
|
||||
///Speciale 2
|
||||
///Speciale 3
|
||||
///Speciale 4
|
||||
///Speciale 5
|
||||
///Speciale 6
|
||||
///Speciale 7
|
||||
///Speciale 8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_it {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_it", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to もり
|
||||
///シティ
|
||||
///さばく
|
||||
///サバンナ
|
||||
///いわやま
|
||||
///かざん
|
||||
///ゆきやま
|
||||
///どうくつ
|
||||
///うみべ
|
||||
///かいてい
|
||||
///かわ
|
||||
///そら
|
||||
///ポケセン
|
||||
///きんぞく
|
||||
///チェック
|
||||
///シンプル
|
||||
///スペシャル1
|
||||
///スペシャル2
|
||||
///スペシャル3
|
||||
///スペシャル4
|
||||
///スペシャル5
|
||||
///スペシャル6
|
||||
///スペシャル7
|
||||
///スペシャル8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_ja {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_ja", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 숲
|
||||
///시티
|
||||
///사막
|
||||
///사바나
|
||||
///바위산
|
||||
///화산
|
||||
///설산
|
||||
///동굴
|
||||
///바닷가
|
||||
///해저
|
||||
///강
|
||||
///하늘
|
||||
///포켓센
|
||||
///금속
|
||||
///체크
|
||||
///심플
|
||||
///스페셜1
|
||||
///스페셜2
|
||||
///스페셜3
|
||||
///스페셜4
|
||||
///스페셜5
|
||||
///스페셜6
|
||||
///스페셜7
|
||||
///스페셜8.
|
||||
/// </summary>
|
||||
internal static string text_Wallpaper_ko {
|
||||
get {
|
||||
return ResourceManager.GetString("text_Wallpaper_ko", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ----------
|
||||
///
|
||||
|
|
|
@ -3793,4 +3793,25 @@
|
|||
<data name="text_TrainingBag_ko" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\ko\text_TrainingBag_ko.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_de" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\de\text_Wallpaper_de.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_en" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\en\text_Wallpaper_en.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_es" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\es\text_Wallpaper_es.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_fr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\fr\text_Wallpaper_fr.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_it" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\it\text_Wallpaper_it.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_ja" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\ja\text_Wallpaper_ja.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="text_Wallpaper_ko" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\text\ko\text_Wallpaper_ko.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
|
@ -244,7 +244,7 @@
|
|||
- Changed: Party / Battle Box now has a spiffy layout.
|
||||
- Changed: Program width to assist those on Wine / foreign languages.
|
||||
|
||||
07/31/14 - New Update:
|
||||
07/31/14 - New Update: (---)
|
||||
- Added: Code Generator now displays how many lines there are if the split checkbox is set.
|
||||
- Added: Translation text for Item Pouches
|
||||
- Added: Translation text for Pokepuffs
|
||||
|
@ -256,7 +256,7 @@
|
|||
- Changed: Can no longer set an egg into the first Party Slot. This is to prevent players from entering battles with no valid Pokemon.
|
||||
- Added: Image Layering to display Held Items for Party/Box/etc slots.
|
||||
|
||||
08/01/14 - New Update:
|
||||
08/01/14 - New Update: (300)
|
||||
- Added: Spanish translation (beta) -- thanks Glitch!
|
||||
- Added: Zygarde Rebattle Flags.
|
||||
- Added: Detecting/Browser opening of Cyber Gadget data folder if it exists. Access via Tools->Open Temp 3DSSE.
|
||||
|
@ -267,4 +267,6 @@
|
|||
- Added: Box Backgrounds now appear.
|
||||
- Changed: Selection colors (View/Set/Delete) are now semi-transparent backgrounds.
|
||||
- Fixed: Venonat's background not being transparent.
|
||||
- Fixed: Cyber SAV opening/saving will actually find the folder if it exists.
|
||||
- Fixed: Cyber SAV opening/saving will actually find the folder if it exists.
|
||||
- Added: Active Super Training Bag & Hits Remaining can be changed in the Ribbon/Medal Editor. 0x16&0x17 Extra Bytes have been removed from the list.
|
||||
- Added: Box Background Selection in [Box Layout].
|
24
Resources/text/de/text_Wallpaper_de.txt
Normal file
24
Resources/text/de/text_Wallpaper_de.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Wald
|
||||
Stadt
|
||||
Wüste
|
||||
Steppe
|
||||
Geröll
|
||||
Vulkan
|
||||
Schnee
|
||||
Höhle
|
||||
Strand
|
||||
Tiefsee
|
||||
Fluss
|
||||
Himmel
|
||||
Poké-Center
|
||||
Metall
|
||||
Kariert
|
||||
Weiß
|
||||
Spezialmotiv 1
|
||||
Spezialmotiv 2
|
||||
Spezialmotiv 3
|
||||
Spezialmotiv 4
|
||||
Spezialmotiv 5
|
||||
Spezialmotiv 6
|
||||
Spezialmotiv 7
|
||||
Spezialmotiv 8
|
24
Resources/text/en/text_Wallpaper_en.txt
Normal file
24
Resources/text/en/text_Wallpaper_en.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
FOREST
|
||||
CITY
|
||||
DESERT
|
||||
SAVANNA
|
||||
CRAG
|
||||
VOLCANO
|
||||
SNOW
|
||||
CAVE
|
||||
BEACH
|
||||
SEAFLOOR
|
||||
RIVER
|
||||
SKY
|
||||
POKÉ CENTER
|
||||
MACHINE
|
||||
CHECKS
|
||||
SIMPLE
|
||||
SPECIAL 1
|
||||
SPECIAL 2
|
||||
SPECIAL 3
|
||||
SPECIAL 4
|
||||
SPECIAL 5
|
||||
SPECIAL 6
|
||||
SPECIAL 7
|
||||
SPECIAL 8
|
24
Resources/text/es/text_Wallpaper_es.txt
Normal file
24
Resources/text/es/text_Wallpaper_es.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Bosque
|
||||
Ciudad
|
||||
Desierto
|
||||
Sabana
|
||||
Montaña
|
||||
Volcán
|
||||
Nieve
|
||||
Cueva
|
||||
Playa
|
||||
Mar
|
||||
Río
|
||||
Cielo
|
||||
Centro Pokémon
|
||||
Máquina
|
||||
Cuadros
|
||||
Sencillo
|
||||
Especial 1
|
||||
Especial 2
|
||||
Especial 3
|
||||
Especial 4
|
||||
Especial 5
|
||||
Especial 6
|
||||
Especial 7
|
||||
Especial 8
|
24
Resources/text/fr/text_Wallpaper_fr.txt
Normal file
24
Resources/text/fr/text_Wallpaper_fr.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Forêt
|
||||
Ville
|
||||
Désert
|
||||
Savane
|
||||
Rochers
|
||||
Volcan
|
||||
Neige
|
||||
Grotte
|
||||
Plage
|
||||
Mer
|
||||
Rivière
|
||||
Ciel
|
||||
Centre Pokémon
|
||||
Métal
|
||||
Vichy
|
||||
Uni
|
||||
Spécial 1
|
||||
Spécial 2
|
||||
Spécial 3
|
||||
Spécial 4
|
||||
Spécial 5
|
||||
Spécial 6
|
||||
Spécial 7
|
||||
Spécial 8
|
24
Resources/text/it/text_Wallpaper_it.txt
Normal file
24
Resources/text/it/text_Wallpaper_it.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Foresta
|
||||
Città
|
||||
Deserto
|
||||
Savana
|
||||
Rocce
|
||||
Vulcano
|
||||
Neve
|
||||
Grotta
|
||||
Spiaggia
|
||||
Fondale
|
||||
Fiume
|
||||
Cielo
|
||||
Centro Pokémon
|
||||
Metallo
|
||||
Quadretti
|
||||
Semplice
|
||||
Speciale 1
|
||||
Speciale 2
|
||||
Speciale 3
|
||||
Speciale 4
|
||||
Speciale 5
|
||||
Speciale 6
|
||||
Speciale 7
|
||||
Speciale 8
|
24
Resources/text/ja/text_Wallpaper_ja.txt
Normal file
24
Resources/text/ja/text_Wallpaper_ja.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
もり
|
||||
シティ
|
||||
さばく
|
||||
サバンナ
|
||||
いわやま
|
||||
かざん
|
||||
ゆきやま
|
||||
どうくつ
|
||||
うみべ
|
||||
かいてい
|
||||
かわ
|
||||
そら
|
||||
ポケセン
|
||||
きんぞく
|
||||
チェック
|
||||
シンプル
|
||||
スペシャル1
|
||||
スペシャル2
|
||||
スペシャル3
|
||||
スペシャル4
|
||||
スペシャル5
|
||||
スペシャル6
|
||||
スペシャル7
|
||||
スペシャル8
|
24
Resources/text/ko/text_Wallpaper_ko.txt
Normal file
24
Resources/text/ko/text_Wallpaper_ko.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
숲
|
||||
시티
|
||||
사막
|
||||
사바나
|
||||
바위산
|
||||
화산
|
||||
설산
|
||||
동굴
|
||||
바닷가
|
||||
해저
|
||||
강
|
||||
하늘
|
||||
포켓센
|
||||
금속
|
||||
체크
|
||||
심플
|
||||
스페셜1
|
||||
스페셜2
|
||||
스페셜3
|
||||
스페셜4
|
||||
스페셜5
|
||||
스페셜6
|
||||
스페셜7
|
||||
스페셜8
|
75
SAV/SAV_BoxLayout.Designer.cs
generated
75
SAV/SAV_BoxLayout.Designer.cs
generated
|
@ -32,7 +32,6 @@
|
|||
this.LB_BoxSelect = new System.Windows.Forms.ListBox();
|
||||
this.TB_BoxName = new System.Windows.Forms.TextBox();
|
||||
this.L_BoxName = new System.Windows.Forms.Label();
|
||||
this.MT_BG = new System.Windows.Forms.MaskedTextBox();
|
||||
this.L_BG = new System.Windows.Forms.Label();
|
||||
this.L_Flags = new System.Windows.Forms.Label();
|
||||
this.MT_BG1 = new System.Windows.Forms.MaskedTextBox();
|
||||
|
@ -41,10 +40,14 @@
|
|||
this.B_Cancel = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.CB_Unlocked = new System.Windows.Forms.ComboBox();
|
||||
this.CB_BG = new System.Windows.Forms.ComboBox();
|
||||
this.PAN_BG = new System.Windows.Forms.Panel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// LB_BoxSelect
|
||||
//
|
||||
this.LB_BoxSelect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.LB_BoxSelect.FormattingEnabled = true;
|
||||
this.LB_BoxSelect.Items.AddRange(new object[] {
|
||||
"Box 1",
|
||||
|
@ -80,7 +83,7 @@
|
|||
"Box 31"});
|
||||
this.LB_BoxSelect.Location = new System.Drawing.Point(12, 14);
|
||||
this.LB_BoxSelect.Name = "LB_BoxSelect";
|
||||
this.LB_BoxSelect.Size = new System.Drawing.Size(78, 212);
|
||||
this.LB_BoxSelect.Size = new System.Drawing.Size(78, 264);
|
||||
this.LB_BoxSelect.TabIndex = 0;
|
||||
this.LB_BoxSelect.SelectedIndexChanged += new System.EventHandler(this.changeBox);
|
||||
//
|
||||
|
@ -89,7 +92,7 @@
|
|||
this.TB_BoxName.Location = new System.Drawing.Point(106, 35);
|
||||
this.TB_BoxName.MaxLength = 15;
|
||||
this.TB_BoxName.Name = "TB_BoxName";
|
||||
this.TB_BoxName.Size = new System.Drawing.Size(100, 20);
|
||||
this.TB_BoxName.Size = new System.Drawing.Size(130, 20);
|
||||
this.TB_BoxName.TabIndex = 1;
|
||||
this.TB_BoxName.WordWrap = false;
|
||||
this.TB_BoxName.TextChanged += new System.EventHandler(this.changeBoxDetails);
|
||||
|
@ -103,29 +106,20 @@
|
|||
this.L_BoxName.TabIndex = 2;
|
||||
this.L_BoxName.Text = "Box Name:";
|
||||
//
|
||||
// MT_BG
|
||||
//
|
||||
this.MT_BG.Location = new System.Drawing.Point(177, 61);
|
||||
this.MT_BG.Mask = "00";
|
||||
this.MT_BG.Name = "MT_BG";
|
||||
this.MT_BG.Size = new System.Drawing.Size(29, 20);
|
||||
this.MT_BG.TabIndex = 3;
|
||||
this.MT_BG.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.MT_BG.TextChanged += new System.EventHandler(this.changeBoxDetails);
|
||||
//
|
||||
// L_BG
|
||||
//
|
||||
this.L_BG.AutoSize = true;
|
||||
this.L_BG.Location = new System.Drawing.Point(104, 64);
|
||||
this.L_BG.Name = "L_BG";
|
||||
this.L_BG.Size = new System.Drawing.Size(68, 13);
|
||||
this.L_BG.Size = new System.Drawing.Size(25, 13);
|
||||
this.L_BG.TabIndex = 4;
|
||||
this.L_BG.Text = "Background:";
|
||||
this.L_BG.Text = "BG:";
|
||||
//
|
||||
// L_Flags
|
||||
//
|
||||
this.L_Flags.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.L_Flags.AutoSize = true;
|
||||
this.L_Flags.Location = new System.Drawing.Point(103, 112);
|
||||
this.L_Flags.Location = new System.Drawing.Point(122, 186);
|
||||
this.L_Flags.Name = "L_Flags";
|
||||
this.L_Flags.Size = new System.Drawing.Size(102, 13);
|
||||
this.L_Flags.TabIndex = 5;
|
||||
|
@ -133,7 +127,8 @@
|
|||
//
|
||||
// MT_BG1
|
||||
//
|
||||
this.MT_BG1.Location = new System.Drawing.Point(117, 128);
|
||||
this.MT_BG1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.MT_BG1.Location = new System.Drawing.Point(136, 202);
|
||||
this.MT_BG1.Mask = "00";
|
||||
this.MT_BG1.Name = "MT_BG1";
|
||||
this.MT_BG1.Size = new System.Drawing.Size(29, 20);
|
||||
|
@ -143,7 +138,8 @@
|
|||
//
|
||||
// MT_BG2
|
||||
//
|
||||
this.MT_BG2.Location = new System.Drawing.Point(157, 128);
|
||||
this.MT_BG2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.MT_BG2.Location = new System.Drawing.Point(176, 202);
|
||||
this.MT_BG2.Mask = "00";
|
||||
this.MT_BG2.Name = "MT_BG2";
|
||||
this.MT_BG2.Size = new System.Drawing.Size(29, 20);
|
||||
|
@ -153,9 +149,10 @@
|
|||
//
|
||||
// B_Save
|
||||
//
|
||||
this.B_Save.Location = new System.Drawing.Point(157, 203);
|
||||
this.B_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.B_Save.Location = new System.Drawing.Point(169, 255);
|
||||
this.B_Save.Name = "B_Save";
|
||||
this.B_Save.Size = new System.Drawing.Size(50, 23);
|
||||
this.B_Save.Size = new System.Drawing.Size(67, 23);
|
||||
this.B_Save.TabIndex = 9;
|
||||
this.B_Save.Text = "Save";
|
||||
this.B_Save.UseVisualStyleBackColor = true;
|
||||
|
@ -163,9 +160,10 @@
|
|||
//
|
||||
// B_Cancel
|
||||
//
|
||||
this.B_Cancel.Location = new System.Drawing.Point(96, 203);
|
||||
this.B_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.B_Cancel.Location = new System.Drawing.Point(96, 255);
|
||||
this.B_Cancel.Name = "B_Cancel";
|
||||
this.B_Cancel.Size = new System.Drawing.Size(50, 23);
|
||||
this.B_Cancel.Size = new System.Drawing.Size(67, 23);
|
||||
this.B_Cancel.TabIndex = 10;
|
||||
this.B_Cancel.Text = "Cancel";
|
||||
this.B_Cancel.UseVisualStyleBackColor = true;
|
||||
|
@ -173,8 +171,9 @@
|
|||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(103, 179);
|
||||
this.label1.Location = new System.Drawing.Point(103, 231);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(56, 13);
|
||||
this.label1.TabIndex = 11;
|
||||
|
@ -182,6 +181,7 @@
|
|||
//
|
||||
// CB_Unlocked
|
||||
//
|
||||
this.CB_Unlocked.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.CB_Unlocked.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_Unlocked.FormattingEnabled = true;
|
||||
this.CB_Unlocked.Items.AddRange(new object[] {
|
||||
|
@ -216,17 +216,38 @@
|
|||
"29",
|
||||
"30",
|
||||
"31"});
|
||||
this.CB_Unlocked.Location = new System.Drawing.Point(165, 176);
|
||||
this.CB_Unlocked.Location = new System.Drawing.Point(165, 228);
|
||||
this.CB_Unlocked.Name = "CB_Unlocked";
|
||||
this.CB_Unlocked.Size = new System.Drawing.Size(40, 21);
|
||||
this.CB_Unlocked.TabIndex = 12;
|
||||
this.CB_Unlocked.TextChanged += new System.EventHandler(this.changeBoxDetails);
|
||||
//
|
||||
// CB_BG
|
||||
//
|
||||
this.CB_BG.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CB_BG.FormattingEnabled = true;
|
||||
this.CB_BG.Location = new System.Drawing.Point(135, 61);
|
||||
this.CB_BG.Name = "CB_BG";
|
||||
this.CB_BG.Size = new System.Drawing.Size(101, 21);
|
||||
this.CB_BG.TabIndex = 13;
|
||||
this.CB_BG.SelectedIndexChanged += new System.EventHandler(this.changeBoxBG);
|
||||
this.CB_BG.TextChanged += new System.EventHandler(this.changeBoxDetails);
|
||||
//
|
||||
// PAN_BG
|
||||
//
|
||||
this.PAN_BG.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.PAN_BG.Location = new System.Drawing.Point(100, 88);
|
||||
this.PAN_BG.Name = "PAN_BG";
|
||||
this.PAN_BG.Size = new System.Drawing.Size(140, 95);
|
||||
this.PAN_BG.TabIndex = 14;
|
||||
//
|
||||
// SAV_BoxLayout
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(219, 239);
|
||||
this.ClientSize = new System.Drawing.Size(249, 291);
|
||||
this.Controls.Add(this.PAN_BG);
|
||||
this.Controls.Add(this.CB_BG);
|
||||
this.Controls.Add(this.CB_Unlocked);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.B_Cancel);
|
||||
|
@ -235,7 +256,6 @@
|
|||
this.Controls.Add(this.MT_BG1);
|
||||
this.Controls.Add(this.L_Flags);
|
||||
this.Controls.Add(this.L_BG);
|
||||
this.Controls.Add(this.MT_BG);
|
||||
this.Controls.Add(this.L_BoxName);
|
||||
this.Controls.Add(this.TB_BoxName);
|
||||
this.Controls.Add(this.LB_BoxSelect);
|
||||
|
@ -256,7 +276,6 @@
|
|||
private System.Windows.Forms.ListBox LB_BoxSelect;
|
||||
private System.Windows.Forms.TextBox TB_BoxName;
|
||||
private System.Windows.Forms.Label L_BoxName;
|
||||
private System.Windows.Forms.MaskedTextBox MT_BG;
|
||||
private System.Windows.Forms.Label L_BG;
|
||||
private System.Windows.Forms.Label L_Flags;
|
||||
private System.Windows.Forms.MaskedTextBox MT_BG1;
|
||||
|
@ -265,5 +284,7 @@
|
|||
private System.Windows.Forms.Button B_Cancel;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox CB_Unlocked;
|
||||
private System.Windows.Forms.ComboBox CB_BG;
|
||||
private System.Windows.Forms.Panel PAN_BG;
|
||||
}
|
||||
}
|
|
@ -18,7 +18,14 @@ namespace PKHeX
|
|||
editing = true;
|
||||
Array.Copy(m_parent.savefile, sav, 0x100000);
|
||||
savindex = m_parent.savindex;
|
||||
LB_BoxSelect.SelectedIndex = 0;
|
||||
|
||||
// Repopulate Wallpaper names
|
||||
CB_BG.Items.Clear();
|
||||
for (int i = 0; i < m_parent.wallpapernames.Length; i++)
|
||||
CB_BG.Items.Add(m_parent.wallpapernames[i]);
|
||||
|
||||
// Go
|
||||
LB_BoxSelect.SelectedIndex = m_parent.C_BoxSelect.SelectedIndex;
|
||||
}
|
||||
|
||||
Form1 m_parent;
|
||||
|
@ -37,15 +44,16 @@ namespace PKHeX
|
|||
editing = true;
|
||||
int index = LB_BoxSelect.SelectedIndex;
|
||||
int offset = 0x9800 + savindex * 0x7F000;
|
||||
|
||||
int bgoff = (0x7F000 * savindex) + 0x9C1E + LB_BoxSelect.SelectedIndex;
|
||||
CB_BG.SelectedIndex = sav[bgoff];
|
||||
changeBoxBG(null, null);
|
||||
TB_BoxName.Text = Encoding.Unicode.GetString(sav, offset + 0x22 * index, 0x22);
|
||||
MT_BG.Text = sav[0x9C1E + savindex * 0x7F000 + index].ToString();
|
||||
CB_BG.SelectedIndex = sav[0x9C1E + savindex * 0x7F000 + index];
|
||||
|
||||
MT_BG1.Text = sav[0x9C3D + savindex * 0x7F000].ToString();
|
||||
MT_BG2.Text = sav[0x9C3F + savindex * 0x7F000].ToString();
|
||||
|
||||
CB_Unlocked.SelectedIndex = sav[0x9C3E + savindex * 0x7F000] - 1;
|
||||
|
||||
editing = false;
|
||||
}
|
||||
private void changeBoxDetails(object sender, EventArgs e)
|
||||
|
@ -55,13 +63,15 @@ namespace PKHeX
|
|||
int index = LB_BoxSelect.SelectedIndex;
|
||||
int offset = 0x9800 + savindex * 0x7F000;
|
||||
|
||||
sav[(0x7F000 * savindex) + 0x9C1E + LB_BoxSelect.SelectedIndex] = (byte)CB_BG.SelectedIndex;
|
||||
|
||||
// Get Sender Index
|
||||
|
||||
byte[] boxname = Encoding.Unicode.GetBytes(TB_BoxName.Text);
|
||||
Array.Resize(ref boxname, 0x22);
|
||||
Array.Copy(boxname, 0, sav, offset + 0x22 * index, boxname.Length);
|
||||
|
||||
sav[0x9C1E + savindex * 0x7F000 + index] = (byte)ToUInt32(MT_BG.Text);
|
||||
sav[0x9C1E + savindex * 0x7F000 + index] = (byte)CB_BG.SelectedIndex;
|
||||
sav[0x9C3D + savindex * 0x7F000] = (byte)ToUInt32(MT_BG1.Text);
|
||||
sav[0x9C3F + savindex * 0x7F000] = (byte)ToUInt32(MT_BG2.Text);
|
||||
|
||||
|
@ -80,5 +90,11 @@ namespace PKHeX
|
|||
m_parent.getPKXBoxes();
|
||||
Close();
|
||||
}
|
||||
|
||||
private void changeBoxBG(object sender, EventArgs e)
|
||||
{
|
||||
sav[(0x7F000 * savindex) + 0x9C1E + LB_BoxSelect.SelectedIndex] = (byte)CB_BG.SelectedIndex;
|
||||
PAN_BG.BackgroundImage = (Image)Properties.Resources.ResourceManager.GetObject("box_wp" + (CB_BG.SelectedIndex+1).ToString("00"));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -123,27 +123,9 @@
|
|||
<metadata name="L_BoxName.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MT_BG.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_BG.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="L_Flags.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MT_BG1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MT_BG2.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="B_Save.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="B_Cancel.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
|
Loading…
Add table
Reference in a new issue