- 37
- Posts
- 4
- Years
- Seen Aug 14, 2020
Does anyone know which values in PScreen_Party I should edit if I want to change the positions of the panels that the Pokémon's data is displayed on?
Last edited:
PokemonPartyPanel
, specifically in def refresh
under the if @refreshBitmap
for the text itself.It's all inPokemonPartyPanel
, specifically indef refresh
under theif @refreshBitmap
for the text itself.
Though you'd probably have to adjust the relative x and y positions of the other sprites in that same method if you're moving the text drastically.
Is it possible to make it so each panel has its own x and y value? The only values the panels themselves seem to react to are @panelbgsprite.x and @panelbgsprite.y but when I add a +100 to them it moves all the panels at once.
self.x = [0,256,0,256,0,256][index]
self.y = [0,16,96,112,192,208][index]
Oh dear, I read too fast, I thought you wanted to adjust the text itself.
Sorry sorry.
You want to change these two arrays a little higher up.
The first is the x, so left, right, left, right, left right.Code:self.x = [0,256,0,256,0,256][index] self.y = [0,16,96,112,192,208][index]
the other one is the y.
Oh dear, I read too fast, I thought you wanted to adjust the text itself.
Sorry sorry.
You want to change these two arrays a little higher up.
The first is the x, so left, right, left, right, left right.Code:self.x = [0,256,0,256,0,256][index] self.y = [0,16,96,112,192,208][index]
the other one is the y.
Hmm, changing those values doesn't seem to get a reaction. The panels don't move when I change the values to even something ridiculous like 5000.
Oh right, I forgot to tell you there's 2 sets of those lines, one for blank panels with no mon (PokemonPartyBlankPanel), and the other that is for a filled panel, (PokemonPartyPanel)
Sorry again.