Maruno
Lead Dev of Pokémon Essentials
- 5,286
- Posts
- 17
- Years
- Seen May 3, 2024
That's exactly what I'm using at the moment. All I want is to be able to centre align the text and to specify the main/shadow colours.@Maruno: Check around line 273 at the pokedex script in essentials. Look out for this line:
"@sprites["infowindow"]=Window_UnformattedTextPokemon.newWithSize("",0,160,160,160,@viewport)"
I haven't tested anything but I'm sure it controls both coordinates and the size of the box. I don't know about making the text colored though, maybe check the pokemonload script?
Now, I did think about resizing the Window_Pokedex, to make it full-screen, and to put in other bits of text and pictures in it (I definitely know pictures can be put into this, but I don't know about fancy text). However, I would then need to delimit the length of the list itself, so that it wouldn't be the entire height of the window. There are a few lines that include the number dheight, which seems important for this (e.g. dheight=self.height-32), and fiddling those numbers seems rather tricky, but before I start messing around with that I'd like to know if that's the direction I should be headed. Specifically, can I display fancy text in the Window_Pokedex, and will other text/pictures displayed somewhere other than in Window_Pokedex (e.g. the pokémon sprite, @sprites["icon"]) be displayed properly (as opposed to overwritten by the Window_Pokedex or something)?