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

Scripting Tutorial - PokeScript

Status
Not open for further replies.
Now, click file type, and scroll down to All Files.

Go to your script location, right click and click "Compile".
Your script should open in Pokescript and then BufRite should open.
Some offsets should be listed, click the top offset and click Assign.
Mine opened up an open... thing were i had to pick a file.what i pick?
The window should change Yes it then opened a reserve... thing?
,click File -> Burn. Find the offset at $begin and write it down somewhere. i cant find it anywere?
Open up A-Map, load the map you want the script inserted.
Click the person and there should be a box that say's: Script Offset, insert the offset there and save.
 
Last edited:
Well, I'm just now trying to learn how to do this and I can't seem to do what the tutorial says is the easiest part. . .

Go to your script location, right click and click "Compile".
Your script should open in Pokescript and then BufRite should open.
Some offsets should be listed, click the top offset and click Assign.
The window should change, click File -> Burn. Find the offset at $begin and write it down somewhere.
(This part lost me. Apparently there's a step between clicking Assign and the File-> Burn thing because when I click assign, a file browse window pops up, and I have no clue what to do after that. After the file browse window is gone, there's a small window that says reserve at the bottom. Neither of these are mentioned here so I have no clue what to do. I also don't know what I'm supposed to select after choosing burn. If anyone could tell me, I'd be grateful.)
Open up A-Map, load the map you want the script inserted.
Click the person and there should be a box that say's: Script Offset, insert the offset there and save.

You've succesfully inserted a new script!
 
Last edited:
Well, I'm just now trying to learn how to do this and I can't seem to do what the tutorial says is the easiest part. . .

Go to your script location, right click and click "Compile".
Your script should open in Pokescript and then BufRite should open.
Some offsets should be listed, click the top offset and click Assign.
The window should change, click File -> Burn. Find the offset at $begin and write it down somewhere. (This part lost me. Apparently there's a step between clicking Assign and the File-> Burn thing because when I click assign, a file browse window pops up, and I have no clue what to do after that. After the file browse window is gone, there's a small window that says reserve at the bottom. Neither of these are mentioned here so I have no clue what to do. I also don't know what I'm supposed to select after choosing burn. If anyone could tell me, I'd be grateful.)
Open up A-Map, load the map you want the script inserted.
Click the person and there should be a box that say's: Script Offset, insert the offset there and save.

You've succesfully inserted a new script!
There is a missing step. First click assign and a browser should appear. Go to your rom that you are hacking and click on it. Some offsets will appear, choose one, go to assign then File, Burn.
 
Umm... I've done everything, unfortunatly when I compile the script I get the
"File Not Found or user cancel" error, then when I insert the script into A-map,
then when I try the script the game crashes. Will anyone please help me?

Here's the pokescript log:
Code:
#PROCESS: script00.rbc F:2 for input
-----------------------------------
 
#OFFSET: 0, 0
Invalid Command : lock
Invalid Command : faceplayer
Invalid Command : message
 
#INLINE: 0, 1
9: Encoding text: Hey \v\h01!\nHows your journey going?
Invalid Command : boxset
Invalid Command : release
Invalid Command : end
|
\- Processed 0 Lines
 
#PROCESS: C:\Documents and Settings\Administrator\My Documents\Pokémon Green Diamond\PERSON_SCRIPT\script00.buf F:2 for write
----------------------------------------------------------------------------------------------------------------------------
COMMENT BUFFER DROP 10 [NO COMMENT]
DROPPING 0 Pointers
DROPPING 1 Offsetts
$begin at buffer 0 position 0 
DROPPING 1 Offsetts
$howareyou at buffer 1 position 0 
BUFFER 0 DROP: 56 [lock faceplayer message $howareyou boxset 6 release end ]
BUFFER 1 DROP: 510 [e vh1\Hw orjunygig
|
\- Processed 16 Buffers
 
|
\- Processed 0 Lines
 
|
\- Processed 0 Lines

Is there anything wrong with the script?
This is the script I tried:

Code:
#org $begin
lock
faceplayer
message $howareyou
$howareyou 1 = Hey \v\h01!\nHows your journey going?
boxset 6
release
end
 
Hello, I have a problem..
I use Pokescrip 1.2 and I managed to make a .rbc file. When I compile it, only Pokescript comes up and the other thing with the offset's doesn't appear..
Can someone help?
 
Hi, I'm new here and I'm setting up an unnamed hack of fire-red and I've got a script that won't get onto the rom and I'm not sure if it's the script or the length of the script that stops it working can someone help?

Here's the script:
#org $start
checkflag 0x829
if b_true goto $done
checkflag 0x828
if b_true goto $item
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $take
givepokemon 1x7E 0x5 0x0
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $item
message $7
boxset 5
compare LASTRESULT 0x1
if b_true goto $getitem
message $9
boxset 3
compare LASTRESULT 0x1
if b_true goto $alt

#org $getitem
message $8
boxset 6
giveitem 0x5E 0x1
setflag 0x829
release
end

#org $done
message $6
boxset 6
release
end

#org $alt
message $10
boxset 5
giveitem 0x5D 0x1
setflag 0x829
release
end

#org $1
$1 1 =Would you like an ARON?

#org $2
$2 1 =Oh.\nOk bye.

#org $3
$3 1 =/c/h01/h02You received an ARON!

#org $4
$4 1 =/c/h01/h02Would you like to rename ARON?

#org $5
$5 1 =Please don't hurt it.

#org $6
$6 1 =I hope you like Aron.

#org $7
$7 1 =Would you like a MOON STONE?\nIt'll evolve ARON to a\nSTEELDROM!\pSo do you want one?

#org $8
$8 1 =Well here you go\p\c\h01\h02You recieved a MOON STONE!

#org $9
$9 1 =Oh.\pWell would you like to\nhave a SUN STONE instead?

#org $10
$10 1 =Here you go!\p\c\h01\h02You received a SUN STONE!

PS: Steeldrom is a different version of a Rhyhorn. I'm respriting alot of pokemon as the hack's based in a different time period to the other games so there are different pokemon.
 
Status
Not open for further replies.
Back
Top