• 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 Trading Card Game 2 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.
Thanks, everyone. Now I just need to make a flag...

.:EDIT:.
Still These Left:
1. Shiny Battle Script
2. Give Pokemon when stepping on Tile Script (Guess I already have that, so I'll test it out...)
4. Apply Movement scripts (with the raws for each Direction)

P.S. The PokeScript Shiny Battle and Applymovement scripts don't work...
 
Last edited:
Wha?
How don't they work?

the #raw things are there, just use them. Isn't that what you need?
 
Uhm, 13 isn't a Potion.
13 is a potion. 0xD == 13. 0x13 != 13.

@Heatransoul:
The "m" command in PKSV should do that without #RAWs.
eg.
Code:
#org 0xD0F00D
applymovement PLAYER 0xD0FEED
end
#org 0xD0FEED
m walk_up walk_down walk_right say_? end
 
Well, I have PKSV... BTW, the script doesn't work... For the talk, it says Unknown FR/LG Command... I am using Ruby. And when I do the regular movement, here is what the script says:

Opened file.
#ORG
-> 0xD0F00D
APPLYMOVEMENT
-> player
-> 0xFF
-> 0xD0FEED
-> Converted to 0x8d0feed
#ORG
-> 0xD0FEED
Movement data...

_______
As you can see, it has no movement data...
 
can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

Spoiler:
 
Last edited:
can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

Spoiler:
What is this? PokeScript? If it is, I might be able to help you...
 
#org 0x804B32
checkflag 0x238
if 0x0 goto 0x8804B46
setvar 0x4005 0x0
setweather 0x3
nop
doweather
end

#org 0x804B46
release
end

this is suppose to be a level script but it does the weather and freezes the player...help please
 
Excuse me, but how do i make a script to where someone moves when they finish talking?
You would have your beginnging script of..... say.... Uh,

#org $start
lock
faceplayer
message $1
boxset 6
applymovement 0x(sprite #in hex) $move1
pausemove 0x0
release
end

Then you just continue with the

$move1 and enter the raw#s (check out thethethethe's tut)
and the message and all the other stuff you'd normally have.
 
You would have your beginnging script of..... say.... Uh,

#org $start
lock
faceplayer
message $1
boxset 6
applymovement 0x(sprite #in hex) $move1
pausemove 0x0
release
end

Then you just continue with the

$move1 and enter the raw#s (check out thethethethe's tut)
and the message and all the other stuff you'd normally have.

Is this for XSE? Because thats what im using.
 
Hello. I was wondering if there is a scripting command or asm to take control of another sprite on the map.

Thanks in advance
link
You would have to use a level script to do that. There is a command called moveoffscreen though that you can use which just moves a sprite off the map.

Pokescript: #raw 0x64 0x[peopleNumber] 0x0
XSE: moveoffscreen [peopleNumber]

Uhm, could someone help me with a givepokemon script. I understand givepokemon perfectly. It's just that some of the other neccesary commands I do not. I do have a script that half-works, but it's in compiled mode and it's rather long, so I won't post it.

The current problems:
1. the final textbox doesn't close.
2. setflag 0x828 don't work
Use #raw 68 to get the textbox to close. What do you mean it dosn't work?

can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

Spoiler:
You need setflag 0x829 not 289.

#org 0x804B32
checkflag 0x238
if 0x0 goto 0x8804B46
setvar 0x4005 0x0
setweather 0x3
nop
doweather
end

#org 0x804B46
release
end

this is suppose to be a level script but it does the weather and freezes the player...help please
Go to the level script offset and make sure that after the pointer you have 0000.
 
Are there any other helpful flags, specials, special2, etc. for scripting besides the ones defined in the include file? Basically, I need documents on what values do what for commands. It is hard to search the useful ones out. (I'm using Score_Under's PKSV scripting tool for Pokemon FireRed V1.1)
 
What does it mean when you get this error?

[PokeCommunity.com] [Archive] Script help thread


EDIT: I doubt anyone wants to look at the script... lol... but here it is!

Spoiler:
 
Last edited:
Status
Not open for further replies.
Back
Top