View Single Post
Old September 20th, 2012 (5:01 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Join Date: Jan 2008
Location: England
Posts: 5,168
Originally Posted by thedudemister View Post
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