31 for (j = 0; j < 6; j++) {
35 for (j = 0; j < 7; j++) {
95 24, 24, 24, 45, 45, 50, 59, 60, 95, 99,
96 100, 100, 102, 122, 138, 141, 141, 143, 145, 181,
97 184, 185, 185, 188, 221, 224, 228, 230, 230, 230,
98 267, 268, 268, 270, 274, 303, 313, 314, 314, 314,
DigimonData DIGIMON_DATA[55]
55 entries: the 52 Digimon, then three placeholders (0x1D4-0x1D6)
GameState GAME
The save data, the game mode and the methods.
What the stage overlays and the executable use of FIELDSTG (fieldstg.h has the rest): its layers and ...
#define TEXT_CARD_SHOP
CRDSHP: STCRDSHP's, and STCRDDEK's.
#define TEXT_NAME_ENTRY
NAMEDT: the keyboard's.
#define TEXT_DIGIMON_NAMES
DIGNAM.
FileCache FILE_CACHE
The file cache.
char * strcpy(char *dst, const char *src)
#define STAT_STRENGTH
the six battle stats
#define PARTY_SIZE
How many partners the party holds.
#define DECK_SIZE
The cards of a deck, and the decks the player has.
#define STAT_LEVEL
Indices of a partner's stats (PartnerStats.stats, computeStats, setStat)
#define CARD_COPIES_MAX
The copies of a card the player can have.
void addCards(s32 card, s32 count)
Gives count copies of a card (up to CARD_COPIES_MAX) and marks it seen.
void giveStarterDeck(void)
Gives the starter deck's cards and puts them in every deck.
u8 STARTER_PARTIES[][3]
setParty's partners, by starter pack
s32 STARTER_DECK[40]
The cards of giveStarterDeck's deck.
void initNewGameData(void)
The new game's player name, deck names, starter deck and partners.
s32 getPartyMember(u32 index)
The partner index of party member index, or -1.
void setParty(s32 set)
Gives the party STARTER_PARTIES[set], unlocking its partners.
Digimon definition (DIGIMON_DATA, 52 of them; the first 8 are the partners)
u8 nameId
string in file 0x4F
void(* giveStarterDeck)(void)
s8 cards[0x13D]
counts, up to CARD_COPIES_MAX
char name[0x18]
the player's
Partner partners[PARTNER_COUNT]
s32 party[3]
partner indices
s32 partySet
setParty's: the starter pack (enum StarterPack)
s32 unlocked
partner id + 3, 0 while locked
Text helpers (initTextTools)
char *(* getString)()
(table, index)
void initTextTools(TextTools *obj)
Clears a text tools object, gives it its methods and binds it.