• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Dynamax & Max Raid Battles [Essentials v18.1]

  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    UPDATE!

    This version of the Dynamax & Max Raids plugin is no longer supported. A superior version of this plugin that incorporates Z-Moves and Ultra Burst into a single project - known as the ZUD Plugin - has been released, and is the version I will be supporting from here on out. Please go to that thread for all Dynamax-related content. No need to post anything in here.



    This is an adaptation of the original Dynamax tutorial by fauno. Credits go to them and those who contributed.

    Their original tutorial was a bit confusing for people who are new at this, so I aimed to simplify this into something more cohesive. There are still many small things that need to be installed manually in different sections, but I've tried to keep this to a minimum and make it as streamlined as possible.

    Dynamax & Max Raid Battles [Essentials v18.1]


    Overview
    This script aims to incorporate Pokemon Sword & Shield's Dynamax mechanic, and re-imagine it for Pokemon Essentials 18.1 in the most accurate way possible. I have tried to make everything reflect how it would work in the main series, although there are probably small things that still need work. In addition to this, a secondary goal of mine was to make this script as compatible as possible with other battle mechanics. This includes Mega Evolution, Z-Moves, Ultra Burst, and Zodiac Powers (introduced in my Pokemon Birthsigns scripts). At the moment, most of these third party scripts are not updated for v18.1, and are thus incompatible. However, I have left placeholders in this project to try and ensure future compatibility when they eventually are. I will update this project for compatibility if necessary.


    What is Dynamax?
    Spoiler:
     
    Last edited:
  • 44
    Posts
    4
    Years
    This is f**** awesome!

    I'll try when I have some time and, if I find some bug or anything, I'll report here.

    Nice job dude!
     
  • 44
    Posts
    4
    Years
    Ok, here is the first one.

    I tried using megas with the dynamax and all works perfect, but when you try Z moves something weird happens.

    First of all, and I don't know if this only happens to me but here it is, the name of the icon for the Z moves was named in a different way to the one in the Z move addon. It was something like ZButton but the name that I have is cursor_z, so I had to rename it to properly appear.

    Well, if I try the Z moves WITHOUT the dynamax band, all works perfect. The problem comes when I use those moves having the dynamax band. The button that appears is the one for the dynamax and, if I use it, the pokemon dynamax AND does his Z move. Something strange.

    Maybe this only happens to me, I don't know. Can someone try and say it too?
     
  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    Ok, here is the first one.

    I tried using megas with the dynamax and all works perfect, but when you try Z moves something weird happens.

    First of all, and I don't know if this only happens to me but here it is, the name of the icon for the Z moves was named in a different way to the one in the Z move addon. It was something like ZButton but the name that I have is cursor_z, so I had to rename it to properly appear.

    Well, if I try the Z moves WITHOUT the dynamax band, all works perfect. The problem comes when I use those moves having the dynamax band. The button that appears is the one for the dynamax and, if I use it, the pokemon dynamax AND does his Z move. Something strange.

    Maybe this only happens to me, I don't know. Can someone try and say it too?

    I see. This is my fault for not testing with Z-Moves and just hoping it would work like the others. The good news though is that is SOUNDS like Dynamax doesnt break Z-Moves, and that they both work in the same game. It just seems like there needs to be something added to the pbCanDynamax? check to ensure that the Dynamax option is unavailable if the Pokemon has a Z-Move present (like it does with Megas).
     
    Last edited:
  • 1,408
    Posts
    10
    Years
    • Seen yesterday

    Ok well I downloaded the Z-Move file, and it seems like we're both wrong. The button graphic for Z-Moves is actually Graphics/Pictures/battleZMove, so I renamed it to that in my script to reflect how it's set up there. I'll make a note to remind people to change this though, if they decided to move/rename it.

    Also, I'm curious about something. In the Z-Move download script, it defines "pbIsZCrystal?" and pbIsZCrystal2? as item types 7 and 8, respectively. But Essentials v17.2 defines item types 7 & 8 as Fossils and Apricorns. Which means this might be an issue with the Z-Move script itself (if it's being merged with v17.2), since this might cause conflicting results. In the Dynamax script, the way I set it up was that Dynamax is not possible if the user is holding a Z-Crystal (by checking pbIsZCrystal?). Butttt, this means that if those Z-Crystals are being overwritten by a different item type, because of what's found in Essentials v17.2 by default, it might not recognize Z-Crystals as Z-Crystals (and instead be checking for held Fossils or something).

    Search your script, and see what ITEMTYPE your "pbIsZCrystal?" and "pbIsZCrystal2?" are set as. If they're overlapping with any other item type, just renumber them. Try 13 and 14 instead (right after Mega Stones), and then change the numbers for the Z-Crystals in the items PBS as shown in this example (last number):
    Code:
    627,BUGINIUMZ,Buginium-Z,,8,0,"It converts Z-Power into crystals that upgrade Bug-type moves to Bug-type Z-Moves.",5,0,[B]14[/B]
    628,BUGINIUMZ2,Buginium-Z,,1,0,"This is a crystallized form of Z-Power. It upgrades Bug-type moves to Z-Moves.",0,0,[B]13[/B]

    Let me know if any of this is true for you, and if it solves the problem if it is.

    As a side note, in the Pokemon Birthsigns scripts I already defined Zodiac Gems as ITEMTYPE=15. So you shouldn't run into this overlap issue with those, unless you have some custom item types in your game set as number 15.


    EDIT: I also fixed a mistake in the installation instructions. Specifically in the second option within the "Other Installations" section (dealing with NPC's Pokemon). Re-install step 5 if you've already made this edit.
     
    Last edited:
  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    Lmao this is unrelated but Meloetta's Dynamax cry literally just sounds like a real woman singing. I need to go through some of these, some of them are surprising haha.
     
  • 44
    Posts
    4
    Years
    Search your script, and see what ITEMTYPE your "pbIsZCrystal?" and "pbIsZCrystal2?" are set as. If they're overlapping with any other item type, just renumber them. Try 13 and 14 instead (right after Mega Stones), and then change the numbers for the Z-Crystals in the items PBS as shown in this example (last number):

    627,BUGINIUMZ,Buginium-Z,,8,0,"It converts Z-Power into crystals that upgrade Bug-type moves to Bug-type Z-Moves.",5,0,14
    628,BUGINIUMZ2,Buginium-Z,,1,0,"This is a crystallized form of Z-Power. It upgrades Bug-type moves to Z-Moves.",0,0,13

    Let me know if any of this is true for you, and if it solves the problem if it is.

    Ok, this is weird but when I change the last numbers to 13 and 14, I can't see the items in my bag.

    I looked into the code in essentials and I have those items exactly like this:

    Spoiler:

    This happened to me before whit the milcery's evolution method from Wolf and the sweets that had the numer 15. But, I don't know why, suddenly I started to see them in my bag.

    Why is this happening? I know that it's unrelated to this script... but I can't test it without solving this.


    EDIT 1: I deleted the () from $ItemData[item][ITEMTYPE]==XX and now I can see the item in my bag (only the one defined as 14, the other... nop) BUT now I can't give it to a Pokémon. The option doesn't appear.
     
    Last edited:
  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    Ok, this is weird but when I change the last numbers to 13 and 14, I can't see the items in my bag.

    I looked into the code in essentials and I have those items exactly like this:

    Spoiler:

    This happened to me before whit the milcery's evolution method from Wolf and the sweets that had the numer 15. But, I don't know why, suddenly I started to see them in my bag.

    Why is this happening? I know that it's unrelated to this script... but I can't test it without solving this.
    Are you sure you're checking in the right bag slot? They're supposed to be key items, but they might have been popping up in a different bag slot before. Try using the debug tools to clear your bag and refill it again if you haven't already. If the items exist in the list of items when you try to add them through debug tools, then they definitely exist somewhere. The only way this wouldn't be the case is if their ID number is being overwritten by a different item somehow.
     
  • 44
    Posts
    4
    Years
    I started a new game to test it properly. I compared with other items and everything looks fine and defined properly, but doesn't works.

    I don't understand but I'll keep loking for a solution.


    ###############FINAL EDIT!!!!

    OOOOOOOOOOOOK, I found the problem with my Zcristals

    Spoiler:

    || pbIsZCrystal2?(item)) This part. In the PItems_Items script. I don't know why but that little thing made all the mess. But now, making only readable, everything works. I can see the Zcristals on my bag and I tested the Z moves whitout dynamax band, working properly, and WITH dynamax band. In this case, you can't use Z moves and CAN dynamax.

    Everything works fine.

    Again, great script Lucidious89. Great, great script.
     
    Last edited:
  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    I started a new game to test it properly. I compared with other items and everything looks fine and defined properly, but doesn't works.

    I don't understand but I'll keep loking for a solution.


    ###############FINAL EDIT!!!!

    OOOOOOOOOOOOK, I found the problem with my Zcristals

    Spoiler:

    || pbIsZCrystal2?(item)) This part. In the PItems_Items script. I don't know why but that little thing made all the mess. But now, making only readable, everything works. I can see the Zcristals on my bag and I tested the Z moves whitout dynamax band, working properly, and WITH dynamax band. In this case, you can't use Z moves and CAN dynamax.

    Everything works fine.

    Again, great script Lucidious89. Great, great script.

    Awesome, I'm so glad it works!
    I'm thinking of expanding upon this script to include Max Raid battles. So far I got the basic stuff working (wild Dynamax Pokemon, barriers that activate that shield their HP, etc). There's a lot of weird stuff associated with raid battles that I have to iron out, though. And I have to figure out if i'm going to include NPC trainers or not, and how to balance that if I do (since there can only be one partner trainer in Essentials). But so far it's functioning a lot better than I expected it to.

    Also a heads up - I spotted a typo in the "Additional Installations" section of the instructions. Section 3, Step 7 (having to do with Endeavor). Redo that step if you haven't already.
     

    DarrylBD99

    Content Creator and Game Developer
  • 321
    Posts
    4
    Years
    Unfortunately, Dynamax is NOT compatible with Luka's Elite Battle System at this time. It's possible to get it to run, but it'll be buggy. I hope to eventually release an update for compatibility down the line, but it isn't a priority for me as of now.

    So as of right now, it is not recommended to use this resource with ebs. Right?
     
  • 1,408
    Posts
    10
    Years
    • Seen yesterday
    So as of right now, it is not recommended to use this resource with ebs. Right?

    You can, but Dynamax wont work correctly. From what I tested, Max Moves wont be selectable, the graphics become buggy. You can still use the EliteBattle_Compatibility script however (found in the Birthsigns thread, not here) to make Zodiac Powers (and presumably Z-Moves and Ultra Burst) compatible with EBS. But Dynamax in particular wont work correctly.
     
  • 89
    Posts
    4
    Years
    • Seen May 23, 2024
    Hey ludicius89 please make a z move script because many people dont wants to replace script.rxdata with Z moves script.rxdata. if you do that it will be very helpful

    Aren't you being just a tad bit too demanding. You did trouble Lucidious89 and #Not Important and Fauno for several months for the Dynamax Script. #Not Important did share his script and when your demands weren't satisfied by his code, you shared his code publically and demanded people to fix it for you.

    Then you made a new account to post your demands all over again (might I tell you that having alt accounts for the purpose of proving/forcing your point is strictly against the rules of Pokécommunity).

    Then when Lucidious89 finally made the Dynamax Script (which is a commendable job considering the base he had to work with) you are now making new demands for a Z-Move Plug-and-Play Script and are spam posting the Dynamax Thread about it.

    These scripts don't just appear out of thin air. People put in hours of work to make a script, that to a plug-and-play one. The Reborn Team could have easily never released Z-Moves for anyone to use, but they did. Same goes for Lucidious89 who could just leave you with the incomplete Dynamax code, but he didn't. And instead of being grateful, you are continuously pestering them for more.

    If for some reason you really feel like having the trio of Z-Moves, Mega Evos and Dynamax in your game then yeah, I think it's worth the effort of shifting all of your scripts to the scripts.rxdata with Z-Moves in it. By saying "many people don't want to blah blah blah" you're not speaking on behalf of anybody because you are an extremely selfish person.
     
  • 17
    Posts
    4
    Years
    Incredibly helpful. I was unable to get dynamax to work, following the original tutorial, so this helped alot.
     
    Last edited:
    Back
    Top