• 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!
  • 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.
I had a title screen done, ever since, my scripts wont work?

im using pokescript, they compile, but when i test them they wont work.
 
anyone know a working berry script?
 
What are the scripting codes for up arrow in text box and down arrow in text box?
 
Okay. Thank you. Can someone tell me what is wrong with this script? Nothing happens when you step on the tile.

Spoiler:
 
anyone know a working berry script?

Like a berry tree from G/S/C? I beleive I could make one...it would deal with randomization, so you would not know if you would get a berry or not...of course then you could just talk to it over and over again to get a berry...I have been researching time in Pokemon Games. There seems to be a way to make things time-based, but it's sorta difficult to find out how. You could also just make it check for a flag thatn happens later in the game before it would bear any more berries. So then it would act like a progress-wise deal. Just specify which one you would prefer, and I'll try to write it up for you:)
 
warp 0x24 0x52 0x2

Why does the screen turn black when I use this command? There is nothing wrong with the map or anything..
 
Spoiler:


nothing happens when I talk to the Pokeball... just the "ping" sound o_O

What I want to happen is:

you talk to the Pokeball
you think to yourself
you then take the ball
the ball dissapares
you recive the shiny charmander that's also holding an oran berry.

EDIT: I am using that Shiny Routine thingymabob, so the Charmander is shiny
 
yes, TB Pro me and you can write that script, but it will take awhile so ill drop you a pm, and we can get started.
 
Hi =/ I have a problem too.
Code:
#ORG $begin
checkflag 0x200
if B_True goto $done
applymovement 0x02 $Mumcomes
pausemove 0
message $1
boxset 6
applymovement 0xFF $Igodown
applymovement 0x02 $Shegoesdown
pausemove 0[COLOR="Red"]
applymovement 0x02 $Driving //here it begins getting wrong.
applymovement 0xFF $Driving //The player doesnt want to go with the other sprites.
applymovement 0x01 $Driving 
pausemove 0
applymovement 0xFF $Goup
applymovement 0x02 $Goup
pausemove 0
message $2
boxset 6
applymovement 0x02 $SheAway
applymovement 0xFF $MeUp
pausemove 0
setflag 0x200
Release
end[/COLOR]

#ORG $done
release
end

#ORG $Mumcomes
#RAW 0x56
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0xFE

#ORG $Igodown
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x06
#RAW 0x06
#RAW 0xFE

#ORG $Shegoesdown
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x06
#RAW 0xFE

#ORG $Driving
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0x06
#RAW 0xFE

#ORG $Goup
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0x05
#RAW 0xFE

#ORG $MeUp
#RAW 0x05
#RAW 0xFE

#ORG $SheAway
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0x04
#RAW 0xFE


#ORG $1
$1 1 = Mama: Hi Schatz! Wohin des Weges?\nNach Metropolis? Das ist aber\pein sehr langer Weg bis dahin.\nAußerdem hast du gar kein Pokemon\pdas dich beschützen könnte...\nUnd der Weg führt durch die\pHöhle des Ungewissen.Nein Schatzi!\nIch nehme dich mit dahin!\pWie? Tja, mit dem Auto! Komm.

#ORG $2
$2 1 = Mama: So. Viel Glück auf\ndeiner Reise. Werde der weltbeste\pPokemontrainer und mach deine Mama\pstolz... Achja,Vergiss nicht\ntäglich die Unterwäsche zu wechseln.\pMachs Gut und komm bald wieder.
 
I had that problem to.
Try :
Warp 24 52 2

It worked.... Had to change something else

#org $start
callasm 0x71B771
#raw 0x1
checkflag 0x200
if b_true goto $done
givepokemon 4 5 0x8B
message $take
boxset 6
applymovement 0x60 $balldiss
callasm 0x71B771
#raw 0x01
setflag 0x828
setflag 0x200
release
end

#org $done
messag $balldiss
boxset 6
release
end

#org $take
$take 1 = (You forgot a space here) \v\h01's mind: This must be\nthe ball she ment! I wonder how this
\pis special? Oh well, I guess\nI'll find out soon enough!


#org $balldiss
$balldiss 1 ; #binary 0x60 0xFE
 
Last edited:
now it will show the thoughts, but the rest isn't happening...

for reference:

Spoiler:


what SHOULD happen:

you talk to the Pokeball
you think to yourself
you then take the ball
the ball dissapares
you recive the shiny charmander that's also holding an oran berry.

what is happening instead:
You talk to the ball
you think to yourself
nothing else
 
Last edited:
When I applied an trainerscript to a person, I walked into the grass and I had to fight against a wild pokemon I fled and then I became the person (that trainer.)

Code:
#org $Trainer1
lock
faceplayer
trainerbattle 1 0x002 $MadChall $MadDefeat
$MadChall 1 = My bugs will crush you!
$MadDefeat 1 = NOOO!
message $MadTalk
$MadTalk 1 = My bugs need more practise..
boxset 6
release
end
 
Hi, what's wrong with that script?
Code:
#org $debut
lock
faceplayer
message $ond
bosxet 6 
special 0x157
applymovement 0xFF $move
pausemove 0x0
applymovement 0x04 $move2
pause 0x30
message $arg
boxset 6
applymovement 0x04 $move3
pause 0x30
release
end

#org $ond
$ond 1 =Hey!!!\nPrends pas mon velo!!

#org $move
#raw 0x10 0xFE

#org $move2
#raw 0x12 0x12 0x62 0xFE

#org $arg
$arg 1 =Je vais appeler l'agent\nJenny.

#org $move3
#raw 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
 
Last edited:
Hi, what's wrong with that script?
Code:
#org $debut
lock
faceplayer
message $ond
[COLOR=Red][U][B] bosxet 6 [/B][/U][/COLOR]
special 0x157
applymovement 0xFF $move
pausemove 0x0
applymovement 0x04 $move2
pause 0x30
message $arg
boxset 6
applymovement 0x04 $move3
pause 0x30
release
end

#org $ond
$ond 1 =Hey!!!\nPrends pas mon velo!!

#org $move
#raw 0x10 0xFE

#org $move2
#raw 0x12 0x12 0x62 0xFE

#org $arg
$arg 1 =Je vais appeler l'agent\nJenny.

#org $move3
#raw 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
I'd say that's the main problem xD
If I find another mistake I tell you.
 
For Daniel: NEVER, I repeat, NEVER use the same offset twice(or more) in one script.
For Kitsune:
Spoiler:
 
Status
Not open for further replies.
Back
Top