summaryrefslogtreecommitdiff
path: root/src/field_specials.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-18 02:32:52 -0500
committerGriffinR <griffin.richards@comcast.net>2019-12-20 16:53:33 -0500
commit63c8cf97d1e47573ba8c5bcdf23543013a0f2a14 (patch)
treeb3cbd3f1245fbb4611b4d3680128759ce34ab700 /src/field_specials.c
parentf8cef9a6a86fb85634e21370e5a7a0d2ac4a9ba2 (diff)
Document Battle Dome scripts and some battle_dome.c
Diffstat (limited to 'src/field_specials.c')
-rw-r--r--src/field_specials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index bffb9f591..4ed4ebc02 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -994,7 +994,7 @@ u16 GetWeekCount(void)
u8 GetLeadMonFriendshipScore(void)
{
struct Pokemon *pokemon = &gPlayerParty[GetLeadMonIndex()];
- if (GetMonData(pokemon, MON_DATA_FRIENDSHIP) == 255)
+ if (GetMonData(pokemon, MON_DATA_FRIENDSHIP) == MAX_FRIENDSHIP)
{
return 6;
}