|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's message box and its messages. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_drawMessageBox (BattleMessageBox *task) |
| Draws the message box and, once its lines are out, its blinking arrow. | |
| void | FIGHTSTG_stepMessage (BattleMessageBox *task, BattleMessageBoxWindows *windows) |
| Shows the message's lines one by one, 3 frames apart, then on cross shows the queue's next message or ends; after finish (substate 4) it ends after 0x14 frames or on cross. | |
| void | FIGHTSTG_updateMessage (BattleMessageBox *task, void *children) |
| The battle message box's task: draws it and steps its message each frame. | |
| void | FIGHTSTG_setMessageName (BattleMessageBox *task, BattleMessageBoxWindows *w, s32 side, s32 index) |
| Puts the name of side's fighter index (a partner's own, an enemy's from the battle table) into the message's first line. | |
| void | FIGHTSTG_findFighters (BattleMessageBox *task, FighterFilter *filter) |
| Lists in task's found the fighters of filter's side that its type picks: 0 the hurt, 1 the poisoned, 2 the paralyzed, 3 the confused, 4 those with any status, 5 the knocked out, 6 all, 7-9 those standing. | |
| void | FIGHTSTG_showFightersMessage (BattleMessageBox *task, BattleMessageBoxWindows *w, BattleMessage *msg) |
| Sets up a message about the fighters FIGHTSTG_findFighters found: their names (text 0x15 plus their count) and what happened to them by msg's kind, or text 0x2F when there are none. | |
| void | FIGHTSTG_showMessage (BattleMessageBox *task, s32 type, s32 *data) |
| The message box's show: sets up the lines of message type from data, mostly a fighter's name with a text, a technique or a number, and starts showing them. | |
| void | FIGHTSTG_finishMessage (BattleMessageBox *task) |
| The message box's finish: closes it after 0x14 frames or on cross. | |
| BattleMessageBox * | FIGHTSTG_createMessage (void) |
| Creates a battle message box (FIGHTSTG_updateMessage) | |
FIGHTSTG's message box and its messages.
Definition in file message.c.
| void FIGHTSTG_drawMessageBox | ( | BattleMessageBox * | task | ) |
Draws the message box and, once its lines are out, its blinking arrow.
< the HUD, the menus and the messages
Definition at line 6 of file message.c.
Referenced by FIGHTSTG_updateMessage().
| void FIGHTSTG_stepMessage | ( | BattleMessageBox * | task, |
| BattleMessageBoxWindows * | windows | ||
| ) |
Shows the message's lines one by one, 3 frames apart, then on cross shows the queue's next message or ends; after finish (substate 4) it ends after 0x14 frames or on cross.
< SYSTEM07
Definition at line 33 of file message.c.
Referenced by FIGHTSTG_updateMessage().
| void FIGHTSTG_updateMessage | ( | BattleMessageBox * | task, |
| void * | children | ||
| ) |
The battle message box's task: draws it and steps its message each frame.
Definition at line 78 of file message.c.
Referenced by FIGHTSTG_createMessage().
| void FIGHTSTG_setMessageName | ( | BattleMessageBox * | task, |
| BattleMessageBoxWindows * | w, | ||
| s32 | side, | ||
| s32 | index | ||
| ) |
Puts the name of side's fighter index (a partner's own, an enemy's from the battle table) into the message's first line.
< DIGNAM
Definition at line 96 of file message.c.
Referenced by FIGHTSTG_showMessage().
| void FIGHTSTG_findFighters | ( | BattleMessageBox * | task, |
| FighterFilter * | filter | ||
| ) |
Lists in task's found the fighters of filter's side that its type picks: 0 the hurt, 1 the poisoned, 2 the paralyzed, 3 the confused, 4 those with any status, 5 the knocked out, 6 all, 7-9 those standing.
< takes damage (EVENT_STATUS_DAMAGE)
< loses turns at random (FIGHTSTG_battleFuncs.testParalysis)
Definition at line 112 of file message.c.
Referenced by FIGHTSTG_showMessage().
| void FIGHTSTG_showFightersMessage | ( | BattleMessageBox * | task, |
| BattleMessageBoxWindows * | w, | ||
| BattleMessage * | msg | ||
| ) |
Sets up a message about the fighters FIGHTSTG_findFighters found: their names (text 0x15 plus their count) and what happened to them by msg's kind, or text 0x2F when there are none.
< MFIGHT: WFIGHTMN's
< DIGNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
Definition at line 185 of file message.c.
Referenced by FIGHTSTG_showMessage().
| void FIGHTSTG_showMessage | ( | BattleMessageBox * | task, |
| s32 | type, | ||
| s32 * | data | ||
| ) |
The message box's show: sets up the lines of message type from data, mostly a fighter's name with a text, a technique or a number, and starts showing them.
< the HUD, the menus and the messages
< the HUD, the menus and the messages
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< SKLNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< SKLNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< DIGNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< DIGNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< ITMNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< ITMNAM
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< MFIGHT: WFIGHTMN's
< SKLNAM
Definition at line 257 of file message.c.
Referenced by FIGHTSTG_createMessage(), and FIGHTSTG_showMessage().
| void FIGHTSTG_finishMessage | ( | BattleMessageBox * | task | ) |
The message box's finish: closes it after 0x14 frames or on cross.
Definition at line 433 of file message.c.
Referenced by FIGHTSTG_createMessage().
| BattleMessageBox * FIGHTSTG_createMessage | ( | void | ) |
Creates a battle message box (FIGHTSTG_updateMessage)
Definition at line 440 of file message.c.
Referenced by announceEnemyTech(), announceFirstTech(), announceTech(), boostAttack(), boostDefense(), boostElement(), boostFieldElement(), boostRandomElement(), boostSpeed(), confuseFighters(), cureStatus(), cureStatusTech(), damageEnemy(), dealTechDamage(), drainEnemy(), endBattleOnKnockOut(), FIGHTSTG_updateActionEvents(), FIGHTSTG_updateCounterattack(), FIGHTSTG_updateEnemyAttack(), FIGHTSTG_updateEnemyTurn(), FIGHTSTG_updateItem(), FIGHTSTG_updateOneHpTurn(), fillGauge(), fleeWhenWeak(), healPartner(), healWithTech(), lowerEnemySpeed(), queueFirstTurns(), restoreHalfHpMp(), restoreSide(), reviveParty(), reviveSide(), showCounterResult(), showEnemyName(), showFirstTechResult(), showLoweredStat(), showRunAway(), startSpecial(), switchEnemyOut(), useEnemyTech(), useItemTech(), useSupportTech(), wakeCounteredUp(), wakePlayerUp(), wakeUpOrCounter(), weakenEnemyDefense(), WFIGHTMN_blast(), WFIGHTMN_bringLastEnemy(), WFIGHTMN_clearField(), WFIGHTMN_cureStatus(), WFIGHTMN_digidevolve(), WFIGHTMN_digivolve(), WFIGHTMN_endAutoRecover(), WFIGHTMN_endBlast(), WFIGHTMN_endBoost(), WFIGHTMN_endRestriction(), WFIGHTMN_endSpecial(), WFIGHTMN_knockOut(), WFIGHTMN_recover(), WFIGHTMN_runAway(), WFIGHTMN_runCommand(), WFIGHTMN_tag(), and WFIGHTMN_takeDamage().