• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Scripting Question] Ability Help!

  • 1
    Posts
    8
    Years
    • Seen Jul 13, 2016
    Hi there! So, this isn't working for whatever reason, and if somebody can help me out that'd be nice :D

    # Temporal Shift
    if self.hasWorkingAbility(:TEMPORALSHIFT) && onactive
    PBDebug.log("[#[pbThis}: has Temporal Shift")
    if PBDayNight.isDay?(pbGetTimeNow)
    pbIncreaseStatBasic(PBStats::ATTACK,1)
    @battle.pbDisplay(_INTL("{1}'s {2} boosted its Attack!",
    pbThis,PBAbilities.getName(ability)))
    end
    if PBDayNight.isNight?(pbGetTimeNow)
    pbIncreaseStatBasic(PBSTATS::SPATK,1)
    @battle.pbDisplay(_INTL("{1}'s {2} boosted its Special Attack",
    pbthis,PBAbilities.getName(ability)))
    end
    end
    end
     
    Last edited:
    Back
    Top