Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
I'm trying to merge them, but every time I black out, the screen stays black and I don't know how to fix it. The game still works, because when I clicked the "A" button I enter the game and can open my bag and hear music.
I got it to work (after accidentally making myself paralyzed a few times), thank you so much for your help, it has been invaluable! If anyone is searching for code that functions like this and stumbles upon this forum post, I will attach my code to this.
I tried combining the two codes before, but I kept getting error messages whenever the user is sent into battle. This is the code I have for the ability.
BattleHandlers::AbilityOnSwitchIn.add( :STUNSHOCK,
proc { |ability,battler,target,battle|
battle.pbShowAbilitySplash(battler)...
Does anyone know how to script an ability that works like Intimidate, where when the user is sent into battle it triggers the ability, but instead of lowering a stat it causes paralysis or poison?