• 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!
  • 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.
Is this Script Correct. And Thank you thethethethe.
Code:
#org $start
lock
faceplayer
checkflag 0x800
message $MAGBY
$MAGBY 1=This MAGBY just won't\nevolve. You can have it
boxset 6
givepokemon 240 7 0
jingle
message $GotMagby
$GotMagby 1 =You just got a MAGBY!
boxset 6
message $NameMag
$NameMag 1 = Would you like to give\nMAGBY a nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $Bye
setflag 0x828
goto $Bye

#org $Bye
setflag 0x800
setflag 0x801
message $Pokedex
$Pokedex 1 = Take Care of MAGBY!
boxset 6
jingle
message $GotDex
$Gotdex 1 = You Also got the National\nPokéDex
boxset 6
end

Your help is Greatly appreciated.
~cooley~

Which ROM is this for?
Code:
]#org $start
lock
faceplayer
checkflag 0x800(or checkflag 0x828 for FR LG)
[B]if b_true goto $done[/B]
message $MAGBY
$MAGBY 1=This MAGBY just won't evolve.\nYou can have it.
boxset 6
givepokemon 240 7 0
jingle
message $GotMagby
$GotMagby 1 =You just got a MAGBY!
boxset 6
message $NameMag
$NameMag 1 = Would you like to give\nMAGBY a nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $Bye
setflag 0x828
goto $Bye
end

#org $done(otherwise it will repeat itself over and over and over and etc.
lock
faceplayer
message $hows
$hows 1 =How's that magby going?
boxset 6
release
end

#org $Bye
setflag 0x800(setflag 0x828 for FRLG)
setflag 0x801(setflag 0x829 for FRLG)
message $Pokedex
$Pokedex 1 = Take Care of MAGBY!
boxset 6
jingle
(special 0x16F for FR LG{National DEX})
message $GotDex
$Gotdex 1 = You Also got the National PokéDex!
boxset 6
release
end
 
LeafGreen. and the Script you gave me, Doesn't activate the POKéDEX.
Thank you alot!

The first problem could be that you have put that script for recieving your first pokemon. and you would need to add a setflag 0x828(FR LG) for that to work. And also if you want to recieve the magby in the pokedex you need to add
special 0x16F(FR LG).
Well here is the script:
Code:
#org $start
faceplayer
givepokemon 240 7 215
#raw 53
#raw <people no.(hex)>
#raw 00
message $take
boxset 6
special 0x136
pause 0x40
warp 3 20 0
fadescreen 0
setflag 0x200
release
end

#org $take
$take 1 =\v\h01 recieved a MAGBY!

That doesn't activate the 'POKéMON' or POKéDEX on the start menu.
 
Last edited:
Well Cooley, here is the script for LG. I just tried it and it worked fine for me. Try this, maybe you didn't change one of the flags.
Code:
#org $start
lock
faceplayer
checkflag 0x828
if b_true goto $done
message $mabgy
$magby 1 =This MAGBY just won't evolve.\nYou can have it.
boxset 6
givepokemon 240 7 0
jingle
message $GotMagby
$GotMagby 1 =You just got a MAGBY!
boxset 6
message $NameMag
$NameMag 1 = Would you like to give\nMAGBY a nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $Bye
setflag 0x828
goto $Bye
end

#org $done
lock
faceplayer
message $hows
$hows 1 =How's that magby going?
boxset 6
release
end

#org $Bye
setflag 0x828
setflag 0x829
message $Pokedex
$Pokedex 1 = Take Care of MAGBY!
boxset 6
jingle
special 0x16F
message $GotDex
$Gotdex 1 = You Also got the National PokéDex!
boxset 6
release
end
 
Try not to double post next time. BUt I had that problem as well. But I think I fixed it. Use the script that I just posted and see what happens tell me if it still happens
Is there a Sript (for 'Green S') in A-map, that after you come out of the house you can't go back in. EVER.
Off-Topic: This Scripting stuff is some work, phew.

No it isn't a script. I'm not really sure, but I think, it has something to do with the unknown's with the warp. I'd have to experiment with it to be sure. I know, that if you change the unknown of a warp inside a house to 00, it won't work, but if you have 00 on the outside warp it will work. It's worth some experimenting to figure out. If not I guess you could always put someone there that will block it off.

And scripting will probably remain that hard becuase you'll start writing longer and longer scripts.(but at least simple ones will become easier)
 
Everything works now except for the Following:
  • Binary movements
  • Text that tells you that you got the Pokéballs and potions
Spoiler:
 
This is how I would write it. You spelt applymovement wrong. And you don't need to have the text 'you recieved (blablabla)' It should display by itself when you recieve an item. Hopefully it works now.
#org $start
lock
faceplayer
checkflag 0x828
message $mabgy
$magby 1 =This MAGBY just won't evolve.\nYou can have it.
boxset 6
if b_true goto $done
givepokemon 240 7 0
jingle
message $GotMagby
$GotMagby 1 =You just got a MAGBY!
boxset 6
message $NameMag
$NameMag 1 = Would you like to give\nMAGBY a nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $Bye
setflag 0x828
goto $Bye
end

#org $done
lock
faceplayer
message $hows
$hows 1 =Who are you?
boxset 6
release
end

#org $Bye
setflag 0x828
setflag 0x829
message $Pokedex
$Pokedex 1 = Take Care of MAGBY!
boxset 6
jingle
special 0x16F
message $GotDex
$Gotdex 1 = You Also got the National PokéDex!
boxset 6
message $Don't Forget
$Don't Forget 1 = Take These also.
boxset 6
giveitem 0x4 5
giveitem 0xD 5
jingle
applymovement 0x01 $Guy1
pause 0x20
release
end

#org $Guy1
$Guy1 1 ; #binary 0x12 0x11 0xFE
 
Thanks. This is my very own Applymovement Scripts I have done by myself:
Code:
#org $start
checkflag 0x200
if B_true goto $done
playsound 0x13B
#raw 0x33
applymovement 0x01 $mw1
pause 0x20
message $mt1
boxset 6
applymovement 0x01 $mw3
pause 0x40
message $follow
boxset 6
applymovement 0x01 $mw2
applymovement 0xFF $mw2
pause 0x50
message $script
$script 1 = This is my First Script.\nThanks to 'thethethethe'\pFrom www.pkmncommunity.com\nas you can see it is a\pSUCCESS!!
boxset 6
applymovement 0x01 $Guy
pause 0x10
message $Guy2
$Guy2 1 = Take the pokeball.
boxset 6
fadesound
release
end

#org $mw1
$mw1 ; #binary 0x12 0x12 0xFE

#org $mt1
$mt1 1 = Hi.

#org  $mw3
$mw3 ; #binary 0x13 0x13 0x12 0x12 0xFE

#org $follow
$follow 1 = Follow me.

#org $mw2
$mw2 ; #binary 0x13 0x13 0x13 0x10 0x10 0x10 0x13 0xFE

#org $Guy
$Guy ; #binary 0x11 0xFE
Tell me if something is wrong and what to put in for the 'Green S'(Var, Unknown, Etc.).

Note: I haven't Tried it yet.

EDIT: IT WORKS!!!! except for one thing(s)
Spoiler:

Maybe that might clear it up.
IT WORKS!!!
 
Last edited:
Thanks. This is my very own Applymovement Scripts I have done by myself:
Code:
#org $start
checkflag 0x200
if B_true goto $done
playsound 0x13B
#raw 0x33
applymovement 0x01 $mw1
pause 0x20
message $mt1
boxset 6
applymovement 0x01 $mw3
pause 0x40
message $follow
boxset 6
applymovement 0x01 $mw2
applymovement 0xFF $mw2
pause 0x50
message $script
$script 1 = This is my First Script.\nThanks to 'thethethethe'\pFrom www.pkmncommunity.com\nas you can see it is a\pSUCCESS!!
boxset 6
applymovement 0x01 $Guy
pause 0x10
message $Guy2
$Guy2 1 = Take the pokeball.
boxset 6
fadesound
release
end

[B]#org $done
release
end[/B]

#org $mw1
$mw1 [B]1[/B] ; #binary 0x12 0x12 0xFE

#org $mt1
$mt1 1 = Hi.

#org  $mw3
$mw3 [B]1[/B] ; #binary 0x13 0x13 0x12 0x12 0xFE

#org $follow
$follow 1 = Follow me.

#org $mw2
$mw2 [B]1[/B] ; #binary 0x13 0x13 0x13 0x10 0x10 0x10 0x13 0xFE

#org $Guy
$Guy [B]1[/B] ; #binary 0x11 0xFE
Tell me if something is wrong and what to put in for the 'Green S'(Var, Unknown, Etc.).

Note: I haven't Tried it yet.

It looks alright just a couple of little mistakes which I'll put in bold. I think that's it.
(looks like foullumps script). I tried this script and it worked fine. but you may want to add a setflag 0x200 at the end to stop it from repeating.

The var numbers are below. These should work for any 'Green S'
Unknown 03 00
Var Number 50 40
Unknown 00 00
Var value 00 00
 
Last edited:
I need some serious help on this one.

Recently I've been doing in depth scripts (well not really, but for me they are) and they haven't been working even with the aid of everyone else. So I've decided maybe it's because my pokescript is not up to date, and that's true. I had the 1.0 compiler and database, so I downloaded and installed the 1.2 compiler and database of pokescript.

So, whenever I compile a script with Pokescript 1.2, I get a "Run time error '6' Overflow" message. I'm 100% positive the script works as I tried to compile a script that successfully compiled using Pokescript 1.0.

I noticed an awkward part on the actual log when the error pops up
Code:
1: fulllog False
#Process C:\Documents and Settings\Administrator\Desktop\Hack Toolbox\Pokewitch\pkmadv[COLOR="Red"]/[/COLOR]commands.psh
That's only a section on the log, but notice the red slash is backwards. I have no idea what this means, but I don't think that's supposed to be that way. If it is, then I have no idea what I'm talking about.

Please someone help :(
 
Alright, here is the lowdown(can't believe I said that >_>): I've read the thread on Pokescript and read it over again, gone through the tuts, looked it over, read the part saying you can't post questions on there, so what I'm basically saying is why is there a little red screen that appears on the screen after I input the script. Also I don't think that the script is properly(hope I got that right) burning...
 
The problem would be...What?

My Requset:
Type: Battle
Type of battle: Regular, Trainer battle.
Person: Rocket Female
Extra details: after the Battle, make her go: 0x12 0x10(If you know what I mean:)
I would have done it by myself, but I rusty in the area of 'Battle Scripts'.
Thank you.


I'll post video later


VIDEO
 
Last edited:
The problem would be...What?

My Requset:
Type: Battle
Type of battle: Regular, Trainer battle.
Person: Rocket Female
Extra details: after the Battle, make her go: 0x12 0x10(If you know what I mean:)
I would have done it by myself, but I rusty in the area of 'Battle Scripts'.
Thank you.


I'll post video later


VIDEO

Okay I think this is it. I'm assuming, you know how to edit the trainer sprite and the pokemon of the trainer.
Code:
#org $start
trainerbattle 1 0x001 $before $after $further
message $go
boxset 6
release
end

#org $before
$before 1 =<The beginning text>

#org $after
$after 1 =Go through.

#org $further
applymovement 0x<people number> $move
pausemove 0
release
end

#org $move
$move 1 ; #binary 0x12 0x10 0xFE

#org $go
$go 1 =Go through.
 
Would have been nice to know about that program, but still has problems because of the 'truck' animation sequence.

Hey Andrea Sartori where's the byte address for those values. Maybe we can decode the script and remove the animation!


Did Irish Witch ever find a solution to eliminating the truck animation? Or even removing the entire intro animation?
 
Spoiler:

The givepokemon and jingle(bolded)part doesn't seem to be working,any suggestions?
 
Spoiler:

The givepokemon and jingle(bolded)part doesn't seem to be working,any suggestions?


Did you previously setflag 0x801 and 0x800 in the game? (considering it's ruby)

These flags are used to activate pokedex and pokemon menu... the flags are different in other games
 
i need a script that starts with you getting your 1st pokemon and ends with you getting a national dex
 
OK,I got everything to work except for the nickname part,a ?? gets nicked(and obviously the given pokémon doesn't).
 
script

when i compile a script in scriptED it says overflow how does thit cames?

i do push on the ... and load firered
then i copy the script in scriptED
then i save it
then i compile it

some1 that know the probleme?:(

edit:
does some1 got a move script for scriptED for fr so the persone moves after the E4 is defeated?

im makin a pkmn frontier version based on fr how do u make a script that a guy blocks u and u cant enter until u get 6 frontier symbols?
 
Status
Not open for further replies.
Back
Top