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

Recent content by aryakalonymus

  1. A

    [Essentials Tutorial] Dynamax tutorial

    Weird, I tried my hand on this but for some reason when I activate dynamax the move didn't change into their max moves. I placed the def pbmaxmove in Pokebattle_battler, below def isairborne?. I've also added the battler.pbmaxmove to pokebattle_scene. Ok, found out the the reason why the move...
  2. A

    [Error] Wrong Number of Argument Error when Starting Battle

    Ok so I fixed it and found that the error originated from def initialize(index=0,move=nil,viewport=nil) in PokeBattle_Scene. Specifically in the last line refresh(index,moves,0,0,0). The initial code was refresh(index,moves,0,0); I overlooked that one and didn't add another 0 when I added new...
  3. A

    [Error] Wrong Number of Argument Error when Starting Battle

    Hmm, I see. I'll look into it again as soon as I get free time. Thanks for the help!
  4. A

    [Error] Wrong Number of Argument Error when Starting Battle

    I made ultraButton already, in fact, I copied their ultra burst code, then tried to modify it to last only three turns, like dynamax. For some reason I got that error. Unfortunately I'm not really sure how to track down what causes the error, and I've made sure I've written ultraButton where...
  5. A

    [Error] Wrong Number of Argument Error when Starting Battle

    Ok, so I was trying to code something like necrozma's ultra burst, but it has limited turns. Unfortunately, I got this error when starting a battle: Exception: ArgumentError Message: wrong number of arguments(4 for 5) PokeBattle_ActualScene:379:in `refresh' PokeBattle_ActualScene:379:in...
  6. A

    [Scripting Question] Triggering a form change when using a move of certain type?

    Thank you Vendily, and sorry for the problem ^^ Huh, I forgot you can force recompile with ctrl. Anyway, I've checked the pbs and the internal names many times, so I'm fairly certain I don't make a mistake there. Thank you for your help!
  7. A

    [Scripting Question] Triggering a form change when using a move of certain type?

    Okay, so I modified the stance change code, and put it in pbUseMove as you advised, and nothing still happened in game. Then out of curiosity (and frustration) I assigned the effect to an already existing ability. It worked now. I don't really understand. Why did it only work when I assign it to...
  8. A

    [Scripting Question] Triggering a form change when using a move of certain type?

    Hm, that makes sense...thanks for explaining that to me. So with that the case, I should move the code to pbUseMove? And is there something I can fix in the code? I'm still new to this so I usually write code by taking a look at existing ones.
  9. A

    [Scripting Question] Triggering a form change when using a move of certain type?

    Can you explain more about thismove.nil? Is always true? And about this code, I made it from tweaking the code used for Aegislash's form change, and it works in game so it should be defined...I think?
  10. A

    [Scripting Question] Triggering a form change when using a move of certain type?

    Hi, I'm trying to make a custom ability that changes a pokemon's form when it uses a move of a certain type. I put this code here in pokebattle_battler, in def pbcheckform, but instead it doesn't do anything when the pokemon use the move in battle; the pokemon didn't change the form whatsoever...
Back
Top