Plot:Get hero palette

From OHRRPGCE-Wiki

Jump to: navigation, search
get hero palette (who,type)

A function that returns the index number of a hero's 16-color palette. The first argument is the heros position in the party as returned by find hero. The second argument is a constant inside battle or outside battle, which determines if you are checking the heros battle palette or their walkabout palette. If the second argument is left out, outside battle is assumed.

Personal tools