|
Digimon World 3 decomp
The European version, SLES_039.36
|
STSTATUS.PRO: the field menu's screens. More...
#include "engine/game.h"Go to the source code of this file.
Data Structures | |
| struct | FieldMenuScreen |
| The mode's main task (STSTATUS_createMenu) More... | |
| struct | FieldMenuScreenChildren |
| struct | StatusScreen |
| A screen of the field menu (STSTATUS_screens) More... | |
| struct | PartyScreen |
| The screens with the party's pages (STSTATUS_createCardScreen, STSTATUS_createDemoScreen) More... | |
| struct | ItemScreen |
| The field menu's first screen (STSTATUS_createItemScreen) More... | |
| struct | ItemScreenWindows |
| struct | StatsScreen |
| The field menu's fifth screen (STSTATUS_createStatusScreen) More... | |
| struct | StatsScreenWindows |
| struct | DigivolvePanel |
| A panel of the fifth screen (STSTATUS_createDigivolvePanel) More... | |
| struct | DigivolvePanelWindows |
| struct | EquipPanel |
| A list of the fifth screen (STSTATUS_createEquipPanel) More... | |
| struct | EquipPanelWindows |
| struct | ItemList |
| A list of the first screen (STSTATUS_createItemList) More... | |
| struct | ItemListWindows |
| struct | StatusFuncs |
| The screens' helpers (STSTATUS_data.funcs) More... | |
| struct | StatusAreaFuncs |
| Where the game is (STSTATUS_areaFuncs) More... | |
| struct | PartyScreenWindows |
| The windows of the screens STSTATUS_updateCardScreen and STSTATUS_updateDemoScreen. More... | |
| struct | StatusMapScreen |
| The map screen (STSTATUS_createMapScreen); the offsets are the European version's, the USA version's are 4 more from 0x64 to 0x188. More... | |
| struct | SortScreen |
| The screen of STSTATUS_createSortScreen. More... | |
| struct | SortScreenWindows |
| struct | TechRow |
| A party member's techniques on the tech screen. More... | |
| struct | TechScreenWindows |
| The tech screen's windows. More... | |
| struct | TechScreen |
| The tech screen (STSTATUS_createTechScreen) More... | |
| struct | StatusMapSpot |
| An area on the map screen. More... | |
| struct | StatusMapPoint |
| struct | StatusData |
| The screens' tables, item lists and helpers, in one object: the functions that use two of them keep its address in a register. More... | |
| struct | StatusStatItem |
| What the items that raise a stat raise (STSTATUS_statItems), up to a kind of -1. More... | |
Macros | |
| #define | OVL_NAME(name) STSTATUS_##name |
| The name of this overlay's copy of a function of src/shared/. | |
| #define | FILE_STATUS_SPRITES 0x404 |
| The menu's sprite sheet; the next file is its texture archive. | |
| #define | FILE_STATUS_BG 0x799 |
| #define | DRAW_PAGE_PANELS(sprite, screen, i) |
| Draws the panels of the party's pages (parts 0x15 to 0x17 of the menu's sprites), each stretched across by its page's fade while it opens or closes; five screens draw them with this loop. | |
Functions | |
| void | STSTATUS_updateScene (Task *task, FieldMenuScreen **child) |
| card_screen.c | |
| void | STSTATUS_createCardWindows (PartyScreen *screen, PartyScreenWindows *windows) |
| Creates the windows of a screen with the party's pages. | |
| void | STSTATUS_showCardPage (PartyScreen *screen, PartyScreenWindows *windows, s32 member, s32 show) |
| Shows or hides a party member's page: name and five stats (as showPartnerPage) | |
| void | STSTATUS_showCardChoices (PartyScreen *screen, PartyScreenWindows *windows, s32 show) |
| Shows or hides the help and the two options with their cursor. | |
| void | STSTATUS_drawCardScreen (PartyScreen *screen) |
| Draws the party's portraits and their pages' panels. | |
| void | STSTATUS_runCardScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| Runs the screen: the pages come in one after the other, the cursor picks one of the two options, and the pages go out in reverse. | |
| void | STSTATUS_updateCardScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| The screen's update: counts the party and opens the pages. | |
| Task * | STSTATUS_createCardScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the screen with the party's pages (task) whose two options go to the card album (MODE_CARD_ALBUM) or the deck editor (MODE_DECK_EDITOR) | |
| void | STSTATUS_startFader (ScreenFade *task, s32 fadeIn, s32 duration) |
| void | STSTATUS_drawFader (ScreenFade *task) |
| void | STSTATUS_updateFader (ScreenFade *task) |
| ScreenFade * | STSTATUS_createFader (void) |
| void | STSTATUS_createDemoWindows (PartyScreen *screen, PartyScreenWindows *windows) |
| demo_screen.c | |
| void | STSTATUS_showDemoPage (PartyScreen *screen, PartyScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showCardPage. | |
| void | STSTATUS_showDemoChoices (PartyScreen *screen, PartyScreenWindows *windows, s32 show) |
| As STSTATUS_showCardChoices, for the second screen: the options are GAME.digivolveDemo's two values, the current one highlighted. | |
| void | STSTATUS_drawDemoScreen (PartyScreen *screen) |
| As STSTATUS_drawCardScreen, for the second screen. | |
| void | STSTATUS_runDemoScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| As STSTATUS_runCardScreen, for the second screen: the choice sets GAME.digivolveDemo. | |
| void | STSTATUS_updateDemoScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| As STSTATUS_updateCardScreen, for the second screen. | |
| Task * | STSTATUS_createDemoScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the second screen with the party's pages (task), whose two options set GAME.digivolveDemo. | |
| void | STSTATUS_createEquipWindows (EquipPanel *panel, EquipPanelWindows *windows) |
| equip_panel.c | |
| void | STSTATUS_showEquipment (EquipPanel *panel, EquipPanelWindows *windows, s32 show) |
| The partner's equipment, or the slots' names where it has none. | |
| void | STSTATUS_showEquipItem (EquipPanel *panel, EquipPanelWindows *windows, s32 item) |
| An item's name and, for slots 2 and 3, its kind (none: string 0x51) | |
| void | STSTATUS_showEquipList (EquipPanel *panel, EquipPanelWindows *windows, s32 show) |
| Fills the list of the items that fit the slot. | |
| void | STSTATUS_showSlotItem (EquipPanel *panel, EquipPanelWindows *windows, s32 show) |
| The item in the slot being changed, or the slot's name if it's empty. | |
| void | STSTATUS_drawEquipPanel (EquipPanel *panel) |
| Draws the equipment panels: the partner's equipment, the list of items that fit the slot and the slot's item. | |
| void | STSTATUS_runEquipPanel (EquipPanel *panel, EquipPanelWindows *windows) |
| The equipment panel's steps: a slot is chosen, then an item from the list of those that fit it, the ones the partner can equip first. | |
| void | STSTATUS_updateEquipPanel (EquipPanel *panel, EquipPanelWindows *windows) |
| The equipment panel's task: creates its windows, then runs and draws it; when killed it clears the fifth screen's unk70. | |
| EquipPanel * | STSTATUS_createEquipPanel (StatsScreen *screen) |
| Creates the fifth screen's equipment panel (task) for its chosen party member. | |
| void | STSTATUS_createDigivolveWindows (DigivolvePanel *panel, DigivolvePanelWindows *windows) |
| digivolve_panel.c | |
| void | STSTATUS_showDigivolveSlots (DigivolvePanel *panel, DigivolvePanelWindows *windows, s32 show) |
| The Digimon in the partner's three slots, the one it is highlighted, and the partner's own name. | |
| void | STSTATUS_showDigivolveChoices (DigivolvePanel *panel, DigivolvePanelWindows *windows, s32 show) |
| Shows or hides the question about the chosen slot: its Digimon's name, then to start battles as it (or to stop, when it already does) or its techniques. | |
| void | STSTATUS_showDigivolveStats (DigivolvePanel *panel, DigivolvePanelWindows *windows, s32 show) |
| The stats and techniques of the slot's entry (or of the partner itself), or hides them. | |
| void | STSTATUS_scrollTechList (DigivolvePanel *panel, DigivolvePanelWindows *windows) |
| Moves the list to the panel's scroll position. | |
| void | STSTATUS_showTechCost (DigivolvePanel *panel, DigivolvePanelWindows *windows, s32 show) |
| Shows the cost of the technique under the list's cursor. | |
| void | STSTATUS_drawDigivolvePanel (DigivolvePanel *panel) |
| Draws the panel's frames, the technique icons and the help arrow. | |
| void | STSTATUS_runDigivolvePanel (DigivolvePanel *panel, DigivolvePanelWindows *windows) |
| The panel's update: picks a slot, then shows its entry's techniques or makes the battle start as it. | |
| void | STSTATUS_updateDigivolvePanel (DigivolvePanel *panel, DigivolvePanelWindows *windows) |
| The digivolution panel's task: creates its windows and counts the partner's filled slots, then runs and draws the panel. | |
| DigivolvePanel * | STSTATUS_createDigivolvePanel (StatsScreen *screen) |
| Creates the fifth screen's digivolution panel (task) for its chosen party member. | |
| void | STSTATUS_createStatusWindows (StatsScreen *screen, StatsScreenWindows *windows) |
| status_screen.c | |
| void | STSTATUS_showStatusPage (StatsScreen *screen, StatsScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showCardPage. | |
| void | STSTATUS_showChosenPage (StatsScreen *screen, StatsScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showStatusPage, on the first page. | |
| void | STSTATUS_showStatusChoices (StatsScreen *screen, StatsScreenWindows *windows, s32 show) |
| Shows or hides the fifth screen's two options: the digivolution panel and the equipment panel. | |
| void | STSTATUS_showPartnerSlots (StatsScreen *screen, StatsScreenWindows *windows, s32 show) |
| The partner's slots: the entries in it (getPartnerSlots), the one it starts battles as (battleDigivolve) in palette 1, or hides them. | |
| void | STSTATUS_showPartnerEquipment (StatsScreen *screen, StatsScreenWindows *windows, s32 show) |
| The party member's equipment, or the slots' names where it has none. | |
| void | STSTATUS_showPartnerStats (StatsScreen *screen, StatsScreenWindows *windows, s32 show) |
| Shows the party member's stats, in another palette the ones that are raised. | |
| void | STSTATUS_previewStats (StatsScreen *screen, s32 slot, s32 item) |
| Shows the party member's stats as they would be with the item in the slot, in another palette the ones it changes (slot -1: as they are) | |
| void | STSTATUS_drawStatusScreen (StatsScreen *screen) |
| Draws the partners' portraits and frames, the chosen one's, its equipment and the panels' frames. | |
| void | STSTATUS_runStatusChoice (StatsScreen *screen, StatsScreenWindows *windows) |
| Runs the fifth screen's question: the panels come in, the cursor picks one of the two options and the panels go out. | |
| void | STSTATUS_runStatusScreen (StatsScreen *screen, StatsScreenWindows *windows) |
| The fifth screen's steps: the pages fade in, a party member is chosen and its panel opens, then the pages fade out. | |
| void | STSTATUS_updateStatusScreen (StatsScreen *screen, StatsScreenWindows *windows) |
| The fifth screen's task: counts the party, starts the pages' fades and creates the windows, then runs and draws the screen. | |
| Task * | STSTATUS_createStatusScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the field menu's fifth screen (task), the party's stats, slots and equipment. | |
| void | STSTATUS_createItemWindows (ItemScreen *screen, ItemScreenWindows *windows) |
| item_screen.c | |
| void | STSTATUS_showItemPage (ItemScreen *screen, ItemScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showCardPage. | |
| void | STSTATUS_showMoney (ItemScreen *screen, ItemScreenWindows *windows, s32 show) |
| Shows or hides the player's money. | |
| void | STSTATUS_showItemLists (ItemScreen *screen, ItemScreenWindows *windows, s32 show) |
| Shows or hides the first screen's five options, the item lists. | |
| void | STSTATUS_showChosenItem (ItemScreen *screen, s32 show) |
| Shows or hides the chosen item's name and how many are equipped and owned. | |
| void | STSTATUS_showItemHelp (ItemScreen *screen, s32 mode) |
| The help line: 1 the chosen item and the kind of a weapon, 2 a question with two answers, -2 hides the answers, -1 the kind, others all. | |
| void | STSTATUS_fadeItemInfo (ItemScreen *screen, s32 show) |
| Opens or closes the chosen item's panel (its icon and frame); closing it also hides the item's name, counts and help. | |
| s32 | STSTATUS_itemInfoFaded (ItemScreen *screen) |
| Moves the chosen item's panel on; 1 once it is fully open or closed. | |
| void | STSTATUS_useItem (ItemScreen *screen, ItemScreenWindows *windows) |
| Uses the chosen item on the chosen party member. | |
| void | STSTATUS_drawItemScreen (ItemScreen *screen) |
| Draws the partners' portraits and frames, the item, the cursor and the help arrow. | |
| void | STSTATUS_runItemScreen (ItemScreen *screen, ItemScreenWindows *windows) |
| The first screen's update: opens the pages, picks an item list, then the party member to use the chosen item on, and closes them. | |
| void | STSTATUS_updateItemScreen (ItemScreen *screen, ItemScreenWindows *windows) |
| The first screen's task: counts the party, sets the fades and creates the windows, then runs and draws the screen. | |
| Task * | STSTATUS_createItemScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the field menu's first screen (task), the items. | |
| void | STSTATUS_createItemListWindows (ItemList *panel, ItemListWindows *windows) |
| item_list.c | |
| void | STSTATUS_showItemListPage (ItemList *panel, ItemListWindows *windows, s32 show) |
| Shows or hides the list's page and its arrows. | |
| void | STSTATUS_refreshItemList (ItemList *panel, ItemListWindows *windows) |
| Shows the page with the arrows, the chosen item and the page number. | |
| s32 | STSTATUS_moveItemListCursor (ItemList *panel, ItemListWindows *windows) |
| Moves the item list's cursor: L1 and R1 turn the pages; returns whether it moved. | |
| void | STSTATUS_runItemList (ItemList *panel, ItemListWindows *windows) |
| The item list's update: fades in, lets an item be chosen, fades out. | |
| void | STSTATUS_drawItemList (ItemList *panel) |
| Draws the item list's icons, page arrows and frames. | |
| void | STSTATUS_updateItemList (ItemList *panel, ItemListWindows *windows) |
| The item list's task: fills the list, counts its pages of 16 and puts the cursor on the start item (else where the last chosen one was), then runs and draws the list. | |
| ItemList * | STSTATUS_createItemList (ItemScreen *screen, s32 list, s32 item) |
| Creates the first screen's list of the items of a list (task), the cursor on ITEM when it is not 0. | |
| void | STSTATUS_fillItemList (ItemList *panel) |
| tech_screen.c | |
| 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. | |
| void | STSTATUS_drawTechScreen (TechScreen *screen) |
| Draws the partners' portraits and frames, the cursors and the help arrow. | |
| 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) | |
| void | STSTATUS_createSortWindows (SortScreen *screen, SortScreenWindows *windows) |
| sort_screen.c | |
| void | STSTATUS_showSortPage (SortScreen *screen, SortScreenWindows *windows, s32 member, s32 show) |
| As STSTATUS_showCardPage. | |
| void | STSTATUS_drawSortScreen (SortScreen *screen) |
| Draws the cursors, the partners' portraits and frames, the two being swapped squashed by the fade, and the swap's arrow. | |
| void | STSTATUS_runSortScreen (SortScreen *screen, SortScreenWindows *windows) |
| The party order screen's steps: the pages fade in, two members are chosen and swapped, then the pages fade out. | |
| void | STSTATUS_updateSortScreen (SortScreen *screen, SortScreenWindows *windows) |
| The party order screen's task: counts the party, starts the fades and creates the windows, then runs and draws the screen. | |
| Task * | STSTATUS_createSortScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the field menu's party order screen (task), where two members swap places. | |
| void | STSTATUS_showMapArea (StatusMapScreen *screen, TextWindow **windows) |
| map_screen.c | |
| void | STSTATUS_moveMapCursor (StatusMapScreen *screen, s32 dx, s32 dy) |
| Moves the cursor, or the map when the cursor is in the middle. | |
| void | STSTATUS_runMapScreen (StatusMapScreen *screen, TextWindow **windows) |
| Moves the cursor faster while the pad is held; triangle closes. | |
| void | STSTATUS_drawMapScreen (StatusMapScreen *screen) |
| Draws the map, the visited areas, the towns and the cursor. | |
| void | STSTATUS_updateMapScreen (StatusMapScreen *screen, TextWindow **windows) |
| The map screen's update. | |
| Task * | STSTATUS_createMapScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the map screen (task): the map of the first half of the game or, in the late game, of the second (FILE_STATUS_BG + 2), and requests its area names. | |
| void | STSTATUS_setScrollBarX (ScrollBar *bar, s32 x, s32 width) |
| menu.c | |
| void | STSTATUS_setScrollBarRange (ScrollBar *bar, s32 top, s32 bottom) |
| void | STSTATUS_setScrollBarCount (ScrollBar *bar, s32 pageSize, s32 count) |
| void | STSTATUS_setScrollBarPos (ScrollBar *bar, s32 pos) |
| void | STSTATUS_updateScrollBar (ScrollBar *bar) |
| ScrollBar * | STSTATUS_createScrollBar (void) |
| void | STSTATUS_runScreens (FieldMenuScreen *menu, FieldMenuScreenChildren *children) |
| Opens the screen of FIELD_MENU_CHOICE (the item screen when it has none) and, once it closes, the field menu again. | |
| void | STSTATUS_drawBackground (FieldMenuScreen *menu) |
| Draws the scrolling background, sprite 0x1D at (bgScroll, bgScroll): it moves one pixel down and right every other frame, back to 0 at 0x60. | |
| void | STSTATUS_updateMenu (FieldMenuScreen *menu, FieldMenuScreenChildren *children) |
| The mode's main task: loads the files and the background's textures, then runs the screens (STSTATUS_runScreens); while the field menu is open (TASK_DONE) it waits for it to close. | |
| FieldMenuScreen * | STSTATUS_createMenu (void) |
| Creates the mode's main task and requests its background's files, the second half of the game's in the late game. | |
| void | STSTATUS_loadFiles (void) |
| Loads the menu's textures and requests its strings: the menu's, the items', the Digimon's and the skills' names and descriptions. | |
| s32 | STSTATUS_filesLoading (void) |
| Whether the menu's strings are still loading. | |
| void | STSTATUS_startFade (PanelAnim *fade, s32 fadeIn) |
| s32 | STSTATUS_updateFade (PanelAnim *fade) |
| void | STSTATUS_startLerp (MenuLerp *lerp, s32 from, s32 to, s32 frames) |
| Starts moving a value from FROM to TO in FRAMES frames, playing SOUND_MENU_OPEN; nothing when they are the same. | |
| s32 | STSTATUS_updateLerp (MenuLerp *lerp) |
| s32 * | STSTATUS_getTowns (s32 list, s32 index) |
| helpers.c | |
| s32 | STSTATUS_listItems (s32 list, s16 *out) |
| Puts the owned items of a list in OUT and returns how many: below 5 the item lists of ITEM_FUNCS, 5 the equipment of STSTATUS_equipKinds, 6 and 7 the items of kinds 4 and 5 (STSTATUS_slotLists) | |
| s32 | STSTATUS_listEquipItems (s16 *out) |
| The items whose kind (WeaponData.kind) is one of STSTATUS_equipKinds's four. | |
| s32 | STSTATUS_listItemsOfKind (s32 kind, s16 *out) |
| The items of one kind (WeaponData.kind) | |
| s32 | STSTATUS_canEquip (s32 partner, s32 slot, s32 item) |
| Whether a partner can put an item in an equipment slot (-1: none): its partners has a bit per partner; kind 1 can't go in slot 3, nor 2 in slot 2. | |
| void | STSTATUS_equip (s32 partner, s32 slot, s32 item) |
| Puts an item in a partner's equipment slot (0 or less: empties it), moving the counts between GAME.items and GAME.equippedItems. | |
| s32 | STSTATUS_getGameHalf (void) |
| 1 on the field maps of the second half of the game (0x270 on), 0 on those of the first, -1 past them (0x2D7 on) | |
| s32 | STSTATUS_getArea (void) |
| The map's area of the current field map (STSTATUS_mapAreas) | |
| void | STSTATUS_getVisitedAreas (s32 *out) |
| Sets OUT[area] to 1 for the map's areas of this half of the game that have a field map whose flag (0x2000 + the map's low byte) is set. | |
Variables | |
| s32 | STSTATUS_pageStats [] |
| STSTATUS's data, in its order: each object's tables, then the last one's (helpers.c), which all the objects read. | |
| s32 | STSTATUS_pageStats2 [] |
| s32 | STSTATUS_slotStrings [] |
| the strings of the empty equipment slots | |
| s32 | STSTATUS_kindStrings [] |
| the strings of the item kinds, from 1 | |
| s32 | STSTATUS_slotLists [] |
| the item list of each equipment slot | |
| s32 | STSTATUS_panelStats [] |
| the stats the fifth screen's panel shows | |
| s32 | STSTATUS_pageStats4 [] |
| s32 | STSTATUS_equipStats [] |
| the stats screen 4 shows | |
| s32 | STSTATUS_equipStrings [] |
| The strings of the empty equipment slots, as STSTATUS_slotStrings. | |
| s32 | STSTATUS_itemLists [] |
| the item lists of the first screen's options | |
| s32 | STSTATUS_pageStats0 [] |
| s32 | STSTATUS_kindStrings0 [] |
| the strings of the item kinds, from 0 | |
| StatusStatItem | STSTATUS_statItems [] |
| What the items that raise a stat raise. | |
| s32 | STSTATUS_pageStats8 [] |
| s32 | STSTATUS_techSprites [] |
| the sprites of the technique counts | |
| s32 | STSTATUS_pageStats9 [] |
| s32 | STSTATUS_cursorFrames [] |
| the map cursor's frames | |
| Task *(* | STSTATUS_screens [2][7])(FieldMenuScreen *menu, s32 extra) |
| The field menu's screens, by FIELD_MENU_CHOICE. | |
| PartnerAnim | STSTATUS_partnerAnims [] |
| The partners' portrait animations. | |
| WindowPos | STSTATUS_layout [] |
| Where the screens' windows go, and their strings. | |
| StatusMapSpot | STSTATUS_spots [] |
| The map's areas (STSTATUS_mapAreas), from 1. | |
| StatusMapPoint | STSTATUS_towns [] |
| Where the map's towns are, from 1. | |
| s32 | STSTATUS_townList0 [] |
| the towns the map shows, up to 0 | |
| s32 | STSTATUS_townList1 [] |
| s32 | STSTATUS_townList2 [] |
| s32 | STSTATUS_townList3 [] |
| s32 | STSTATUS_noTowns |
| s32 * | STSTATUS_townLists [][5] |
| The towns the map shows, by STSTATUS_getGameHalf and GAME.progress. | |
| StatusData | STSTATUS_data |
| u8 | STSTATUS_equipKinds [] |
| the item kinds of item list 5 | |
| u8 | STSTATUS_mapAreas [] |
| the map's area of each field map | |
| StatusAreaFuncs | STSTATUS_areaFuncs |
| Where the game is. | |
STSTATUS.PRO: the field menu's screens.
createFieldMenu (in main) lists the options; picking one switches to this mode, which opens the screen of FIELD_MENU_CHOICE (STSTATUS_screens) and goes back to the field menu when it closes. Its strings are in files 0xB1, 0x6B, 0x64, 0x4F, 0x48, 0xA3 and 0x9C.
Definition in file field_menu.h.
| #define OVL_NAME | ( | name | ) | STSTATUS_##name |
The name of this overlay's copy of a function of src/shared/.
Definition at line 13 of file field_menu.h.
| #define FILE_STATUS_SPRITES 0x404 |
The menu's sprite sheet; the next file is its texture archive.
Definition at line 20 of file field_menu.h.
| #define FILE_STATUS_BG 0x799 |
Definition at line 21 of file field_menu.h.
| #define DRAW_PAGE_PANELS | ( | sprite, | |
| screen, | |||
| i | |||
| ) |
Draws the panels of the party's pages (parts 0x15 to 0x17 of the menu's sprites), each stretched across by its page's fade while it opens or closes; five screens draw them with this loop.
The match depends on both branches drawing the panel's last part: drawn once after the if, the saved registers change.
Definition at line 455 of file field_menu.h.
| void STSTATUS_updateScene | ( | Task * | task, |
| FieldMenuScreen ** | child | ||
| ) |
| void STSTATUS_createCardWindows | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
Creates the windows of a screen with the party's pages.
Definition at line 21 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
| void STSTATUS_showCardPage | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
Shows or hides a party member's page: name and five stats (as showPartnerPage)
< STATUS: the field menu's and STSTATUS's
Definition at line 56 of file card_screen.c.
Referenced by STSTATUS_closeCardScreen(), STSTATUS_closeSecondOfThreeCardPages(), STSTATUS_closeSecondOfTwoCardPages(), STSTATUS_closeThirdCardPage(), STSTATUS_openCardScreenAlone(), STSTATUS_openFirstOfThreeCardPages(), STSTATUS_openFirstOfTwoCardPages(), STSTATUS_openSecondOfThreeCardPages(), STSTATUS_openSecondOfTwoCardPages(), and STSTATUS_openThirdCardPage().
| void STSTATUS_showCardChoices | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the help and the two options with their cursor.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 87 of file card_screen.c.
Referenced by STSTATUS_closeCardScreen(), STSTATUS_openCardScreenAlone(), STSTATUS_openSecondOfTwoCardPages(), and STSTATUS_openThirdCardPage().
| void STSTATUS_drawCardScreen | ( | PartyScreen * | screen | ) |
Draws the party's portraits and their pages' panels.
< 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 106 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
| void STSTATUS_runCardScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
Runs the screen: the pages come in one after the other, the cursor picks one of the two options, and the pages go out in reverse.
Definition at line 344 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
| void STSTATUS_updateCardScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
The screen's update: counts the party and opens the pages.
Definition at line 411 of file card_screen.c.
Referenced by STSTATUS_createCardScreen().
| Task * STSTATUS_createCardScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the screen with the party's pages (task) whose two options go to the card album (MODE_CARD_ALBUM) or the deck editor (MODE_DECK_EDITOR)
Definition at line 447 of file card_screen.c.
| void STSTATUS_startFader | ( | ScreenFade * | task, |
| s32 | fadeIn, | ||
| s32 | duration | ||
| ) |
| void STSTATUS_drawFader | ( | ScreenFade * | task | ) |
| void STSTATUS_updateFader | ( | ScreenFade * | task | ) |
| ScreenFade * STSTATUS_createFader | ( | void | ) |
| void STSTATUS_createDemoWindows | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
Definition at line 8 of file demo_screen.c.
Referenced by STSTATUS_updateDemoScreen().
| void STSTATUS_showDemoPage | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardPage.
< STATUS: the field menu's and STSTATUS's
Definition at line 38 of file demo_screen.c.
Referenced by STSTATUS_closeDemoScreen(), STSTATUS_closeSecondOfThreeDemoPages(), STSTATUS_closeSecondOfTwoDemoPages(), STSTATUS_closeThirdDemoPage(), STSTATUS_openDemoScreenAlone(), STSTATUS_openFirstOfThreeDemoPages(), STSTATUS_openFirstOfTwoDemoPages(), STSTATUS_openSecondOfThreeDemoPages(), STSTATUS_openSecondOfTwoDemoPages(), and STSTATUS_openThirdDemoPage().
| void STSTATUS_showDemoChoices | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardChoices, for the second screen: the options are GAME.digivolveDemo's two values, the current one highlighted.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< a light blue: what is highlighted or current
< a light blue: what is highlighted or current
Definition at line 70 of file demo_screen.c.
Referenced by STSTATUS_closeDemoScreen(), STSTATUS_openDemoScreenAlone(), STSTATUS_openSecondOfTwoDemoPages(), and STSTATUS_openThirdDemoPage().
| void STSTATUS_drawDemoScreen | ( | PartyScreen * | screen | ) |
As STSTATUS_drawCardScreen, for the second screen.
< 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 98 of file demo_screen.c.
Referenced by STSTATUS_updateDemoScreen().
| void STSTATUS_runDemoScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
As STSTATUS_runCardScreen, for the second screen: the choice sets GAME.digivolveDemo.
Definition at line 316 of file demo_screen.c.
Referenced by STSTATUS_updateDemoScreen().
| void STSTATUS_updateDemoScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
As STSTATUS_updateCardScreen, for the second screen.
Definition at line 371 of file demo_screen.c.
Referenced by STSTATUS_createDemoScreen().
| Task * STSTATUS_createDemoScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the second screen with the party's pages (task), whose two options set GAME.digivolveDemo.
Definition at line 407 of file demo_screen.c.
| void STSTATUS_createEquipWindows | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows | ||
| ) |
Definition at line 8 of file equip_panel.c.
Referenced by STSTATUS_updateEquipPanel().
| void STSTATUS_showEquipment | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows, | ||
| s32 | show | ||
| ) |
The partner's equipment, or the slots' names where it has none.
< ITMNAM
< STATUS: the field menu's and STSTATUS's
Definition at line 32 of file equip_panel.c.
Referenced by STSTATUS_closeEquipPanel(), STSTATUS_closeEquipSlots(), and STSTATUS_openEquipSlots().
| void STSTATUS_showEquipItem | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows, | ||
| s32 | item | ||
| ) |
An item's name and, for slots 2 and 3, its kind (none: string 0x51)
< ITMINF
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 55 of file equip_panel.c.
Referenced by STSTATUS_chooseEquipItem(), and STSTATUS_showEquipList().
| void STSTATUS_showEquipList | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows, | ||
| s32 | show | ||
| ) |
Fills the list of the items that fit the slot.
< STATUS: the field menu's and STSTATUS's
< what is unavailable
< ITMNAM
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 72 of file equip_panel.c.
Referenced by STSTATUS_chooseEquipItem(), STSTATUS_closeEquipList(), and STSTATUS_enterEquipList().
| void STSTATUS_showSlotItem | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows, | ||
| s32 | show | ||
| ) |
The item in the slot being changed, or the slot's name if it's empty.
< STATUS: the field menu's and STSTATUS's
< ITMNAM
< STATUS: the field menu's and STSTATUS's
Definition at line 123 of file equip_panel.c.
Referenced by STSTATUS_closeSlotItem(), and STSTATUS_openEquipList().
| void STSTATUS_drawEquipPanel | ( | EquipPanel * | panel | ) |
Draws the equipment panels: the partner's equipment, the list of items that fit the slot and the slot's item.
< 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 144 of file equip_panel.c.
Referenced by STSTATUS_updateEquipPanel().
| void STSTATUS_runEquipPanel | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows | ||
| ) |
The equipment panel's steps: a slot is chosen, then an item from the list of those that fit it, the ones the partner can equip first.
Definition at line 497 of file equip_panel.c.
Referenced by STSTATUS_updateEquipPanel().
| void STSTATUS_updateEquipPanel | ( | EquipPanel * | panel, |
| EquipPanelWindows * | windows | ||
| ) |
The equipment panel's task: creates its windows, then runs and draws it; when killed it clears the fifth screen's unk70.
Definition at line 556 of file equip_panel.c.
Referenced by STSTATUS_createEquipPanel().
| EquipPanel * STSTATUS_createEquipPanel | ( | StatsScreen * | screen | ) |
Creates the fifth screen's equipment panel (task) for its chosen party member.
Definition at line 581 of file equip_panel.c.
Referenced by STSTATUS_openStatusPanel().
| void STSTATUS_createDigivolveWindows | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows | ||
| ) |
Definition at line 8 of file digivolve_panel.c.
Referenced by STSTATUS_updateDigivolvePanel().
| void STSTATUS_showDigivolveSlots | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows, | ||
| s32 | show | ||
| ) |
The Digimon in the partner's three slots, the one it is highlighted, and the partner's own name.
< DIGNAM
< a light blue: what is highlighted or current
< DIGNAM
Definition at line 51 of file digivolve_panel.c.
Referenced by STSTATUS_closeDigivolvePanel(), STSTATUS_closeSlotsForPartnerTech(), STSTATUS_closeSlotsForQuestion(), STSTATUS_enterSlotsAgain(), and STSTATUS_openDigivolveSlots().
| void STSTATUS_showDigivolveChoices | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the question about the chosen slot: its Digimon's name, then to start battles as it (or to stop, when it already does) or its techniques.
< DIGNAM
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 85 of file digivolve_panel.c.
Referenced by STSTATUS_closeDigivolveQuestion(), STSTATUS_closeQuestionForBattle(), STSTATUS_closeQuestionForTechs(), STSTATUS_enterDigivolveQuestion(), and STSTATUS_enterQuestionAgain().
| void STSTATUS_showDigivolveStats | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows, | ||
| s32 | show | ||
| ) |
The stats and techniques of the slot's entry (or of the partner itself), or hides them.
< DIGNAM
< STATUS: the field menu's and STSTATUS's
< SKLNAM
< the skill, from 1 (TECHS[id - 1])
< the sixth skill
< marked in the lab (STGDGLAB_updateSkillPanel)
< DIGNAM
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< SKLNAM
Definition at line 110 of file digivolve_panel.c.
Referenced by STSTATUS_chooseDigivolveSlot(), STSTATUS_closeBattleMessage(), STSTATUS_closeDigivolvePanel(), and STSTATUS_openDigivolveStats().
| void STSTATUS_scrollTechList | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows | ||
| ) |
Moves the list to the panel's scroll position.
Definition at line 234 of file digivolve_panel.c.
Referenced by STSTATUS_endBattleMessage(), STSTATUS_openBattleMessage(), STSTATUS_openEntryTechs(), STSTATUS_openPartnerTech(), STSTATUS_reopenDigivolveQuestion(), and STSTATUS_reopenSlotsAfterTech().
| void STSTATUS_showTechCost | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the cost of the technique under the list's cursor.
< the skill, from 1 (TECHS[id - 1])
< SKLINF
< STATUS: the field menu's and STSTATUS's
< SKLINF
< STATUS: the field menu's and STSTATUS's
Definition at line 254 of file digivolve_panel.c.
Referenced by STSTATUS_closeEntryTechs(), STSTATUS_closePartnerTech(), and STSTATUS_runDigivolvePanel().
| void STSTATUS_drawDigivolvePanel | ( | DigivolvePanel * | panel | ) |
Draws the panel's frames, the technique icons 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
< the skill, from 1 (TECHS[id - 1])
< 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 290 of file digivolve_panel.c.
Referenced by STSTATUS_updateDigivolvePanel().
| void STSTATUS_runDigivolvePanel | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows | ||
| ) |
The panel's update: picks a slot, then shows its entry's techniques or makes the battle start as it.
< the skill, from 1 (TECHS[id - 1])
< STATUS: the field menu's and STSTATUS's
< the skill, from 1 (TECHS[id - 1])
< the skill, from 1 (TECHS[id - 1])
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 767 of file digivolve_panel.c.
Referenced by STSTATUS_updateDigivolvePanel().
| void STSTATUS_updateDigivolvePanel | ( | DigivolvePanel * | panel, |
| DigivolvePanelWindows * | windows | ||
| ) |
The digivolution panel's task: creates its windows and counts the partner's filled slots, then runs and draws the panel.
Definition at line 944 of file digivolve_panel.c.
Referenced by STSTATUS_createDigivolvePanel().
| DigivolvePanel * STSTATUS_createDigivolvePanel | ( | StatsScreen * | screen | ) |
Creates the fifth screen's digivolution panel (task) for its chosen party member.
Definition at line 976 of file digivolve_panel.c.
Referenced by STSTATUS_openStatusPanel().
| void STSTATUS_createStatusWindows | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows | ||
| ) |
Definition at line 7 of file status_screen.c.
Referenced by STSTATUS_updateStatusScreen().
| void STSTATUS_showStatusPage | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardPage.
< STATUS: the field menu's and STSTATUS's
Definition at line 58 of file status_screen.c.
Referenced by STSTATUS_closeSecondOfThreeStatusPages(), STSTATUS_closeSecondOfTwoStatusPages(), STSTATUS_closeStatusScreen(), STSTATUS_closeThirdStatusPage(), STSTATUS_openFirstOfThreeStatusPages(), STSTATUS_openFirstOfTwoStatusPages(), STSTATUS_openSecondOfThreeStatusPages(), STSTATUS_openSecondOfTwoStatusPages(), STSTATUS_openStatusScreenAlone(), and STSTATUS_openThirdStatusPage().
| void STSTATUS_showChosenPage | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showStatusPage, on the first page.
< STATUS: the field menu's and STSTATUS's
Definition at line 89 of file status_screen.c.
Referenced by STSTATUS_runStatusChoice().
| void STSTATUS_showStatusChoices | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the fifth screen's two options: the digivolution panel and the equipment panel.
< STATUS: the field menu's and STSTATUS's
Definition at line 123 of file status_screen.c.
Referenced by STSTATUS_runStatusChoice().
| void STSTATUS_showPartnerSlots | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
The partner's slots: the entries in it (getPartnerSlots), the one it starts battles as (battleDigivolve) in palette 1, or hides them.
< STATUS: the field menu's and STSTATUS's
< DIGNAM
< a light blue: what is highlighted or current
Definition at line 139 of file status_screen.c.
Referenced by STSTATUS_runStatusChoice().
| void STSTATUS_showPartnerEquipment | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
The party member's equipment, or the slots' names where it has none.
< STATUS: the field menu's and STSTATUS's
< ITMNAM
< STATUS: the field menu's and STSTATUS's
Definition at line 173 of file status_screen.c.
Referenced by STSTATUS_runStatusChoice().
| void STSTATUS_showPartnerStats | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the party member's stats, in another palette the ones that are raised.
< STATUS: the field menu's and STSTATUS's
Definition at line 198 of file status_screen.c.
Referenced by STSTATUS_previewStats(), and STSTATUS_runStatusChoice().
| void STSTATUS_previewStats | ( | StatsScreen * | screen, |
| s32 | slot, | ||
| s32 | item | ||
| ) |
Shows the party member's stats as they would be with the item in the slot, in another palette the ones it changes (slot -1: as they are)
< takes slots 2 and 3
< takes slots 2 and 3
< one of its group at a time
< takes slots 2 and 3
< a light blue: what is highlighted or current
< a light blue: what is highlighted or current
Definition at line 246 of file status_screen.c.
Referenced by STSTATUS_createStatusScreen().
| void STSTATUS_drawStatusScreen | ( | StatsScreen * | screen | ) |
Draws the partners' portraits and frames, the chosen one's, its equipment and the panels' frames.
< 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
< 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
< 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 379 of file status_screen.c.
Referenced by STSTATUS_updateStatusScreen().
| void STSTATUS_runStatusChoice | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows | ||
| ) |
Runs the fifth screen's question: the panels come in, the cursor picks one of the two options and the panels go out.
< STATUS: the field menu's and STSTATUS's
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 497 of file status_screen.c.
Referenced by STSTATUS_runStatusScreen().
| void STSTATUS_runStatusScreen | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows | ||
| ) |
The fifth screen's steps: the pages fade in, a party member is chosen and its panel opens, then the pages fade out.
Definition at line 833 of file status_screen.c.
Referenced by STSTATUS_updateStatusScreen().
| void STSTATUS_updateStatusScreen | ( | StatsScreen * | screen, |
| StatsScreenWindows * | windows | ||
| ) |
The fifth screen's task: counts the party, starts the pages' fades and creates the windows, then runs and draws the screen.
Definition at line 900 of file status_screen.c.
Referenced by STSTATUS_createStatusScreen().
| Task * STSTATUS_createStatusScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the field menu's fifth screen (task), the party's stats, slots and equipment.
Definition at line 941 of file status_screen.c.
| void STSTATUS_createItemWindows | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows | ||
| ) |
Definition at line 7 of file item_screen.c.
Referenced by STSTATUS_updateItemScreen().
| void STSTATUS_showItemPage | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardPage.
< STATUS: the field menu's and STSTATUS's
Definition at line 49 of file item_screen.c.
Referenced by STSTATUS_closeItemScreen(), STSTATUS_closeItemScreenForList(), STSTATUS_closeMemberPages(), STSTATUS_closeSecondMemberPage(), STSTATUS_closeSecondOfThreeItemPages(), STSTATUS_closeSecondOfTwoItemPages(), STSTATUS_closeThirdItemPage(), STSTATUS_closeThirdMemberPage(), STSTATUS_openFirstMemberPage(), STSTATUS_openFirstOfThreeItemPages(), STSTATUS_openFirstOfTwoItemPages(), STSTATUS_openItemScreenAlone(), STSTATUS_openSecondMemberPage(), STSTATUS_openSecondOfThreeItemPages(), STSTATUS_openSecondOfTwoItemPages(), STSTATUS_openThirdItemPage(), STSTATUS_openThirdMemberPage(), and STSTATUS_useItem().
| void STSTATUS_showMoney | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the player's money.
< STATUS: the field menu's and STSTATUS's
Definition at line 80 of file item_screen.c.
Referenced by STSTATUS_openItemScreenAlone(), STSTATUS_openSecondOfTwoItemPages(), STSTATUS_openThirdItemPage(), and STSTATUS_reopenItemOptions().
| void STSTATUS_showItemLists | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the first screen's five options, the item lists.
< STATUS: the field menu's and STSTATUS's
Definition at line 92 of file item_screen.c.
Referenced by STSTATUS_closeItemScreen(), STSTATUS_closeThirdItemPage(), STSTATUS_openItemScreenAlone(), STSTATUS_openSecondOfThreeItemPages(), STSTATUS_openSecondOfTwoItemPages(), and STSTATUS_reopenItemOptions().
| void STSTATUS_showChosenItem | ( | ItemScreen * | screen, |
| s32 | show | ||
| ) |
Shows or hides the chosen item's name and how many are equipped and owned.
< ITMNAM
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 110 of file item_screen.c.
Referenced by STSTATUS_fadeItemInfo(), STSTATUS_moveItemListCursor(), and STSTATUS_refreshItemList().
| void STSTATUS_showItemHelp | ( | ItemScreen * | screen, |
| s32 | mode | ||
| ) |
The help line: 1 the chosen item and the kind of a weapon, 2 a question with two answers, -2 hides the answers, -1 the kind, others all.
< ITMINF
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 134 of file item_screen.c.
Referenced by STSTATUS_fadeItemInfo(), STSTATUS_moveItemListCursor(), STSTATUS_refreshItemList(), and STSTATUS_runItemList().
| void STSTATUS_fadeItemInfo | ( | ItemScreen * | screen, |
| s32 | show | ||
| ) |
Opens or closes the chosen item's panel (its icon and frame); closing it also hides the item's name, counts and help.
Definition at line 165 of file item_screen.c.
Referenced by STSTATUS_chooseItemMember(), STSTATUS_openItemList(), STSTATUS_reopenItemList(), and STSTATUS_runItemList().
| s32 STSTATUS_itemInfoFaded | ( | ItemScreen * | screen | ) |
Moves the chosen item's panel on; 1 once it is fully open or closed.
Definition at line 176 of file item_screen.c.
Referenced by STSTATUS_closeItemTitle(), STSTATUS_closeUsedItem(), STSTATUS_runItemList(), and STSTATUS_runItemScreen().
| void STSTATUS_useItem | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows | ||
| ) |
Uses the chosen item on the chosen party member.
< STATUS: the field menu's and STSTATUS's
< what the training's intensities cost
< what the training's intensities cost
< what the training's intensities cost
< what the training's intensities cost
< STATUS: the field menu's and STSTATUS's
< RECOVERY
< STATUS: the field menu's and STSTATUS's
< SYSTEM07
Definition at line 181 of file item_screen.c.
Referenced by STSTATUS_chooseItemMember().
| void STSTATUS_drawItemScreen | ( | ItemScreen * | screen | ) |
Draws the partners' portraits and frames, the item, the cursor 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
< 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 278 of file item_screen.c.
Referenced by STSTATUS_updateItemScreen().
| void STSTATUS_runItemScreen | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows | ||
| ) |
The first screen's update: opens the pages, picks an item list, then the party member to use the chosen item on, and closes them.
Definition at line 886 of file item_screen.c.
Referenced by STSTATUS_updateItemScreen().
| void STSTATUS_updateItemScreen | ( | ItemScreen * | screen, |
| ItemScreenWindows * | windows | ||
| ) |
The first screen's task: counts the party, sets the fades and creates the windows, then runs and draws the screen.
Definition at line 1007 of file item_screen.c.
Referenced by STSTATUS_createItemScreen().
| Task * STSTATUS_createItemScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the field menu's first screen (task), the items.
Definition at line 1041 of file item_screen.c.
Referenced by STSTATUS_runScreens().
| void STSTATUS_createItemListWindows | ( | ItemList * | panel, |
| ItemListWindows * | windows | ||
| ) |
item_list.c
item_list.c
Definition at line 8 of file item_list.c.
Referenced by STSTATUS_updateItemList().
| void STSTATUS_showItemListPage | ( | ItemList * | panel, |
| ItemListWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the list's page and its arrows.
< STATUS: the field menu's and STSTATUS's
< ITMNAM
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 32 of file item_list.c.
Referenced by STSTATUS_refreshItemList(), and STSTATUS_runItemList().
| void STSTATUS_refreshItemList | ( | ItemList * | panel, |
| ItemListWindows * | windows | ||
| ) |
Shows the page with the arrows, the chosen item and the page number.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 79 of file item_list.c.
Referenced by STSTATUS_moveItemListCursor(), and STSTATUS_runItemList().
| s32 STSTATUS_moveItemListCursor | ( | ItemList * | panel, |
| ItemListWindows * | windows | ||
| ) |
Moves the item list's cursor: L1 and R1 turn the pages; returns whether it moved.
< SYSTEM02: a cursor moves
< SYSTEM02: a cursor moves
Definition at line 107 of file item_list.c.
Referenced by STSTATUS_runItemList().
| void STSTATUS_runItemList | ( | ItemList * | panel, |
| ItemListWindows * | windows | ||
| ) |
The item list's update: fades in, lets an item be chosen, fades out.
< usable from the status menu (STSTATUS)
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 178 of file item_list.c.
Referenced by STSTATUS_updateItemList().
| void STSTATUS_drawItemList | ( | ItemList * | panel | ) |
Draws the item list's icons, page arrows and frames.
< usable from the status menu (STSTATUS)
< 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 243 of file item_list.c.
Referenced by STSTATUS_updateItemList().
| void STSTATUS_updateItemList | ( | ItemList * | panel, |
| ItemListWindows * | windows | ||
| ) |
The item list's task: fills the list, counts its pages of 16 and puts the cursor on the start item (else where the last chosen one was), then runs and draws the list.
Definition at line 308 of file item_list.c.
Referenced by STSTATUS_createItemList().
| ItemList * STSTATUS_createItemList | ( | ItemScreen * | screen, |
| s32 | list, | ||
| s32 | item | ||
| ) |
Creates the first screen's list of the items of a list (task), the cursor on ITEM when it is not 0.
Definition at line 358 of file item_list.c.
Referenced by STSTATUS_openItemList(), and STSTATUS_reopenItemList().
| void STSTATUS_fillItemList | ( | ItemList * | panel | ) |
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().
| 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().
| 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.
| void STSTATUS_createSortWindows | ( | SortScreen * | screen, |
| SortScreenWindows * | windows | ||
| ) |
Definition at line 8 of file sort_screen.c.
Referenced by STSTATUS_updateSortScreen().
| void STSTATUS_showSortPage | ( | SortScreen * | screen, |
| SortScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
As STSTATUS_showCardPage.
< STATUS: the field menu's and STSTATUS's
Definition at line 32 of file sort_screen.c.
Referenced by STSTATUS_chooseSecondToSwap(), STSTATUS_closeSecondOfThreeSortPages(), STSTATUS_closeSecondOfTwoSortPages(), STSTATUS_closeSortScreen(), STSTATUS_closeThirdSortPage(), STSTATUS_openFirstSortPage(), STSTATUS_openSecondSortPage(), STSTATUS_openThirdSortPage(), and STSTATUS_showSwappedPages().
| void STSTATUS_drawSortScreen | ( | SortScreen * | screen | ) |
Draws the cursors, the partners' portraits and frames, the two being swapped squashed by the fade, and the swap's 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
< 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 103 of file sort_screen.c.
Referenced by STSTATUS_updateSortScreen().
| void STSTATUS_runSortScreen | ( | SortScreen * | screen, |
| SortScreenWindows * | windows | ||
| ) |
The party order screen's steps: the pages fade in, two members are chosen and swapped, then the pages fade out.
Definition at line 464 of file sort_screen.c.
Referenced by STSTATUS_updateSortScreen().
| void STSTATUS_updateSortScreen | ( | SortScreen * | screen, |
| SortScreenWindows * | windows | ||
| ) |
The party order screen's task: counts the party, starts the fades and creates the windows, then runs and draws the screen.
Definition at line 524 of file sort_screen.c.
Referenced by STSTATUS_createSortScreen().
| Task * STSTATUS_createSortScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the field menu's party order screen (task), where two members swap places.
Definition at line 560 of file sort_screen.c.
| void STSTATUS_showMapArea | ( | StatusMapScreen * | screen, |
| TextWindow ** | windows | ||
| ) |
< SYSTEM07
Definition at line 7 of file map_screen.c.
Referenced by STSTATUS_updateMapScreen().
| void STSTATUS_moveMapCursor | ( | StatusMapScreen * | screen, |
| s32 | dx, | ||
| s32 | dy | ||
| ) |
Moves the cursor, or the map when the cursor is in the middle.
Definition at line 53 of file map_screen.c.
Referenced by STSTATUS_runMapScreen(), and STSTATUS_updateMapScreen().
| void STSTATUS_runMapScreen | ( | StatusMapScreen * | screen, |
| TextWindow ** | windows | ||
| ) |
Moves the cursor faster while the pad is held; triangle closes.
< SYSTEM01
Definition at line 134 of file map_screen.c.
Referenced by STSTATUS_updateMapScreen().
| void STSTATUS_drawMapScreen | ( | StatusMapScreen * | screen | ) |
Draws the map, the visited areas, the towns and the cursor.
Definition at line 176 of file map_screen.c.
Referenced by STSTATUS_updateMapScreen().
| void STSTATUS_updateMapScreen | ( | StatusMapScreen * | screen, |
| TextWindow ** | windows | ||
| ) |
The map screen's update.
Definition at line 273 of file map_screen.c.
Referenced by STSTATUS_createMapScreen().
| Task * STSTATUS_createMapScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the map screen (task): the map of the first half of the game or, in the late game, of the second (FILE_STATUS_BG + 2), and requests its area names.
< ASKMAP: the map screen's before
< AMTMAP: the map screen's in the second half (STSTATUS_getGameHalf)
Definition at line 322 of file map_screen.c.
| void STSTATUS_updateScrollBar | ( | ScrollBar * | bar | ) |
| ScrollBar * STSTATUS_createScrollBar | ( | void | ) |
| void STSTATUS_runScreens | ( | FieldMenuScreen * | menu, |
| FieldMenuScreenChildren * | children | ||
| ) |
Opens the screen of FIELD_MENU_CHOICE (the item screen when it has none) and, once it closes, the field menu again.
Definition at line 16 of file menu.c.
Referenced by STSTATUS_updateMenu().
| void STSTATUS_drawBackground | ( | FieldMenuScreen * | menu | ) |
Draws the scrolling background, sprite 0x1D at (bgScroll, bgScroll): it moves one pixel down and right every other frame, back to 0 at 0x60.
Definition at line 41 of file menu.c.
Referenced by STSTATUS_updateMenu().
| void STSTATUS_updateMenu | ( | FieldMenuScreen * | menu, |
| FieldMenuScreenChildren * | children | ||
| ) |
The mode's main task: loads the files and the background's textures, then runs the screens (STSTATUS_runScreens); while the field menu is open (TASK_DONE) it waits for it to close.
Definition at line 60 of file menu.c.
Referenced by STSTATUS_createMenu().
| FieldMenuScreen * STSTATUS_createMenu | ( | void | ) |
| void STSTATUS_loadFiles | ( | void | ) |
Loads the menu's textures and requests its strings: the menu's, the items', the Digimon's and the skills' names and descriptions.
< STATUS: the field menu's and STSTATUS's
< ITMNAM
< ITMINF
< DIGNAM
< DIGINF
< SKLNAM
< SKLINF
Definition at line 130 of file menu.c.
| s32 STSTATUS_filesLoading | ( | void | ) |
The items whose kind (WeaponData.kind) is one of STSTATUS_equipKinds's four.
Definition at line 32 of file helpers.c.
Referenced by STSTATUS_listItems().
The items of one kind (WeaponData.kind)
Definition at line 61 of file helpers.c.
Referenced by STSTATUS_listItems().
Puts an item in a partner's equipment slot (0 or less: empties it), moving the counts between GAME.items and GAME.equippedItems.
Kind 7 takes slots 2 and 3; kind 8 replaces one in slots 4 and 5 with the same group
< takes slots 2 and 3
< takes slots 2 and 3
< one of its group at a time
< takes slots 2 and 3
| s32 STSTATUS_getGameHalf | ( | void | ) |
1 on the field maps of the second half of the game (0x270 on), 0 on those of the first, -1 past them (0x2D7 on)
Definition at line 172 of file helpers.c.
Referenced by STSTATUS_getVisitedAreas().
| s32 STSTATUS_getArea | ( | void | ) |
| void STSTATUS_getVisitedAreas | ( | s32 * | out | ) |
|
extern |
STSTATUS's data, in its order: each object's tables, then the last one's (helpers.c), which all the objects read.
the stats a page shows (one table a screen)
STSTATUS's data, in its order: each object's tables, then the last one's (helpers.c), which all the objects read.
Definition at line 464 of file card_screen.c.
Referenced by STSTATUS_showCardPage().
|
extern |
Definition at line 417 of file demo_screen.c.
Referenced by STSTATUS_showDemoPage().
|
extern |
the strings of the empty equipment slots
the strings of the empty equipment slots
Definition at line 592 of file equip_panel.c.
Referenced by STSTATUS_showEquipList(), STSTATUS_showEquipment(), and STSTATUS_showSlotItem().
|
extern |
the strings of the item kinds, from 1
the strings of the item kinds, from 1
Definition at line 597 of file equip_panel.c.
Referenced by STSTATUS_showEquipItem().
|
extern |
the item list of each equipment slot
the item list of each equipment slot
Definition at line 602 of file equip_panel.c.
Referenced by STSTATUS_chooseEquipSlot().
|
extern |
the stats the fifth screen's panel shows
the stats the fifth screen's panel shows
Definition at line 988 of file digivolve_panel.c.
Referenced by STSTATUS_showDigivolveStats().
|
extern |
Definition at line 951 of file status_screen.c.
Referenced by STSTATUS_showChosenPage(), and STSTATUS_showStatusPage().
|
extern |
the stats screen 4 shows
the stats screen 4 shows
Definition at line 956 of file status_screen.c.
Referenced by STSTATUS_previewStats(), and STSTATUS_showPartnerStats().
|
extern |
The strings of the empty equipment slots, as STSTATUS_slotStrings.
Definition at line 963 of file status_screen.c.
Referenced by STSTATUS_showPartnerEquipment().
|
extern |
the item lists of the first screen's options
the item lists of the first screen's options
Definition at line 1051 of file item_screen.c.
Referenced by STSTATUS_chooseItemList(), STSTATUS_confirmItemUsed(), and STSTATUS_fillItemList().
|
extern |
Definition at line 1055 of file item_screen.c.
Referenced by STSTATUS_showItemPage().
|
extern |
the strings of the item kinds, from 0
the strings of the item kinds, from 0
Definition at line 1060 of file item_screen.c.
Referenced by STSTATUS_showItemHelp().
|
extern |
What the items that raise a stat raise.
Definition at line 1066 of file item_screen.c.
Referenced by STSTATUS_useItem().
|
extern |
Definition at line 886 of file tech_screen.c.
Referenced by STSTATUS_showTechPage().
|
extern |
the sprites of the technique counts
the sprites of the technique counts
Definition at line 891 of file tech_screen.c.
Referenced by STSTATUS_drawTechScreen().
|
extern |
Definition at line 569 of file sort_screen.c.
Referenced by STSTATUS_showSortPage().
|
extern |
the map cursor's frames
the map cursor's frames
Definition at line 210 of file helpers.c.
Referenced by STSTATUS_drawMapScreen().
|
extern |
The field menu's screens, by FIELD_MENU_CHOICE.
Definition at line 215 of file helpers.c.
Referenced by STSTATUS_runScreens().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
The towns the map shows, by STSTATUS_getGameHalf and GAME.progress.
Definition at line 352 of file helpers.c.
Referenced by STSTATUS_getTowns().
|
extern |
Definition at line 356 of file helpers.c.
Referenced by STSTATUS_animateItemPortraits(), STSTATUS_animateSortPortraits(), STSTATUS_animateTechPortraits(), STSTATUS_chooseEquipItem(), STSTATUS_chooseEquipSlot(), STSTATUS_chooseItemMember(), STSTATUS_chooseSecondToSwap(), STSTATUS_chooseTech(), STSTATUS_closeBattleMessage(), STSTATUS_closeCardScreen(), STSTATUS_closeCardScreenAlone(), STSTATUS_closeDemoScreen(), STSTATUS_closeDemoScreenAlone(), STSTATUS_closeDigivolvePanel(), STSTATUS_closeDigivolveQuestion(), STSTATUS_closeEntryTechs(), STSTATUS_closeEquipList(), STSTATUS_closeEquipPanel(), STSTATUS_closeEquipSlots(), STSTATUS_closeEquipTitle(), STSTATUS_closeFirstOfThreeItemPages(), STSTATUS_closeFirstOfTwoItemPages(), STSTATUS_closeFirstSortPage(), STSTATUS_closeFirstStatusPage(), STSTATUS_closeFirstTechPage(), STSTATUS_closeItemScreen(), STSTATUS_closeItemScreenAlone(), STSTATUS_closeItemScreenForList(), STSTATUS_closeItemTitle(), STSTATUS_closeMemberPages(), STSTATUS_closePartnerTech(), STSTATUS_closeQuestionForBattle(), STSTATUS_closeQuestionForTechs(), STSTATUS_closeSecondMemberPage(), STSTATUS_closeSecondOfThreeCardPages(), STSTATUS_closeSecondOfThreeDemoPages(), STSTATUS_closeSecondOfThreeItemPages(), STSTATUS_closeSecondOfThreeSortPages(), STSTATUS_closeSecondOfThreeStatusPages(), STSTATUS_closeSecondOfThreeTechPages(), STSTATUS_closeSecondOfTwoCardPages(), STSTATUS_closeSecondOfTwoDemoPages(), STSTATUS_closeSecondOfTwoItemPages(), STSTATUS_closeSecondOfTwoSortPages(), STSTATUS_closeSecondOfTwoStatusPages(), STSTATUS_closeSecondOfTwoTechPages(), STSTATUS_closeSlotItem(), STSTATUS_closeSlotsForPartnerTech(), STSTATUS_closeSlotsForQuestion(), STSTATUS_closeSortScreen(), STSTATUS_closeSortScreenAlone(), STSTATUS_closeStatusScreen(), STSTATUS_closeStatusScreenAlone(), STSTATUS_closeTechList(), STSTATUS_closeTechScreen(), STSTATUS_closeTechScreenAlone(), STSTATUS_closeThirdCardPage(), STSTATUS_closeThirdDemoPage(), STSTATUS_closeThirdItemPage(), STSTATUS_closeThirdMemberPage(), STSTATUS_closeThirdSortPage(), STSTATUS_closeThirdStatusPage(), STSTATUS_closeThirdTechPage(), STSTATUS_closeUsedItem(), STSTATUS_confirmItemUsed(), STSTATUS_createCardWindows(), STSTATUS_createDemoWindows(), STSTATUS_createDigivolveWindows(), STSTATUS_createItemWindows(), STSTATUS_createSortWindows(), STSTATUS_createStatusWindows(), STSTATUS_createTechWindows(), STSTATUS_drawCardScreen(), STSTATUS_drawDemoScreen(), STSTATUS_drawItemScreen(), STSTATUS_drawMapScreen(), STSTATUS_drawSortScreen(), STSTATUS_drawStatusScreen(), STSTATUS_drawTechScreen(), STSTATUS_endBattleMessage(), STSTATUS_endDigivolvePanel(), STSTATUS_enterDigivolveQuestion(), STSTATUS_enterEquipList(), STSTATUS_enterQuestionAgain(), STSTATUS_enterSlotsAgain(), STSTATUS_enterTechList(), STSTATUS_fadeItemInfo(), STSTATUS_itemInfoFaded(), STSTATUS_listEquipItems(), STSTATUS_listItemsOfKind(), STSTATUS_openBattleMessage(), STSTATUS_openCardScreenAlone(), STSTATUS_openDemoScreenAlone(), STSTATUS_openDigivolveQuestion(), STSTATUS_openDigivolveSlots(), STSTATUS_openDigivolveStats(), STSTATUS_openDigivolveTitle(), STSTATUS_openEntryTechs(), STSTATUS_openEquipList(), STSTATUS_openEquipSlots(), STSTATUS_openEquipTitle(), STSTATUS_openFirstMemberPage(), STSTATUS_openFirstOfThreeCardPages(), STSTATUS_openFirstOfThreeDemoPages(), STSTATUS_openFirstOfThreeItemPages(), STSTATUS_openFirstOfThreeStatusPages(), STSTATUS_openFirstOfThreeTechPages(), STSTATUS_openFirstOfTwoCardPages(), STSTATUS_openFirstOfTwoDemoPages(), STSTATUS_openFirstOfTwoItemPages(), STSTATUS_openFirstOfTwoStatusPages(), STSTATUS_openFirstOfTwoTechPages(), STSTATUS_openFirstSortPage(), STSTATUS_openItemList(), STSTATUS_openItemScreenAlone(), STSTATUS_openPartnerTech(), STSTATUS_openSecondMemberPage(), STSTATUS_openSecondOfThreeCardPages(), STSTATUS_openSecondOfThreeDemoPages(), STSTATUS_openSecondOfThreeItemPages(), STSTATUS_openSecondOfThreeStatusPages(), STSTATUS_openSecondOfThreeTechPages(), STSTATUS_openSecondOfTwoCardPages(), STSTATUS_openSecondOfTwoDemoPages(), STSTATUS_openSecondOfTwoItemPages(), STSTATUS_openSecondOfTwoStatusPages(), STSTATUS_openSecondOfTwoTechPages(), STSTATUS_openSecondSortPage(), STSTATUS_openSlotItem(), STSTATUS_openStatusScreenAlone(), STSTATUS_openTechList(), STSTATUS_openTechScreenAlone(), STSTATUS_openThirdCardPage(), STSTATUS_openThirdDemoPage(), STSTATUS_openThirdItemPage(), STSTATUS_openThirdMemberPage(), STSTATUS_openThirdSortPage(), STSTATUS_openThirdStatusPage(), STSTATUS_openThirdTechPage(), STSTATUS_reopenDigivolveQuestion(), STSTATUS_reopenDigivolveSlots(), STSTATUS_reopenItemList(), STSTATUS_reopenItemOptions(), STSTATUS_reopenSlotsAfterTech(), STSTATUS_runCardScreen(), STSTATUS_runDemoScreen(), STSTATUS_runDigivolvePanel(), STSTATUS_runEquipPanel(), STSTATUS_runItemList(), STSTATUS_runItemScreen(), STSTATUS_runStatusChoice(), STSTATUS_scrollUpForBattle(), STSTATUS_scrollUpForPartnerTech(), STSTATUS_scrollUpForTechs(), STSTATUS_showBattleMessage(), STSTATUS_showCardPage(), STSTATUS_showChosenPage(), STSTATUS_showDemoPage(), STSTATUS_showEquipList(), STSTATUS_showItemLists(), STSTATUS_showItemPage(), STSTATUS_showMapArea(), STSTATUS_showPartnerTech(), STSTATUS_showSortPage(), STSTATUS_showStatusPage(), STSTATUS_showSwappedPages(), STSTATUS_showTechPage(), STSTATUS_startCardScreen(), STSTATUS_startDemoScreen(), STSTATUS_startItemScreen(), STSTATUS_startStatusScreen(), STSTATUS_startTechScreen(), STSTATUS_swapMembers(), STSTATUS_updateCardScreen(), STSTATUS_updateDemoScreen(), STSTATUS_updateMapScreen(), STSTATUS_updateMenu(), STSTATUS_updateSortScreen(), STSTATUS_updateStatusScreen(), and STSTATUS_updateTechScreen().
|
extern |
the item kinds of item list 5
the item kinds of item list 5
Definition at line 371 of file helpers.c.
Referenced by STSTATUS_listEquipItems().
|
extern |
the map's area of each field map
the map's area of each field map
Definition at line 377 of file helpers.c.
Referenced by STSTATUS_getArea(), and STSTATUS_getVisitedAreas().
|
extern |
Where the game is.
Definition at line 410 of file helpers.c.
Referenced by STSTATUS_createMapScreen(), STSTATUS_createMenu(), and STSTATUS_updateMapScreen().