• 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.

Sunsteel Strike/Moongeist Beam/Photon Geyser

mybusiness

Guest
  • 0
    Posts
    Disclaimer: The following content was only tested for v. 17.2.

    The codes below will implement into your game the exclusive moves of Solgaleo, Lunala and Necrozma, which have the effect of a temporary moldbreaker, so, that means they will have to be added in, almost, the same places where the moldbreaker checks are.
    I would like to thank WolfPP for Photon Geyser subclass. Now, the instructions:

    In PokeBattle_Battler:
    Spoiler:

    In PokeBattle_BattlerEffects (this is not necessary, as far as gen 7 is concerned)
    Spoiler:

    In PokeBattle_Move
    Spoiler:

    In PokeBattle_MoveEffects, add this to the bottom, and change the YYY and ZZZ to what you have in PBS
    Spoiler:

    That was it. Ciao.
     
    Spoiler:


    in Move script i have:
    Code:
      def isBombMove?
        return (@flags&0x2000)!=0 # flag n: Is bomb move
      end
      
      def doesBypassIgnorableAbilities?
        return false
      end 
      
      def doesIgnoreDazzling?

    and my ReduceHP (red line is 1408):
    Spoiler:


    Maybe, put 'opponent/attacker/target' before code (instead thismove)?
     
    Last edited:
    Put !self.doesBypassIgnorableAbilities? or !doesBypassIgnorableAbilities? where you have the error (line 1408).
     
    Put !self.doesBypassIgnorableAbilities? or !doesBypassIgnorableAbilities? where you have the error (line 1408).

    I changed to '!doesBypassIgnorableAbilities?' and works. Thanks!

    P.S: Now, after installed its script, dont show any animation to my Z-Move (like animation to Light That Burns The Sky than i have). What could be?
    Normal moves (Photon Geyser, Sun Steel Strike, Sparkling Aria i.e) show animations, but your Z-Move, doens't..
     
    Back
    Top