• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Changing the trajectory of the player's thrown pokeballs in battle

ReVaN777

Creator of Pokemon Titanium
  • 108
    Posts
    13
    Years
    Does anyone know how to edit the Players pokeball throw during battles,

    this is the script that needs to be edited but i don't know how to edited it? any help would be appreciated.

    Code:
      def pbSendOut(battlerindex,pkmn) # Player sending out Pokémon
        while inPartyAnimation?; end
        balltype=pkmn.ballused
        ballbitmap=sprintf("Graphics/Pictures/ball%02d",balltype)
        pictureBall=PictureEx.new(32)
        delay=1
        pictureBall.moveVisible(delay,true)
        pictureBall.moveName(delay,ballbitmap)
        pictureBall.moveOrigin(delay,PictureOrigin::Center)
        # Setting the ball's movement path
        path=[[0,   100], [10,  134], [21,  122], [30,  112], 
              [39,  104], [46,   99], [53,   95], [61,   93], 
              [68,   93], [75,   96], [82,  102], [89,  111], 
              [94,  121], [100, 134], [106, 150], [111, 166], 
              [116, 183], [120, 199], [124, 216], [127, 238]]
     
    Is it the trajectory of the Poke Ball that you want to change, or the animation?
     
    the Trajectory, my battle system is side by side set up and the pokeball throw is still from center of the player side and the ball lands on the bottom of the player side of screen i want it to it to be the same as the opponents side.. if that makes any since.
     
    Actually , if you're using side by side battle system of Zeak6464, you must ask him instead . Anyway , If you want to change where pokeball appear , it goes here:
    (I'm not tested, but it should work. However , backup it first)
    path=[[0, 100], [10, 134], [21, 122], [30, 112],
    [39, 104], [46, 99], [53, 95], [61, 93],
    [68, 93], [75, 96], [82, 102], [89, 111],
    [94, 121], [100, 134], [106, 150], [111, 166],
    [116, 183], [120, 199], [124, 216], [127, 238]]
    and the id number (xy) are pokeball display positions. You can change it, then check your game.
     
    Back
    Top