I've added a couple of new evolution methods but I don't want them to be triggered automatically at the end of a battle, rather I'd like them to trigger them from the menu, similar to the way legends Arceus does.
Can anyone advise how I would go about triggering the evolution screen manually. The script so far shows you all available evolution options (though it doesn't check check if you can evolve) and allows you to select which you want to evolve to. I want to trigger where the p @evos[index] currently is.
The p @evos[index] currently shows then Pokémon to evolve to, its evolution method and any parameters.
code for the selecting
Can anyone advise how I would go about triggering the evolution screen manually. The script so far shows you all available evolution options (though it doesn't check check if you can evolve) and allows you to select which you want to evolve to. I want to trigger where the p @evos[index] currently is.
The p @evos[index] currently shows then Pokémon to evolve to, its evolution method and any parameters.
code for the selecting
Code:
def pbEvoChoice
loop do
Graphics.update
Input.update
pbUpdate
if Input.trigger?(Input::C)
index = @sprites["mapList"].index
p @evos[index]
break
end
if Input.trigger?(Input::B)
break
end
end
end