Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
stfgtrep.c File Reference

STFGTREP's data: the battles' rewards, the evolution lists, the panels' animations and the growth tables. More...

#include "battle/report.h"
Include dependency graph for stfgtrep.c:

Go to the source code of this file.

Variables

BattleReward STFGTREP_rewards []
 
Evolution STFGTREP_evolutionLists [8][44]
 each partner's evolution list, which STFGTREP_learnDigimon reads whole
 
Evolution * STFGTREP_evolutions []
 each partner's (STFGTREP_learnDigimon)
 
s32 STFGTREP_animations [][7]
 each partner Digimon's sprite frames, -1 ending them early
 
FightReportFuncs STFGTREP_funcs
 
s32 STFGTREP_levelExp []
 What a level adds to the exp the next one needs, by tier.
 
s32 STFGTREP_vitalCuts []
 What is taken from the HP and MP growth, by tier, and added at random.
 
s32 STFGTREP_vitalRandom []
 
s32 STFGTREP_statGains [][9]
 A battle stat's gain by tier, from its growth plus 0-4 at random.
 
s32 STFGTREP_resistGains []
 A resistance's gain, from its growth plus 0-3 at random.
 

Detailed Description

STFGTREP's data: the battles' rewards, the evolution lists, the panels' animations and the growth tables.

Definition in file stfgtrep.c.

Variable Documentation

◆ STFGTREP_rewards

BattleReward STFGTREP_rewards[]

Definition at line 345 of file stfgtrep.c.

Referenced by giveDigimonExp(), giveMoney(), and STFGTREP_updateReport().

◆ STFGTREP_evolutionLists

Evolution STFGTREP_evolutionLists[8][44]

each partner's evolution list, which STFGTREP_learnDigimon reads whole

Definition at line 684 of file stfgtrep.c.

◆ STFGTREP_evolutions

Evolution* STFGTREP_evolutions[]
Initial value:
= {
}
Evolution STFGTREP_evolutionLists[8][44]
each partner's evolution list, which STFGTREP_learnDigimon reads whole
Definition stfgtrep.c:684

each partner's (STFGTREP_learnDigimon)

Definition at line 1054 of file stfgtrep.c.

Referenced by STFGTREP_learnDigimon().

◆ STFGTREP_animations

s32 STFGTREP_animations[][7]
Initial value:
= {
{ 7, 8, 9, 10, 9, 8, -1 },
{ 14, 15, 16, 15, -1, -1, -1 },
{ 11, 12, 13, 12, -1, -1, -1 },
{ 3, 4, 5, 6, 5, 4, -1 },
{ 25, 26, 27, 28, 27, 26, -1 },
{ 0, 1, 2, 1, -1, -1, -1 },
{ 17, 18, 19, 20, 19, 18, -1 },
{ 21, 22, 23, 24, 23, 22, -1 },
}

each partner Digimon's sprite frames, -1 ending them early

Definition at line 1060 of file stfgtrep.c.

Referenced by STFGTREP_drawPartner().

◆ STFGTREP_funcs

FightReportFuncs STFGTREP_funcs
Initial value:
= {
}
s32 STFGTREP_addDigimonExp(s32 partner, s32 id, s32 exp)
Adds exp to one of a partner's Digimon and raises its level as far as the exp reaches,...
Definition growth.c:196
s32 STFGTREP_learnSkill(s32 partner, s32 id)
Marks known (SKILL_KNOWN) the first skill of one of a partner's Digimon whose level it has reached (D...
Definition growth.c:258
s32 STFGTREP_addSkill(s32 partner, s32 id)
Gives one of a partner's Digimon the first skill whose level it has reached and that it hasn't yet (D...
Definition growth.c:234
s32 STFGTREP_getDigimonExp(s32 partner, s32 id, s32 exp, s32 used)
The exp one of a partner's Digimon gets of a battle's: less as the partner goes up in level,...
Definition growth.c:278
s32 STFGTREP_learnDigimon(s32 partner)
Gives a partner the first Digimon of its evolution list (STFGTREP_evolutions) it hasn't yet and whose...
Definition growth.c:131
s32 STFGTREP_addExp(s32 partner, s32 exp)
Adds exp to a partner and raises its level, and its stats with it, as far as the exp reaches; whether...
Definition growth.c:77
s32 STFGTREP_filesLoading(void)
Whether STFGTREP_loadFiles's texts are still loading.
Definition report.c:385
void STFGTREP_loadFiles(void)
Loads the report's sprites and requests its texts, the Digimon names and the item names.
Definition report.c:373
void STFGTREP_startFade(PanelAnim *fade, s32 fadeIn)
fade.c
void STFGTREP_startLerp(MenuLerp *lerp, s32 from, s32 to, s32 frames)
s32 STFGTREP_updateLerp(MenuLerp *lerp)
s32 STFGTREP_updateFade(PanelAnim *fade)

Definition at line 1070 of file stfgtrep.c.

Referenced by giveDigimonExp(), giveNextSkill(), hideExp(), learnNextDigimon(), markNextSkillKnown(), raisePartnerLevel(), selectNextPartner(), startFadeOut(), STFGTREP_runPartner(), STFGTREP_runReport(), and STFGTREP_updateReport().

◆ STFGTREP_levelExp

s32 STFGTREP_levelExp[]
Initial value:
= {
0, 50, 800, 3000,
}

What a level adds to the exp the next one needs, by tier.

Definition at line 1075 of file stfgtrep.c.

Referenced by STFGTREP_addExp().

◆ STFGTREP_vitalCuts

s32 STFGTREP_vitalCuts[]
Initial value:
= {
0, 5, 10, 15,
}

What is taken from the HP and MP growth, by tier, and added at random.

Definition at line 1078 of file stfgtrep.c.

Referenced by STFGTREP_raiseStats().

◆ STFGTREP_vitalRandom

s32 STFGTREP_vitalRandom[]
Initial value:
= {
-4, -3, -2, -1,
0, 1, 2, 3,
4,
}

Definition at line 1081 of file stfgtrep.c.

Referenced by STFGTREP_raiseStats().

◆ STFGTREP_statGains

s32 STFGTREP_statGains[][9]
Initial value:
= {
{ 2, 3, 4, 6, 8, 10, 12, 13, 14 },
{ 1, 2, 3, 4, 6, 8, 9, 10, 11 },
{ 0, 1, 3, 4, 4, 4, 5, 7, 8 },
{ 0, 1, 1, 2, 3, 4, 5, 5, 6 },
{ 0, 0, 1, 2, 2, 2, 3, 4, 4 },
{ 0, 0, 1, 1, 1, 1, 1, 2, 2 },
}

A battle stat's gain by tier, from its growth plus 0-4 at random.

Definition at line 1086 of file stfgtrep.c.

Referenced by STFGTREP_raiseStats().

◆ STFGTREP_resistGains

s32 STFGTREP_resistGains[]
Initial value:
= {
0, 0, 0, 1,
1, 1, 2, 2,
}

A resistance's gain, from its growth plus 0-3 at random.

Definition at line 1094 of file stfgtrep.c.

Referenced by STFGTREP_raiseStats().