diff options
author | Kurausukun <lord.uber1@gmail.com> | 2021-07-03 16:57:44 -0400 |
---|---|---|
committer | Kurausukun <lord.uber1@gmail.com> | 2021-07-03 16:57:44 -0400 |
commit | 85beaf7f82b9848cf21fe40b86a51027cd5fbbc1 (patch) | |
tree | e4c20560416857c59dcaa0a0bf1e8682b49f6707 /src/party_menu.c | |
parent | 72fc4b6f844a47ac4711c421cc4e06e0197dc7c5 (diff) | |
parent | bbf39b8560c752d6b7e94bf1fea9ac60dc79c902 (diff) |
Merge branch 'master' of https://github.com/pret/pokefirered into cast_test
Diffstat (limited to 'src/party_menu.c')
-rw-r--r-- | src/party_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/party_menu.c b/src/party_menu.c index e08c427c8..aa7ffc702 100644 --- a/src/party_menu.c +++ b/src/party_menu.c @@ -839,7 +839,7 @@ static bool8 DisplayPartyPokemonDataForMoveTutorOrEvolutionItem(u8 slot) if (gPartyMenu.action == PARTY_ACTION_MOVE_TUTOR) { gSpecialVar_Result = FALSE; - if (gSpecialVar_0x8005 > 14) + if (gSpecialVar_0x8005 >= TUTOR_MOVE_COUNT) return FALSE; DisplayPartyPokemonDataToTeachMove(slot, 0, gSpecialVar_0x8005); } |