Jump to content

Ponzaam

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral
  1. 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!
×
×
  • Create New...