• 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 Trading Card Game 2 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.
Hmmm....

I'm one of those people who needs help with their weather script....

It's a script where if you talked to a rock it would start raining...

Everything works except the raining....

Here's the script:

Spoiler:


Edit: I also need help with this script. It activates a race between the player and another sprite.
The talking works but after the player moves the other sprite won't move.


Spoiler:
 
Last edited:
My script:

#org $begin
lock
faceplayer
checkflag 0x200
if b_true goto $alreadygot
message $oran
$oran 1 =Hey, do you like ORAN BERRIES?
boxset 5
compare LASTRESULT 1
if 1 goto $yes
message $no
$no 1 =Oh allright, I can just \nkeep them then.
boxset 6
release
end

#org $yes
=Here you go! \pHave an ORAN BERRY!
boxset 6
giveitem 0x8B 0x1
setflag 0x200
release
end

#org $alreadygot
lock
faceplayer
message $berries
$berries 1 =POKEMON love berries \pYou also don't have to use them \nif you give it to one \nit will use it when it needs to.
boxset 6
release
end
 
Here's your script. Fixed and ready to be put into a ROM. Please study this script.
Code:
#org $begin
lock
faceplayer
checkflag 0x200
if b_true goto $alreadygot
message $oran
$oran 1 = Hey, do you like ORAN BERRIES?
boxset 5
compare LASTRESULT 1
if 1 goto $yes
message $no
$no 1 = Oh alright, I can just \nkeep them then.
boxset 6
release
end

#org $yes
lock
faceplayer
message $ty
$ty 1 = Here you go! \pHave an ORAN BERRY!
boxset 6
giveitem 0x8B 0x1
setflag 0x200
release
end

#org $alreadygot
lock
faceplayer
message $berries
$berries 1 = POKEMON love berries \pYou also don't have to use them \nif you give it to one \lit will use it when it needs to.
boxset 6
release
end

And here's a video, proof that it'll work. ^^
 
Last edited:
Script Help

Yeah, hey, I'm pretty new here, signed up today and all. But actually I've been using Advanced-Map for awhile now. Basics are easy enough to understand just by fooling around with and, and thats how I got to where I am now.

Not meaning for this to be a "Hey I'm new, help me" type thread, so I'll just get to the point.

I've read Pie's Tut on how to Compile the Script, I've gone through Spenceroon3's Script Tut as well. But for some reason, although I'm doing every step by step and have even tried it a few ways, it seems like this scripting just won't work. I've downloaded the tools, Poke Script and PokeAdv, I get the right click "Compile Script" It opens everything without a hitch. What's sad is I'm still having problems on a basic Talk Command. This is the script I put in:

#org $Showtext
lock
faceplayer
message $Sign1
$Sign1 1 = I love tuti-fruiti
boxset 6
release
end

Ok, so I didn't really make the script say, "I love tuti-fruti", it's just an example. Is there anything wrong with it? Can I get a few things to test to see if i screwed Advanced Map up in some sort of way? Thanks.
 
I have a question about a script I WANT to make - not one that isn't working. >>

Obviously there are GIVE Pokemon scripts. But...is there a TAKE Pokemon script? For example, remember the guy in G/S/C that gave you the Shuckle, and then took it back later on? What I was planning was you borrow someone's Pokemon until you catch your own, and then return it, but I haven't seen anything about a take script.
 
Okay. If noboby answers my question about the PokeTronic, then I have an other one :

How can I set the WildBattle Music in a normal script?
 
Hey DJG, could you help me with my script.
The script I'm doing is on page 27, post # 665.
Thanx.
 
Last edited:
Why'd ya asked me? My specialty is Ruby, and not FireRed... :\
But here's a script you asked...
Code:
#org $start1
checkflag 0x200
if b_true goto $done
applymovement 0xFF $alert
pausemove 0
message $say
boxset 6
applymovement 0xFF $down
pausemove 0
release
end

#org $start2
checkflag 0x200
if b_true goto $done
applymovement 0xFF $alert
pausemove 0
message $say
boxset 6
applymovement 0xFF $up
pausemove 0
release
end

#org $done
release
end

#org $alert
$alert 1 ; #binary 0x62 0xFE

#org $down
$down 1 ; #binary 0x0C 0xFE

#org $up
$up 1 ; #binary 0x0D 0xFE

#org $say
$say 1 = \v\h01: I guess I have to say\n'goodbye' to my mom before I go.

I guess it's self-explanatory which script you will put in either doormats... :\

-Not sure about the movements though... I never script for FireRed once...-


Here's the video of the script I made for you in FireRed...
 
Last edited:
Everyone else was generous to help me but my ROM kept freezing and your a great scripter and I thought you would know, even though your specialty is Ruby.

I'm gonna switch to RUBY for my hack instead.
Could you make me a script for that plz, thanx.
 
WOW!!!!!!!!
I don't get how It works for you.
May be it's because I have too many copies of fire red?
No matter what happens, it always freezes.
 
Are you sure It's a clean ROM?

Yep, I'm sure.
I've been making copies of a clean Fire Red ROM like forever!
The very first one that says Pokemon Fire Red-->copy-->paste.
They're all clean...
I'm not sure what's wrong...
 
help scripting

I want a script that, as soon as you go downstairs in FR Version, your mom gets an exclamation mark over her head, calls you over, you walk over, and she says,
"Oh, [PLAYER], I love this
new house by the sea!
Oh, yes! I heard that
CRUSTY ISLAND is
down there, somewhere!"
and then we both turn towards the TV with exclamations mark over our heads and the TV says,
"ANNOUNCER: We have
just received an important
announcement! PROF. RIO
is giving away free LEGENDARY
POKéMON today only!"
and then you and your mom turn towards each other, and your mom says,
"Well! I'll be! I think
that you should go
and take this opportunity
right now! Go and make
me proud, honey!"
and then your mom turns back to the table.
If you could do that, that would be so awesome!

Thanks in advance
 
This is more so a help with an already made script thread than a script request thread. I believe that there used to be a script request thread.
 
Scripting HELP!!!

Like I said before the backup I need help with this script. Whenever I use it, MOM goes crazy.


#org $begin
lock
faceplayer
checkflag 0x201
if b_true goto $mom
setflag 0x201
applymovement 0x1 $mark
pausemove 0
message $likehouse
$likehouse 1 =MOM: Oh, \v\h01, I love this\nnew house by the sea!\pOh, yes! I heard that\nCRUSTY ISLAND is\ndown there somewhere!
message $announceone
$announceone 1 =ANNOUNCER: Attention!\nWe interrupt this movie\nfor this announcement!
applymovement 0x1 $potsnot
applymovement 0xFF $potsnot
applymovement 0x1 $mark
applymovement 0xFF $mark
pausemove 0
message $announcetwo
$announcetwo 1 =The RIO POKéMON\nRESEARCH LAB\nHAS JUST GOTTEN\nROBBED!
applymovement 0x1 $turn
applymovement 0xFF $turns
pausemove 0
message $ohno
$ohno 1 =MOM: Oh no! How horrible!\nHe had told me\nthat he had a\nLEGENDARY POKéMON for\nyou!\pI WONDER IF IT\nGOT STOLEN! \pOH MY GOODNESS!!!!!\pI think that you\nshould check the\nLAB to see\nif PROF. RIO is\nokay!
release
end

#org $mom
message $mom
$mom 1 =CRUSTY ISLAND is\ndown there somewhere\nin the sea!\pI hope to visit it someday.
release
end

#org $potsnot
#raw 0x01
#raw 0xFE

#org $mark
#raw 0x62
#raw 0xFE

#org $turn
#raw 0x03
#raw 0xFE

#org $turns
#raw 0x02
#raw 0xFE

Please tell me: WHAT'S WRONG?!?!?!

P.S.:I need a script to activate the Pokemon Menu. PLEASE HELP!!!
 
Status
Not open for further replies.
Back
Top