• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Battle Scene Positioning Help

  • 7
    Posts
    13
    Years
    • Seen Feb 10, 2012
    I'm sure you all can see by now how competent a scriptwriter I am. (This is sarcasm, I am a terrible scriptwriter).

    I need to change the Player Pokemon's Y. It's floating 6 pixels above where I need it to be. I rather not use the altitude in Pokemon.txt, Unless that is the only way of doing it.

    I also need to move the enemy trainers sprites (Not Pokemon). e.g. Leader Roxanne.

    I'm trying my best to do it myself, but I can not read RGSS. It's like a blind man in a field of landmines... or maybe not.

    Any help is appreciated.
     
    Search about "@sprites["trainer"].y-=@sprites["trainer"].bitmap.height-128" and "@sprites["trainer2"].y-=@sprites["trainer2"].bitmap.height-128", change the 128 number
    For the pokémon I haven't tried, but I think that you need to search for "def pbPositionPokemonSprite(sprite,left,top)" and change the "sprite.y" value.
     
    Search about "@sprites["trainer"].y-=@sprites["trainer"].bitmap.height-128" and "@sprites["trainer2"].y-=@sprites["trainer2"].bitmap.height-128", change the 128 number
    For the pokémon I haven't tried, but I think that you need to search for "def pbPositionPokemonSprite(sprite,left,top)" and change the "sprite.y" value.

    I wasn't able to change the Pokemon altitude. It wouldn't let me search the entire phrase, too long I guess.
     
    Put only a portion of this code using control+shift+f and search for the correct ones.

    It's cool i figured ut out. Im learjing RGSS now snyways, I've been using RMXP for a couple years and its about time I learn to script xD
     
    i still can't work it out...searched for the section of script you suggested and i can't find anything that works :S might just be me being stupid tbh
     
    Back
    Top