Thread: [Tutorial] [Ruby\Sapphire]Colored Text
View Single Post
Old May 7th, 2007 (6:30 PM). Edited May 7th, 2007 by Irish Witch.
Irish Witch's Avatar
Irish Witch Irish Witch is offline
Office Jenny
Join Date: Jul 2006
Location: Australia
Age: 36
Nature: Lonely
Posts: 147
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
? ? ?

If that really works then you should be able to modify the command database. Post a list of as many colours as you can. The lines you want to add to put colours into the database should go like this:

addhash [red] ÀÁ ' 0102
addhash [green] ÀÂ ' 0103
addhash [blue] ÀÇ ' 0104
addhash [yellow] ÀÈ ' 0105

The second value is the character code taken from the text converters further down in the same file. The section of the document that looks like this:

#addtext À &h01
#addtext Á &h02
#addtext  &h03
#addtext Ç &h04
#addtext È &h05
#addtext É &h06

Not Sure how many colours you have their but with these lines added to your database you can write your colours like this:
= \c[blue]Hello World!

or even without the changes to the command database you can write the colours like this (example of blue):

= \cÀ\h03Hello World!

I'm not able to access my computer at the moment so I don't have access to my program.. Rinni has a copy so I'll try and get her to play with this and modify the command database. Note that the colours may vary between r/s/e and fr/lg.
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
Reply With Quote