|
Digimon World 3 decomp
The European version, SLES_039.36
|
The eighth object of STSTATUS.PRO (see card_screen.c), the screen of STSTATUS_createTechScreen: its rodata starts at 0x80082BA4 (USA). More...
#include "menus/field_menu.h"Go to the source code of this file.
Functions | |
| void | STSTATUS_fillItemList (ItemList *panel) |
| Fills the item list with the owned items of its option's list (STSTATUS_itemLists) and counts them. | |
| s32 | STSTATUS_listFieldTechs (TechScreen *screen, s32 member) |
| Lists the techniques of a party member that can be used here (0xB8-0xBC), each once, and returns how many. | |
| s32 | STSTATUS_getChosenTech (TechScreen *screen) |
| The chosen technique, or 0 if its user hasn't the MP for it. | |
| s32 | STSTATUS_getTechHealing (s32 partner, s32 tech) |
| A technique's healing: 64 times its power, plus its power times the partner's wisdom over 8. | |
| s32 | STSTATUS_useTech (TechScreen *screen, TechScreenWindows *windows, s32 failSound) |
| Uses the chosen healing technique on the target or on the whole party, then plays FAILSOUND and says so if no one needed it; returns whether it healed anyone. | |
| void | STSTATUS_createTechWindows (TechScreen *screen, TechScreenWindows *windows) |
| Creates the technique screen's windows: the title, the party's pages, the help, the MP cost and the list of techniques with its cursor. | |
| void | STSTATUS_showTechPage (TechScreen *screen, TechScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showCardPage. | |
| void | STSTATUS_showTechList (TechScreen *screen, TechScreenWindows *windows, s32 show) |
| Shows or hides the list of the party member's techniques. | |
| void | STSTATUS_showChosenTech (TechScreen *screen, TechScreenWindows *windows, s32 show) |
| Shows or hides the chosen technique's name and MP cost. | |
| static void | STSTATUS_animateTechPortraits (TechScreen *screen) |
| Moves the partners' portraits to their next frames every 13 frames. | |
| static void | STSTATUS_stepTechCursor (TechScreen *screen) |
| Moves the member cursor's palette on every 9 frames. | |
| void | STSTATUS_drawTechScreen (TechScreen *screen) |
| Draws the partners' portraits and frames, the cursors and the help arrow. | |
| static void | STSTATUS_startTechScreen (TechScreen *screen) |
| Starts the fades of the first page and the title (and, with one party member, of the help's panel); the next substate is the party's size. | |
| static void | STSTATUS_openTechScreenAlone (TechScreen *screen, TechScreenWindows *windows) |
| One member: once the page and the panels are in, shows the title and the page. | |
| static void | STSTATUS_openFirstOfTwoTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Two members: once the first page and the title are in, shows them and starts the second page and the help's panel. | |
| static void | STSTATUS_openSecondOfTwoTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Two members: once the second page and the help's panel are in, shows the page. | |
| static void | STSTATUS_openFirstOfThreeTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Three members: once the first page and the title are in, shows them and starts the second page. | |
| static void | STSTATUS_openSecondOfThreeTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Three members: once the second page is in, shows it and starts the third page and the help's panel. | |
| static void | STSTATUS_openThirdTechPage (TechScreen *screen, TechScreenWindows *windows) |
| Three members: once the third page and the help's panel are in, shows the page. | |
| static void | STSTATUS_showTechHelp (TechScreen *screen, TechScreenWindows *windows) |
| Shows the member cursor and the help for choosing who uses a technique. | |
| static void | STSTATUS_chooseTechMember (TechScreen *screen) |
| Choosing who uses a technique: up and down move the cursor, cross opens the member's techniques, triangle closes the screen. | |
| static void | STSTATUS_openTechList (TechScreen *screen, TechScreenWindows *windows) |
| Starts opening the member's technique list, or says they have none. | |
| static void | STSTATUS_sayNoFieldTechs (TechScreen *screen, TechScreenWindows *windows) |
| Hides the member cursor and says the member has no technique to use here. | |
| static void | STSTATUS_closeNoFieldTechs (TechScreen *screen, TechScreenWindows *windows) |
| Cross takes the message away and goes back to choosing a member. | |
| static void | STSTATUS_enterTechList (TechScreen *screen, TechScreenWindows *windows) |
| Once the list's panel is in, shows the techniques and the cursor on the first one. | |
| static void | STSTATUS_chooseTech (TechScreen *screen, TechScreenWindows *windows) |
| Choosing a technique: up and down move the cursor, cross uses it (after choosing whom, for one that heals one member) or says the MP is short, triangle closes the list. | |
| static void | STSTATUS_chooseTechTarget (TechScreen *screen, TechScreenWindows *windows) |
| Choosing whom the technique heals: up and down move the cursor, cross uses it or says the MP is short, triangle goes back to the list. | |
| static void | STSTATUS_closeShortMp (TechScreen *screen, TechScreenWindows *windows) |
| Cross takes the short MP message away and goes back to the list. | |
| static void | STSTATUS_closeTechUsed (TechScreen *screen, TechScreenWindows *windows) |
| Cross takes the technique's result away and goes back to where it was chosen. | |
| static void | STSTATUS_closeTechList (TechScreen *screen) |
| Once the list's panel is closed, goes back to choosing a member. | |
| static void | STSTATUS_closeTechScreen (TechScreen *screen, TechScreenWindows *windows) |
| Starts closing the screen: the last page, the help's panel and, with one member, the title. | |
| static void | STSTATUS_closeTechScreenAlone (TechScreen *screen) |
| One member: ends the screen once the page and the panels are closed. | |
| static void | STSTATUS_closeSecondOfTwoTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Two members: once the second page and the help's panel are closed, starts closing the first and the title. | |
| static void | STSTATUS_closeThirdTechPage (TechScreen *screen, TechScreenWindows *windows) |
| Three members: once the third page and the help's panel are closed, starts closing the second. | |
| static void | STSTATUS_closeSecondOfThreeTechPages (TechScreen *screen, TechScreenWindows *windows) |
| Three members: once the second page is closed, starts closing the first and the title. | |
| static void | STSTATUS_closeFirstTechPage (TechScreen *screen) |
| Two or three members: ends the screen once the first page and the title are closed. | |
| void | STSTATUS_runTechScreen (TechScreen *screen, TechScreenWindows *windows) |
| The technique screen's update: opens the pages, picks who uses a technique, which one and on whom, then closes them. | |
| void | STSTATUS_updateTechScreen (TechScreen *screen, TechScreenWindows *windows) |
| The technique screen's task: counts the party, lists each member's techniques that can be used here and creates the windows, then runs and draws the screen. | |
| Task * | STSTATUS_createTechScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the field menu's technique screen (task) | |
Variables | |
| s32 | STSTATUS_pageStats8 [] |
| s32 | STSTATUS_techSprites [] |
| The sprites of the technique counts, from 1. | |
The eighth object of STSTATUS.PRO (see card_screen.c), the screen of STSTATUS_createTechScreen: its rodata starts at 0x80082BA4 (USA).
Definition in file tech_screen.c.
| void STSTATUS_fillItemList | ( | ItemList * | panel | ) |
Fills the item list with the owned items of its option's list (STSTATUS_itemLists) and counts them.
Definition at line 8 of file tech_screen.c.
Referenced by STSTATUS_updateItemList().
| s32 STSTATUS_listFieldTechs | ( | TechScreen * | screen, |
| s32 | member | ||
| ) |
Lists the techniques of a party member that can be used here (0xB8-0xBC), each once, and returns how many.
< the skill, from 1 (TECHS[id - 1])
Definition at line 23 of file tech_screen.c.
Referenced by STSTATUS_updateTechScreen().
| s32 STSTATUS_getChosenTech | ( | TechScreen * | screen | ) |
The chosen technique, or 0 if its user hasn't the MP for it.
Definition at line 68 of file tech_screen.c.
Referenced by STSTATUS_chooseTech(), and STSTATUS_chooseTechTarget().
A technique's healing: 64 times its power, plus its power times the partner's wisdom over 8.
Definition at line 80 of file tech_screen.c.
Referenced by STSTATUS_useTech().
| s32 STSTATUS_useTech | ( | TechScreen * | screen, |
| TechScreenWindows * | windows, | ||
| s32 | failSound | ||
| ) |
Uses the chosen healing technique on the target or on the whole party, then plays FAILSOUND and says so if no one needed it; returns whether it healed anyone.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< RECOVERY
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< RECOVERY
< STATUS: the field menu's and STSTATUS's
Definition at line 96 of file tech_screen.c.
Referenced by STSTATUS_chooseTech(), and STSTATUS_chooseTechTarget().
| void STSTATUS_createTechWindows | ( | TechScreen * | screen, |
| TechScreenWindows * | windows | ||
| ) |
Creates the technique screen's windows: the title, the party's pages, the help, the MP cost and the list of techniques with its cursor.
Definition at line 174 of file tech_screen.c.
Referenced by STSTATUS_updateTechScreen().
| void STSTATUS_showTechPage | ( | TechScreen * | screen, |
| TechScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardPage.
< STATUS: the field menu's and STSTATUS's
Definition at line 212 of file tech_screen.c.
Referenced by STSTATUS_closeSecondOfThreeTechPages(), STSTATUS_closeSecondOfTwoTechPages(), STSTATUS_closeTechScreen(), STSTATUS_closeThirdTechPage(), STSTATUS_openFirstOfThreeTechPages(), STSTATUS_openFirstOfTwoTechPages(), STSTATUS_openSecondOfThreeTechPages(), STSTATUS_openSecondOfTwoTechPages(), STSTATUS_openTechScreenAlone(), STSTATUS_openThirdTechPage(), and STSTATUS_useTech().
| void STSTATUS_showTechList | ( | TechScreen * | screen, |
| TechScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the list of the party member's techniques.
< STATUS: the field menu's and STSTATUS's
< SKLNAM
< the skill, from 1 (TECHS[id - 1])
Definition at line 243 of file tech_screen.c.
Referenced by STSTATUS_chooseTech(), and STSTATUS_enterTechList().
| void STSTATUS_showChosenTech | ( | TechScreen * | screen, |
| TechScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the chosen technique's name and MP cost.
< the skill, from 1 (TECHS[id - 1])
< SKLINF
< STATUS: the field menu's and STSTATUS's
Definition at line 261 of file tech_screen.c.
Referenced by STSTATUS_chooseTech(), STSTATUS_chooseTechTarget(), STSTATUS_closeShortMp(), STSTATUS_closeTechScreen(), STSTATUS_closeTechUsed(), and STSTATUS_enterTechList().
|
inlinestatic |
Moves the partners' portraits to their next frames every 13 frames.
Definition at line 278 of file tech_screen.c.
Referenced by STSTATUS_drawTechScreen().
|
inlinestatic |
Moves the member cursor's palette on every 9 frames.
Definition at line 296 of file tech_screen.c.
Referenced by STSTATUS_drawTechScreen().
| void STSTATUS_drawTechScreen | ( | TechScreen * | screen | ) |
Draws the partners' portraits and frames, the cursors and the help arrow.
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
Definition at line 307 of file tech_screen.c.
Referenced by STSTATUS_updateTechScreen().
|
inlinestatic |
Starts the fades of the first page and the title (and, with one party member, of the help's panel); the next substate is the party's size.
Definition at line 384 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
One member: once the page and the panels are in, shows the title and the page.
< STATUS: the field menu's and STSTATUS's
Definition at line 395 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Two members: once the first page and the title are in, shows them and starts the second page and the help's panel.
< STATUS: the field menu's and STSTATUS's
Definition at line 407 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Two members: once the second page and the help's panel are in, shows the page.
Definition at line 420 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Three members: once the first page and the title are in, shows them and starts the second page.
< STATUS: the field menu's and STSTATUS's
Definition at line 430 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Three members: once the second page is in, shows it and starts the third page and the help's panel.
Definition at line 442 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Three members: once the third page and the help's panel are in, shows the page.
Definition at line 453 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Shows the member cursor and the help for choosing who uses a technique.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 462 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Choosing who uses a technique: up and down move the cursor, cross opens the member's techniques, triangle closes the screen.
< SYSTEM06
< SYSTEM07
< SYSTEM01
Definition at line 471 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Starts opening the member's technique list, or says they have none.
< STATUS: the field menu's and STSTATUS's
Definition at line 498 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Hides the member cursor and says the member has no technique to use here.
< STATUS: the field menu's and STSTATUS's
Definition at line 512 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Cross takes the message away and goes back to choosing a member.
< SYSTEM07
< STATUS: the field menu's and STSTATUS's
Definition at line 521 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Once the list's panel is in, shows the techniques and the cursor on the first one.
Definition at line 534 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Choosing a technique: up and down move the cursor, cross uses it (after choosing whom, for one that heals one member) or says the MP is short, triangle closes the list.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< what is unavailable
< STATUS: the field menu's and STSTATUS's
< what is unavailable
< SYSTEM00: a choice is taken
< SYSTEM00: a choice is taken
< what is unavailable
< STATUS: the field menu's and STSTATUS's
< SYSTEM01
< STATUS: the field menu's and STSTATUS's
Definition at line 548 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Choosing whom the technique heals: up and down move the cursor, cross uses it or says the MP is short, triangle goes back to the list.
< SYSTEM06
< SYSTEM07
< SYSTEM07
< STATUS: the field menu's and STSTATUS's
< SYSTEM01
< STATUS: the field menu's and STSTATUS's
Definition at line 609 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Cross takes the short MP message away and goes back to the list.
< SYSTEM07
Definition at line 652 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Cross takes the technique's result away and goes back to where it was chosen.
< SYSTEM07
Definition at line 665 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Once the list's panel is closed, goes back to choosing a member.
Definition at line 682 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Starts closing the screen: the last page, the help's panel and, with one member, the title.
Definition at line 690 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
One member: ends the screen once the page and the panels are closed.
Definition at line 705 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Two members: once the second page and the help's panel are closed, starts closing the first and the title.
Definition at line 715 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Three members: once the third page and the help's panel are closed, starts closing the second.
Definition at line 728 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Three members: once the second page is closed, starts closing the first and the title.
Definition at line 739 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
|
inlinestatic |
Two or three members: ends the screen once the first page and the title are closed.
Definition at line 751 of file tech_screen.c.
Referenced by STSTATUS_runTechScreen().
| void STSTATUS_runTechScreen | ( | TechScreen * | screen, |
| TechScreenWindows * | windows | ||
| ) |
The technique screen's update: opens the pages, picks who uses a technique, which one and on whom, then closes them.
Definition at line 760 of file tech_screen.c.
Referenced by STSTATUS_updateTechScreen().
| void STSTATUS_updateTechScreen | ( | TechScreen * | screen, |
| TechScreenWindows * | windows | ||
| ) |
The technique screen's task: counts the party, lists each member's techniques that can be used here and creates the windows, then runs and draws the screen.
Definition at line 841 of file tech_screen.c.
Referenced by STSTATUS_createTechScreen().
| Task * STSTATUS_createTechScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the field menu's technique screen (task)
Definition at line 877 of file tech_screen.c.
| s32 STSTATUS_pageStats8[] |
Definition at line 886 of file tech_screen.c.
Referenced by STSTATUS_showTechPage().
| s32 STSTATUS_techSprites[] |
The sprites of the technique counts, from 1.
the sprites of the technique counts
Definition at line 891 of file tech_screen.c.
Referenced by STSTATUS_drawTechScreen().