12 for (i = 0; i < 3; i++) {
21 for (i = 0; i < 3; i++) {
38 for (i = 0; i < 3; i++) {
43 for (i = 0; i < 3; i++) {
50 for (i = 0; i < 3; i++) {
55 for (i = 0; i < 3; i++) {
73 for (i = 0; i < 3; i++) {
82 for (i = 0; i < 3; i++) {
118 if (old != task->
choice) {
121 for (i = 0; i < 3; i++) {
153 switch (task->
state) {
175 task->
layer = 0x1001;
GfxState GFX
GFX: the graphics state and its methods.
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
#define TEXT_ONLINE
NAMEET: the Digimon Online registration.
#define TEXT_DIGIMON_NAMES
DIGNAM.
FileCache FILE_CACHE
The file cache.
#define PAD_PRESSED(button)
One button of pad 1: newly pressed, auto-repeated while held, or held.
#define PAD_REPEATED(button)
STPLNMET.PRO: the player's name entry (MODE_PLAYER_NAME).
#define PLNMET_MENU
sprite bank
#define PLNMET_BANK
the keyboard's and partners' sprites
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
#define SOUND_MENU_CONFIRM
SYSTEM07.
#define SOUND_MENU_CANCEL
SYSTEM01.
#define SOUND_MENU_MOVE
SYSTEM06.
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
s32 STPLNMET_choiceArrowCluts[]
The CLUT rows the partner choice's cursor cycles through.
PlayerNameFuncs STPLNMET_funcs
STPLNMET's data (data/stplnmet.c), in its order.
void *(* getEntry)(u32 fileAndIndex)
A partner Digimon's animation in a menu: up to seven sprite ids, -1 ending it early (the sprites are ...
struct PartnerChoiceWindows::@17 partners[3]
The choice of the partners (STPLNMET_updateChoice)
void(* nextState)(struct PartnerChoice *task)
void(* hide)(struct PartnerChoice *task, s32 hide)
struct PlayerNameScreen * screen
s32 choice
STPLNMET_funcs.choices.
s32(* choices)[3]
three partners each
The main task of the screen (STPLNMET_createScreen)
short(* playSound)(s32 id)
returns the voice of a key-on
Draws sprites from a sprite sheet (such as file 0x277, the menu graphics): a sheet has a table of fra...
void(* setLayerId)()
(id, depth)
void(* setClutRow)()
(row)
void(* draw)()
(sheet, frame, x, y)
void(* setTexture)()
(x, y)
void(* setPalette)(struct TextWindow *obj, u8 arg)
void(* setLines)()
no prototype: callers would truncate u8 args
void(* setVisible)(struct TextWindow *obj, u8 arg)
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
#define PALETTE_BLUE
a light blue: what is highlighted or current
TextWindow * createTextWindow(s16 layerId, s16 style, s16 x, s16 y)
A text window on a layer, in a font style, at (x, y)