SOS Brigade


 
HomeCalendarFAQRegisterLog in
Latest topics
» What Pokemon Type Duo do you think is best
Wed Jul 16, 2014 12:42 pm by NintendJoshz

» Sub to Sub proposal
Sun Jun 29, 2014 8:33 am by PokemonRomVideos

» I need a little help...
Sun May 25, 2014 9:21 am by Philip2702

» One Pokemon
Sun May 25, 2014 6:29 am by Philip2702

» Whats Your Favorite Pokemon Game
Sat May 24, 2014 4:44 pm by Philip2702

» What is your favorite Gym Leader of all time?
Wed May 21, 2014 9:00 pm by NintendJoshz

» MO or Poke Cinema?
Wed Jan 01, 2014 7:02 am by crystalisk

» can anyone find me a Sonic Adventure 2 rom
Sat Nov 09, 2013 12:49 pm by Shawnroxxx99

» New youtuber no one knows about :3
Sun Oct 27, 2013 8:39 pm by Magic

Search
 
 

Display results as :
 
Rechercher Advanced Search
Share | 
 

 I wrote you guys a national dex script

View previous topic View next topic Go down 
AuthorMessage
ChikoritaMudkipz



Posts: 91
Join date: 2009-06-30
Age: 19
Location: Canada

PostSubject: I wrote you guys a national dex script   Sun Aug 02, 2009 2:24 pm

Well since everybody seems to have trouble coming up with a script to give the player the national dex in their hack, I have written this little code for you all. It works with leafgreen/firered. and if there is a demand for saphire/ruby I will post that also, as well as emerald.

for FR/LG the code is

Code:
#org $start
lock
faceplayer
checkflag 0x502
if b_true goto $done
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $done
message $3
boxset 6
release
end

#org $take
special 0x16F
applymovement 0x04 $move
pausemove 0
message $3
boxset 6
setflag 0x502
release
end

#org $move
#raw 0x13 0x00 0xFE

#org $1
$1 1 =before you move on,\nLet me upgrade your pokedex.

#org $2
$2 1 =I can't let you go on until \nyou upgrade

#org $3
$3 1 =good luck on your adventure.


put this on a person event (scientist or something) and make the person event number 4. this script give the player a yes/no option to upgrade. if no, the scientist stays there, if hes he take a step to the left and looks down. place him blocking a path at the beginning, and your set.

I hope this helped anyone with troubles

also this is pokescript.
also note that this is one way, if you set him blocking a way, the player can't go back that way. as he will not move a second time
Back to top Go down
Amphy



Posts: 868
Join date: 2009-04-30
Age: 17

PostSubject: Re: I wrote you guys a national dex script   Sun Aug 02, 2009 3:35 pm

Thanks! this'll help alot!
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
MunchingOrange



Posts: 352
Join date: 2009-04-08
Age: 19
Location: Puerto Rico

Characters
CLASS: Wood Elf
HP:
9001/9001  (9001/9001)
Tribe: Steelie

PostSubject: Re: I wrote you guys a national dex script   Sun Aug 02, 2009 4:55 pm

Yeah, it really will help quite a lot!

_________________
Youtube
Back to top Go down
http://youtube.com/user/MunchingOrange
ChikoritaMudkipz



Posts: 91
Join date: 2009-06-30
Age: 19
Location: Canada

PostSubject: Re: I wrote you guys a national dex script   Sun Aug 02, 2009 8:35 pm

remember it's one way, so if you leave the map and come back he will be in his original place with no way to move him.
also if anyone wants this script in ruby/sapphire or even emerald just ask.
Back to top Go down
MunchingOrange



Posts: 352
Join date: 2009-04-08
Age: 19
Location: Puerto Rico

Characters
CLASS: Wood Elf
HP:
9001/9001  (9001/9001)
Tribe: Steelie

PostSubject: Re: I wrote you guys a national dex script   Sun Aug 02, 2009 8:48 pm

uh, when I try to put the script on a person, it says: "Too less parameters on line 6. The correct number is 2." Do you know how to fix this?

_________________
Youtube
Back to top Go down
http://youtube.com/user/MunchingOrange
ChikoritaMudkipz



Posts: 91
Join date: 2009-06-30
Age: 19
Location: Canada

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 1:04 am

MunchingOrange wrote:
uh, when I try to put the script on a person, it says: "Too less parameters on line 6. The correct number is 2." Do you know how to fix this?

where does it say this?
the script works perfectly for me.
make sure you haven't used that setflag yet
Back to top Go down
Acee



Posts: 233
Join date: 2009-05-31
Age: 18
Location: UK

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 12:49 pm

I love you. Thank you so much..........I love you. Nahh But thanks alot.
Back to top Go down
Gomlet X



Posts: 512
Join date: 2009-06-28
Age: 18
Location: In front of my comp

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 7:09 pm

hmm, the only problem is for in my hack you have to be able to go back to the place.... WAIT I FIGURed it out! Ok guys if you are going to have it so the person has to be able to go back to the town, make the thing blocking the way by the guy a tree you can cut, rock you can smash, or boulder you can push :)


PS: THX SO MUCH
Back to top Go down
Gomlet X



Posts: 512
Join date: 2009-06-28
Age: 18
Location: In front of my comp

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 7:28 pm

Oh, um where do you get pokescript :P
EDIT: nvm


Last edited by Gomlet X on Mon Aug 03, 2009 7:52 pm; edited 1 time in total
Back to top Go down
Gomlet X



Posts: 512
Join date: 2009-06-28
Age: 18
Location: In front of my comp

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 7:52 pm

omgwtf it says dis when I try to compile

Opened file.
#ORG
-> 0x0
CHECKFLAG
-> 0x502
IF
Unknown value in IF (Value must be integer)
Back to top Go down
MunchingOrange



Posts: 352
Join date: 2009-04-08
Age: 19
Location: Puerto Rico

Characters
CLASS: Wood Elf
HP:
9001/9001  (9001/9001)
Tribe: Steelie

PostSubject: Re: I wrote you guys a national dex script   Mon Aug 03, 2009 8:07 pm

ChikoritaMudkipz wrote:
where does it say this?
the script works perfectly for me.
make sure you haven't used that setflag yet

I dont know what a setflag is, but when I try to put the script on a character in the game it shows that error
PS. I use XSE

_________________
Youtube
Back to top Go down
http://youtube.com/user/MunchingOrange
ChikoritaMudkipz



Posts: 91
Join date: 2009-06-30
Age: 19
Location: Canada

PostSubject: Re: I wrote you guys a national dex script   Thu Aug 06, 2009 3:13 am

I use pokescript
just straight not pad and what not.
I think I used a handle or something not used in XSE
sorry
Back to top Go down
Amphy



Posts: 868
Join date: 2009-04-30
Age: 17

PostSubject: Re: I wrote you guys a national dex script   Fri Aug 07, 2009 6:31 pm

I use pokewitch. It imported perfectly. I do everything you said on there (and before you ask yes i did use pokewitch) but the script does nothing. It doesn't freeze up the game, but it doesn't do anything else, before you ask I even set the event number to four. Help!
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
ChikoritaMudkipz



Posts: 91
Join date: 2009-06-30
Age: 19
Location: Canada

PostSubject: Re: I wrote you guys a national dex script   Fri Aug 07, 2009 7:24 pm

Amphy wrote:
I use pokewitch. It imported perfectly. I do everything you said on there (and before you ask yes i did use pokewitch) but the script does nothing. It doesn't freeze up the game, but it doesn't do anything else, before you ask I even set the event number to four. Help!

did you put the script itself on the person?

also this script is only for FR/LG
Back to top Go down
Amphy



Posts: 868
Join date: 2009-04-30
Age: 17

PostSubject: Re: I wrote you guys a national dex script   Sat Aug 08, 2009 5:58 am

I'm using FR. I asigned the script to the person, yet nothing happens...
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
 

I wrote you guys a national dex script

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SOS Brigade ::  :: -