Add shiny sprites, alcremie sprites & big sprites for all
Keeping the 30x40 for now; might change my mind later. Kept the gmax sprites but they're unused.
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
public interface ISpriteBuilder<T>
|
||||
{
|
||||
T GetSprite(int species, int form, int gender, int heldItem, bool isEgg, bool isShiny,
|
||||
T GetSprite(int species, int form, int gender, uint formarg, int heldItem, bool isEgg, bool isShiny,
|
||||
int generation = -1,
|
||||
bool isBoxBGRed = false,
|
||||
bool isAltShiny = false);
|
||||
|
|
|
@ -21,17 +21,17 @@ namespace PKHeX.Drawing
|
|||
/// <summary>
|
||||
/// Gets the resource name of the Pokémon sprite.
|
||||
/// </summary>
|
||||
public static string GetResourceStringSprite(int species, int form, int gender, int generation = PKX.Generation, bool shiny = false)
|
||||
public static string GetResourceStringSprite(int species, int form, int gender, uint formarg, int generation = PKX.Generation, bool shiny = false)
|
||||
{
|
||||
if (SpeciesDefaultFormSprite.Contains(species)) // Species who show their default sprite regardless of Form
|
||||
form = 0;
|
||||
|
||||
var sb = new StringBuilder();
|
||||
{ sb.Append(Separator); sb.Append(species); }
|
||||
sb.Append(Separator).Append(species);
|
||||
|
||||
if (form != 0)
|
||||
{
|
||||
sb.Append(Separator); sb.Append(form);
|
||||
sb.Append(Separator).Append(form);
|
||||
|
||||
if (species == (int) Species.Pikachu)
|
||||
{
|
||||
|
@ -51,6 +51,13 @@ namespace PKHeX.Drawing
|
|||
sb.Append('f');
|
||||
}
|
||||
|
||||
if (species == (int) Species.Alcremie)
|
||||
{
|
||||
if (form == 0)
|
||||
sb.Append(Separator).Append(form);
|
||||
sb.Append(Separator).Append(formarg);
|
||||
}
|
||||
|
||||
if (shiny && AllowShinySprite)
|
||||
sb.Append(Shiny);
|
||||
return sb.ToString();
|
||||
|
|
19040
PKHeX.Drawing/Properties/Resources.Designer.cs
generated
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 679 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 663 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 439 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 1,000 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 211 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 691 B |
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 578 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_12-gmax.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 637 B |
Before Width: | Height: | Size: 862 B After Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 567 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 741 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_131-gmax.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 567 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 227 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_133-1.png
Normal file
After Width: | Height: | Size: 415 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_133-gmax.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 592 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_143-gmax.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 725 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 627 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 587 B |
Before Width: | Height: | Size: 813 B After Width: | Height: | Size: 333 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_152.png
Normal file
After Width: | Height: | Size: 312 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_153.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_154.png
Normal file
After Width: | Height: | Size: 451 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_155.png
Normal file
After Width: | Height: | Size: 333 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_156.png
Normal file
After Width: | Height: | Size: 380 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_157.png
Normal file
After Width: | Height: | Size: 417 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_158.png
Normal file
After Width: | Height: | Size: 329 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_159.png
Normal file
After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 324 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_160.png
Normal file
After Width: | Height: | Size: 502 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_161.png
Normal file
After Width: | Height: | Size: 332 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_162.png
Normal file
After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 563 B After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 923 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_165.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_166.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_167.png
Normal file
After Width: | Height: | Size: 316 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_168.png
Normal file
After Width: | Height: | Size: 408 B |
BIN
PKHeX.Drawing/Resources/img/Big Pokemon Sprites/b_169.png
Normal file
After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 307 B |