View Single Post
  #2    
Old September 20th, 2012 (05:01 PM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,257
Quote originally posted by thedudemister:
How do you change the x coordinate in the following code for both Pokemon?
You don't. The name of the method makes it obvious it sets the y-coordinate only.

The x-coordinate of battler sprites are set in various places in the script section PokeBattle_ActualScene, depending on the circumstances. Search for x coordinate to find two of them, and @sprites["pokemon1"].x to find the third (note that in the third case the sprites start off-screen before sliding in).
__________________
Reply With Quote