• 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.
Dud you need to read my guide if you don't get that...
 
I burned it.
If he see me, the game makes a reset.
 
Last edited:
Look, the script worked on my Pc. Only the last message shouldn't work because I forgot to write Boxset 6 under message (my bad)
all other glitches must be in your game...
 
Oh no.
The guy comes to me and then a red background appears --> game freezes.
By the way, he isn't available.

Well, I'll try to correct this script myself XD
 
#org $battle
message $roar
boxset 6
wildbattle 1 5 0
fadescreen 0
#raw 53
#raw <ppl nr>
#raw 00
setflag 0x200
release
end

#org $roar
$roar 1 = Bulba!

Doesn't work. Just skips wildbattle part!
 
made from scratch... hope this will solve your jirachi script problem... :\
Code:
#org $jirachi
checkflag 0x200
if b_true goto $done
message $roar
boxset 6
wildbattle 0x199 30 1
setflag 0x200
release
end

#org $done
message $roar
boxset 6
release
end

#org $roar
$roar 1 = JIRACHI: Wish... For the star...

- edited -
May I ask for some help..? I wanna know how to activate the clock in a POKMON Ruby U.S. Version ROM...
Thanks in advance... ;)
 
I burned it.
If he see me, the game makes a reset.

@ Teh Blaziken :
I have read your scripting school.
I only don't check this :
checkflag 0xXXX
What numbers I have to insert?

Um...dude I directly said: "you can fill this out with any three numbers starting at 200".
Oh
@DJG Might try to extract the script from a regular ROM using PKSV.
 
#org $jirachi
checkflag 0x200
if b_true goto $done
message $roar
boxset 6
wildbattle 0x199 30 1
setflag 0x200
release
end

#org $done
message $roar
boxset 6
release
end

#org $roar
$roar 1 = JIRACHI: Wish... For the star...

STILL, just skips wildbattle! DARN!
 
Yeesh the wish...For the star thing sounds like a Satanic ritual.
as for battles i don't know how to do it let alone find the errors.
 
I'm working on a movement script for somebody, but I'm getting a weird problem.

Code:
#org $start
Checkflag 0x203
if B_true goto $done
applymovement 0x01 $move
applymovement 0xFF $playamove
pausemove 0
Message $poke
Message $recieve
Message $goodluck
Boxset 6
Applymovement 0x01 $moveback
setflag 0x203
Release
End

#org $done
Release
End

#org $move
$move 1 ; #binary 0x0F 0xFE

#org $playamove
$playamove 1 ; #binary 0x02 0xFE

#org $poke
$poke 1 = Take this POKEMON.

#org $recieve
Givepokemon 306 5 0
Jingle
Message $here

#org $here
$here 1 = You recivied a Shroomish.

#org $goodluck
$goodluck 1 = Good luck, \v\h01!

#org $moveback
$moveback 1 ; #binary 0x0E 0xFE
Here's what's supposed to happen: When the character steps on the tile, another character takes a step to the right and says something. They give the character a pokemon, say something else, then return to where they were.

Here's what I get:
[PokeCommunity.com] [Archive] Script help thread


When I step on the script tile, the character moves one step, but says the last message that's supposed to appear, followed by the game freezing while that weird box appears. Any corrections in my script would be appreciated; movement scripts aren't my strength right now, and I think that's what's messing it up.
 
@Jack Of Blades Try this bud.
Spoiler:
 
@Jack Of Blades Try this bud.
Spoiler:

Ah, there we go! Thanks Blaziken, you defintely are teh coolest. Seems that I left out those "boxset 6"'s that you put, and also had to decapitalize the "A" in applymovement, which made a surprisingly big difference.

One question more. How would you insert sound effects in the middle of a script (like the gym leaders, or finding an item)?
 
Yeah you shouldn't doubt his teh coolness-ness.

Anyways i haven't tried this script out yet but can someone tell me what is wrong with it if there is something wrong with it?

#ORG $begin
lock
faceplayer
message $yesno
boxset5
compare LASTRESULT 1
if B_true goto $yes
message $no
boxset 6
release
end

#ORG $yes
message $yep
boxset 6
release
end

#ORG $yesno
$yesno 1 = Hey did you watch\nthe superbowl?

#ORG $no
$no 1 =Then you are NOT\na man!

#ORG $yep
$yep 1 = It was cool\n wasn't it?
 
Can someone tell me how to make, or where I can find commands for this script:

I want a person to ask What item would you like, and then a Box comes up like this

__________
| Potion |
| Full Heal |
| Pokeball |
L _______ J

Cant find any toturials that shows me how at the moment...
 
Code:
#org $start
lock
faceplayer
checkflag 0x210
message $saluteandpkmn
boxset 0x6
givepokemon 369 5 164
jingle
message $recieved
boxset 0x6
message $salut
boxset 0x6
applymovement 0x07 $move
pausemove 0
setflag 0x210
release
end

#ORG $saluteandpkmn
$saluteandpkmn 1 =Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!

#ORG $recieved
$recieved 1 =\v\h01 recieved GIBLE.

#ORG $salut
$salut 1 =Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!

#ORG $move
#raw 0x08 
#raw 0x08
#raw 0x0A
#raw 0x08
#raw 0x0A
#raw 0x0A
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0xFE
Is this script good for a person?
I mean If a talk to a person it activates?

Can you correct something if is wrong?
 
so It will be like this ?

Code:
#org $start
lock
faceplayer
checkflag 0x210
message $saluteandpkmn
boxset 0x6
givepokemon 369 5 164
jingle
message $recieved
boxset 0x6
message $salut
boxset 0x6
applymovement 0x07 $move
pausemove 0
setflag 0x210
release
end

#ORG $saluteandpkmn
$saluteandpkmn 1 =Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was 

very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!

#ORG $recieved
$recieved 1 =\v\h01 recieved GIBLE.

#ORG $salut
$salut 1 =Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!

#ORG $move
$move 1; #binary 0x08 0x08 0x0A 0x08 0x0A 0x0A 0x08 0x08 0x08 0xFE
 
It's pretty solid, including what megiddo said. But there's a bunch of common mistakes you made in the second half.

Code:
#ORG $saluteandpkmn
$saluteandpkmn 1 = Oh, hi!\nYou must be \v\h01!\pYour sister came, minutes ago, for\nher own POKEMON too.\pAnyways she chose an EEVEE.\nShe was 

very excited!\pI kept you a very energetic,\nbut timid POKEMON.\pIts name is GIBLE. Here you have!\nIt's all yours!

#ORG $recieved
$recieved 1 = \v\h01 recieved GIBLE.

#ORG $salut
$salut 1 = Ok! That's all. I have to go\nand investigate some POKEMON outside.\pSee you!

#ORG $move
$move 1 ; #binary 0x08 0x08 0x0A 0x08 0x0A 0x0A 0x08 0x08 0x08 0xFE

Spaces make a surprising amount of difference in a script.
 
Can someone tell me how to make, or where I can find commands for this script:

I want a person to ask What item would you like, and then a Box comes up like this

__________
| Potion |
| Full Heal |
| Pokeball |
L _______ J

Cant find any toturials that shows me how at the moment...
What you want is a pokemart script:
thethethethe said:
#org $StartMarket
lock
faceplayer
pokemart $marketValues 'pointer to items in the pokemart.
release
end

#org $marketValues
#binary int 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 'items. So in this case it's Masterball, Ultraball, Greatball, pokeball, etc
#binary int 0x9 0xa 0xb 0xc 0x13 0x14 0x0 'continueing items... Must End in 0x0 otherwise it won't work.
 
Status
Not open for further replies.
Back
Top