SOS Brigade


 
HomeCalendarFAQRegisterLog in
Similar topics
Latest topics
» Sub to Sub proposal
Thu Nov 20, 2014 6:12 pm by MrDanGaming

» My youtube channel
Wed Nov 19, 2014 7:55 pm by MrDanGaming

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

» 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

Search
 
 

Display results as :
 
Rechercher Advanced Search

Share | 
 

 CM'z pokescripting tutorial

View previous topic View next topic Go down 
Go to page : 1, 2  Next
AuthorMessage
ChikoritaMudkipz

avatar

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

PostSubject: CM'z pokescripting tutorial   Tue Aug 11, 2009 6:33 pm

Well with all the members that want to create epic hacks but don't know where to start, I'm here to try and help you guys out.

the tutorial will be set up like so:

SUBTITLE

Code:
example script

explanation

Spoiler:
 

a video link I might post for that section

so let's get started with the basics.

Message Script

Code:
#org $start
lock
faceplayer
message $1
boxset 6
release
end

#org $1
$1 1 =Bill is awesome.\nHe made the box system

I'll start from the top. #org $start is the beginning of the script. Lock makes it so the OW (over world) your interacting with, not walk around any more. faceplayer does it what it says, makes the OW face the player.
message $1 will take it to #org $1. boxset 6 makes the text close after you press the key.

there are more that one boxset however. boxset 5 gives a yes/no option. and boxset 4 doesn't close.

release and end are straight forward, it releases the OW to what it was doing, and end ends the script.

the /n will start a new line in the message box. there can only be 30 characters on a line.

however if you put /n again, you won't see it. so you need to clear the box so your message to continue. for that, we use /p

that's about all for now, let's move on to flags.

Flags

flags are used if you only want something to happen once and more.
there basically an invisible value that the hero takes with him.

Code:

#org $start
lock
faceplayer
checkflag 0x501
if b_true goto $done
message $1
boxset 6
setflag 0x501
release
end

#org $done
message $2
boxeset 6
release
end

#org $1
$1 1 =hello.

#org $2
$2 1 =you've already talked to me

alright so what's new here, well for starters, checkflag 0x501
that will check to see if you have flag 0x501. the next line says if that's true, go to $done. and if not, continue the script. you can also change true to false, which will make it so if you don't have the flag it goes to $done

in $done, I have setflag 0x501, which will give you the flag 0x501.
some flags the game hasn't already used are 0x501-0x79F and 0x200-0x29F but if you play around with it, you'll find more.
also here's some impotant setflags

Spoiler:
 

well that's it for flags, next is give item.

GiveItem

Code:
#org $start
lock
faceplayer
checkflag 0x502
if b_true goto $done
message $1
boxset 6
giveitem 13 1
setflag 0x502
release
end

#org $start
message $2
boxset 6
release
end

#org $1
$1 1 =I work for the pokemart./n here's a sample.
#org $2
$2 1 =enjoy your free sample.



give item has 2 number's after it. The item number, and the amount.
it basically appears like this.
giveitem [potion][1]
here's a list of items

Spoiler:
 

that's all I need to add on giveitem I think

well that's all for now, later tonight I'll post some more on yes/no and give pokemon
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 6:38 pm

Post A vid on how u put in the national dex script STEP by Step plz. No one can do it.
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 6:39 pm

manalord wrote:
Post A vid on how u put in the national dex script STEP by Step plz. No one can do it.

I've come up with a better one, I'll have a header on it also
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 7:37 pm

Ok Because the one u put up b4 dosnt work when i insert it and a lot of Jhoto/Hoeen pokes are avilable in the beging, BTW do u want to script 4 my hack because i am REALLY bad at it because i have a hard time making people speak. lolz
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 7:55 pm

manalord wrote:
Ok Because the one u put up b4 dosnt work when i insert it and a lot of Jhoto/Hoeen pokes are avilable in the beging, BTW do u want to script 4 my hack because i am REALLY bad at it because i have a hard time making people speak. lolz

I made a video on the national dex thing
I'll upload tonight.
I'm scripting for 2 hacks right now, my personal one and the SOS one. so no.
however this tutorial should help you.
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 8:01 pm

ok thanxs anyway :-) hope the vid helps. Also be carfeul with moving traniers on the map because i am 99% postive that is what causes the sprite changer gift. in Emerald X that glitch happens and it only activates in places were i moved traniers
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 8:10 pm

manalord wrote:
ok thanxs anyway :-) hope the vid helps. Also be carfeul with moving traniers on the map because i am 99% postive that is what causes the sprite changer gift. in Emerald X that glitch happens and it only activates in places were i moved traniers

that's why I write my own trainer scripts if they don't work =P
Back to top Go down
MunchingOrange

avatar

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

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 8:46 pm

Awesome tutorial!
I have a request: could you show me how to give away Pokemon.

_________________
Back to top Go down
http://youtube.com/user/MunchingOrange
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 9:04 pm

Coo tutorial, I'm too stupid for this crap though :P
Back to top Go down
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 9:07 pm

Coo tutorial, I'm too stupid for this crap though :P
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 9:25 pm

these scripts will still help howeverm :-)
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 9:29 pm

MunchingOrange wrote:
Awesome tutorial!
I have a request: could you show me how to give away Pokemon.

next I'll do yes/no and give pokemon
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 9:40 pm

cool :-)
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 10:56 pm

GivePokemon&Yes/No

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

#org $take
givepokemon 83 10 339
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $done
message $6
boxset 6
release
end

#org $1
$1 1 =I have this Farfetch'd, but it\n scares me! please take it?

#org $2
$2 1 =That's okay. I'm sure someone\nelse will take it.

#org $3
$3 1 =\c\h01\h02You received a Farfetch'd!

#org $4
$4 1 =\c\h01\h02Would you like to rename Farfetch'd?

#org $5
$5 1 =It has an HM on it also.

#org $6
$6 1 =I hope you're taking good care of\nFarfetch'd.

alright so first thing new is boxset 5. this gives a yes/no option. compar result 0x1 checks if yes or no were pressed.
the if b_true goto $take
checks if it's true that yes was pressed, change it to false and it will check for no.

next new thing is givepokemon.
this isn't as convenient as giveitem, so we'll need to add some things ourself.
but I'm skipping ahead, give pokemon has 3 values.
pokemon/level/item held
for the example I have
[farfetch'd][level 10][holding HM01 CUT]
next we have
fanfare 0x13E
this is the jingle that plays when you recieve something. after that is a message: you received farfetch'd
but following that, is boxset 4.
boxset 4 doesn't close. but then why did I use it? well there needs to be time for the jingle to play.
so we put waitfanfare.
but in order to make the box close we stick in this handy command
#raw 0x68
this turns a boxset 4 into a boxset 6.
then we setflag 0x828 which is the setflag that opens the pokemon option in the menu.
next we have a another yes/no. this is for the nickname. I'm not to familiar with this but
call 0x1A74EB
return
calls up the nickname screen and then returns back to the script. Where another message is displayed in the script ends.
don't worry this script works.
also, if they already have a pokemon, you should change the setflag.
Oh I almost forgot, a list of pokemon.

Spoiler:
 

if you want to take out the yes/no option and just give them the pokemon, your going to need the change the first boxset to 6 and combine $take with $start. You should be able to do this yourself.

Apply national dex

I get A lot of questions about this.

Code:
#org $start
checkflag 0x828
if b_false goto $done
checkflag 0x500
if b_true goto $done
applymovement 0x01 $move
pausemove 0x0
message $1
boxset 6
special 0x16F
applymovement 0x01 $move2
setflag 0x500
release
end

#org $done
release
end

#org $move
#raw 0x62 0x12 0x12 0x01 0xFE

#org $move2
#raw 0x13 0x13 0xFE

#org $1
$1 1 =Hold on\pI'm just going to Update\nyour pokedex.

I won't do to much explaining, although this is a good opportunity to explain special.
the are in a way like flags, and at the same time, completely opposite.
Maybe a list will help.
Spoiler:
 

they activate special things...
depending on what you use, you'll have to use different codes to accompany them. but they all pretty much work on there own.

as for the national dex script, this does NOT go on a person. I will be uploading a video tonight and I will add a link to this on how to apply it.

Video: http://www.youtube.com/watch?v=_2YvzlI_dC0

well that's all for now, tomorrow I'll do some apply movement and maybe trainer battle.

remember anyone can do this. my sign up date is when I started learning. I've been doing this a little over a month and I'm only fourteen. it's the easiest type of script I've ever worked with.

also if any one has requests, I'll try to do them


Last edited by ChikoritaMudkipz on Wed Aug 12, 2009 2:04 am; edited 2 times in total
Back to top Go down
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:08 pm

Wow, all the national dex stuff is what always confuzzled meh lol
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:09 pm

Gomlet X wrote:
Wow, all the national dex stuff is what always confuzzled meh lol

yeah I made a video, It should help A lot.
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:15 pm

oit makes me confused
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:16 pm

manalord wrote:
oit makes me confused
what does?
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:17 pm

the national dex script
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:18 pm

manalord wrote:
the national dex script

once again, the video should help
Back to top Go down
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:23 pm

I need to check out the video.

PS: CMZ check out the pokemon Gomenko Region section its manalords new hack :)
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:25 pm

:-)
Back to top Go down
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:30 pm

manalord wrote:
:-)

lol
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:31 pm

Gomlet X wrote:
manalord wrote:
:-)

lol

alright but this is a tutorial thread not msn so unless you have a request or a question, please stop posting =)
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:37 pm

ok, can u give me the running shoes Script because Brock's town is third in my hack and i doubt people want to wait tell after they have beaten 3 gyms to get it.

BTW do u want to be a GYM Leader/ E4 member in my hack :-)
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:38 pm

manalord wrote:
ok, can u give me the running shoes Script because Brock's town is third in my hack and i doubt people want to wait tell after they have beaten 3 gyms to get it.

BTW do u want to be a GYM Leader/ E4 member in my hack :-)

the flag for that is under the spoiler in flags
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:43 pm

???????????
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:45 pm

manalord wrote:
???????????
0x82F activates the running shoes
read the tutorial...
Back to top Go down
manalord



Posts : 306
Join date : 2009-06-13
Age : 27
Location : Somewere

PostSubject: Re: CM'z pokescripting tutorial   Tue Aug 11, 2009 11:47 pm

ok thnxs
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Wed Aug 12, 2009 2:05 am

video link is up
Back to top Go down
Amphy

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Wed Aug 12, 2009 9:03 am

nice, we need a good tutorial
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Thu Aug 13, 2009 1:44 am

Well I guess I'll do a small one on apply movement


ApplyMovement

for the example I'll use the national dex script

Code:
#org $start
checkflag 0x828
if b_false goto $done
checkflag 0x500
if b_true goto $done
applymovement 0x01 $move
pausemove 0x0
message $1
boxset 6
special 0x16F
applymovement 0x01 $move2
setflag 0x500
release
end

#org $done
release
end

#org $move
#raw 0x62 0x12 0x12 0x01 0xFE

#org $move2
#raw 0x13 0x13 0xFE

#org $1
$1 1 =Hold on\pI'm just going to Update\nyour pokedex.

well, A lot of this is explained in the video, but I'll try and get more in depth.

now, not as I originally thought as a programmer, but it doesn't rely on x and y axis.

but let's get to the script.
applymovement 0x01 $move
will apply movement to the person in move with an event number of 1.
if you want to apply movement to the hero, you put 0xFF
pause move waits for the move the to finish. there is also a way to put the exact amount of time you want to wait, but that seems pointless, when pausemove calculates it automatically.

under move you simply put #raw and then the movements you want, here's a list for you.

FireRed/LeafGreen


Spoiler:
 

Ruby/saphire

Spoiler:
 

and make sure you add 0xFE to end.

well that's all for now, next time, trainer battles


Last edited by ChikoritaMudkipz on Mon Oct 12, 2009 5:19 pm; edited 1 time in total
Back to top Go down
Scyther009

avatar

Posts : 32
Join date : 2009-08-31
Age : 21

PostSubject: Re: CM'z pokescripting tutorial   Sun Sep 20, 2009 7:30 am

Yeh I'm only 13 and I think scripting like the tutourials are pretty easy but I still struggle at things like move camera scripts and creating my own Pokemart and editing the item it sells. Do you know how to do them?
Back to top Go down
http://www.youtube.com/user/funnywwevideos
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sun Sep 20, 2009 5:56 pm

ChikoritaMudkipz wrote:
video link is up
where is the link then?
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sun Sep 20, 2009 6:35 pm

Scyther009 wrote:
Yeh I'm only 13 and I think scripting like the tutourials are pretty easy but I still struggle at things like move camera scripts and creating my own Pokemart and editing the item it sells. Do you know how to do them?

age doesn't matter.
I'm 14 and I learned all this in 2 months.
I haven't tried move camera scripts and the mart script I also find challenging, but I'll put what I know
Back to top Go down
Amphy

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Sep 29, 2009 2:18 pm

how do you get it to say the players name in the script?
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Tue Sep 29, 2009 8:06 pm

DenryuuSoul wrote:
how do you get it to say the players name in the script?

good question

\v\h01 is the player's name

\v\h06 is the rival's name

hope that helped
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sat Oct 03, 2009 9:14 pm

GOOD NEWS
I finally figured out remove sprite!
this means that once I have figured it out in depth I will post a section of this tutorial explaining how to code a rival battle!
Back to top Go down
Amphy

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Mon Oct 12, 2009 4:54 pm

we need a mod to sticky this thread. its sooooooo helpful.
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Mon Oct 12, 2009 5:09 pm

TRAINERBATTLE 0

Code:
#org $start
trainerbattle 0 0x001 $before $after
message $beaten
boxset 6
release
end

#org $before
$before 1 =Cory has taught me.

#org $after
$after 1 =I guess I have more to learn.

#org $beaten
$beaten 1 =Cory is my idle.

The coolest thing about trainer battle, is that it doesn't require a flag, the game automatically recognizes if you have already battled the person.

Alright so there a few types of trainer battles. The main one for ordinary trainers is trainerbattle 0
After that you need 3 things. First is the trainer ID which you can find in any trainer editor. Just put 0x(trainer Id)

The next 2 are messages. Before is what they say right before they battle you, and after is what they say to you after, but still in the battle screen.

Lastly, beaten is what they say to you if you talk to them after the battle has taken place.
That's it for trainerbattle 0

TRAINERBATTLE 1

Code:
#org $start
lock
faceplayer
checkflag 0x821
if b_true goto $done
message $2
boxset 6
trainerbattle 1 0x19F $before $after $later
end

#org $before
$before 1 =I accept your challenge.

#org $after
$after 1 =you beat me?

#org $later
message $3
boxset 6
fanfare 0x13E
message $4
boxset 4
waitfanfare
#raw 0x68
message $5
boxset 6
giveitem 291 1
setflag 0x821
release
end

#org $done
message $1
boxset 6
release
end

#org $1
$1 1 =you should talk to Lady Blue.

#org $2
$2 1 =I am Cory.\nWelcome to the Chasis City gym\pMy favorite type, is from\nthe sea.That's right,\pI use nothing but water types!

#org $3
$3 1 =Congratulations! Here I must reward\nyou with this badge.

#org $4
$4 1 =You recieved the coral badge!

#org $5
$5 1 =Oh, and please take this.

The only difference with trainerbattle 1 is that you have after, which is something that can take place after the script is complete.The example I've given you is a gym leader script where after the battle you receive a badge and a TM. But the after can hold anything, from multiple messages to applymovement to even another trainer battle.

That's all right now, sorry I haven't been updating too frequently.
Next I'll do raw 53; remove sprite
Back to top Go down
SpiritofSteel

avatar

Posts : 351
Join date : 2009-04-07

Characters
CLASS: CHUKLES
HP:
69/69  (69/69)
Tribe: Steelie

PostSubject: Re: CM'z pokescripting tutorial   Wed Oct 14, 2009 12:36 am

Stickied. For future reference PM an mod/admin to request a topic sticked.

_________________


Quote :
[19:17:17] Ar Pee Gee : I like Correct grammer, and complete sentences
[19:18:06] @ SpiritofSteel : correct*
[19:18:17] @ SpiritofSteel : sentences.*
[19:18:30] Ar Pee Gee : I never said Spelling =P
[19:18:58] @ SpiritofSteel : Capital letters and periods are grammar.
Back to top Go down
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Wed Oct 14, 2009 9:08 pm

CMz you a star now :D

PS: Does this work for hacking silver version?
Back to top Go down
Scyther009

avatar

Posts : 32
Join date : 2009-08-31
Age : 21

PostSubject: Re: CM'z pokescripting tutorial   Sat Oct 17, 2009 3:47 pm

Please can you say what the fanfares mean thankyou
Back to top Go down
http://www.youtube.com/user/funnywwevideos
Gomlet X

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sat Oct 17, 2009 7:39 pm

Fanfares?
Back to top Go down
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sun Oct 18, 2009 5:16 pm

Scyther009 wrote:
Please can you say what the fanfares mean thankyou

"fanfare" are like sounds.
the fanfare I used in give pokemon does that little jingle that happens when you receive something.

anyway back to the tutorial

HIDESPRITE/ SHOWSPRITE

alright so, hide sprite and show sprite aren't actually commands in pokescript.
for hide sprite we use raw 53 and for show sprite we use raw 55
let's focus on raw 53.
it's set up like so.
#raw 0x53 0x(person number reversed) 0x(person number reversed)

Code:
#raw 0x53 0x04 0x00
setflag 0x1200


this is a little confusing and I'll admit it took until now (almost 4 months) for me to grasp it.
let's say the person's number is 4. it would have to have 4 digits, so it would be 0004.
now you reverse the first 2 digits with the second 2, to come up with 0400
then you insert it into the #raw 53 to make it
#raw 0x53 0x04 0x00
but this also needs a setflag after it.
so we put something like setflag 0x1200
now we find the person we want to disapear in advanced map.
in our example his person number will be 4.
right under the script offset there is something call the person id.
put what you used for your flag, in my case I would put 1200
I understand this is hard to understand and I might post a video about it later.

#raw 55 is set up the same way only you need to clear the flag instead of setting one.
just put clearflag 0x1200 to make our example re-appear.

Code:
#raw 0x55 0x04 0x00
clearflag 0x1200

this is an essential thing to know, by combining this with trainerbattle we can create rival battles.
I might make a specific section on rival battles though.
also, I might post a video about this. on my youtube channel there are also a few tutorials.
Back to top Go down
Scyther009

avatar

Posts : 32
Join date : 2009-08-31
Age : 21

PostSubject: Re: CM'z pokescripting tutorial   Mon Oct 19, 2009 10:13 am

Ok this makes sense kind of
thankyou
Anyway do you know how to make a script workfor after you've got the first badge.
thanks
Back to top Go down
http://www.youtube.com/user/funnywwevideos
ChikoritaMudkipz

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Mon Oct 19, 2009 4:39 pm

Scyther009 wrote:
Ok this makes sense kind of
thankyou
Anyway do you know how to make a script workfor after you've got the first badge.
thanks

use the setflag for the first badge
Back to top Go down
Amphy

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sun Nov 29, 2009 11:00 am

CMz? Can you explain the applymovement script a little more simply? rather than have it tried in with the national dex?
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
SableyeProductions

avatar

Posts : 5
Join date : 2010-05-02
Age : 20
Location : England

PostSubject: Re: CM'z pokescripting tutorial   Sun May 02, 2010 10:00 am


I know this is off topic but do you know anyway to change the music on roms? Like making it so you have a non-pokemon song e.g Green Day. Thanks. Pika
Back to top Go down
Amphy

avatar

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

PostSubject: Re: CM'z pokescripting tutorial   Sun May 02, 2010 11:02 am

CMz is pretty much gone...
Back to top Go down
http://www.youtube.com/user/AngryAmpharos
Sponsored content




PostSubject: Re: CM'z pokescripting tutorial   

Back to top Go down
 
CM'z pokescripting tutorial
View previous topic View next topic Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» Custom Tutorial Thread
» Wristlet Purse Tutorial
» Link Tutorial(by itachi )
» [Tutorial] Taking Photos of your Miniatures (by Hyun)
» Machine Applique Tutorial

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