• 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.

Script Requests/Sharing/Discussion

Status
Not open for further replies.
this is the first script in my game
but every time i compile it to the rom
i can't open it in elitemap (not a supported rom) or advance map (I/O error 87)
butttt i can still play it in vba
either way i know it's screwed up
can someone tell me what's wrong with this
i'm having trouble with one #org thing going to the next, so maybe that's it?

it's supposed to:
01 joy calls to player
02 player walks three tiles down and four tiles left
03 joy talks again

Spoiler:
 
Hyunbin said:
this is the first script in my game
but every time i compile it to the rom
i can't open it in elitemap (not a supported rom) or advance map (I/O error 87)
butttt i can still play it in vba
either way i know it's screwed up
can someone tell me what's wrong with this
i'm having trouble with one #org thing going to the next, so maybe that's it?

it's supposed to:
01 joy calls to player
02 player walks three tiles down and four tiles left
03 joy talks again

The script looks sorta ok (I don't get why you're using goto's so much in it.) but what your describing sounds like one of the scripts you insterted stuffed the rom up by writing to the wrong location.
This is often caused by mistyping 0x as ox on one of your offsets.
 
Last edited by a moderator:
Can I have a sample of an applymovement script for Firered? Not a full script, just for where the movement data is stored. I have an applymovement script already but I don't know how to insert the actual movements that should be carried out. Any help would be appreciated.

Just look at the answer for the next post... It calls the applymovement command, which has the movement stored at another #org, the "movement orgs" are always finished with a #raw FE, instead of the usual "end"

this is the first script in my game
but every time i compile it to the rom
i can't open it in elitemap (not a supported rom) or advance map (I/O error 87)
butttt i can still play it in vba
either way i know it's screwed up
can someone tell me what's wrong with this
i'm having trouble with one #org thing going to the next, so maybe that's it?

it's supposed to:
01 joy calls to player
02 player walks three tiles down and four tiles left
03 joy talks again

Spoiler:

Well, first, just to have the script fixed (with all the "end" you've been missing, I suppose the compiler would not understand that script correctly) Anyway, the script was almost ok...

Spoiler:


That fixes the script... But the deal with both EMap & AMap is related (I think) with the rom not having a name recognizable by the inis in EMap and AMap... By name I mean the name in the hex of the rom...

[PokeCommunity.com] Script Requests/Sharing/Discussion


(I think other user may explain better... Christos? :D)
 
i think you're right
after i compile it, when i go to the hex editor i don't see the LEAFGREEN part anymore o_O
weird.... i guess it compiles to 0x000000.. even though it says it compiled to 799800 like in the script

(I don't get why you're using goto's so much in it.)

well, i thought that one offset wouldn't flow into the next if i didn't put it in [just a beginner ^^;]
so it's alright to leave them out in this script?
thanks to both u and zel for help btw
 
Last edited:
It may have been messed up by a past script, not necessarily this script.

Also 1: Applymorement 0xff does not refer to the character executing the script, and there are ways to wait till movements are over so you could just have written it like this:

Spoiler:


2: if nurse joy doesn't have a 'movement type' set in elitemap than you didn't need to use lock or release. (doesn't really matter that you did)
3: I used pause here but you could also use the command wait 0 (or pausemove 0.. Dependant on the version of scripted) to wait for movement scripts!
 
I've heard (and have seen) about the command 'pokemart', one question, where can you see which offset is which list, and if you can see them, how to edit them? Thanks.
 
Irish witch, posting links to pornographic content is against the rules.
You're getting a warning, please don't do it again.
 
Sorry. I figured putting the massive warning would be nuff.
If anybody wants to see the picture my avatar is cut from that - I'm not allowed to post then they can ask me by PM or something.

I'm not a rule-braker by nature Christos, but I am a security guard by trade so you neen't worry, I'll behave!
 
Hello, does anybody knows how to replace the prof oak script with your own? I mean, so that you still get the 'pokémon' option when you press (VBA; enter) (GBA; start) and also the pokédex. Thanks.
 
Hello, does anybody knows how to replace the prof oak script with your own? I mean, so that you still get the 'pokémon' option when you press (VBA; enter) (GBA; start) and also the pokédex. Thanks.

You can replace the script by compiling a script with the same offset as Oak's script. And to keep the party and pokédex menus add their flags in the new script you're going to use.
 
lol, me neither.. When I open it it loads some mins. but after it ends it stops and hang, lol...
 
The problem is that i can't open the professor oak script. xD

You don't need to load the script if you just want to replace it with your another script. All you need is its offset.
 
The problem is that i can't open the professor oak script. xD
lol, me neither.. When I open it it loads some mins. but after it ends it stops and hang, lol...

Usually, if a script doesn't opens (or opens but it seems to be empty) with Elite Map's Scripted, you could always see the offset Elite Map says, close Elite Map, then open Scripted directly, use the "..." button, pick ".gba" instead of ".rbc", now look for your rom and open it, and then modify the 000000 it says for your offset.

Chances are that you'll be able to see the script, or maybe the script is too long, or has some kind of problem, and it'll keep on loading more and more stuff (that's why you can't see'em in Elite Map). If you have patience...
 
Scripting problem...

Im not a bad scripter, ive scripted quite a bit of stuff but i cant figure out how to stop the intro scene (were you jump out of the truck and have to set the clock) in r/s/e, how do i fix that? thanks
 
Usually, if a script doesn't opens (or opens but it seems to be empty) with Elite Map's Scripted, you could always see the offset Elite Map says, close Elite Map, then open Scripted directly, use the "..." button, pick ".gba" instead of ".rbc", now look for your rom and open it, and then modify the 000000 it says for your offset.

Chances are that you'll be able to see the script, or maybe the script is too long, or has some kind of problem, and it'll keep on loading more and more stuff (that's why you can't see'em in Elite Map). If you have patience...

I've been playing a little since I started looking at this thread and I found something else. Sometimes the reason scripted crashes seams to be because the script is using a command that scripted doesn't know. It causes a couple of #Raws to be displayed, interprets the next byte as a command when it shouldn't be and then starts trying to decode sections of rom as text or something when they shouldn't be.. I think Aunty K's program actually decodes more scripts then scripted but I can't figure out how to work the decompiler! :( :( :(

Oh well, not my business!
*Washes me hand of the thing*

Im not a bad scripter, ive scripted quite a bit of stuff but i cant figure out how to stop the intro scene (were you jump out of the truck and have to set the clock) in r/s/e, how do i fix that? thanks

Many people are trying to figure this out... Look further back in this thread for infor on what they know so far!
 
does anyone know the script offset of the truck part in the begining of emerald?

i found something at offset 6cdf88
what is it?
 
Last edited:
can someone give me a script so that a guy says you cant pass but when you've showed him the second badge he walks away so you can pass you can? (he just need to walk 1 tile down)
 
in a script how do you make it say pokemon with the accent thingy and the names of the hero and the rival
 
Status
Not open for further replies.
Back
Top