Recent content by Nasuthan

  1. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    Worked like a charm, thanks :)
  2. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    Does the Common animation need to be set up as a battle animation in the battle animation editor, because the way i was doing it was using the xp animation editor in the datbase and was going to do it the same way as the grass animation happens.
  3. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    ok however I'm still getting nothing have tried: # Pokémon was caught ballCaptureSuccess(ball,delay,ballEndX,ballGroundY) @battler.battle.pbCommonAnimation("Common:StarCatch", @battler) which I now know is wrong in databas animation is called: Common:StarCatch in class...
  4. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    still nothing ballCaptureSuccess(ball,delay,ballEndX,ballGroundY) @battler.battle.pbCommonAnimation("Common:StarCatch", @battler) does this work with PEV18.1
  5. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    so its just not working I Have this # Pokémon was caught ballCaptureSuccess(ball,delay,ballEndX,ballGroundY) @battler.battle.pbCommonAnimation("StarCatch", @battler) ive also tried: ballCaptureSuccess(ball,delay,ballEndX,ballGroundY)...
  6. Nasuthan

    [Scripting Question] Add Star Animation to poke capture

    Trying to add the star animation to successful capture in: PokeBattle_Animations def ballCaptureSuccess(ball,delay,ballX,ballY) ball.setSE(delay,"Battle catch click") pbStarAniCaptureSuccess(ballX,ballY) ball.moveTone(delay,4,Tone.new(-64,-64,-64,128)) end in: PField_Field...
  7. Nasuthan

    [Scripting Question] HM Moves As held items

    figured it out was missing a line to start the party screen menu elsif cmdFly>=0 && command==cmdFly move = getID(PBMoves,:FLY) if pbCanUseHiddenMove?(pkmn,move) if pbConfirmUseHiddenMove(pkmn,move) @scene.pbEndScene scene =...
  8. Nasuthan

    [Scripting Question] HM Moves As held items

    any idea why im getting this: --------------------------- Pokemon Snow And Spirit --------------------------- [Pokémon Essentials version 18.1] Exception: NoMethodError Message: undefined method `x=' for nil:NilClass Backtrace: MessageConfig:135:in `pbBottomLeftLines'...
  9. Nasuthan

    [Scripting Question] HM Moves As held items

    that fantastic, i now can use fly from the party menu. is there a way to add this commad to the tap ready menu? with similar checks, if can learn fly from hm but hasnt yet and has held item:cutitem add command to ready menu thanks again.
  10. Nasuthan

    [Scripting Question] HM Moves As held items

    I alredy have this in pokemon utilites def pbCheckHeldItem(item) yours looks more elegent for sure but also mine works. so im going with if it isnt broke dont fix it. I did manage to get it working for CUT, ROCK SMASH,DIVE,SURF with the code I had but my problem is FLY, like I mentioned I...
  11. Nasuthan

    [Scripting Question] HM Moves As held items

    anyone who can tell me what im doing wrong would be great, prepare for very janky code. def pbCut move = getID(PBMoves,:CUT) movefinder = pbCheckMove(move) heldItem = pbCheckHeldItem(:CUTITEM) canUse = pbCheckCanLearnMove(move) pokeName = pbGetName(move) if heldItem == true if...
  12. Nasuthan

    [Scripting Question] HM Moves As held items

    not really sure how to do it still, the only thing I'v found is this: elsif pbCanUseHiddenMove?(pkmn,pkmn.moves[i].id) if pbConfirmUseHiddenMove(pkmn,pkmn.moves[i].id) @scene.pbEndScene if isConst?(pkmn.moves[i].id,PBMoves,:FLY)...
  13. Nasuthan

    [Scripting Question] HM Moves As held items

    Working with pokemon essentials v18 .1 In my game you need to be able to use the stock hm moves as is, Cut, Surf,Fly,Rocksmash however when you get to a certain point in the game based on the number of badges, an npc "the charm speccialist" will offer to make a charm for you, eg: Cut Charm...
  14. Nasuthan

    [Scripting Question] Pokemon essentials change pokeball upon evolution

    posting if anyone wants to use this solution for anything similar. I only need this to work for 1 Pokemon. PBEvolution.register(:ToGreatAtLevel, { #check for level "levelUpCheck" => proc { |pkmn, parameter| #check for held item next true if pkmn.hasItem?(:SCRATCHEDBALL) && pkmn.level...
  15. Nasuthan

    [Scripting Question] Pokemon essentials change pokeball upon evolution

    So I’ve simplified it and it works and changes the ball. Now just got to add the bit about checking for an held item. But solution without held item is: PBEvolution.register(:ToGreatAtLevel, { "levelUpCheck" => proc { |pkmn, parameter| next pkmn.level >= parameter && pkmn.ballused = 27 } })
Back
Top