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

Script Requests/Sharing/Discussion

Status
Not open for further replies.
Any reason how or why the following script fails to work?
[...]

Try using this:

Code:
#org 0x8002D8
lock
faceplayer
setflag 0x1003
message 0x8002FB
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x800488
message 0x80042D
boxset 0x6
release
end

#org 0x800488
message 0x800493
boxset 0x6
release
end

#org 0x8002FB
= I saw you pick up that wild\nPOKeMON, \v\h01. But I have good\pnews. While you were in a coma, I\nhad gotten my Masters' Degree in\pPOKeMON research. I was given the\ntask of getting data on all POKeMON\pin this region. Problem is, I have\nno one able to help me find and\pcatch them.\pCould you hear me out, \v\h01?

#org 0x80042D
= I guess I'll find someone to help\nme when they free up some time[.]\pThanks anyway, \v\h01.

#org 0x800493
= Alright, talk to my Lab Assistant\nin the white coat. He should have\pthe tools you need.
 
Hi i am having some trouble with pokescript now i am trying to use the right versions and stuff but no matter what script i try to compile the same runtime error comes up. It is a 457 error (can't remember the info the error gives) and this happens when I try to register a database with it as well

yeah it's still the same question
 
Hi I'm new here and to PokeScript so as most noobs, like me, I have a few problems with my code. Whenever I put it in, it either A. doesn't work; B. the A button sound happens but nothing after that; or C. The game freezes. So here is one of my codes:
Code:
#ORG $begin
message $aidtalk
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = Boxes full of/p research papers.

Thanks
 
Last edited:
Hi I'm new here and to PokeScript so as most noobs, like me, I have a few problems with my code. Whenever I put it in, it either A. doesn't work; B. the A button sound happens but nothing after that; or C. The game freezes. So here is one of my codes:
Code:
#ORG $begin
message $aidtalk
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = Boxes full of/p research papers.

Thanks

Well i fixed it a bit. See if it works now.
Code:
#org $begin
[B]lock
faceplayer[/B]
message $aidtalk
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = Boxes full of/p research papers.
 
Thanks. I always thought that since it was a signpost that you didn't need the "lock/ faceplayer" code.

Now I have a new problem. Whenever I press a on the boxes, this box in the right hand corner pops up with two chooses, a triangle in the bottom right hand corner of the box, or a blank box. Do you have any suggestions on what is wrong with the script?

I have a new code and I know that has many errors. If you could tell me them and anything is wrong with the code it would be much appriciated. (this is my longest code yet!)
Code:
#org $begin
lock
faceplayer
checkflag 0x300
if B_true goto $truck
checkflag 0x301
if B_true goto $gone
message $message
boxset 6
release
end

#org $truck
lock
faceplayer
message $message2
setflag 0x304
checkflag 0x305
if B_true goto $aftermew
release
end

#org $gone
release
end

#org $aftermew
message $message3
applymovement $aidwalk1
pause
setflag 0x306
release
end

#org $message
$message 1 = Hi, sorry about the mess,\nI'm doing research right now\nso please don't\nget in the way.

#org $message2
$message2 1 = How many times do\nI have to say it...\nOh Oak wants me to do that.\nWell I guess I could do it...\nOkay you get into the truck\nwhile I get ready.

#org $message3
$message3 1 = You saw the legendary Pokemon Mew!\nIn my truck?!\nGo tell Oak while I get\nmy truck to the desert,\nhe will be very pleased.

#org $aidwalk1
It isn't very organised and some of the code might not be valid.


This code is for picking up Rare Candy, but I can't get it to pick up Rare Candy. Instead it picks up ???????? (s) x8.
Code:
#org $begin
lock
faceplayer
checkflag 0x201
if B_true goto $done
giveitem 0x44
setflag 0x201
release
end

#org $done
release
end
 
Last edited:
Prof Oak Script

Hi im really bad at scripting ive been trying to learn to script for a couple of months now so could someone make me this script

Can someone make a script that makes the professor be in the lab from the start.
and instead of him giving u the kanto pokedex he gives u the national dex after ur first battle with ur rivel he asks you back and he gives u the national dex after ur first battle with gary in the lab.

Please can someone make this i need it for my hack and ill add u to my credits
Please.
 
This code is for picking up Rare Candy, but I can't get it to pick up Rare Candy. Instead it picks up ???????? (s) x8.
Code:
#org $begin
lock
faceplayer
checkflag 0x201
if B_true goto $done
giveitem 0x44
setflag 0x201
release
end

#org $done
release
end
You can't actually make an invisible item. You must make it a people event. Then you can't walk through it, but at least it's invisible (By making it "Hidden") However there was one little thing that was problematic:
Code:
#org $begin
lock
faceplayer
checkflag 0x201
if B_true goto $done
giveitem [B]44[/B]
setflag 0x201
release
end

#org $done
release
end
I'm sure that Rare Candy is in decimal, so I took away the 0x.
 
Hey
how do you make rival scripts because I wanna battle him in my hack.
 
>>>>>>>>>>>>TO Yoderpet

---------------------------------------------------------------
That also happened already with me; try to change the names of the messages ($messsage = $1; $2; etc...)
------------------------------------------------------------------

Code:
#org $begin
lock
faceplayer
checkflag 0x300
if B_true goto $truck
checkflag 0x301
if B_true goto $gone
[COLOR="Red"][B]message $message[/B][/COLOR]
boxset 6
release
end

#org $truck
lock
faceplayer
[COLOR="red"][B]message $message2[/B][/COLOR]
setflag 0x304
checkflag 0x305
if B_true goto $aftermew
release
end

#org $gone
release
end

#org $aftermew
[COLOR="red"][B]message $message3[/B][/COLOR]
applymovement $aidwalk1
[COLOR="red"][B]pause 0x?? (10, 20, 30, etc...)[/B][/COLOR]
setflag 0x306
release
end

#org [B]$message[/B]
[B]$message[/B] 1 = Hi, sorry about the mess,\nI'm doing research right now\nso please don't\nget in the way.

#org [B]$message2[/B]
[B]$message2[/B] 1 = How many times do\nI have to say it...\nOh Oak wants me to do that.\nWell I guess I could do it...\nOkay you get into the truck\nwhile I get ready.

#org [B]$message3[/B]
[B]$message3[/B] 1 = You saw the legendary Pokemon Mew!\nIn my truck?!\nGo tell Oak while I get\nmy truck to the desert,\nhe will be very pleased.

#org $aidwalk1
-------------------------------------------------------------------
Put them number of items to receive!

Code:
#org $begin
lock
faceplayer
checkflag 0x201
if B_true goto $done
[B][COLOR="red"]giveitem 0x44 0x1[/COLOR][/B]
setflag 0x201
release
end

#org $done
release
end
 
okay, I couldn't find any script on how to do what i need here, so I'm asking.

Is it possible to script it so the player's sprite changes? And by changes, I mean overworld, battle sprite, everything. Trying to turn the player into a pokemon, y'see.

If it's possible, could someone please give me the script for it?

Thanks,
KG
 
Thanks Derlo. That code is going to be very helpful in the storyline of my game.
 
Last edited:
Yoderpet, you posted three times xD. Next time don't click the refresh button.
Anyways.

Kyber-Groudon, you can change the sprite overworld and batter sprite for another person, not for yourself. The only way to do it for your own character is to Overworld Edit and use TLP.
 
okay thanks but
what if I have a Chikorita and my rival has a Chikorita?
How do I make it that i have Chikorita and he has Cyndaquil?
 
Prof oak script

Hi im really bad at scripting ive been trying to learn to script for a couple of months now so could someone make me this script

Can someone make a script that makes the professor be in the lab from the start.
and instead of him giving u the kanto pokedex he gives u the national dex after ur first battle with ur rivel he asks you back and he gives u the national dex after ur first battle with gary in the lab.

Please can someone make this i need it for my hack and ill add u to my credits
Please.
 
It won't work. I use PokéScript... Allthough this works with the nat dex, this didn't. I get all strange purple colors etc.

anyone? Once more I'd like this:

Scene:
Guard: You may enter the BATTLEFIELD if you have a BATTLEPASS.
*guard checks item for EON TICKET*
If don't have: Get a BATTLEPASS first.
If you do have it: You may enter.
*guard walks once to the left and once upwards and stays there.*

It's for Fire Red.
 
Sorry Crashink. My computer was acting up last night...

Dragoon: What you can do is set different flags on the begining pokeballs and then link them so that your rival has your weakness. I'm trying to figure it out, too and this is as far as I have gotten because I haven't figured out how to change the pokemon.

I also have another code I need checked.
Code:
#org $StartWild
lock
faceplayer
checkflag 0x305
if B_true goto $done
cry5
message $Mewcry
boxset 6
checkflag 0x304
if B_true goto $WildBatt
setflag 0x305
release
end

#org $done
release
end

#org $WildBatt
lock
wildbattle 151 30 0
release
setflag 0x401
fadscreen 0
end
 
Hey All!

Just wondering if anyone could help me on this one. This MAY be a bit offtopic, but does anyone know where I can get Pokescript from? Tried using the URL that Irish Wish posted but it seems the website's down :|

Thanks in advance!
 
Status
Not open for further replies.
Back
Top