|
Digimon World 3 decomp
The European version, SLES_039.36
|
A partner's panel: its windows, its drawing, its exp roll and the steps that give its Digimon their exp, levels, skills and new Digimon. More...
#include "battle/report.h"Go to the source code of this file.
Functions | |
| void | STFGTREP_createPartnerWindows (ReportPartner *partner, ReportPartnerWindows *windows) |
| Creates the text windows of a partner's panel. | |
| void | STFGTREP_fillPartnerWindows (ReportPartner *partner, ReportPartnerWindows *windows, s32 show) |
| Fills a partner's panel with its name, level, exp and Digimon, or hides it. | |
| void | STFGTREP_drawPartner (ReportPartner *partner) |
| Draws a partner's panel: the level and slot blinks, the cursor, the partner's animation and its frames. | |
| s32 | STFGTREP_rollExp (ReportPartner *partner) |
| Rolls the shown exp towards the target, digit by digit; 0 once it is there. | |
| static void | giveDigimonExp (ReportPartner *partner) |
| Gives the slot's Digimon its share of the battle's exp, if it was used in the battle, and blinks the slot when its level goes up. | |
| static void | showDigimonLevelUp (ReportPartner *partner, ReportPartnerWindows *windows) |
| When the slot's Digimon went up a level, plays its sound and shows it in the message. | |
| static void | giveNextSkill (ReportPartner *partner, ReportPartnerWindows *windows) |
| Gives the slot's Digimon its next skill and shows it in the message. | |
| static void | markNextSkillKnown (ReportPartner *partner, ReportPartnerWindows *windows) |
| Marks known the next skill of the slot's Digimon and shows it in the message. | |
| static void | raisePartnerLevel (ReportPartner *partner, ReportPartnerWindows *windows) |
| Gives the partner its exp; when its level goes up, blinks the level and shows the new level in the message. | |
| static void | learnNextDigimon (ReportPartner *partner, ReportPartnerWindows *windows) |
| Gives the partner the next Digimon of its evolution list and shows it in the message. | |
| void | STFGTREP_runPartner (ReportPartner *partner, ReportPartnerWindows *windows) |
| A panel's steps: it fades in and out, gives each slot's Digimon its exp, with the levels and skills that brings (giveDigimonExp, showDigimonLevelUp, giveNextSkill, markNextSkillKnown), then the partner's exp and the Digimon it learns (raisePartnerLevel, learnNextDigimon), each with its message. | |
| void | STFGTREP_updatePartner (ReportPartner *partner, ReportPartnerWindows *windows) |
| A partner's panel task. | |
| void | STFGTREP_showPartner (ReportPartner *partner) |
| ReportPartner.show: fades the panel in (substate 1) | |
| void | STFGTREP_hidePartner (ReportPartner *partner) |
| ReportPartner.hide: fades the panel out (substate 11) | |
| void | STFGTREP_raisePartner (ReportPartner *partner) |
| ReportPartner.raise: gives the exp to the partner's Digimon, with its new levels and skills (substate 20) | |
| s32 | STFGTREP_boostExp (ReportPartner *partner) |
| Adds a fifth to the exp once, if the partner wears item 0x141. | |
| void | STFGTREP_selectPartner (ReportPartner *partner) |
| ReportPartner.select: shows the cursor on the panel until its exp is given. | |
| ReportPartner * | STFGTREP_createPartner (FightReport *report, s32 index, s32 exp) |
| Creates the panel of party member index, who gets exp. | |
A partner's panel: its windows, its drawing, its exp roll and the steps that give its Digimon their exp, levels, skills and new Digimon.
Definition in file partner.c.
| void STFGTREP_createPartnerWindows | ( | ReportPartner * | partner, |
| ReportPartnerWindows * | windows | ||
| ) |
Creates the text windows of a partner's panel.
partner.c
Definition at line 7 of file partner.c.
Referenced by STFGTREP_updatePartner().
| void STFGTREP_fillPartnerWindows | ( | ReportPartner * | partner, |
| ReportPartnerWindows * | windows, | ||
| s32 | show | ||
| ) |
Fills a partner's panel with its name, level, exp and Digimon, or hides it.
< FGTRPT: STFGTREP's
< FGTRPT: STFGTREP's
< DIGNAM
Definition at line 28 of file partner.c.
Referenced by learnNextDigimon(), raisePartnerLevel(), showDigimonLevelUp(), STFGTREP_rollExp(), and STFGTREP_runPartner().
| void STFGTREP_drawPartner | ( | ReportPartner * | partner | ) |
Draws a partner's panel: the level and slot blinks, the cursor, the partner's animation and its frames.
Definition at line 71 of file partner.c.
Referenced by STFGTREP_updatePartner().
| s32 STFGTREP_rollExp | ( | ReportPartner * | partner | ) |
Rolls the shown exp towards the target, digit by digit; 0 once it is there.
Definition at line 165 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
Gives the slot's Digimon its share of the battle's exp, if it was used in the battle, and blinks the slot when its level goes up.
Definition at line 197 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
When the slot's Digimon went up a level, plays its sound and shows it in the message.
< FGTRPT: STFGTREP's
Definition at line 213 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
Gives the slot's Digimon its next skill and shows it in the message.
< FGTRPT: STFGTREP's
< SKLNAM
Definition at line 232 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
Marks known the next skill of the slot's Digimon and shows it in the message.
< FGTRPT: STFGTREP's
< SKLNAM
Definition at line 252 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
Gives the partner its exp; when its level goes up, blinks the level and shows the new level in the message.
< FGTRPT: STFGTREP's
Definition at line 272 of file partner.c.
Referenced by STFGTREP_runPartner().
|
inlinestatic |
Gives the partner the next Digimon of its evolution list and shows it in the message.
< FGTRPT: STFGTREP's
< DIGNAM
Definition at line 299 of file partner.c.
Referenced by STFGTREP_runPartner().
| void STFGTREP_runPartner | ( | ReportPartner * | partner, |
| ReportPartnerWindows * | windows | ||
| ) |
A panel's steps: it fades in and out, gives each slot's Digimon its exp, with the levels and skills that brings (giveDigimonExp, showDigimonLevelUp, giveNextSkill, markNextSkillKnown), then the partner's exp and the Digimon it learns (raisePartnerLevel, learnNextDigimon), each with its message.
< SYSTEM07
< FGTRPT: STFGTREP's
< SYSTEM10: a number counts up or down
Definition at line 324 of file partner.c.
Referenced by STFGTREP_updatePartner().
| void STFGTREP_updatePartner | ( | ReportPartner * | partner, |
| ReportPartnerWindows * | windows | ||
| ) |
A partner's panel task.
Definition at line 443 of file partner.c.
Referenced by STFGTREP_createPartner().
| void STFGTREP_showPartner | ( | ReportPartner * | partner | ) |
ReportPartner.show: fades the panel in (substate 1)
Definition at line 476 of file partner.c.
Referenced by STFGTREP_createPartner().
| void STFGTREP_hidePartner | ( | ReportPartner * | partner | ) |
ReportPartner.hide: fades the panel out (substate 11)
Definition at line 481 of file partner.c.
Referenced by STFGTREP_createPartner().
| void STFGTREP_raisePartner | ( | ReportPartner * | partner | ) |
ReportPartner.raise: gives the exp to the partner's Digimon, with its new levels and skills (substate 20)
Definition at line 487 of file partner.c.
Referenced by STFGTREP_createPartner().
| s32 STFGTREP_boostExp | ( | ReportPartner * | partner | ) |
Adds a fifth to the exp once, if the partner wears item 0x141.
Definition at line 492 of file partner.c.
Referenced by STFGTREP_createPartner().
| void STFGTREP_selectPartner | ( | ReportPartner * | partner | ) |
ReportPartner.select: shows the cursor on the panel until its exp is given.
Definition at line 506 of file partner.c.
Referenced by STFGTREP_createPartner().
| ReportPartner * STFGTREP_createPartner | ( | FightReport * | report, |
| s32 | index, | ||
| s32 | exp | ||
| ) |
Creates the panel of party member index, who gets exp.
Definition at line 511 of file partner.c.
Referenced by STFGTREP_updateReport().