Registrarse

Tamaño y posición msgbox

Estado
Cerrado para nuevas respuestas.

Jack Johnson

Hoenn Adventures Dev
Miembro del equipo
Administrador
Buenas madrugadas, queridos jaquers. Me gustaría plantearos una duda existencial:

¿Se puede cambiar el tamaño y/o la posición de los msgbox (o cualquier cosa que tenga texto)?

Algo tipo el cartel del dinero, o el nombre de la ciudad/pueblo/lugar...
 

Cheve

MoonLover~
Miembro de honor
Recuerda especificar la base en la que trabajas.

Si es FR, alguien en Pokecomunitty dijo:

So, I'm posting some research done by daniilS. The content of this whole post should be credited to him. The offsets here are for Firered.

In order to change the xy position and the height and width of the textbox in the overworld, you just have to make some simple byte changes. Keep in mind, the positions and sizes are in tiles, so you may need to divide your needed dimensions by eight for things to line up.

To change the x coordinate, change the byte at 0x41F42D.
To change the y coordinate, change the byte at 0x41F42E.
To change the width, change the byte at 0x41F42F.
To change the height, change the byte at 0x41F430.

Fortunately, the text itself will automatically adjust to its relative new position in the box. Here's a link to the rboxbase's code.00000000 @ --------------------------------------------------------------------- - Pastebin.com
 

Jack Johnson

Hoenn Adventures Dev
Miembro del equipo
Administrador
Gracias por contestar tan rápido ;)
Tengo un par de dudas sobre eso:
1-¿Se edita en HEX o en WBTO?

(En caso de WBTO)
2-¿Crees que se puede aplicar de forma temporal (sólo en un script)?
 

Sayer301!

UnityLord!
Miembro de honor
Gracias por contestar tan rápido ;)
Tengo un par de dudas sobre eso:
1-¿Se edita en HEX o en WBTO?

(En caso de WBTO)
2-¿Crees que se puede aplicar de forma temporal (sólo en un script)?
Se edita en Hex, aunque con WBTO también se puede, pero depende de lo que quieras hacer.

Por ejemplo si solo es cambiar la posicion, y además solo durante un script, una WBTO.

Si quieres un cambio permanente usa HxD.

Para el tamaño no se hacerlo en FR con WBTO, pero la posicion es tan sencillo como usar este comando antes del "msgbox"

writebytetooffset 0x¿?¿? 0x4000012

el ¿?¿? es la posicion
0 es abajo
30 es por el medio
70 es arriba
 
Estado
Cerrado para nuevas respuestas.
Arriba