Find these lines: starting like this:
pbAddSprite("trainer
The first two are the lines to add the opponent trainers in double battles, the third is for singles. The first number is x, the second is y. However, since they scroll onto the screen from the left, the x coordinate is negative; I think they scroll 480 pixels to the right, so you'd have to take away 480.
Similar rules apply for the player, except that you search for
pbAddSprite("player
and you add 480 instead, since it scrolls left.
Wild Pokémon x and y are in these lines:
@sprites["pokemon1"].x=-192
@sprites["pokemon1"].y=factor*2+16+@yoffset
Trainer Pokémon x and y are in the PokeballSendOutAnimation class, in these lines:
if doublebattle
@spritex=pkmn.index==1 ? 400 : 304
@spritey=pkmn.index==1 ? 96+24 : 96+24
else
@spritex=344
@spritey=112
end
And player Pokémon are in the PokeballPlayerSendOutAnimation class, in these lines:
if doublebattle
@spritex=pkmn.index==0 ? 64 : 180
@spritey=pkmn.index==0 ? 96 : 112
else
@spritex=128
@spritey=96
end
The y value should be 128 less than the actual value, since 128 is added on afterwards.