cooley
///Keepin' it simple
- 1,148
- Posts
- 18
- Years
- United States
- Seen Dec 5, 2014
Another tutorial of mine...
You know in Baro's hack, where you are talking, then all of a sudden, the message pauses? Well, he gave me a document, that explains different codes to do different things in a Msgbox script.
Color Codes
Prologue
Color codes are used in the game to give the user an idea of who is speaking. In my (used to be) hack, I used to set everyone's color code to Black, and use the color blue to tell everyone that the player is speaking. I also used Red to tell people the Mother is speaking. But they can be used for, anything the creator wants them to be used for.
Example
That one was simple. It will change the text color to blue, because \c\h01 means "set ink color to X" and X = 08, blue.
Text Color
Now \c doesn't necessarily mean "color" codes, \c in hex is FC.
Color codes use the code \c\h01 or FC01 to change the color of the Ink. In the pic below, you'll see that I changed the color of the text to Red.
Background Color
Now did you know you can also change the background of text? All you do is use the code for color but instead of "\c\h01\h04", you would use "\c\h02\h04"
\c\h02 means to set background ink color to "X". X = color. A list of colors can be found in XSE's thread in the toolbox.
Shadow Color
Besides changing the color of the background, or color of text, you can also change the color of the Shadow! Guess what? CHICKEN BUTT, xD
In that pic, I changed the shadow's color to Blue and the text color to Red.
That's all for Color codes...Basic, that is...
Font Codes
Prologue
Well I don't have a clue why people use them, but oh well. Teh Baro used them in his hack to demonstrate how serious, or angry someone was/is. You can tell, by looking at the examples below.
Example
Smaller Font
The code \c\h06 means to set the font to a certain size. \h00 = small, and everything else that is NOT "00" will result in normal font.
See what I mean?
Different Syled Font
This code(below) will change the font to Japanese or Western STYLED font:
"\c\h15" for Japanese
- It looks kinda like DP font, don't it? :S
"\c\h15" for Western(which is the regular font)
That concludes Font tutorials...
Special Character Text
Prolouge
Ok, at least you made it this far.
These special characters, they're mainly used for guiding, and directing. In the game, some places use them for signposts.
Example
Information Characters
For these, we don't use "\c" anymore, we use \hF8 now.
So if you wanted the "B" button, you would put:
Smileys
Using the code F9 and one of the numbers below, you can make a smiley like this: :)
In that example, I used "\hF9\hF7" - "\hF9\hFE"
If you wanted a mad face, you'd put:
Short String Text
Prologue
Using the Short string codes, we no longer use "\c" or "\h" to start it. We would normally use "\v". But you can use "\hFD"
Short string text saves you a lot of space from writing simple things such as "Player" while we can use "\v\h01". The game won't understand "player" anyways, so I'll use a different example. If you have a script, and you are continuously using a name or pokemon, you can just specify that name with the "Bufferstring" command(0x85) or "Bufferpokemon" command(0x7D).
Example
List of all Short String text
I guess that's all...It's up to you to experiment now...
ETC. Message Codes
Prolouge
The Codes that don't fit with the rest of the other category's. These codes include Pause music, resume music, play a song, wait to resume message after a key is pressed, wait to resume message after a specified length of time, and Set drawing position to X.
Pause music
This message code pauses the music until it is resumed by another code.
It's used in Gym's, where BROCK is talking and while he is talking the music stops, then plays the fanfare music, then resumes normal music. In a way, this saves space so you don't have to use the "Playsong command".
Example
You know in Baro's hack, where you are talking, then all of a sudden, the message pauses? Well, he gave me a document, that explains different codes to do different things in a Msgbox script.
Color Codes
Prologue
Color codes are used in the game to give the user an idea of who is speaking. In my (used to be) hack, I used to set everyone's color code to Black, and use the color blue to tell everyone that the player is speaking. I also used Red to tell people the Mother is speaking. But they can be used for, anything the creator wants them to be used for.
Example
Code:
#org @start
Code:
[FONT=Comic Sans MS] msgbox @color[/FONT]
[FONT=Comic Sans MS] callstd 0x2[/FONT]
[FONT=Comic Sans MS] end[/FONT]
[FONT=Comic Sans MS] #org @pause[/FONT]
[FONT=Comic Sans MS] = \c\h01\h08Today is Wednsday, right?[/FONT]
Text Color
Now \c doesn't necessarily mean "color" codes, \c in hex is FC.
Color codes use the code \c\h01 or FC01 to change the color of the Ink. In the pic below, you'll see that I changed the color of the text to Red.
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i29.tinypic.com/2sbmp7t.jpg)
Background Color
Now did you know you can also change the background of text? All you do is use the code for color but instead of "\c\h01\h04", you would use "\c\h02\h04"
\c\h02 means to set background ink color to "X". X = color. A list of colors can be found in XSE's thread in the toolbox.
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i26.tinypic.com/2co6a1l.jpg)
Shadow Color
Besides changing the color of the background, or color of text, you can also change the color of the Shadow! Guess what? CHICKEN BUTT, xD
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i28.tinypic.com/30k9ky1.jpg)
In that pic, I changed the shadow's color to Blue and the text color to Red.
That's all for Color codes...Basic, that is...
Font Codes
Prologue
Well I don't have a clue why people use them, but oh well. Teh Baro used them in his hack to demonstrate how serious, or angry someone was/is. You can tell, by looking at the examples below.
Example
Code:
[FONT=Comic Sans MS] #org @start[/FONT]
[FONT=Comic Sans MS] msgbox @font[/FONT]
[FONT=Comic Sans MS] callstd 0x3[/FONT]
[FONT=Comic Sans MS] end[/FONT]
[FONT=Comic Sans MS] #org @font[/FONT]
[FONT=Comic Sans MS] = \c\h06\h00Today is wednsdaym right?\n\c\h06\h00YES! TODAY IS WEDNSDAY, GEEZ[.][/FONT]
The code \c\h06 means to set the font to a certain size. \h00 = small, and everything else that is NOT "00" will result in normal font.
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i31.tinypic.com/2628k78.jpg)
See what I mean?
Different Syled Font
This code(below) will change the font to Japanese or Western STYLED font:
"\c\h15" for Japanese
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i32.tinypic.com/1gjbbq.jpg)
"\c\h15" for Western(which is the regular font)
That concludes Font tutorials...
Special Character Text
Prolouge
Ok, at least you made it this far.
These special characters, they're mainly used for guiding, and directing. In the game, some places use them for signposts.
Example
Code:
[FONT=Comic Sans MS] #org @start[/FONT]
[FONT=Comic Sans MS] message @direct[/FONT]
[FONT=Comic Sans MS] boxset 0x3[/FONT]
[FONT=Comic Sans MS] end[/FONT]
[FONT=Comic Sans MS] #org @direct[/FONT]
[FONT=Comic Sans MS] = \hF8\h00 is used for ???[/FONT]
Information Characters
For these, we don't use "\c" anymore, we use \hF8 now.
Teh Baro said:Code F8 is used in the Key Bar to display the buttons:
Teh Baro said:00-05 Buttons: A B L R Start Select
06-0C Dipad: ↑ ↓ ← → ↕ ↔ none
Code 2 – F9
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i28.tinypic.com/1z6r1fm.jpg)
So if you wanted the "B" button, you would put:
Code:
[FONT=Comic Sans MS] #org @start[/FONT]
[FONT=Comic Sans MS] lock[/FONT]
[FONT=Comic Sans MS] faceplayer[/FONT]
[FONT=Comic Sans MS] message @button[/FONT]
[FONT=Comic Sans MS] boxset 6[/FONT]
[FONT=Comic Sans MS] release[/FONT]
[FONT=Comic Sans MS] end[/FONT]
[FONT=Comic Sans MS] #org @button[/FONT]
[FONT=Comic Sans MS] = Did you know the [B]\hF8\h01[/B] is used\nto cancel menus?[/FONT]
Using the code F9 and one of the numbers below, you can make a smiley like this: :)
Code:
[FONT=Comic Sans MS] Code 2 – F9[/FONT]
[FONT=Comic Sans MS] Several other glyphs, including smileys (?!)[/FONT]
[FONT=Comic Sans MS] 00-19; [B]D0-FE:[/B] ' D0 - FE are the smileys/etc.[/FONT]
![[PokeCommunity.com] Special Message codes.. [PokeCommunity.com] Special Message codes..](https://i30.tinypic.com/14m9dts.jpg)
In that example, I used "\hF9\hF7" - "\hF9\hFE"
If you wanted a mad face, you'd put:
Code:
[FONT=Comic Sans MS] #org @start[/FONT]
[FONT=Comic Sans MS] lock[/FONT]
[FONT=Comic Sans MS] faceplayer[/FONT]
[FONT=Comic Sans MS] message @hello[/FONT]
[FONT=Comic Sans MS] boxset 6[/FONT]
[FONT=Comic Sans MS] release[/FONT]
[FONT=Comic Sans MS] end[/FONT]
[FONT=Comic Sans MS] #org @hello[/FONT]
[FONT=Comic Sans MS] = Grr...I'm mad! \hF9\hFE[/FONT]
Short String Text
Prologue
Using the Short string codes, we no longer use "\c" or "\h" to start it. We would normally use "\v". But you can use "\hFD"
Short string text saves you a lot of space from writing simple things such as "Player" while we can use "\v\h01". The game won't understand "player" anyways, so I'll use a different example. If you have a script, and you are continuously using a name or pokemon, you can just specify that name with the "Bufferstring" command(0x85) or "Bufferpokemon" command(0x7D).
Example
Code:
#org @start
bufferpokemon 0x0 0x150
message @mewtwo
boxset 0x6
end
#org @mewtwo
= I think I saw a [buffer1]!
List of all Short String text
Code:
Code FD16("\v") inserts short strings:
\v\h01 Player's name
\v\h02-04 Buffer strings (set by another function, used for various things)
\v\h06 Rival's name
\v\h07 Ruby
\v\h08 Magma
\v\h09 Aque
\v\h0A Maxie
\v\h0B Archie
\v\h0C Groudon
\v\h0D Kyogre
I guess that's all...It's up to you to experiment now...
ETC. Message Codes
Prolouge
The Codes that don't fit with the rest of the other category's. These codes include Pause music, resume music, play a song, wait to resume message after a key is pressed, wait to resume message after a specified length of time, and Set drawing position to X.
Pause music
This message code pauses the music until it is resumed by another code.
It's used in Gym's, where BROCK is talking and while he is talking the music stops, then plays the fanfare music, then resumes normal music. In a way, this saves space so you don't have to use the "Playsong command".
Example
Code:
I'll finish this later, ok? xD
Last edited: