• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Scripting Guide for Beginner Hackers

Status
Not open for further replies.
Im the biggest n00b at scripting so can you tell me where i can get the tools
 
Go to toolbox and then Temporary Tool Resource, scroll down and download my starter package. Though this isn't the place too ask it, if you searched a little i'm pretty sure you would of found it ..
 
Okay guys, thanks for answering the questions, as I don't have time for this (exams). So, yes, you can use raws, but it should be written the way thethethethe stated. The one for ScriptED, of course. And I would like to ask anyone for not posting things unrelated to this guide and writing scripts (writing, not using scripting tools). I would be really grateful. Thanks guys (Crashink, thethethethe, Blazikendude) for being active here, I will release next part of guide this week.

~Martin
 
Awesome tutorial, I've being reading it yesterday... but how do you put the script into the rom (Windows XP)?
 
This is a great tutorial, but can you give a working example of a Yes/No script? For some reason, my script just leaves the question on the screen, and nothing happens. Here's my script so you can see what's wrong with it:
Spoiler:

This is just a test to see if I can get it to work. Thanks in advance! :)
 
Spoiler:

Just fixed the offsets...

The offset should have at least 100 between each other...
 
Awesome tutorial, I've being reading it yesterday... but how do you put the script into the rom (Windows XP)?

If you use ScriptED, there's no problem doing it. You need to set an option to show file's extension (Open some folder - best My Documents - Tools-> Folder options ->Appearance - I think - and there should be checkbox "Hide extensions of registered filetype". Uncheck it.)

Now, back to your ScriptED window and click on the Compile button. There will pop a browse dialog. Find your ROM and doubleclick it. There will pop a Notepad window with a script log, you should check if it didn't find any errors there.

Now, when it's written there, you need to open AdvanceMap. Open the map where you want your event be put in, click on the sprite or trigger and now, on the right side, there should be a sidebar. Find the box labeled Script offset. Write there $ followed by the script's offset number (e.g. $800000). Save your ROM, open it in VBA and test it.

If it goes okay, congrats. If not, post a screenie.


This is a great tutorial, but can you give a working example of a Yes/No script? For some reason, my script just leaves the question on the screen, and nothing happens. Here's my script so you can see what's wrong with it:
Spoiler:

This is just a test to see if I can get it to work. Thanks in advance! :)

You got this fixed by Madridista, and thanks for comment.
Spoiler:

Just fixed the offsets...

The offset should have at least 100 between each other...


Your statmemnt is partly fine, mainly for short scripts. You won't need to do this always... cause when HackMew's XSE (a script editor that uses same language as ScriptED, but much better) will be released, you wil be amazed how easy will scripting be with dynamic offsets (I know Pokéscript already has that, but the dynamic offset ipmlementation will be better over here, and mainly, you will be able to easily use ScriptED language used in this guide).
 
I don't think u need a screenshot...

When I tried to talk to the person, nothing happeneds...

Script:

$org 0x800000
Lock
Faceplyaer
msgbox 0x800100
callstd 0x6
release
end

#org 0x800100
= Hi mate!
 
I don't think u need a screenshot...

When I tried to talk to the person, nothing happeneds...

Script:

$org 0x800000
Lock
Faceplyaer
msgbox 0x800100
callstd 0x6
release
end

#org 0x800100
= Hi mate!

Not really any problems, just a few typos.

Code:
#org 0x800000
lock
faceplayer
message 0x800100
callstd 0x6
release
end

#org 0x800100
= Hi Mate!
 
Ok, but still nothing happeneds...

That's how I putted into the room.
ScriptED -> Paste Script -> Compile -> Double Click on rom (FR) -> A-map -> Pallet town - > Events -> Click on sprite -> right hand side, Script offset, write $800000 -> Close it and save it
 
Last edited:
@Crashink: msgbox was the first used in ScriptED. It can be used.

@Madridista. You use WinXP, right? So show the file extensions as I instructed you. It will work after next compiling.
 
Please stop posting stuff like whats wrong with your scripts.
As everyone else said, do that in the scrapbox.
And thanks Martin
 
Im sorry for being such a noob but when i try to open scriptED, it says SmartMenuXp.ocx is not registered or invalid. What should i do?
 
Search for it with Google. I really don't know.

As for NIN, this thread is made for showing pratcical tests I put into my guide and ask question with scripts. I don't have much time to do the complete guide, so I will answer questions instaed, and later, I will make a summary.

Madridista... sorry, I cannot help you. I don't know what's wrong.
 
OMG, that's the complete basics what's here. Offset is the main thing you need when want a script, advanced or not.
 
Status
Not open for further replies.
Back
Top