• 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.
I'm gald I found this thread. There's one thing and one thing only I need help with, and I know I've been asking around but I would like a specific answer and not a general one. In Pokemon Fire Red, after battling Giovanni, the screen fades to black and when it comes back, he's not there. How do I code this for other trainers? I sincerely thank anyone who helps me with this. I'm using pokescript, btw.
 
Last edited:
hey can anyone help or fix it please its a give pokemon script im using XSE
here it it :

'-----------------------
#org 0x800000
lock
faceplayer
checkflag 0x828
if 0x0 goto 0x8800014
if 0x1 goto 0x8800035
release
end
'-----------------------
#org 0x800014
givepokemon 0x37 0x5 0x4 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox 0x880003F '"You got vulpix!"
callstd 0x6
release
end
'-----------------------
#org 0x800035
msgbox 0x8800050 '"well you only get one for\nfor a st..."
callstd 0x6
end

'---------
' Strings
'---------
#org 0x80003F
= You got vulpix!
#org 0x800050
= well you only get one for\nfor a starter
 
I'm having trouble with an XSE script. It does fine until it gets to the giveitem part. It deos a screen of weird symbols ect. Is something wrong or what?
Spoiler:
Spoiler:
 
I have a few scripty questions,

How do you make a script affect another event/person.

What do you write for it to show you or your rival's name.

(How) Can I change/add moves/abilities/TMs/HMs.

I am using Fire Red, thanks.
 
I'm gald I found this thread. There's one thing and one thing only I need help with, and I know I've been asking around but I would like a specific answer and not a general one. In Pokemon Fire Red, after battling Giovanni, the screen fades to black and when it comes back, he's not there. How do I code this for other trainers? I sincerely thank anyone who helps me with this. I'm using pokescript, btw.
Code:
#raw 53
#raw [peopleNumber]
#raw 00
setflag 0x[peopleID]
fadescreen 0
That should do it.

hey can anyone help or fix it please its a give pokemon script im using XSE
here it it :

'-----------------------
#org 0x800000
lock
faceplayer
checkflag 0x828
if 0x0 goto 0x8800014
if 0x1 goto 0x8800035
release
end
'-----------------------
#org 0x800014
givepokemon 0x37 0x5 0x4 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox 0x880003F '"You got vulpix!"
callstd 0x6
release
end
'-----------------------
#org 0x800035
msgbox 0x8800050 '"well you only get one for\nfor a st..."
callstd 0x6
end

'---------
' Strings
'---------
#org 0x80003F
= You got vulpix!
#org 0x800050
= well you only get one for\nfor a starter
Uhh... what happens? OR what is supposed to happen?

I'm having trouble with an XSE script. It does fine until it gets to the giveitem part. It deos a screen of weird symbols ect. Is something wrong or what?
Spoiler:
Spoiler:
You have an incorrect pointer, @talk2 isn't included in your script.

I have a few scripty questions,

How do you make a script affect another event/person.

What do you write for it to show you or your rival's name.

(How) Can I change/add moves/abilities/TMs/HMs.

I am using Fire Red, thanks.
1) The only thing you can really effect is their movements. That is done using:
Code:
applymovement 0x[peopleNumber] @moveOffset

#org @moveOffset
#raw [list of movements] 0xFE
2) \v\h06 or [rival]
3) That isn't a scripting question. You must either use hex or programs to edit them. Look in the toolbox there are a lot of them.

Please take the time to read some tutorials first. You are wasting everyones time.
 
Last edited:
er..wasn't the rival \v\h06? ( and the hero is \v\h01, he asked that as well ^^)
I may be wrong cause I hardly ever use it, but I think it was \v\h06, or [PLAYER] if he's using XSE.
 
@dshayabusa- my script is a give pokemon script so its supposed to give you a pokemon. but when i speak to him he doesnt speak or do nothing.
so do you know anything that could fix it
 
Code:
#dynamic 0x[offset]

#org @begin
lock
faceplayer
checkflag 0x828
if B_true goto @done
givepokemon 0x37 0x5 0x4 0x0 0x0 0x0
fanfare 0x13E
msgbox @got
callstd 0x6
waitfanfare
closeonkeypress
setflag 0x828
release
end

#org @done
lock
msgbox @onlyone
callstd 0x6
release
end

#org @got
= You got [red_fr]VULPIX!

#org @onlyone
= Well, you only get one for\na starter.
Try it like this.

I just tried fixing it like it was and I hope it works.
 
I am having trouble with the same script I posted earlier. Now the weird symbols are gone, but right after the giveitem, it reverts back to @talk1 text pointer.
Spoiler:
 
Script porblem...

For some reason after the Tremour occours and u run to the pokemon lab it freezes right there and none of the script will continue...It's a level script by the way.

The Tremour
Spoiler:


Entering the lab
Spoiler:


But for some reason it freezes after u run into the lab.
 
2 things:
1. how do you make a spoiler, I've been on pokecommunity for a long time now and still don't know how to use one.

2. #org $Wildbattle
lock
faceplayer
cry 5
message $Pikachucry
$Pikachucry 1 = Pikachu: Pika Pii!
boxset 6
checkflag 0x820
if 0x1 goto $Wildbattle
release
end
#org $Wildbattle
lock
wildbattle 25 25 0
release
setflag 0x508
fadescreen 0
end

won't work, the pikachu just keeps looking down at me, help please :(!!
 
I'm scripting in pksvui. I have no troubles, except that when I compile the
script and everything, all the person ever does is give me an elixir.
(no matter what the script is.)
I know I inserted the right offset. The only thing that seems suspicious
is that if I load a script I've already compiled, it looks different somehow...
 
I'm scripting in pksvui. I have no troubles, except that when I compile the
script and everything, all the person ever does is give me an elixir.
(no matter what the script is.)
I know I inserted the right offset. The only thing that seems suspicious
is that if I load a script I've already compiled, it looks different somehow...

Can you show us the script?
 
Mammachu...Did I spell that right?

2 things:
1. how do you make a spoiler, I've been on pokecommunity for a long time now and still don't know how to use one.

2. #org $Wildbattle
lock
faceplayer
cry 5
message $Pikachucry
$Pikachucry 1 = Pikachu: Pika Pii!
boxset 6
checkflag 0x820
if 0x1 goto $Wildbattle
release
end
#org $Wildbattle
lock
wildbattle 25 25 0
release
setflag 0x508
fadescreen 0
end

won't work, the pikachu just keeps looking down at me, help please :(!!

#org $Wildbattle
lock
faceplayer
checkflag 0x820
cry 5
message $Pikachucry
$Pikachucry 1 = Pikachu: Pika Pii!
boxset 6
if 0x1 goto $Wildbattle
release
end
#org $Wildbattle
lock
wildbattle 25 25 0
release
setflag 0x820
fadescreen 0
end

I think thats right...U had two differnt flags for check and setflag. And I think the checkflag was in the wrong place...If this dosen't work Just move the checkflag back to the original place u had it.
 
#org $Wildbattle
lock
faceplayer
checkflag 0x820
cry 5
message $Pikachucry
$Pikachucry 1 = Pikachu: Pika Pii!
boxset 6
if 0x1 goto $Wildbattle
release
end
#org $Wildbattle
lock
wildbattle 25 25 0
release
setflag 0x820
fadescreen 0
end

I think thats right...U had two differnt flags for check and setflag. And I think the checkflag was in the wrong place...If this dosen't work Just move the checkflag back to the original place u had it.

What computer do you have?
 
Uhhh...I don't think that matters really but I have an Hp pavillion...The real question is did the script work?
 
@dshayabusa- my script is a give pokemon script so its supposed to give you a pokemon. but when i speak to him he doesnt speak or do nothing.
so do you know anything that could fix it

Spoiler:

There were only a couple of problems there but they shouldn't be causing those kinds of problems...
Try that anyway.
 
#dynamic 0x456734
#org @start
lock
faceplayer
msgbox @text
bixset 0x6
released
end
#org @text
= In Snobal Town, there used\nto be a pond.\nUntil one day, a great Pokemon\nnamed Articuno came and froze\nthe whole pond!

It won't let me insert it.
 
Status
Not open for further replies.
Back
Top