Update shiny stars to modern game icon
This swaps the old red star to a red two-star icon from Switch games. Improves visibility of the square shiny icon (red/white stars). Closes #3749
|
@ -200,11 +200,19 @@ public abstract class SpriteBuilder : ISpriteBuilder<Image>
|
|||
// Add shiny star to top left of image.
|
||||
Bitmap rare;
|
||||
if (shiny is Shiny.AlwaysSquare)
|
||||
rare = Resources.rare_icon_2;
|
||||
else if (tweak.HasFlag(SpriteBuilderTweak.BoxBackgroundRed))
|
||||
rare = Resources.rare_icon_alt;
|
||||
{
|
||||
if (tweak.HasFlag(SpriteBuilderTweak.BoxBackgroundRed))
|
||||
rare = Resources.rare_icon_alt_2;
|
||||
else
|
||||
rare = Resources.rare_icon_2;
|
||||
}
|
||||
else
|
||||
rare = Resources.rare_icon;
|
||||
{
|
||||
if (tweak.HasFlag(SpriteBuilderTweak.BoxBackgroundRed))
|
||||
rare = Resources.rare_icon_alt;
|
||||
else
|
||||
rare = Resources.rare_icon;
|
||||
}
|
||||
return ImageUtil.LayerImage(baseImage, rare, 0, 0, ShinyTransparency);
|
||||
}
|
||||
|
||||
|
|
|
@ -53190,6 +53190,16 @@ namespace PKHeX.Drawing.PokeSprite.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap rare_icon_alt_2 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("rare_icon_alt_2", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 3.1 KiB |