sub_808F638 and sub_808F648

This commit is contained in:
PikalaxALT
2017-09-13 19:45:59 -04:00
parent 64ffa8f963
commit f9de01dc86
2 changed files with 24 additions and 27 deletions

View File

@@ -1855,3 +1855,27 @@ u8 sub_808F608(s16 x1, s16 x2, s16 y1, s16 y2)
}
return retval;
}
u8 sub_808F638(s16 x1, s16 x2, s16 y1, s16 y2)
{
u8 retval;
retval = DIR_SOUTH;
if (x2 < 0)
{
retval = DIR_NORTH;
}
return retval;
}
u8 sub_808F648(s16 x1, s16 x2, s16 y1, s16 y2)
{
u8 retval;
retval = DIR_EAST;
if (x1 < 0)
{
retval = DIR_WEST;
}
return retval;
}