mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-08-02 08:03:58 -05:00
Making get.asp return error 400 when there's no pokemon seems to fix a crash on the DS.
This commit is contained in:
parent
4d2ce62d4a
commit
29681e37ce
|
|
@ -179,6 +179,10 @@ namespace PkmnFoundations.GTS
|
|||
{ 0x04, 0x00 }, 0, 2);
|
||||
}
|
||||
|
||||
// other responses:
|
||||
// 0-2 causes a BSOD but it flashes siezure. Scary
|
||||
// 3 causes it to be "checking GTS's status" forever.
|
||||
|
||||
} break;
|
||||
|
||||
// Called after result.asp returns 4 when you check your pokemon's status
|
||||
|
|
@ -195,6 +199,8 @@ namespace PkmnFoundations.GTS
|
|||
{
|
||||
// No pokemon in the system
|
||||
// what do here?
|
||||
Error400(context);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -195,6 +195,8 @@ namespace PkmnFoundations.GTS
|
|||
{
|
||||
// No pokemon in the system
|
||||
// what do here?
|
||||
Error400(context);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user