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

How can you make \v\h01 talk with nurse joy, when he's defeated?

in pokescript

just add more to what nurse joy says and put in what you want your character to say but put your players name at the begining, Ex: [PLAYER NAME]:Hi nurse Joy, Sorry I seem to bother you so often.
add your backslash n's and p's where you want.
\n \p

by the way, i'm using this wild battle script for a charmeleon in ruby.
but all i get is a glitchy message box when i click on to the creature =/
no wild battle just the msg clicky ding noise |P
i can't get it to work properly.

#org $StartWild
lock
faceplayer
cry 5
message $charCry
$charcry 1 = Charmeleon:Raarg!
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 5 20 1
release
setflag 0x500
fadescreen 0
end
 
Last edited:
I'm using Fire Red with PocketScript.
Hey guys. I'm new to scripting, and I need a script for my game that will kinda let me base things off.

I need a script so if you walk down onto stairs (Only two tiles) Then a trainer will walk up from offscreen and challenge you saying just "Hello World" so I can fit in the text later... say we'll use Juggler Dalton, 11E. I need it so when you beat him, he says "Goodbye World" and walks offscreen to the left.

Can someone help me with this? I could also use a script part that would make the screen go black and the thing would vanish, like Giovanni does in Fire Red and leaf green. Well, a lot of rockets really.
 
Hi,
I hope you can help me.

I explain what I want to do, and my problem.

I want make a script

* Check If you have a National Dex
* If you don't have a CHAR(#7), block you want speak you, you can't pass
* If you have a National Dex, you can pass

My scripts :
Code:
#org $begin
lock
faceplayer
checkflag 0x234
checkspecial 0x16F
#raw 0x01 0x00
compare 0x800D 0x1
if 0x04 goto $opop
applymovement 0x07 $gar
$gar 1 ; #binary 0x62 0x10 0xFE
pause 0x20
applymovement 0xFF $jou
applymovement 0x07 $arg
$jou 1 ; #binary 0x34 0x02 0x65 0xFE
$arg 1 ; #binary 0x20 0xFE
pause 0x30
message $non
$non 1 =Tu n'as pas le \c\h01\h04Pokedex National \n\c\h01\h02Tu ne peut pas passer.
callstd 6
applymovement 0x07 $hau
$hau 1 ; #binary 0x1F 0x32 0x00 0xFE
pause 0x20
release
end

#org $opop
lock
faceplayer
setflag 0x234
release
end

But my problem, If I cannot have pokemon and pokedex my script is ok, but if I have a pokemon or kanto pokedex, i can pass.

Sorry if my english is not very good I really speak french
 
just add more to what nurse joy says and put in what you want your character to say but put your players name at the begining, Ex: [PLAYER NAME]:Hi nurse Joy, Sorry I seem to bother you so often.
add your backslash n's and p's where you want.
\n \p

I didn't mean that, I mean the part of the script that makes you go there when you are defeated, you know: \v\h01 went to the nearest pokemon ceter, protecing the pokemon from further harm or something, and joy heals your pokemon.
 
just add more to what nurse joy says and put in what you want your character to say but put your players name at the begining, Ex: [PLAYER NAME]:Hi nurse Joy, Sorry I seem to bother you so often.
add your backslash n's and p's where you want.
\n \p

by the way, i'm using this wild battle script for a charmeleon in ruby.
but all i get is a glitchy message box when i click on to the creature =/
no wild battle just the msg clicky ding noise |P
i can't get it to work properly.

#org $StartWild
lock
faceplayer
cry 5
message $charCry
$charcry 1 = Charmeleon:Raarg!
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 5 20 1
release
setflag 0x500
fadescreen 0
end

Hmmm, it doesn't even display a message when I try it, glitchy or otherwise. I think cry command is not recognized. When I removed that, the message appeared but since 0x808 flag isn't set for me, the wild battle does not occur. I tried setting the flag and the script went flawlessly. :/ I'll check again.
 
That's my script, I need to make the Squirtle's overhead sprite disappear though. Also will the rest of the script work in PokeScript?

GT
For messages you use:
message $offset
$offset 1 = Text
boxset 6

to hide something use:
#raw 53
#raw [peopleNumber]
#raw 00

setflag 0x[peopleID]

How can you make \v\h01 talk with nurse joy, when he's defeated?

in pokescript
What do you mean?

I'm using Fire Red with PocketScript.
Hey guys. I'm new to scripting, and I need a script for my game that will kinda let me base things off.

I need a script so if you walk down onto stairs (Only two tiles) Then a trainer will walk up from offscreen and challenge you saying just "Hello World" so I can fit in the text later... say we'll use Juggler Dalton, 11E. I need it so when you beat him, he says "Goodbye World" and walks offscreen to the left.

Can someone help me with this? I could also use a script part that would make the screen go black and the thing would vanish, like Giovanni does in Fire Red and leaf green. Well, a lot of rockets really.

1)
Code:
trainerbattle 1 0x11E $before $after $leave
$before 1 = ajkghkjahgajk
$after 1 = ajkflghalkgj

#org $leave
applymovement 0x[peopleNumber] $moveAway
$moveAway 1 ; #Binary 0x13 0x13 0x13 0x13 0x13 0xfe
pausemove 0

2)
Code:
#raw 53
#raw [peopleNumber]
#raw 00
setflag 0x[peopleID]
fadescreen 0

Hi,
I hope you can help me.

I explain what I want to do, and my problem.

I want make a script

* Check If you have a National Dex
* If you don't have a CHAR(#7), block you want speak you, you can't pass
* If you have a National Dex, you can pass

My scripts :
Code:
#org $begin
lock
faceplayer
checkflag 0x234
checkspecial 0x16F
#raw 0x01 0x00
compare 0x800D 0x1
if 0x04 goto $opop
applymovement 0x07 $gar
$gar 1 ; #binary 0x62 0x10 0xFE
pause 0x20
applymovement 0xFF $jou
applymovement 0x07 $arg
$jou 1 ; #binary 0x34 0x02 0x65 0xFE
$arg 1 ; #binary 0x20 0xFE
pause 0x30
message $non
$non 1 =Tu n'as pas le \c\h01\h04Pokedex National \n\c\h01\h02Tu ne peut pas passer.
callstd 6
applymovement 0x07 $hau
$hau 1 ; #binary 0x1F 0x32 0x00 0xFE
pause 0x20
release
end

#org $opop
lock
faceplayer
setflag 0x234
release
end

But my problem, If I cannot have pokemon and pokedex my script is ok, but if I have a pokemon or kanto pokedex, i can pass.

Sorry if my english is not very good I really speak french
I answered this in the Simple Questions thread check there.

Hey people, can you help me with something?
Every time I burn a script to my ROM, I keep getting the same offset.
I don't know why either.
And yes I do know how to script.
Thanks.
Make sure you don't have anything open that prevents writing to the file, AdvanceMap is okay but programs like YAPE and some Hex editors will cause that problem.
 
1)
Code:
trainerbattle 1 0x11E $before $after $leave
$before 1 = ajkghkjahgajk
$after 1 = ajkflghalkgj

#org $leave
applymovement 0x[peopleNumber] $moveAway
$moveAway 1 ; #Binary 0x13 0x13 0x13 0x13 0x13 0xfe
pausemove 0

2)
Code:
#raw 53
#raw [peopleNumber]
#raw 00
setflag 0x[peopleID]
fadescreen 0


Thanks, but do I put the two together?

And I thought all scripts started with #org? I'm kinda confused here, but I EALLY appreciate your time. Could you just explain that part please?
 
i have a script in Pokemon Gold for an Articuno legendary battle
00 6A 47 4C F0 5D 53 5C 90 32 5E 5F 90
can someone please fix this for me so that there is a flag for it to only happen once (XX XX will do)
and the screen refreshes after the battle :)
thanks
BigSteve

whoever helps will be credited in my hack :)
 
Thanks, but do I put the two together?

And I thought all scripts started with #org? I'm kinda confused here, but I EALLY appreciate your time. Could you just explain that part please?

Code:
#org $begin
lock
faceplayer
trainerbattle 1 0x11E $before $after $leave
end

$before 1 = ajkghkjahgajk

$after 1 = ajkflghalkgj

#org $leave
applymovement 0x[peopleNumber] $moveAway
$moveAway 1 ; #Binary 0x13 0x13 0x13 0x13 0x13 0xfe
pausemove 0
#raw 53 0x00 0x00 (<--person number reversed)
setflag 0x[peopleID]
fadescreen 0
release
end


think that's what u want?
 
Yeah, thanks!

Now, to find Pocketscript again... (redid my computer, cant find a download)
EDIT: Nevermind, Cheesepeow uploaded a pack with it inside.

EDIT 2:

The even is for person #5 in Advancemap, and it moved the player sprite way off course, and when I actually walked over to the trainer with the script, I get a red screen of death.

Is this what you guys meant by putting in the person ID?

Code:
#org $begin
lock
faceplayer
trainerbattle 1 0x11E $before $after $leave
end

$before 1 = Hello World

$after 1 = Goodbye World

#org $leave
applymovement 0x05 $moveAway
$moveAway 1 ; #Binary 0x13 0x13 0x13 0x13 0x13 0xfe
pausemove 0
#raw 53 0x05 0x05
setflag 0x05
fadescreen 0
release
end
 
Last edited:
eck!
Ok, I tried making a script, it worked all fine and glitches the pokemon sprite a teency bit right before the screen does it's little animation
[Then you fight the pokemon]
and all but the pokemon does not disappear after the battle
And to think of it, nor do I hear the roar >,<'
I was wondering if you could help?

Here it be! :)

#org $start
Lock
Faceplayer
Message $roar
Boxset 6
Wildbattle 5 2 1
Setflag 0x200
Fadesreen 0
Release
End

#org $roar
$roar 3 = Charmeleon: Char... Charmeleon!
 
Yeah, thanks!

Now, to find Pocketscript again... (redid my computer, cant find a download)
EDIT: Nevermind, Cheesepeow uploaded a pack with it inside.

EDIT 2:

The even is for person #5 in Advancemap, and it moved the player sprite way off course, and when I actually walked over to the trainer with the script, I get a red screen of death.

Is this what you guys meant by putting in the person ID?

Code:
#org $begin
lock
faceplayer
trainerbattle 1 0x11E $before $after $leave
[B]$before 1 = Hello World
$after 1 = Goodbye World[/B]
end

#org $leave
applymovement 0x05 $moveAway
$moveAway 1 ; #Binary 0x13 0x13 0x13 0x13 0x13 0xfe
pausemove 0
#raw [B]0x53 [/B]0x05 [B]0x00[/B]
setflag 0x[B][peopleID][/B]
fadescreen 0
release
end
Try that. The people ID is not 05 thats the people number, there will be a box that says people Id in the sidebar, change that to an unused flag number (eg. 0200) then you need to have setflag 0x200.

eck!
Ok, I tried making a script, it worked all fine and glitches the pokemon sprite a teency bit right before the screen does it's little animation
[Then you fight the pokemon]
and all but the pokemon does not disappear after the battle
And to think of it, nor do I hear the roar >,<'
I was wondering if you could help?

Here it be! :)

#org $start
Lock
Faceplayer
cry 0xA1 0x05
pause 0x28

Message $roar
Boxset 6
Wildbattle 5 2 1
Setflag 0x200
Fadesreen 0
Release
End

#org $roar
$roar 3 = Charmeleon: Char... Charmeleon!
Make sure the people ID of the pokemon sprite is set to 0200.
 
im having problems with the script below.
its for when you try to pick the 3rd pokeball in fire red at beggining and you get stopped by rival and afterwards he goes back to where he was standing.
can someone please help?


Code:
#org $start
applymovement 0x08 $move (Gary's move)
pausemove 0
message $stole
boxset 6
applymovement 0x08 $move2
applymovement 0xFF $move2 (hero move)
pausemove 0x0
applymovement 0x08 $move3
message $here
setflag 0x201
release
end


#org $move
#raw 0x62 0x0C 0x0f 0x0f 0x0f 0x0f 0x03 0xFE

#org $move2
#raw 0x0A 0x0A 0x01 0xFE

#org $move3
#raw 0x0A 0x0A 0x09 0x04 0xFE

#org $stole
$stole 1 =No way!\n\v\h01 I want that pokemon.

#org $here
$here 1 =Here,take this one.
 
Status
Not open for further replies.
Back
Top