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

[Essentials Tutorial] Dynamax tutorial

Yep, twice

So you are doing things in a wrong way somewhere, since I don't have a big knowledge of scripts, and following all steps I could add it to my game. If you just copy and paste without reading what you're copying, you'll have errors. I noticed that when you copy directly from here (without the raw paste form), you'll get some errors based on typos, like a space that shouldn't be there or some symbols bad placed, but looking some scripts that are pretty similar and near of the new ones, you'll find the solutions. Some errors can be solved just following logic, like "((text)".
 
Hi, the method isFainted? doesn't work


!self.isFainted?

Excepción: NoMethodError
Mensaje: undefined method `isFainted?' for #<PokeBattle_Pokemon:0x8cdec78>
PokeBattle_Pokemon:886:in `calcStats'
PokeBattle_Battler:1300:in `pbUpdate'
PokeBattle_Battler:167:in `pbUndynamax'
PokeBattle_Battle:1385:in `pbRegisterSwitch'
PokeBattle_Battle:3051:in `pbCommandPhase'
PokeBattle_Battle:2982:in `loop'
PokeBattle_Battle:3116:in `pbCommandPhase'
PokeBattle_Battle:2971:in `each'
PokeBattle_Battle:2971:in `pbCommandPhase'
PokeBattle_Battle:2898:in `pbStartBattleCore'
 
Where in the vanilla script is that "#Recalculate this Pokemon's Stats" part?
I can't seem to find it.
 
Where in the vanilla script is that "#Recalculate this Pokemon's Stats" part?
I can't seem to find it.

Search for "def calcStats" by using Ctrl+Shift+F in the script editor
 
Does Shedinja keep 1 hp when dynamaxed in this script?
If the code works the same as it does in the official titles it's HP shouldn't increase

I know it kind of kills the whole "essentials tutorial" thing , but can someone who it works for just give me scripts.rxdata it wont work
even if someone were to properly add this to their game we have no idea what custom scripts or code alteration you might have done, so you'd be better off giving your Script.rxdata to a close friend and asking them to install it for you.
 
For some reason, i'm getting an error
--------------------------------------
Script Pokebattle_Battle line 4179: SyntaxError occured
--------------------------------------

Could i get some help?
 
This is why I want a functioning copy of the script
Yeah... that would be nice. I'm not exactly the best at whatever scripting language this is (Pretty sure it's Lua)
Kinda like what Z-Moves did.
However, i found out changing all if!s to if seems to work

Now i'm getting an error at the end of PokeBattle_Scene
 
Last edited:
Code:
if !1=variable #The !1=variable checks if one [B]doesn't[/B] equal variable 
  pbDoSomething
end

That code doesn't check for not equal. if 1!=variable checks for not equal. What you wrote crashes, and if you'd said if !var1=var2 that would set var1 to var2 then run the body of the if only if var2 is false or nil.

In general !x means "not x", it's the opposite.
 
That code doesn't check for not equal. if 1!=variable checks for not equal. What you wrote crashes, and if you'd said if !var1=var2 that would set var1 to var2 then run the body of the if only if var2 is false or nil.

In general !x means "not x", it's the opposite.

Oh... that explains why so many of my scripts fail...
 
Hi I got most of the script working on 17.2 except I get a SyntaxError when adding

if battler.effects [PBEffects::DButton]
battler.effects [PBEffects::MaxMove1] += 1 if cw.index == 0
battler.effects [PBEffects::MaxMove2] += 1 if cw.index == 1
battler.effects [PBEffects::MaxMove3] += 1 if cw.index == 2
battler.effects [PBEffects::MaxMove4] += 1 if cw.index == 3
end

it says there's a problem in the line of MaxMove1-4 please help
 
Hi I got most of the script working on 17.2 except I get a SyntaxError when adding

if battler.effects [PBEffects::DButton]
battler.effects [PBEffects::MaxMove1] += 1 if cw.index == 0
battler.effects [PBEffects::MaxMove2] += 1 if cw.index == 1
battler.effects [PBEffects::MaxMove3] += 1 if cw.index == 2
battler.effects [PBEffects::MaxMove4] += 1 if cw.index == 3
end

it says there's a problem in the line of MaxMove1-4 please help
I don't think there should be a space before the [s.
 
I am able to start the game and load a new and saved game but, every time I try to start a battle I get this error

Message: wrong number of arguments(4 for 5)
PokeBattle_Scene:384:in `refresh'
PokeBattle_Scene:384:in `initialize'
PokeBattle_Scene:251:in `new'
PokeBattle_Scene:251:in `initialize'
PokeBattle_Scene:1928:in `new'
PokeBattle_Scene:1928:in `pbStartBattle'
PokeBattle_Battle:2600:in `pbStartBattleCore'
PokeBattle_Battle:2573:in `pbStartBattle'
PField_Field:905:in `pbWildBattle'
PField_Field:904:in `pbSceneStandby'

please help.
 
Sorry but my english are so bad, i can use mega evolution and dynamax/gmax or only dynamax/gmax?
 
Back
Top