- 4
- Posts
- 6
- Years
- Seen Jul 22, 2019
When I was doing some scripting to make a new ability to make use of Field Effects in Pokemon Rejuvenation, I came across an issue where when I loaded up the game any Pokemon that was supposed to have a custom ability would have it replaced by Thick Fat or Early Bird.
if isConst?(ability,PBAbilities,:DOOMDRIVE) && onactive &&
$fefieldeffect!=35 && $fefieldeffect!=35
$fetempfield = 35
$fefieldeffect = $fetempfield
@battle.pbChangeBGSprite
@battle.field.effects[PBEffects::Terrain]=7
@battle.field.effects[PBEffects::Terrain]=10 if isConst?(item,PBItems,:AMPLIFIELDROCK)
@battle.pbDisplay(_INTL("The beginning of a new era!"))
end
This is the Script i'm currently having issues with and it would be a huge help if someone could figure it out. Thanks a bunch for anyone who even offer a suggestion
if isConst?(ability,PBAbilities,:DOOMDRIVE) && onactive &&
$fefieldeffect!=35 && $fefieldeffect!=35
$fetempfield = 35
$fefieldeffect = $fetempfield
@battle.pbChangeBGSprite
@battle.field.effects[PBEffects::Terrain]=7
@battle.field.effects[PBEffects::Terrain]=10 if isConst?(item,PBItems,:AMPLIFIELDROCK)
@battle.pbDisplay(_INTL("The beginning of a new era!"))
end
This is the Script i'm currently having issues with and it would be a huge help if someone could figure it out. Thanks a bunch for anyone who even offer a suggestion