![]() |
Transparent Textboxes
Hey Guys. Want to do Tranparent Textboxes but they look so hard to do? You can do it with the WBTO (Write by Offset) command in XSE. Here is a simple script on how to make Transparent Textboxes. (For Ruby |AXVE| Only)
Here is what you need to add to the script writebytetooffset 0x3F 0x4000048 writebytetooffset 0x1F 0x4000049 writebytetooffset 0x41 0x4000050 writebytetooffset 0x3F 0x4000051 writebytetooffset 0xF 0x4000052 writebytetooffset 0xA 0x4000053 writebytetooffset 0xFF 0x202F0AA writebytetooffset 0xFF 0x202F0AB writebytetooffset 0x0 0x202F0B8 writebytetooffset 0x0 0x202F0B9 writebytetooffset 0x0 0x202F0AC writebytetooffset 0x0 0x202F0AD writebytetooffset 0x0 0x202F0BE writebytetooffset 0x0 0x202F0BF writebytetooffset 0x0 0x202F0C0 writebytetooffset 0x0 0x202F0C1 writebytetooffset 0x0 0x202F0C2 writebytetooffset 0x0 0x202F0C3 writebytetooffset 0x0 0x202F0C4 writebytetooffset 0x0 0x202F0C5 writebytetooffset 0x0 0x202F0C6 writebytetooffset 0x0 0x202F0C7 writebytetooffset 0x0 0x202F0C8 writebytetooffset 0x0 0x202F0C9 Test: http://i1055.photobucket.com/albums/s515/pokemonmasters1/PokemonRuby.png Notes: - You must do this in Every Script you want Transparent. - There are some bugs in doing this. Using this script will activate them. Thanks for reading :D Credit the following people if used: - ~Andrea |
Quote:
What are the bugs before I use this? |
Oh god.. This is very awesome! Keep it up^^
|
This is amazing, but it takes up so much room to use in EVERY script.
So what everyone should do is make that a separate script, and then at the beginning of every script, call it, so this way you can save lots of room. Example: Script to be called: Spoiler:
Then if a script wants to use transparent text boxes, it would just call that one, and then it will automatically return to the script afterward due to the return command. Spoiler:
Space saving ftw! I know this isn't a complex technique in anyway; I was just over explaning for newer hackers out there. :) |
Interesting. I thought you needed ASM to do this. Great work figuring this out!
Since its just a bunch of WBTO, couldn't this work for FR too? We just need to find the equivalents in FR and change those. What exactly do allthose WBTOs do? |
Quote:
|
Cool, PokemonMasters! :D you put it up. Is there a more in-depth tutorial for newbs? :P
|
I'm sure you can make an asm function to do the same thing. I'm pretty sure all you're doing is setting registers and stuff to use the hardware windowing.
http://www.coranac.com/tonc/text/gfx.htm#sec-win |
It wouldn't be that hard to write an ASM routine to set those bytes, and attach it to a special, or even hack in a call to that function every time a textbox is loaded.
|
How have I not seen this yet?
This is awesome, I'll definitely try this out, and maybe have it in my project. Looks good for things like signs and "stage directions" and stuff like that. |
Quote:
-if you open the menu the textxbox of menu disapeared -you don't change the color of the test because the wbto with you create semi-trasparent textbox makes the textbox and the text semi-trasparnet because are you found in BG0 (the screen are divided into Bg0,Bg1,Bg2,Bg3,Bg4,Bg5 and Bg6) and makes textbox and text semitrasparnet... -The effect of textbox finish when you doing warp that's why it is best to use asm.. Quote:
Quote:
Quote:
|
So what are the bugs involved in doing this? Are they serious? Are they permanent as in use it once and the bug is forever there or... you know.
Thanks! ~Sincerely PikakittenX, devout member of the Pokecommunity |
Quote:
They are trying to make routines for it so that it will work with FireRed as well and to fix those bugs that you mentioned. |
With this you will have the semi-trasparent textbox but there will also annoying bugs that is why using the asm which he said shiny Guaiser is always active ...
The bug in question are: -If you open the menu, there will be the old textbox semi-transparent white color ... -With these wbto you can not become colored text -With these wbto you can not become a white-transparent textbox -the names of the cities and routes will be like the old textbox but the color white as the transparent menu -the effect ends when you use a warp So I say to you that if you do not know asm put the tetxbox normal ... |
I think it is too troublesome, doing ASM is better of course but there doesn't seem to be any tutorial about ASM around here...
|
Quote:
I think there are about 4 ASM TUT's here in PC search in the tutorial section look in the pages... Hackmew, FullMetal, Shiny Quagsire, and knizz made ASM tut's. :P |
Why don't you set the values back to what they were after you use the text box? That way the start menu won't be buggy.
|
Quote:
|
Yo PokemonMansters, I was wondering... Could you explain how you figured out how to do this hack, and why it works?
|
Quote:
|
Thanks Val. .-.
So , did anybody find a way to port this over to BPRE? |
Quote:
And Lucas said that coolcolstyles has a code for he ransparent textbox in BPRE but hasn't release the code yet. |
This is amazing I will totally use this in my hack! ^-^ thanks for posting!
|
Quote:
I think those offset are different,too..╯﹏╰ |
They are, I tested it in emerald. The first 6 if I remember are the same, it is the rest that differ.
writebytetooffset 0x3F 0x4000048 1F writebytetooffset 0x1F 0x4000049 1F writebytetooffset 0x41 0x4000050 40 '00101E40 writebytetooffset 0x3F 0x4000051 1E writebytetooffset 0xF 0x4000052 10 writebytetooffset 0xA 0x4000053 00 writebytetooffset 0xFF 0x202F0AA 29'Emerald dif writebytetooffset 0xFF 0x202F0AB 25 writebytetooffset 0x0 0x202F0B8 5A ' writebytetooffset 0x0 0x202F0B9 67 ' writebytetooffset 0x0 0x202F0AC 1F ' writebytetooffset 0x0 0x202F0AD 00 writebytetooffset 0x0 0x202F0BE 9C writebytetooffset 0x0 0x202F0BF 77 writebytetooffset 0x0 0x202F0C0 ff writebytetooffset 0x0 0x202F0C1 7E writebytetooffset 0x0 0x202F0C2 33 writebytetooffset 0x0 0x202F0C3 7F writebytetooffset 0x0 0x202F0C4 EF writebytetooffset 0x0 0x202F0C5 72 writebytetooffset 0x0 0x202F0C6 FF writebytetooffset 0x0 0x202F0C7 7F writebytetooffset 0x0 0x202F0C8 0E writebytetooffset 0x0 0x202F0C9 53 to the right I added the original bytes for debuggers :D |
| All times are GMT -8. The time now is 8:40 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.