Ponzaam Posted 22 hours ago Share Posted 22 hours ago (edited) Hi there, Working on a move that (temporarily) unevolves a pokemon mid-battle, and I'm having a bit of trouble pointing to the pre-evolved form in my scripts. Currently I'm basing the script off of the move Transform and I believe I understand what all the scripts that power Transform do. The key command to change the actual sprite appears to be @battle.scene.pbChangePokemon. The problem is that for Transform, "opponent.pokemon" is specified as the transformation target, and I'm not really sure what notation I'd need to use to call out a specific pokemon instead. In my case I'm making the initial test version of the move for Delphox, so my best guess was replacing "opponent.pokemon" with "$cache.pkmn[:BRAIXEN]" but that throws a NoMethodError (pictured below). Does anybody know what the proper notation might be to explicitly refer to a particular pokemon for a @battle.scene.pbChangePokemon command? Thanks! Edited 21 hours ago by Ponzaam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.