• 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!
  • 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] ELP PLEASE (Burn Entry Hazard)

  • 1
    Posts
    1
    Years
    • Seen Jun 10, 2023
    Hi, I've been looking for a way to make an entry hazard that burns the opponent, kinda like toxic spikes poison them, but I can't seem to figure out how to do it or find a tutorial. Could someone help me, please?
     
    Look at how Toxic Spikes is coded in terms of poisoning the opponent. You may be able to duplicate the code for your hazard effect and change the poisoning to burning.
     
    You can trace the toxic spikes codes, all the way to PBEffects and try to add exactly the same code but with different names and texts ("Fire Spikes" instead of "Toxic Spikes") and different functions ("pbBurn" instead of "pbPoison").
    Try looking for it every time it's says "ToxicSpikes" on the script editor (using Ctrl+Shift+F).
     
    Back
    Top