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

[Archive] Script help thread

Status
Not open for further replies.
Not to sound like a noob, but I've been using pokescript for a long time, and never really learned how to decompile scripts with XSE, can you please tell me how :nervous:?

In A-Map = Settings -> Choose script editor, then choose XSE.exe, and after that select the script tile/lvl script/person event/whatever, and click Open Script
 
The following script (Emerald) is supposed to force the player back if the player does not have the Hoenn PokéDex, and it should give the player the National PokéDex if he/she already has the Hoenn PokéDex.

In Advance-Map, the script takes the form of a script tile.

Spoiler:

The script works well when I don't have the Hoenn PokéDex (I freeze, message box appears, I walk back). However, when I already have the Hoenn PokéDex, I can walk straight through as though there were no script tile there (i.e. no message box, no National PokéDex). Does anyone have suggestions?

Thanks.

I think it's because, if you have a pokedex, it thinks you have a pokemon as well
 
The following script (Emerald) is supposed to force the player back if the player does not have the Hoenn PokéDex, and it should give the player the National PokéDex if he/she already has the Hoenn PokéDex.

In Advance-Map, the script takes the form of a script tile.

Spoiler:

The script works well when I don't have the Hoenn PokéDex (I freeze, message box appears, I walk back). However, when I already have the Hoenn PokéDex, I can walk straight through as though there were no script tile there (i.e. no message box, no National PokéDex). Does anyone have suggestions?

Thanks.
It was checking to see if you DIDN'T have the national dex, but now it should work. That's if the flag's correct, which I didn't check.
 
The following script (Emerald) is supposed to force the player back if the player does not have the Hoenn PokéDex, and it should give the player the National PokéDex if he/she already has the Hoenn PokéDex.

In Advance-Map, the script takes the form of a script tile.

Spoiler:

The script works well when I don't have the Hoenn PokéDex (I freeze, message box appears, I walk back). However, when I already have the Hoenn PokéDex, I can walk straight through as though there were no script tile there (i.e. no message box, no National PokéDex). Does anyone have suggestions?

Thanks.

You're just wasting space with the national check pointer... Try this:

Spoiler:
 
(Um...I'm kind of new here, so I don't know if this is necroposting...)

I need help making a Dakrai script. It's a simple battle script with text.

Also, I'm having trouble with movement scripts, and animation scripts.

Help?
 
I put this script in using PokeSav 1.52 and my ROM died. Is there something wrong with it?
Spoiler:
And yes, I tested the ROM before and it worked.
 
I put this script in using PokeSav 1.52 and my ROM died. Is there something wrong with it?
Spoiler:
And yes, I tested the ROM before and it worked.

Well...um...im just throwing this out there, but....looking at the size of that thing, it either the ROM doesnt have enough space for it or...you need to put the movement commands down at the bottom and use a call command. Of course that could just be my eyes fooling me. But try XSE and find an offset with PLENTY of space and complie it again.
 
Uh, I searched for an offset with 9000000 bytes. :nervous:

So, why did it make my ROM not turn on? Like, white screen?
 
I put this script in using PokeSav 1.52 and my ROM died. Is there something wrong with it?
Spoiler:
And yes, I tested the ROM before and it worked.

Jeez, if you wanna find your mistake in that, well, happy searching... You should really line up the commands better, no wonder the ROM died... Also, try using a bit less movement commands in one scripts, that's just way too much....
 
Spoiler:


This is a simple script I did, but the checkitem and removeitem commands don't work.
Any problem?

Thank you
 
Spoiler:


This is a simple script I did, but the checkitem and removeitem commands don't work.
Any problem?

Thank you

I haven't done any checkitem/removeitem scripts yet, so I don't have experience with them.But, you could compare it to thethethethe's sample script and see whats missing.
Spoiler:
 
Thanks for the reply T. But I figured it out just NOW :P It always happens to me. Anyways, thanks again.
 
Wait, there's a removeitem command?
Is there a removepokemon command then?
 
Wait, there's a removeitem command?
Is there a removepokemon command then?

Removeitem = Yes
RemovePokemon = Not sure, i think there is, because i think i have seen it done before. Search through the command list in XSE and see.
 
With no answer,so I ask it again:
Oh~~I think it's the time to ask a question:how to use the wildbattle command in XSE?I don't think it's the same as pokescript...


@FrosslassSorbet:I guess there isn't enough space for GBA RAM to load such a big thing...Maybe you could separate these commands into some parts.
 
Wildbattle [wildPokemon number in hex] [level] [item]

That's all there is to it. Just type in any command in the main box in XSE and press F1. It'll tell you what you need to put and stuff.
 
Status
Not open for further replies.
Back
Top