diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-22 12:18:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 12:18:48 -0400 |
commit | a180d2af49250b9cf005ce1635e5e59c7e6848c4 (patch) | |
tree | a457673d0bbfe61da83b59a08b256dadaa4b4821 /src/script_pokemon_util_80F87D8.c | |
parent | 58b8d7c297576846aeef4173bbe8a6a71608ad98 (diff) | |
parent | 9d4fc9234be10ccad76987e08512373bb097d8e0 (diff) |
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'src/script_pokemon_util_80F87D8.c')
-rwxr-xr-x | src/script_pokemon_util_80F87D8.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script_pokemon_util_80F87D8.c b/src/script_pokemon_util_80F87D8.c index 51bd73b1c..a80fe49ff 100755 --- a/src/script_pokemon_util_80F87D8.c +++ b/src/script_pokemon_util_80F87D8.c @@ -585,14 +585,14 @@ void HasEnoughMonsForDoubleBattle(void) { switch (GetMonsStateToDoubles()) { - case 0: - gSpecialVar_Result = 0; + case PLAYER_HAS_TWO_USABLE_MONS: + gSpecialVar_Result = PLAYER_HAS_TWO_USABLE_MONS; break; - case 1: - gSpecialVar_Result = 1; + case PLAYER_HAS_ONE_MON: + gSpecialVar_Result = PLAYER_HAS_ONE_MON; break; - case 2: - gSpecialVar_Result = 2; + case PLAYER_HAS_ONE_USABLE_MON: + gSpecialVar_Result = PLAYER_HAS_ONE_USABLE_MON; break; } } |