- 12
- Posts
- 9
- Years
- Seen Sep 21, 2019
so i want a certain pokemon to only be able to learn a new move if it already knows a different move.
first im giving the player the choice to choose which pokemon should learn the attack with:
pbChooseNonEggPokemon(1,3)
now i can check for the pokemons moves with a conditional branch
pbGetPokemon(1).knowsMove?(:...)
now that all that is setup my problem is actually allowing the player to teach the pokemon the move.
i only know pbMoveTutorChoose which is against the purpose of this because the player could check for a pokemon that fullfills the requirements and then teach the move to an other one.
or pbLearnMove which doesnt allow the player to choose which move to delete as it simply silently deletes a move.
so how can i make a pbMoveTutorChoose without the choose? ;)
first im giving the player the choice to choose which pokemon should learn the attack with:
pbChooseNonEggPokemon(1,3)
now i can check for the pokemons moves with a conditional branch
pbGetPokemon(1).knowsMove?(:...)
now that all that is setup my problem is actually allowing the player to teach the pokemon the move.
i only know pbMoveTutorChoose which is against the purpose of this because the player could check for a pokemon that fullfills the requirements and then teach the move to an other one.
or pbLearnMove which doesnt allow the player to choose which move to delete as it simply silently deletes a move.
so how can i make a pbMoveTutorChoose without the choose? ;)
Last edited: