Merge pull request #1591 from kiliwily/master

Fix brackets inconsistency in field_specials.c
This commit is contained in:
GriffinR 2022-01-06 13:58:06 -05:00 committed by GitHub
commit 71e0b480a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,9 +377,7 @@ bool32 ShouldDoScottFortreeCall(void)
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_SCOTT_FORTREE_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}
break;
default:
return FALSE;
@ -404,9 +402,7 @@ bool32 ShouldDoScottBattleFrontierCall(void)
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_SCOTT_BF_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}
break;
default:
return FALSE;
@ -431,9 +427,7 @@ bool32 ShouldDoRoxanneCall(void)
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_ROXANNE_CALL_STEP_COUNTER)) < 250)
{
return FALSE;
}
break;
default:
return FALSE;
@ -458,9 +452,7 @@ bool32 ShouldDoRivalRayquazaCall(void)
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_RIVAL_RAYQUAZA_CALL_STEP_COUNTER)) < 250)
{
return FALSE;
}
break;
default:
return FALSE;