The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Changing script doesn't work. (https://www.pokecommunity.com/showthread.php?t=326679)

Jiftyj May 18th, 2014 12:10 AM

Changing script doesn't work.
 
Hi all, first of all; I am dutch so my english isn't that good.

Yesterday i installed AdvanceMap and XSE, so after a couple of hours i wanted to change the script (to edit the text of people).
When i click at change event, it will open the code, when i edit it i can't click on save. (only on save as..) so, when its ready its just the old text and not the new edited one.

I have tried the gears icon too, so i made my own code and clicked on the gears, copied the first one and pasted it at Script offset, but i can't click on the save event button?

Any help? ty

Christos May 18th, 2014 12:27 AM

In XSE, "Save" only saves the script as an .rbc file on your PC, so use "Compile", the gears button. When you make your own script and paste the script offset on an event, just save normally on Advance Map, there's no "Save Event" button, there's only "Change Events" and that's for changing the amount of events in a map.

Also, when you edit the text of existing scripts, make sure the text isn't longer than the one you're editing, I suggest simply making new scripts from scratch then.

Mana May 18th, 2014 12:27 AM

When first scripting, it's best to start from scratch.

Copy this into XSE:

#dynamic 0x740000

#org @start
msgbox @talk 0x2
end

#org @talk
= NEW TEXT YAY


I don't know if you've looked at tutorials before, but this is just a basic script.

1. Copy into XSE
2. Load your ROM into XSE
3. Press the gear to compile
4. Copy the 'start' offset
5. Paste it into the person event offset box in A-Map
6. Click Save in Advance Map (too left corner).

Everything should then be done. From your post in unclear what 'save event' button you're looking for. Just use the normal save at the top.

Jiftyj May 18th, 2014 12:32 AM

Ty guys, i will give it a shot.

Edit: It still won't work, i will say what i am doing:

- Open up XSE and open my rom (.gba file)
- Paste the code into the file
- Click on the gears button and copy the @start code
- Paste it into a script offset of an event (but i don't see a save button, and when i click on open script another code opens; the old one)

Any help?

Spherical Ice May 18th, 2014 1:04 AM

http://i.imgur.com/qPbLoPj.png

This is the save button is in Advance Map 1.9.2.

If you're doing everything you say you are, it should be working fine.

Jiftyj May 18th, 2014 10:48 AM

But it still doesn't work :(

When i click on the event to edit the offset, and i click on something else and then on the event again, the offset was just the old one...
So the code what i am entering is going back, any help?

machomuu May 18th, 2014 1:21 PM

Quote:

Originally Posted by Jiftyj (Post 8256975)
But it still doesn't work :(

When i click on the event to edit the offset, and i click on something else and then on the event again, the offset was just the old one...
So the code what i am entering is going back, any help?

That's weird...I can only think of one of two reasons for this.

The first is that you're pasting over the entire offset, including the $ symbol. That needs to be in front of the offset or else A-Map will just revert back to the old offset.

Jiftyj May 19th, 2014 10:26 PM

Its working guys, thanks for all the comments!


All times are GMT -8. The time now is 9:12 AM.


Like our Facebook Page Follow us on Twitter © 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.