Update src/pokemon.c
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
This commit is contained in:
parent
d6a78f386f
commit
96012ba065
@ -8265,10 +8265,10 @@ u16 MonTryLearningNewMoveEvolution(struct Pokemon *mon, bool8 firstMove)
|
|||||||
u16 species = GetMonData(mon, MON_DATA_SPECIES, NULL);
|
u16 species = GetMonData(mon, MON_DATA_SPECIES, NULL);
|
||||||
u8 level = GetMonData(mon, MON_DATA_LEVEL, NULL);
|
u8 level = GetMonData(mon, MON_DATA_LEVEL, NULL);
|
||||||
|
|
||||||
// since you can learn more than one move per level
|
// Since you can learn more than one move per level,
|
||||||
// the game needs to know whether you decided to
|
// the game needs to know whether you decided to
|
||||||
// learn it or keep the old set to avoid asking
|
// learn it or keep the old set to avoid asking
|
||||||
// you to learn the same move over and over again
|
// you to learn the same move over and over again.
|
||||||
if (firstMove)
|
if (firstMove)
|
||||||
{
|
{
|
||||||
sLearningMoveTableID = 0;
|
sLearningMoveTableID = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user