![]() |
[Emerald] Back wih more problems
1 Attachment(s)
Hey yo!
I created a script the same way I usually do, but when I compile it doen't get the way I want. Just watch: What I wrote and compiled: Spoiler:
And what I get when I reopen my script: Spoiler:
And I get this: Attachment 87830 Why's that happening? All those difficulties every time I want to do a single little thing is getting on my nerves. Thanks for your answer. |
You mean the text?
Well, you as far as I can see that is the exact text you wanted to import at #org 0x2909D6? Otherwise, you'll have to change the text at the string. Off topic: Binary romhacking is not going to be very easy, you'll encounter lots of stuff that will work on your nerves... |
From what I can see it's pretty much doing what you told it to, it just looks like you've either accidentally overwritten or deleted part of the text of that string. Don't worry, just make a new pointer to correct text and you'll be fine x
|
Whenever you're editing a compiled script (one that's already in the ROM), its best to repoint everything that makes it up. You've used a dynamic pointer for the @main segment of your script, but all of the branches and text are still using static pointers. Static pointers don't care what's already there in the ROM, they just overwrite it, causing errors if your script isn't spaced out properly.
Here's a version of your script with fully dynamic pointers. You will need to do this in the future as well. Spoiler:
Just keep using dynamic pointers rather than static ones and you should be fine. For some reason, the script kept losing the contents of [buffer1] whenever I tried testing this so I moved the bufferitem command around and added a new one towards the end. I also repaired what I thought the @CantPushText string would be, because it was broken in both of your scripts. And yes, there is a lot of frustration in hacking, but that also goes for making a game in any medium :P |
Thank you guys I'll try to do as you said!
So DrFuji, I did that for every script I made until then. That means a lot of thigs are now broken in my game and I'll get bad surprises in the future? |
Possibly, it depends on whether the scripts you edited became longer/ stayed the size or smaller. Hopefully there isn't too much that is overwritten, but I wouldn't be surprised if there are some errors. Any errors would probably only be confined to scripts rather than more complicated things like battles so at least they will be easy to fix.
|
Thanks a lot!
|
| All times are GMT -8. The time now is 9:14 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.