• 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.
@flash.
this should make it work.
Code:
#org $start
applymovement 0x08 $move (Gary's move)
pausemove 0
message $stole
boxset 6
applymovement 0x08 $move2
pausemove 0
applymovement 0xFF $move2 (hero move)
pausemove 0
applymovement 0x08 $move3
pausemove 0
message $here
setflag 0x201
release
end


#org $move
#raw 0x62 0x0C 0x0f 0x0f 0x0f 0x0f 0x03 0xFE

#org $move2
#raw 0x0A 0x0A 0x01 0xFE

#org $move3
#raw 0x0A 0x0A 0x09 0x04 0xFE

#org $stole
$stole 1 =No way!\n\v\h01 I want that pokemon.

#org $here
$here 1 =Here,take this one.

You forgot a couple of pausemoves.
Use pausemove or pause after every Applymovement
 
@younghove

thanks alot,it worked.
 
Yea, just remember to put pausemove after every movement

Can anyone tell me whats wrong with this script?

Code:
#org $start
lock
faceplayer
message $ash
boxset 6
message $dragonite
boxset 6
message $ash2
compare LASTRESULT 0x01
if b_true goto $take
special 0x161
applymovement 0x07 $move
pausemove 0
applymovement 0x07 $move2
pausemove 0
setflag 0x201
release
end

#org $take
giveitem 342 1
release
end

#org $move
#raw 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE

#org $move2
#raw 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x60 0xFE

#org $ash
$ash 1 = \c\h01\h08\v\h01: Something for me?

#org $dragonite
$dragonite 1 = \c\h01\h04You've been chosen to join a\ngroup of POKEMON trainers at a gathering. It\pwill be hosted by my master, the world's\ngreatest POKEMON trainer at his palace on New Island.\pA ferry will leave at Old Shore Wharf to take you to\nthe island this afternoon. Only Trainers with this invitation \pwill be admited. If you decide to attend you must\nreply at once. My master awaits you.

#org $ash2
$ash2 1 = \c\h01\h08\v\h01: I guess the world's number-one trainer wants to\nchallenge me to a match!

Actually the script works now! I forgot the boxset 6.
Is there a way to allow someone to surf without a badge?
 
Last edited:
Oh it's been a while. What my problem is;
You don't receive the pokemon. The rest of tyhe script works, just you don;t get the pokemon -_-
Spoiler:
 
try writing 5 instead of 05.
I had a problem with a script because of the item, if it doesn't work with 5 instead of 05 then remove the item to 0.(just to check if it helps, if it doesn't help write the number again)
i did that and than it worked.^^''
 
heres a script that im having problems with this script,i put it into sript in advance map and when i try to test it in the game i cant get to that tiles and a whole are of tiles reset the game when i step on them,can someone help and tell me what to put in all the unknown and var num. spots?

Code:
#org $start
lock
faceplayer
checkflag 0x203
if b_true goto $check
release
end

#org $check
checkflag 0x202
if b_true goto $done
applymovement 0x03 $move1
pausemove 0x0
message $1
boxset 6 
trainerbattle 1 0x001 $before $after $later
end

#org $before
$before 1 =GO!

#org $after
$after 1 =Not bad.

#org $later
message $2
boxset 6
applymovement 0x03 $move2
pausemove 0x0
setflag 0x202
release
end

#org $done
release
end


#org $move1
#raw 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0xFE

#org $move2
#raw 0x12 0x11 0x11 0x60 0x1F 0x1F 0x1F 0x1F 0xFE


#org $1
$1 1 =Who are you?\p......\nSo your \v\h01?\pThe proffesor told\n me about you.\pMy names ANDREW,lets\nbattle!

#org $2
$2 1 =Well I have to go.\nSee ya!
 
Oh it's been a while. What my problem is;
You don't receive the pokemon. The rest of tyhe script works, just you don;t get the pokemon -_-
Spoiler:

It works. You get a Pichu. What you don't get is the word POKEMON in the start menu. Maybe there's a flag somewhere that sets its appearance..
 
are there offsets for the players movement? by movement I mean when you press the left button, the event that will happen is that the player moves left. press up, player moves up and so on.
 
hey i am new to scripting and wanted help on a script for like when you press a on a tile you fight the pokemon and make a person block an area until you have beaten the elite four also can someone tell me of a proper script editor and where to download it
 
I don't think there's a way you can 'force' the player to catch a wild pokemon... :\
Code:
#org $wild
checkflag 0x200
if b_true goto $done
cry 0xA1 0x21
pause 0x28
message $roar
boxset 6
wildbattle 0x21 10 0
pausemove 0x68
fadescreen 0
setflag 0x200
release
end

#org $done
release
end

this script isn't tested...
 
normally cry needs two "nop"s.
cry 0xA1 0x21
nop
nop


did u forget it or can u write a pause instead of it?
(interesting if u can replace the nops ^^)
 
Oh, I know how to make a wild encounter script, but thankyou very much. My main problem was the catching thing, oh well, I'll just make a catch afterwards, like, from above with the overworlds.

By the way how would I do it?
 
Last edited:
Status
Not open for further replies.
Back
Top