mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-04-24 15:26:48 -05:00
Fixed some issues with Platinum gamestats.
This commit is contained in:
parent
af97c2e6df
commit
1ef2820121
|
|
@ -1 +1 @@
|
|||
<%@ WebHandler Language="C#" CodeBehind="pokemondpds_web.ashx.cs" Class="PkmnFoundations.GTS.pokemonplatds" %>
|
||||
<%@ WebHandler Language="C#" CodeBehind="pokemondpds_web.ashx.cs" Class="PkmnFoundations.GTS.pokemondpds_web" %>
|
||||
|
|
|
|||
|
|
@ -924,7 +924,9 @@ namespace PkmnFoundations.Data
|
|||
|
||||
if (reader.Read())
|
||||
{
|
||||
return new TrainerProfilePlaza(pid, reader.GetByteArray(0, 12), reader.GetByteArray(1, 152));
|
||||
TrainerProfilePlaza result = new TrainerProfilePlaza(pid, reader.GetByteArray(0, 12), reader.GetByteArray(1, 152));
|
||||
reader.Close();
|
||||
return result;
|
||||
}
|
||||
else return null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace PkmnFoundations.Structures
|
|||
{
|
||||
get
|
||||
{
|
||||
return (Versions)DataPrefix[0x03];
|
||||
return (Versions)DataPrefix[0x02];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ namespace PkmnFoundations.Structures
|
|||
{
|
||||
get
|
||||
{
|
||||
return (Languages)DataPrefix[0x04];
|
||||
return (Languages)DataPrefix[0x03];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ namespace PkmnFoundations.Structures
|
|||
{
|
||||
get
|
||||
{
|
||||
return Data[0x50];
|
||||
return Data[0x40];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ namespace PkmnFoundations.Structures
|
|||
{
|
||||
get
|
||||
{
|
||||
return Data[0x52];
|
||||
return Data[0x42];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user