Skip to content

Conversation

@HashtagMarky
Copy link

Description

As an expansion developer, I was recommended that I PR this here as it's related to the follower functions, but happy redirect it back if you wish.

When using the FOLLOWERS_ALLOWED_X defines, the GetFirstLiveMon function (and others that rely on it) may result in a NULL value, even if a healthy non-egg is present in the party. While the current use case of these work as it is intended, the first commit in this PR updates the names of these functions to reflect this stipulation, in case users try using it elsewhere.

The second commit in this PR updates the default value of OW_MON_ALLOWED_MET_LOC to MAPSEC_COUNT, as there will be unintended behaviour when trying to restrict followers to those given in Littleroot Town as MAPSEC_LITTLEROOT_TOWN has a value of 0.

Discord contact info

Contactable via this GitHub account or as HashtagMarky#4240 on Discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant