mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-13 23:50:25 -05:00
Reorder origin mark returns
Co-Authored-By: Matt <sora10pls@users.noreply.github.com>
This commit is contained in:
parent
0856599868
commit
f1beef872f
|
|
@ -491,18 +491,23 @@ private static Image GetOriginSprite(PKM pkm)
|
|||
{
|
||||
if (pkm.Format < 6)
|
||||
return null;
|
||||
if (pkm.Gen6)
|
||||
return Properties.Resources.gen_6;
|
||||
if (pkm.Gen7)
|
||||
return Properties.Resources.gen_7;
|
||||
if (pkm.Gen8)
|
||||
return Properties.Resources.gen_8;
|
||||
|
||||
// Specific Markings
|
||||
if (pkm.VC)
|
||||
return Properties.Resources.gen_vc;
|
||||
if (pkm.GG)
|
||||
return Properties.Resources.gen_gg;
|
||||
if (pkm.GO)
|
||||
return Properties.Resources.gen_go;
|
||||
|
||||
// Lumped Generations
|
||||
if (pkm.Gen6)
|
||||
return Properties.Resources.gen_6;
|
||||
if (pkm.Gen7)
|
||||
return Properties.Resources.gen_7;
|
||||
if (pkm.Gen8)
|
||||
return Properties.Resources.gen_8;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user