I'm making a fangame using Pokémon Essentials v21.1. Between the last time I was able to compile my project without error to now, I've been adding to the scripts to create some custom moves and abilities. I've also been making some small changes that shouldn't result in errors. I'm currently...
I thought this would be simple to set up. First, I looked for the part of the scripts that handles whether a type is immune to a status effect: [[ Battle ]] > [[ Battler ]] > Battler_Statuses > starting at line 86:
hasImmuneType = false
case newStatus
when :SLEEP...
Here's the code for an ability that deploys Tailwind when the ability user enters battle:
Battle::AbilityEffects::OnSwitchIn.add(:COMPANION,
proc { |ability, battler, battle, switch_in|
battle.pbShowAbilitySplash(battler)
battler.pbOwnSide.effects[PBEffects::Tailwind] = 3...
v0.4.0 available now!
Introduction:
This fangame is designed around the sandstorm weather and is located mainly in a large desert with many sub areas.
There are a lot of changes to all the Pokémon, many moves, and some abilities in this fangame.
I manually rewrote all the movesets for this...
I think there's an obvious solution but I haven't been able to find it.
After using the move Fling during a trainer battle or while battling against a wild Pokémon, the player's Pokémon's hold item is lost and doesn't restore at the end of the battle. I want all hold items on the player's...