• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Simple Script for Bolt Beak & Fishious Rend?

  • 29
    Posts
    7
    Years
    • Seen Feb 8, 2024
    Hey everybody,

    So I've finally gotten around to starting on my first Pokemon fan game.

    I've taken it amongst myself to attempt to script the Gen 8 moves and abilities from scratch before I reach out for help on the more complex codes.

    I'm going in alphabetical order (skipping Aura Wheel for now because that seems like a coding nightmare)

    I don't plan on using Dynamaxing in this one so the Behemoth moves are just Function Code "000" for now.

    I reached Bolt Beak and wondered if I reverse the conditions for the move Payback, if it will suffice or do I need more advanced coding?

    This is the script so far:

    ################################################################################
    # Power is doubled if the user goes first. (Bolt Beak, Fishious Rend)
    ################################################################################
    class PokeBattle_Move_189 < PokeBattle_Move
    def pbBaseDamage(basedmg,attacker,opponent)
    if @battle.choices[opponent.index][0]!=1 || # Didn't choose a move
    opponent.hasMovedThisRound? # Used a move already
    return basedmg
    end
    return basedmg*2
    end
    end


    Thanks in advance
     
    I realized that, but I'm having issues updating the current game I was working on from the previous version. I keep getting scripting errors that I don't understand how to fix =/
     
    I realized that, but I'm having issues updating the current game I was working on from the previous version. I keep getting scripting errors that I don't understand how to fix =/

    It still seems massively easier to just either figure out the errors or move your custom content over to a new project using Gen 8 as a base, rather than literally making all of Gen 8 from scratch on your own.
     
    Back
    Top