FFHacktics
News
About

Downloads
Tools
Patches
Custom Sprites

Community
Forum
Contests
Mibbit (IRC)
FFH's Discord irc.ffhacktics.com #FFH

Resources
Wiki
Maps
Effects
Tutorials
Sprites
Item Palettes
Event Instructions


Affiliates
FFVI Hacking
Graphics Gale
Event Instruction: {32}ColorUnit
See Also: {2E}Background {31}ColorBGBeta {33}ColorField

Description:
Colors a unit gradually depending on its current state.
So (+127,-128,-128) is red and (+127,+127,+127) is white.


Parameters:
Unit ID. : Byte (hex)
Affect all but Unit ID? : Byte (hex)
Preset Color : Byte (hex)
Red : Byte (signed)
Green : Byte (signed)
Blue : Byte (signed)
Time : Byte (unsigned)


Unit ID. : Byte (hex)
ID of the unit specified in the ENTD.


Affect all but Unit ID? : Byte (hex)
Reverse targets and affect every unit on the field except the unit specified in the Unit ID byte.


Preset Color : Byte (hex)
Instead of setting RGB values, you can pick any of the preset colors:
x01 : Covered in shadows
x02 : Petrified/Grayscale
x04 : Original palette?
x08 : Original palette?
x10 : Completely Green
x20 : Completely Green
x40 : Completely Green
x80 : Completely Green


Red : Byte (signed)
Blue value of the RGB color.


Green : Byte (signed)
Green value of the RGB color.


Blue : Byte (signed)
Blue value of the RGB color.


Time : Byte (unsigned)
Time required to perform the whole instruction in tenths of second.
050 = 5,0 seconds
100 = 10,0 seconds
255 = 25,5 seconds

Final Fantasy Hacktics 2.0 ~ The Final Fantasy Tactics Hacking community
©2007-2014 Xifanie Boisvert
All materials are property of their respective owners.