• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - 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] Safety Goggles

  • 62
    Posts
    6
    Years
    Hi, I just found out that Safety Goggles are not implemented (or at least they're not in my version of Pokèmon Essentials)
    Does anyone know the script to make them work?
     
    Are you using Pokémon Essentials 15? In this version and below, there's no Gen6 data so you must do it yourself. Otherwise, we can't help you so much. Try an Essentials 16 or 17 copy to see if it works. Thanks!
     
    Yeah, i'm using that version. I can work on the PBS by myself, but I need someone who can share or write down the script for me please
     
    Nha, anyway.

    Replace the code for 'EFFECTSPORE':
    Spoiler:


    Same to '# Immunity to powder-based moves':
    Spoiler:


    Inside 'PokeBattle_Battle' replace the code below 'if pbWeather==PBWeather::SANDSTORM':
    Spoiler:


    Same to if pbWeather==PBWeather::Hail:
    Spoiler:
     
    Thanks Wolf, very helpful :)
    However, I can't find the part about '#Immunity to powder-based moves'
     
    Last edited:
    So download Pokémon Reborn and check if they did that part, they use v16. This code is from to v17.2.

    Pokémon Reborn actually uses Essentials V15
     
    Back
    Top