StCooler
Mayst thou thy peace discover.
- 9,792
- Posts
- 5
- Years
- Seen yesterday
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."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.
Comment the line: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
Code:
if cw.zbutton == 2 && !battler.pbCompatibleZMoveFromIndex?(cw.index)
Code:
ret = battler.pbCompatibleZMoveFromIndex?(cw.index)
pbMessage(_INTL("compatible = {1}", ret))
pbMessage(_INTL("zbutton = {1}", cw.zbutton))
if cw.zbutton == 2 && !ret