ogrebattle64/include/character.h

33 lines
888 B
C

#ifndef __CHARACTER_H__
#define __CHARACTER_H__
#include <ultra64.h>
typedef struct {
// Possible data still undiscovered:
// - Element
// - Gender
// - Alignment
// - Held items (four u16's)
/* 0x00 */ s8 name[0x10];
/* 0x10 */ u8 field_0x10;
/* 0x11 */ u8 portrait;
/* 0x12 */ u8 class;
/* 0x13 */ u8 level;
/* 0x14 */ u8 field_0x14[0x2];
/* 0x16 */ u16 max_hp;
/* 0x18 */ u16 cur_hp;
/* 0x1A */ u8 field_0x1a;
/* 0x1B */ u8 field_0x1b;
/* 0x1C */ u16 strength;
/* 0x1E */ u16 vitality;
/* 0x20 */ u16 intelligence;
/* 0x22 */ u16 mentality;
/* 0x24 */ u16 agility;
// DEX affects melee and special attacks, as well as accuracy.
/* 0x26 */ u16 dexterity;
/* 0x28 */ u8 field_0x28[0x10];
} CharacterSlot; // size:0x38
#endif // __CHARACTER_H__