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

Z-Move Add On

"The Dev Build" The version of the Z-Move script you are currently working on with Lucidious
...
The Second screenshot: I brought this exact problem up with Lucidious and when he looked at the public code and the private code you two are working on he mentioned via DM's he said, Quote: "the version im using is heavily modified compared to the one he posted in the thread, and that part of the code is actually different" end Quote.
The dev build is different, as it integrates also Dynamax. When you report a bug, I check on the "original build" (Essentials v18.dev + the Z-move plugin and that's all). When I say I can't replicate your bug, it's on the original build.

Looking further back into the code cw.zbutton is indeed equal to 2 simply because when the problem arises I receive the message "Primarina surrounded itself with its Z-Power!" which only triggers when pbUseZMove is called. I'm unsure how to check which condition pbCompatibleZMoveFromIndex? is in
Comment the line:
Code:
        if cw.zbutton == 2 && !battler.pbCompatibleZMoveFromIndex?(cw.index)
and add above:
Code:
        ret = battler.pbCompatibleZMoveFromIndex?(cw.index)
        pbMessage(_INTL("compatible = {1}", ret))
        pbMessage(_INTL("zbutton = {1}", cw.zbutton))
        if cw.zbutton == 2 && !ret
and tell me what the messages return.
 
Compatible was false and Z-Button was 0. Using Moonblast did set Compatible to true and Z-Button was still 0. I decided to change the condition of cw.zbutton == 2 to cw.zbutton == 0 and it fixed it.
Ok...
 
The game crashes when I try to add a Z Move to a Pokemon with out the type the Z move supports. (i.e. give my Appletun without a Bug move a Buginium Z and the game crashes) Any fix? (

OH Im dumb. are the key crystals for opponents and held items for the player? If so, can I fix it so there is no crashing when I add in the 2less Z Crystal (in the PBS, the key item version) ingame?

https://media.discordapp.net/attachments/195683353121390592/797622406650527751/unknown.png
 
Last edited:
The game crashes when I try to add a Z Move to a Pokemon with out the type the Z move supports. (i.e. give my Appletun without a Bug move a Buginium Z and the game crashes) Any fix? (

OH Im dumb. are the key crystals for opponents and held items for the player? If so, can I fix it so there is no crashing when I add in the 2less Z Crystal (in the PBS, the key item version) ingame?

https://media.discordapp.net/attachments/195683353121390592/797622406650527751/unknown.png
There are two versions of Z-crystals:
- BUGINIUMZ, which is a Key item the player has in the bag;
- BUGINIUMZ2, which is an item to be held by the Pokémon (your Pokémon, and NPC's Pokémons).

When the player has a BUGINIUMZ in their bag, they "use" it to give a BUGINIUMZ2 to a chosen Pokémon.

This design choice was made by the Reborn team, and I kept it in my release. Be aware that Lucidious89 (the guy behind the Dynamax plugin) and myself are working on a compatibility patch. Among other things, we solved this "double-item" thing. For now, release is not scheduled, but we are close, so be ready to replace your scripts ^^
 
The game crashes when I try to add a Z Move to a Pokemon with out the type the Z move supports. (i.e. give my Appletun without a Bug move a Buginium Z and the game crashes) Any fix? (

I saw your message on the Generation 8 project topic; did you solve your crash problem?
 
Nope. Turns out I have to readd Gen8 personally too (because the one I downloaded was oddly an earlier version to another but new dev).
 
Are there plans to make this compatible with Essentials 19.1?
 
Is the original Add On script available anywhere? The link in the OP doesn't work it seems.
 
Back
Top