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

[Archive] Script help thread

Status
Not open for further replies.
BIGGIE script :O
Can someone check this script I can't do it i'm to tired of writing it :P
Spoiler:



If you are using XSE then there is a proofread function built in that tells you the line and char were it notices an unrecognized command.
 
Looks like its still not working :(

Still thanks for the help... I'm gonna keep reading around and hope I figure it out.
 
I don't use XSE..

But does anyone know how to make sprites disappeatr in a script and I really mean disappear not that when you move their back or if you re enter the map their back????

hmm try putting this number 002C in advance map under player id
if it doesn't work try 003B
 
Spoiler:


In this script, do I just write waitmovement or waitmovement with a 0?
Also please check if the script is correct.
Another question, when I use "special 0x17B", for a ship script, I always transport me to one of the Islands( 1,2,etc)
Is there a way to change that? I want to go somewhere else.
Thanks in advance.
 
Last edited:
wacht this script why don'go!
when i insert it the people talk but don't move why?
you can help me!
 
Spoiler:


In this script, do I just write waitmovement or waitmovement with a 0?
Also please check if the script is correct.
Another question, when I use "special 0x17B", for a ship script, I always transport me to one of the Islands( 1,2,etc)
Is there a way to change that? I want to go somewhere else.
Thanks in advance.
Yeah, just put waitmovement 0 :) And I don't know how t do that, although if I remember right there was a tutorial somewhere about that....

wacht this script why don'go!
when i insert it the people talk but don't move why?
you can help me!
Uhhh...What exactly are you talking about? It would help if we could see the script.
 
Tamerhaider, read the Rom Hackers Newsletter. The second one has a thing on how to do that.
 
Code:
#Dynamic 0x9A6740

#org @start
checkflag 0x201
if b_true goto @gone
lock
faceplayer
giveitem 0x3 0x5 0x0
setflag 0x201
release
end

#org @gone
hidesprite 0x8
end

It doesn't work somehow... Anyone knows why?
 
this is correct?
#dynamic 0x877569

#org @start
lock
faceplayer
applymovement 0x0F @lino
waitmovement 0x2
message @trino
boxset 6
release
end

#org @lino
#raw 0x1
#raw 0x1
#raw 0xFE

#org @trino
= Ciao.
 
Code:
#Dynamic 0x9A6740

#org @start
checkflag 0x201
if [B]0x1[/B] goto @gone
lock
faceplayer
giveitem 0x3 0x5 0x0
setflag 0x201
[B]warp 0x(add the correct # here) 0x 0x 0x 0x[/B]
[B]hidesprite 0x8[/B]
release
end

#org @gone
release
end

end
It doesn't work somehow... Anyone knows why?

The way hidesprite works for me, is that you need to place a warp in the spot the player will be, and warp to that spot after the hidesprite activates.Add a warp on advanced map, it doesn't have to go anywhere...
 
T can you help me i have post my problem in the before message please help me!
 
BUT CALLSTD ISN'T FOR POKET SCRIPT
 
ok thank you i remember you
 
Code:
#Dynamic 0x86A7E4

#org @start
lockall
applymovement 0x9 @left
waitmovement 0x0
call @start2
releaseall
end

#org @start2
checkflag 0x204
if b_true goto @gone
checkflag 0x861
if b_false goto @nodex
else goto @havedex
end

#org @havedex
msgbox @upgrade
boxset 0x5
compare LASTRESULT 1
if b_true goto @getdex
else goto @notwant
end

#org @upgrade
= Hello there. I just noticed that\nyou have a POKéDEX. I research\lPOKéMON from foreigns lands like\lKANTO and JOHTO. Would you like me\lto upgrade your POKéDEX so that it\lcan store those POKéMON's data?

#org @getdex
msgbox @receivedex
fanfare 0x13E
boxset 0x6
special 0x1F3
waitfanfare
fadescreen 1
hidesprite 0x9
fadescreen 0
setflag 0x204
end

#org @receivedex
= [player]'s POKéDEX got upgraded.

#org @notwant
msgbox @no
boxset 0x6
end

#org @no
= Oh? You don't want to? Well that's\nok then. If you change your mind,\lcome see me again.

#org @nodex
msgbox @hello2
boxset 0x6
end

#org @hello2
= Hi there. I'm researching POKéMON\nfrom foreign lands like KANTO and\lJOHTO. If you could bring me a\lPOKéDEX, I would upgrade it with\lthe information about POKéMON found\lonly there.

#org @gone
hidesprite 0x9
end

#org @left
#raw 0x02
#raw 0xFE

Plz help. I dunno how to use setvar (don't understand how they use it in tutorials) so plz explain. [NOTE: The script without the first part (the part before start2) works perfect, but I need the applymovement thing so that the person who's part of that script turns toward me when I'm passing left to him]
 
Code:
#Dynamic 0x86A7E4

#org @start
lockall
applymovement 0x9 @left
waitmovement 0x0
call @start2
releaseall
end

#org @start2
checkflag 0x204
if b_true goto @gone
checkflag 0x861
if b_false goto @nodex
else goto @havedex
end

#org @havedex
msgbox @upgrade
boxset 0x5
compare LASTRESULT 1
if b_true goto @getdex
else goto @notwant
end

#org @upgrade
= Hello there. I just noticed that\nyou have a POKéDEX. I research\lPOKéMON from foreigns lands like\lKANTO and JOHTO. Would you like me\lto upgrade your POKéDEX so that it\lcan store those POKéMON's data?

#org @getdex
msgbox @receivedex
fanfare 0x13E
boxset 0x6
special 0x1F3
waitfanfare
fadescreen 1
hidesprite 0x9
fadescreen 0
setflag 0x204
end

#org @receivedex
= [player]'s POKéDEX got upgraded.

#org @notwant
msgbox @no
boxset 0x6
end

#org @no
= Oh? You don't want to? Well that's\nok then. If you change your mind,\lcome see me again.

#org @nodex
msgbox @hello2
boxset 0x6
end

#org @hello2
= Hi there. I'm researching POKéMON\nfrom foreign lands like KANTO and\lJOHTO. If you could bring me a\lPOKéDEX, I would upgrade it with\lthe information about POKéMON found\lonly there.

#org @gone
hidesprite 0x9
end

#org @left
#raw 0x02
#raw 0xFE

Plz help. I dunno how to use setvar (don't understand how they use it in tutorials) so plz explain. [NOTE: The script without the first part (the part before start2) works perfect, but I need the applymovement thing so that the person who's part of that script turns toward me when I'm passing left to him]
Whats wrong with it and why do you need setvar?
 
Status
Not open for further replies.
Back
Top