pokediamond/include/unk_020377F0.h
2024-11-12 09:46:58 +02:00

45 lines
1005 B
C

#ifndef POKEDIAMOND_UNK_020377F0_H
#define POKEDIAMOND_UNK_020377F0_H
#include "task.h"
// this file likely has to do with scrcmd apps.
struct Options;
struct Party;
// This struct gets created from a bunch of places, not just 0x02037CF0. This was
// just the first place I (tgsm) found it being created.
struct UnkStruct_02037CF0 {
struct Party *party;
struct Options *options;
u16 *name_buf;
u32 trainer_id;
u8 gender;
u8 unk11;
u8 unk12;
u8 party_count;
u8 unk14;
u8 unk15;
u8 unk16;
u8 padding;
u16 unk18;
u8 padding2[0x2];
BOOL has_national_dex;
u8 padding3[0xC];
BOOL unk2C;
};
enum NamingScreenType {
NAMINGSCREEN_PLAYER,
NAMINGSCREEN_POKEMON,
NAMINGSCREEN_BOX,
NAMINGSCREEN_RIVAL,
NAMINGSCREEN_GROUP = 5,
NAMINGSCREEN_SHAYMIN_ROCK = 6,
};
void CreateNamingScreen(TaskManager *taskManager, enum NamingScreenType type, s32 param2, s32 maxLen, s32 initPos, const u16 *defaultStr, u16 *retVar);
#endif