PokeHacking Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Tutorials!!!!

3 posters

Go down

Tutorials!!!! Empty Tutorials!!!!

Post  Guest Tue Sep 22, 2009 5:59 am

Here i'll put tutorials for anyone who asks Very Happy Even scripting! But, im not too far advanced in that so i may say no xP

Guest
Guest


Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  SageDakota Wed Sep 23, 2009 2:10 am

I'll sticky this but I really wanna see some tutorial's.
SageDakota
SageDakota
Moderator
Moderator

Posts : 303
Join date : 2009-09-22
Age : 29
Location : New Qinshin City, Hiros

Back to top Go down

Tutorials!!!! Empty Basic Message Script

Post  Guest Mon Oct 05, 2009 12:01 am

Ok Guys, no ones asked yet, but oh well, i'll get started with some tutorials anyways.

First, we'll need to use these programs to begin scripting, these programs are very easy to manage.

1.Pokescript

2.PkmnAdv

3.Notepad

4.Advance Map

5. And the rom that you're going to script on.
For me, it'll be Pokemon Ruby.

Alright, later on, i'll try providing links as to where you can get most of these programs.

Once you install all of your programs, we can start.

Let's begin.

Open up notepad. And, do as i do. Test it out, THEN once it works, try making your own basic
message script.

BASIC MESSAGE

OK the first thing you must do in a script is this..

#org $begin

this tells the game to begin the script

ill tell you how to do a basic message script.

you must do this..

#org $begin
lock
faceplayer

lock and faceplayer you will almost always need.

because lock tells the game to set the message, and faceplayer tells
the sprite to look in your direction when you talk.

#org $begin
lock
faceplayer
message $____

next comes message $
You ALWAYS need message in the script, if you want to do a basic
talking script.

Lets say you want to do a script with someone talking about...oran berries.

#org $begin
lock
faceplayer
message $oranberries

the $ can be anything, as long as you do it right.

you can make it,

$HELLO

but after you put this in, you must do:

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =

never do: $oranberries1=
must be: $oranberries 1 =

the equal sign is also spaced after 1

next, here you put the message:

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =Hey! I love oran berries\nthey're just sooo tasty!\pDo you like oran berries?

the \n tells the game, that the next word will be on a new line.

the \p tells the game, that the next word/sentence will be on a new paragraph.

remember they must be attached to it.

the first letter must be attached to the \p and \n like this:

never do this \n Do
must be : \nDo

so as i was saying:

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =Hey! I love oran berries\nthey're just sooo tasty!\pDo you like oran berries?

now since we finished the message.

we add this

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =Hey! I love oran berries\nthey're just sooo tasty!\pDo you like oran berries?
boxset 6

boxset 6 tells the game that the message has stopped.

There are two other sets of boxsets..

boxset 4
and boxset 5

boxset 4 is a never ending box, that wont close, dont use it.

boxset 5 is only used in YES/NO scripts.

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =Hey! I love oran berries\nthey're just sooo tasty!\pDo you like oran berries?
boxset 6

now heres the last part

you add this:

#org $begin
lock
faceplayer
message $oranberries
$oranberries 1 =Hey! I love oran berries\nthey're just sooo tasty!\pDo you like oran berries?
boxset 6
release
end

this tells the game that the script is over.

Now, save the script as the following.

In notepad, go to File-Save as- whatever you want the name to be.rbc

So for example, i want the name to be

OranBerriescript

You add .rbc:

So its now, OranBerriescript.rbc

And save it.

Now open up the folder that you saved your script in.


Right click on your script. If you have everything installed, as instructed before, one of the options is compile script.

Click that.

Now, a bunch of numbers and letters sroll, and some program appears.

This program is called, buf rite.

If you don't have it, notify me, as i may have forgotten this program. But i think it was included along with PokeScript and PkmnAdv.

Now, you'll see this on buf rite:

oranberriescript.$begin and:
oranberriescript.$oranberries

These are the offsets for your script.

Now, on the right side of the program, you'll see a picture.

It looks like a blue book, click it.

It'll open up, and says its looking for batch files.

Well, its looking for your rom, so go to the folder your roms in and click it.

Next, a new thing will open.

It has stuff such as Patern: 00 and FF, and an offset above it.

It'll be marked as FF, if not mark it.

Next, click the flashlight picture to the right.

A bunch of offsets will appear.

Pick the first one, and it'll appear on the bottom screen, before you click assign.

Copy the offset, ALL OF IT!

And then click assign.

Finally, you'll see your scripts have an offset.

Now go to File on Bufrite.
And click Burn.

You're script is ready!
Open up advance map.

Open your rom.

And then go to the town your script will be in.

next on the headers, go to events.

If you don't have a sprite ready, you can either add a new sprite, or just use a sprite already there.

Im assuming you know how.


Click on your sprite.

You'll see many options on what to do with it.

Such as, changing its picture number.

A little bit below it, it'll say Script Offset.

And show a bunch of numbers.

Highlight the numbers, and then click paste to paste your new offset.

Now save your change.

And TEST IT OUT! BABY!

If you guys had any problems just tell me and ill fix em.

Good luck.

This is the end of the Basic Message Script!

Guest
Guest


Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  SageDakota Mon Oct 05, 2009 12:40 am

Give Pokemon Script Code:

Code:
#org $begin
lock
faceplayer
checkflag 0x232
if B_true goto $gotit
message $q
boxset 6
message $mygod
boxset 6
givepokemon 4 5 0
message $NameCharm
boxset 5
setflag 0x232
setflag 0x828
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = How's my old CHARMANDER?

#org $q
$q 1 = To get past here, you'll\nneed a pokemon.\pTake this CHARMANDER.

#org $mygod
$mygod 1 = You received the CHARMANDER!
SageDakota
SageDakota
Moderator
Moderator

Posts : 303
Join date : 2009-09-22
Age : 29
Location : New Qinshin City, Hiros

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  Relyt Thu Dec 09, 2010 5:44 pm

I have a question, could others post tutorials of other tools?

I'm asking because I've been using a new sprite editor, and it has functions that the regular Overworld Editor can only dream of having.

The only people I know of that have this are like, Zach, myself, and I think one or two more people.

Okay, I got off topic with that last sentence. Basically, all I'm asking is if I could post a tutorial about NSE.
Relyt
Relyt
Administrator
Administrator

Posts : 937
Join date : 2009-09-26
Age : 30
Location : SPAAAAAAAAAACE!

https://www.youtube.com/user/tyking1224

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  HitoshirezuJamal Thu Dec 09, 2010 10:37 pm

tyking1224 wrote:I have a question, could others post tutorials of other tools?

I'm asking because I've been using a new sprite editor, and it has functions that the regular Overworld Editor can only dream of having.

The only people I know of that have this are like, Zach, myself, and I think one or two more people.

Okay, I got off topic with that last sentence. Basically, all I'm asking is if I could post a tutorial about NSE.

That's perfectly fine. Go right ahead, because I'm interested, now. Very Happy
HitoshirezuJamal
HitoshirezuJamal
Administrator
Administrator

Posts : 743
Join date : 2009-09-22
Age : 29
Location : Lanham, Maryland

https://www.youtube.com/user/HitoshirezuJamal

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  Relyt Fri Dec 10, 2010 8:12 am


Ink wrote:*cough*Mikomi*cough*Ink*cough*

In my defense, I never knew you had one.

PokemonMasterJamal3 wrote:That's perfectly fine. Go right ahead, because I'm interested, now. Very Happy

I'll try to get one up by either tomorrow, or Saturday. I got some (amazing) things to cover.
Relyt
Relyt
Administrator
Administrator

Posts : 937
Join date : 2009-09-26
Age : 30
Location : SPAAAAAAAAAACE!

https://www.youtube.com/user/tyking1224

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  SageDakota Fri Dec 10, 2010 8:13 am

tyking1224 wrote:
Ink wrote:*cough*Mikomi*cough*Ink*cough*

In my defense, I never knew you had one.

PokemonMasterJamal3 wrote:That's perfectly fine. Go right ahead, because I'm interested, now. Very Happy

I'll try to get one up by either tomorrow, or Saturday. I got some (amazing) things to cover.

If you do, would you mind making a new thread for it?
SageDakota
SageDakota
Moderator
Moderator

Posts : 303
Join date : 2009-09-22
Age : 29
Location : New Qinshin City, Hiros

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  Relyt Fri Dec 10, 2010 8:15 am

Dakota12369 wrote:If you do, would you mind making a new thread for it?

Will do, now time to stop spamming Tyson's tutorial thread. XD
Relyt
Relyt
Administrator
Administrator

Posts : 937
Join date : 2009-09-26
Age : 30
Location : SPAAAAAAAAAACE!

https://www.youtube.com/user/tyking1224

Back to top Go down

Tutorials!!!! Empty Re: Tutorials!!!!

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum