• 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.
I have a scripting question if i put a checkflag such as Checkflag 0xID (which i believ is for potion,) does that mean that the script cannot be done unless i have a potion?

Actually you would use, checkitem 0xD 1, the '1' is the amount.

And to knox, I'd love to see how to get the multi command to work, but even foullump doesn't know how to do it. Trying to figure this out has been driving me crazy, everytime I try, it just stuff's up so I gave up on trying to do it. If someone know's how to do it, could they post an example here(for pokescript)?
 
Pokescript doesn't compile scripts for me any more.
It compiles and shows all the text while compiling then it just goes blank.
Well I am trying to figure out how to use 'pkmgs' to compile and insert the offset for Pokemon Gold.


But if anyone knows how, pleae post it here.

@TTTT: multi command?
~cooley~
 
I wanted to put some more people in a town say for instance Pallet Town. What if I wanted to add some trainers in that area. How do I do this?
 
Pokescript doesn't compile scripts for me any more.
It compiles and shows all the text while compiling then it just goes blank.
Well I am trying to figure out how to use 'pkmgs' to compile and insert the offset for Pokemon Gold.


But if anyone knows how, pleae post it here.

@TTTT: multi command?
~cooley~

I had that problem a while back, there is such a simple solution, change the name of the .rbc file. Try using something simple like 'hello' and let me know if it works. Pkmgs has some different commands which you should take a look at. As you may already know I'm looking for a way to assign a script offset to an OW in a GS rom.

If you ever looked at the shiny gold phonebooth video, that is what the multi command can do. I can get the box to appear and dissappear but I can't get anything to happen once you choose something. If someone could help me fix my script pleaase pm me, so I can send you a script.

I wanted to put some more people in a town say for instance Pallet Town. What if I wanted to add some trainers in that area. How do I do this?

Well you have to write a trainer script, which an example can be found in an irich witch/foulump tutorial. And in Advance Map, click the trainer box.
 
Can i have a script that only works when you use a squirtbottle....also may i please have a double battle trainer sample
 
Figured the problem. I can't Right-Click then Compile anymore, I have to open Poket script then Click Encode.

For Some Strange reason, This Script won't work correctly.(Green S) When I step on the spot, it just freezes.

If it has something to do with the 'Unknown, Vars, etc.' Tell me what to fill in.:
Code:
#org $Start
checkflag 0x200
if B_true goto $end
lock
message $ms1
boxset 0x6
applymovement 0xFF $m1
pausemove 0x10
setflag 0x200
release
end

#org $ms1
$ms1 = I forgot to get the\npokéball

#org $m1
$m1 1 ; 010 0xFE

#org $end
release
end

And This one Doesn't make the player follow people #2.
Code:
#org $start
checkflag 0x200
applymovement 02 $Ash
pause 0x40
message $Who
$who 1 =What are you doing here?
boxset 6
message $letme
$letme 1 =Let me show you around.
boxset 6
applymovement 02 $Show
applymovement FF $Show
pause 0x80
setflag 0x200
release
end

#org $ash
$ash 1 ; 0x12 0x12 0x12 0x12 0xFE

#org $Show
$Show 1 ; 0x13 0x13 0x10 0x10 0x12 0x12 0x11 0x11 0xFE

EDIT:
Code:
#org $begin
checkflag 0x200
applymovement 0x02 $Running
pause 0x40
message $GotRun
$GotRun 1 =Where do you think your going?\pTake these with you.
boxset 6
message $RunShoes
$Runshoes 1 =\v\h01 Got the Running Shoes!
boxset 6
setflag 0x82F
applymovement 0x02 $Returning
pause 0x40
setflag 0x200
release
end

#org $Running
$Running 1 ; #binary 0x12 0x12 0x12 0x12 0xFE

#org $Returning
$Returning 1 ; #binary 0x13 0x13 0x13 0x13 0xFE

Tell me what to put in for the Unknowns, var numbers, etc.


Please Help, Thank you.
~cooley~
 
Last edited:
Could someone make me a script:

- When you step on the S Person no. 4 walks four spaces to the left and says "Follow me"
- He takes you 4 spaces right, 8 down, 5 to the right and then forces you into a house one step up.
- After that, he goes back to his original space and whenever you talk to him he says "Hows it going?"

Thats all, thanks!
 
need help...

what's a script command for......

1. Two or 3 NP's on the screen moves at the same time...
2. After a certain event, example, Team Magma strikes in the Weather institute, the grunts will be around the building. And they will only be gone after you beat their leader...
3. Does a "clearflag" command clears the script in a certain map so it won't be working no more..?
4. I think that's all the questions I have in my mind...

Thanks in advance and wishing someone to reply! Good day!
 
HELP

can someone tell me whats wrong in this script
rom - LG
Using pokescript
Spoiler:
 
you took that from the tutorial right? i did the same and it didnt ork so i gave up on it.... I still need the squirtbottle script but more importantly how do I make it so that you nbeed a certain badge for something to work is it a flag?
 
I search a script...

For example: I'm entering in a door but a person stop me and speak to me. When this person end to speak I can enter.

Someone can help me?

//excuse me for my bad english T.T//
 
Can i have a script that only works when you use a squirtbottle....also may i please have a double battle trainer sample

THere is no such item as a squirtbottle(I think), do you mean the wailmer pail? If that is right, just add giveitem 0x10C 1

Figured the problem. I can't Right-Click then Compile anymore, I have to open Poket script then Click Encode.

For Some Strange reason, This Script won't work correctly.(Green S) When I step on the spot, it just freezes.

If it has something to do with the 'Unknown, Vars, etc.' Tell me what to fill in.

Tell me what to put in for the Unknowns, var numbers, etc.


Please Help, Thank you.
~cooley~


I can't remember which name is which, but they are in this order.
03 00
00 40
00 00
00 00

need help...

what's a script command for......

1. Two or 3 NP's on the screen moves at the same time...
2. After a certain event, example, Team Magma strikes in the Weather institute, the grunts will be around the building. And they will only be gone after you beat their leader...
3. Does a "clearflag" command clears the script in a certain map so it won't be working no more..?
4. I think that's all the questions I have in my mind...

Thanks in advance and wishing someone to reply! Good day!

1. Sorry if this is stupid, but whats an NP? IF it's the same as an OW, just add two applymovement's straight after eachother like this.
applymovement 0x01 $move
applemovement 0x02 $move2
pausemove 0


2. Put the setflag of the battle with the magma leader, into the people id of the magma grunt.

3. Clearflag clears flag, It makes it as if you haven't used it at all. This covers every map, not just one.

4. Okay, I think that is all the answers.
 
I search a script...

For example: I'm entering in a door but a person stop me and speak to me. When this person end to speak I can enter.

Someone can help me?

//excuse me for my bad english T.T//

I Think I can do it.
Code:
#org $start
lock
faceplayer
checkflag 0x200
message $s1
boxset 6
applymovement 0x(People No.) $ss1
pause 0x20
setflag 0x200
release
end

#org $s1
$s1 1 =(Insert text here)

#org $ss1
$ss1 1 ; (movements) 0xFE

MOVEMENTS:
Left: 0x12
Right: 0x13
Up: 0x11
Down: 0x10


Insert them here: (movements)

Someone Correct me if I'm Wrong with the Script.
____________________________________________________________

Need Someone to see if this script(s) are correct.
Code:
#org $start
checkflag 0x200
if B_true goto $finish
playsound 13B
#raw 0x33
applymovement 0x03 $move
pause 0x20
message $move1
boxset 6
applymovement 0x03 $Show
applymovement 0xFF $Show
pause 0x60
message $show1
boxset 6
applymovement 0x03 $Back
pause 0x40
setflag 0x200
fadesound
release
end

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

#org $move1
$move1 1 =You look new. I'll show you\pwere to go.

#org $Show
$Show 1 ; 0x10 0x10 0x12 0x12 0x12 0x10 0xFE

#org $show1
$show1 1 =This is the way out.\lROUTE 1.

#org $Back
$Back 1 ; 0x11 0x11 0x11 0x60 0xFE

These are together:
Code:
#org $start
lock
faceplayer 
message $Huh
$Huh 1 = A Magby?
callstd 6
givepokemon 240 7 0x44
jingle
message $what
$what 1 = What in the world...
callstd 6
warp 3 19 0
release
end
_____________________________________________
This happens after the warp:

Code:
#org $begin
checkflag 0x200
applymovement 02 $moveguy
$moveguy 1 ; #binary  0x12 0x12 0x12 0x12 0xFE
pausemove 0x40
message $hey
$hey 1 = What was that all about?
callstd 6
applymovement 02 $moveback
$moveback 1 ; #binary 0x13 0x13 0x13 0x13 0xFE
pausemove 0x40
setflag 0x200
release
end

The Main Reason is to tell me how to get the 'Unknowns, var numbers, etc.'
Code:
Unknown : 00  00
Var Number : 00  00
Var Value : 00  00
Unknown : 00  00

Please Help,
~cooley~
 
This is my script:
Code:
#org $800000
lock
faceplayer
checkflag 0x200
message $800100
boxset 6
applymovement 0x1 $800200
pause 0x20
setflag 0x200
release
end

#org $800100
$800100 1 =(babakuba)

#org $800200
$800200 1 ; (movements) 0x13
But with Diamond Cutter appear Error run-time '13' Why?
 
I Think I can do it.
Code:
#org $start
lock
faceplayer
checkflag 0x200
message $s1
boxset 6
applymovement 0x(People No.) $ss1
pause 0x20
setflag 0x200
release
end

#org $s1
$s1 1 =(Insert text here)

#org $ss1
$ss1 1 ; (movements) 0xFE

MOVEMENTS:
Left: 0x12
Right: 0x13
Up: 0x11
Down: 0x10


Insert them here: (movements)

Someone Correct me if I'm Wrong with the Script.
____________________________________________________________

Need Someone to see if this script(s) are correct.
Code:
#org $start
checkflag 0x200
if B_true goto $finish
playsound 13B
#raw 0x33
applymovement 0x03 $move
pause 0x20
message $move1
boxset 6
applymovement 0x03 $Show
applymovement 0xFF $Show
pause 0x60
message $show1
boxset 6
applymovement 0x03 $Back
pause 0x40
setflag 0x200
fadesound
release
end

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

#org $move1
$move1 1 =You look new. I'll show you\pwere to go.

#org $Show
$Show 1 ; 0x10 0x10 0x12 0x12 0x12 0x10 0xFE

#org $show1
$show1 1 =This is the way out.\lROUTE 1.

#org $Back
$Back 1 ; 0x11 0x11 0x11 0x60 0xFE

These are together:
Code:
#org $start
lock
faceplayer 
message $Huh
$Huh 1 = A Magby?
callstd 6
givepokemon 240 7 0x44
jingle
message $what
$what 1 = What in the world...
callstd 6
warp 3 19 0
release
end
_____________________________________________
This happens after the warp:

Code:
#org $begin
checkflag 0x200
applymovement 02 $moveguy
$moveguy 1 ; #binary  0x12 0x12 0x12 0x12 0xFE
pausemove 0x40
message $hey
$hey 1 = What was that all about?
callstd 6
applymovement 02 $moveback
$moveback 1 ; #binary 0x13 0x13 0x13 0x13 0xFE
pausemove 0x40
setflag 0x200
release
end

The Main Reason is to tell me how to get the 'Unknowns, var numbers, etc.'
Code:
Unknown : 00  00
Var Number : 00  00
Var Value : 00  00
Unknown : 00  00

Please Help,
~cooley~

The scripts look fine, at a glance, I posted those on the two pages ago page and Earth'sVisitor posted those about three pages ago and this has been posted at 10 times already. Sorry if I sound rude, but please search first before asking a question. Here I'll post them again below.

Unknown : 03 00
Var Number : 05 40
Var Value : 00 00
Unknown : 00 00
 
can someone tell me whats wrong in this script
rom - LG
Using pokescript
Spoiler:

Please
UPDATE - whenever I click on the pokeball the game freezes but the music continues to play
 
Heres a script i use for a cable car on Emerald:

Code:
#ORG $ShowText
Lock
Faceplayer
message $car
$car 1 = This is the Cable Car!\lWant to go up?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGo
special 0x98
warp 0x02 0x06 0x02
goto $endme
$DontGo
message $ok
$ok 1 = Okay. Bye Then!
boxset 6
$endme
release
end

It works up to the Special 0x98, instead of the cable car animation its a blank screen and a bit of music, press A and the script carries on, how ca i get this to work?!?
 
I actually have too many requests since I can't script, but the main thing I need is a script to give you a Dratini before you leave Prof. Oak's Lab.
 
Rightio, who knows how to make an Over World sprite visible in FR? Thanks in advance.
 
I found the trainer script and see how it works but what if I just wanted to make a regular NPC that doesnt battle and you could talk to him/her. What would this script look like?
 
Status
Not open for further replies.
Back
Top