Arts >> Magic >> Magic Tricks

What is ruby cheat to change abilities?

To change the abilities of a Pokemon in Pokemon Ruby, you can use the following Ruby code.

```

Replace 'alakazam' with the Pokemon you want to modify

alakazam = @party.find { |pokemon| pokemon.name == 'alakazam' }

alakazam.learn_move :swift

alakazam.learn_move :psychic

alakazam.learn_move :recover

alakazam.learn_move :calm_mind

```

This code will teach the Pokemon Alakazam the moves Swift, Psychic, Recover, and Calm Mind.

Magic Tricks

Related Categories