summaryrefslogtreecommitdiff
path: root/include/debug_menu.h
blob: ea3b3d6f1d108e35243035419920e317dcccb425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef GUARD_DEBUG_MENU_H
#define GUARD_DEBUG_MENU_H

#include "text.h"
#include "menu.h"

enum DebugMenuOptions
{
    MENU_DEBUG_MENU_DUNGEONS = 0,
    MENU_DEBUG_MENU_FIELD,
    MENU_DEBUG_MENU_FIELD_MAP,
    MENU_DEBUG_MENU_FIELD_SCRIPT,
    MENU_DEBUG_MENU_DEBUG_MENU,
    MENU_DEBUG_MENU_UNKNOWN_1,
    MENU_DEBUG_MENU_STORAGE,
    MENU_DEBUG_MENU_H_OPEN = 9,
};

struct DebugMenu
{
    // size: 0x1A4
    u8 fill0[0x140];
    /* 0x140 */ struct UnkTextStruct2 unk140[4];
    u32 fill1A0;
};


struct unkStruct_203B3F8
{
    // size: 0x140
    u32 state;
    s16 unk4;
    u16 unk6;
    struct PokemonStruct *pokemon;
    u32 unkC;
    const char *unk10;
    u8 fill14[0x60 - 0x14];
    u32 unk60;
    u32 unk64;
    u32 unk68;
    u32 unk6C;
    u32 unk70;
    u32 unk74;
    struct UnkTextStruct2 *unk78;
    u32 unk7C;
    u32 unk80;
    u8 fill84[0x90 - 0x84];
    struct MenuItem unk90[8];
    u16 unkD0[8];
    struct UnkTextStruct2 unkE0[4];
};


void CreateDebugMenu(void);
void DeleteDebugMenu(void);
u32 UpdateDebugMenu(void);
void SetDebugMenuItems(void);
void sub_803A3A0(void);

#endif