• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

Resource Z-Move Add On 1.0

Amethyst

Rookie
Member
Joined
Mar 24, 2017
Posts
8
Amethyst submitted a new resource:

Z-Move Add On - This script includes instructions, graphics and code to add Z-Moves to any Essentials project!

Hello!

This is a scriptset to add Z-Moves to an Essentials project. Instructions and graphics are included with the download. It is free to use in your projects provided credit is given.

This has been tested with Essentials 16.2.

All of this is possible thanks to Reborn scripter Marcello's hard work; I'm just posting it here for him.

Please enjoy!

Read more about this resource...
 

Nebby

Rookie
Member
Joined
Jul 2, 2017
Posts
8
Hello! I just have a quick question. Is there any plans of making this compatible with 1.7?
 

Ash Ketchum 000

Don't Give up until everything is finished.
Member
Joined
Nov 26, 2017
Posts
0
Z-Moves add on!
Cool!
Just waiting it for become use able with 17.2 version.
 

WolfPP

Discord wolfppontes
Member
Joined
Aug 24, 2018
Posts
136

To sad :/

How can we adapt to EBS?

EDIT:
Guys, i try to add Z-move in EBS and im almost there!

So, the "issue" are here:
Code:
      if Input.trigger?(Input::C) || (defined?($mouse) && cw.mouseOver? && $mouse.leftClick?)  # Confirm choice
        if cw.index < 4
          @ret=cw.index
          @battle.pbRegisterMegaEvolution(index) if mega
          @battle.pbRegisterZMove(index) if zmove
          pbSEPlay("SE_Select2")
          @lastmove[index]=@ret
          @idleTimer=-1
          @inCMx=false
          break
        else
          @lastmove[index]=cw.index
          pbPlayCancelSE()
          @ret=-1
          break
        end
      elsif Input.trigger?(Input::A) || (defined?($mouse) && cw.overZMove? && cw.overMega? && $mouse.leftClick?) # Use Mega Evolution
        if @battle.pbCanMegaEvolve?(index)
          if mega
            mega = false
          else
            mega = true
          end
          cw.megaButtonTrigger
          pbSEPlay("SE_Select3")
        end
        if @battle.pbCanZMove?(index) # Use Z-Move
          if zmove
            zmove = false
          else
            zmove = true
          end
          cw.zButtonTrigger
          pbSEPlay("SE_Select3")
        end

When i press z-move and use spirit shuckle, will use Z-move Sinister Arrow Raid.Ok!

But, when i press z-move and use Quick Attack (example), will use Z-move Sinister Arrow Raid too, cuz i just copy and paste like Mega Evo.

Now, lets compare to 'original' script Z-Move add On:

Code:
      if Input.trigger?(Input::C)   # Confirm choice
        ret=cw.index
#
        if cw.zButton==2
          if battler.pbCompatibleZMoveFromIndex?(ret)
            pbPlayDecisionSE() 
            @lastmove[index]=ret
            return ret
          else
            @battle.pbDisplay(_INTL("{1} is not compatible with {2}!",PBMoves.getName(battler.moves[ret]),PBItems.getName(battler.item)))   
            @lastmove[index]=cw.index        
            return -1
          end
        else
          pbPlayDecisionSE() 
          @lastmove[index]=ret
          return ret
        end  
      elsif Input.trigger?(Input::A)   # Use Mega Evolution
        #if @battle.pbCanMegaEvolve?(index)
        if @battle.pbCanMegaEvolve?(index) && !pbIsZCrystal?(battler.item)
          @battle.pbRegisterMegaEvolution(index)
          cw.megaButton=2
          pbPlayDecisionSE
        end
#
        if @battle.pbCanZMove?(index)  # Use Z Move
          @battle.pbRegisterZMove(index)
          cw.zButton=2
          pbPlayDecisionSE()
        end   
#

Look here:
Code:
        if cw.zButton==2
          if battler.pbCompatibleZMoveFromIndex?(ret)
            pbPlayDecisionSE() 
            @lastmove[index]=ret
            return ret
          else
            @battle.pbDisplay(_INTL("{1} is not compatible with {2}!",PBMoves.getName(battler.moves[ret]),PBItems.getName(battler.item)))  
            @lastmove[index]=cw.index        
            return -1
          end

We need to add 'if battler.pbCompatibleZMoveFromIndex?(ret)' to haver 'else @battle.pbDisplay(_INTL("{1} is not compatible with {2}!",PBMoves.getName(battler.moves[ret]),PBItems.getName(battler.item)))' to EBS buttons.

Now... How can i add? lol
 
Last edited:
Back
Top