mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-09 01:25:58 -05:00
Clean code_8097670 and adventure_log
This commit is contained in:
@@ -1,8 +1,21 @@
|
||||
#ifndef GUARD_ADVENTURE_LOG_H
|
||||
#define GUARD_ADVENTURE_LOG_H
|
||||
|
||||
void CreateAdventureLogMenu(void);
|
||||
void CleanAdventureLogMenu(void);
|
||||
u32 UpdateAdventureLogMenu(void);
|
||||
#include "input.h"
|
||||
#include "text.h"
|
||||
|
||||
#endif
|
||||
// size: 0xA0
|
||||
struct AdventureLog
|
||||
{
|
||||
struct MenuInputStruct input;
|
||||
u32 unk34;
|
||||
struct UnkTextStruct2 *unk38;
|
||||
struct UnkTextStruct2 unk3C[4];
|
||||
u8 unk9C[4];
|
||||
};
|
||||
|
||||
void CleanAdventureLogScreen(void);
|
||||
bool8 CreateAdventureLogScreen(u32);
|
||||
u32 HandleAdventureLogInput(u8);
|
||||
|
||||
#endif // GUARD_ADVENTURE_LOG_H
|
||||
8
include/adventure_log_menu.h
Normal file
8
include/adventure_log_menu.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_ADVENTURE_LOG_MENU_H
|
||||
#define GUARD_ADVENTURE_LOG_MENU_H
|
||||
|
||||
void CreateAdventureLogMenu(void);
|
||||
void CleanAdventureLogMenu(void);
|
||||
u32 UpdateAdventureLogMenu(void);
|
||||
|
||||
#endif // GUARD_ADVENTURE_LOG_MENU_H
|
||||
@@ -1,7 +1,10 @@
|
||||
#ifndef GUARD_CODE_8094F88_H
|
||||
#define GUARD_CODE_8094F88_H
|
||||
|
||||
#include "code_8092334.h"
|
||||
#include "dungeon_global_data.h"
|
||||
#include "item.h"
|
||||
#include "pokemon.h"
|
||||
|
||||
struct WonderMailSub
|
||||
{
|
||||
|
||||
@@ -20,6 +20,26 @@ struct unkStruct_203B494
|
||||
s32 unkC0;
|
||||
};
|
||||
|
||||
extern struct unkStruct_203B494 *gUnknown_203B494;
|
||||
|
||||
const u8 *GetAdventureLogLine(u8 index);
|
||||
struct DungeonLocation *GetDungeonLocationInfo(void);
|
||||
s32 GetNumAdventures(void);
|
||||
void ResetNumAdventures(void);
|
||||
|
||||
void sub_8097670(void);
|
||||
struct unkStruct_203B494 *sub_8097680(void);
|
||||
void sub_80976A8(void);
|
||||
void sub_80976F8(u8);
|
||||
bool8 sub_8097710(u8);
|
||||
void sub_8097790(void);
|
||||
s32 sub_80977B8(void);
|
||||
void sub_80977D0(void);
|
||||
s32 sub_80977F8(void);
|
||||
s16 sub_8097838(void);
|
||||
void sub_8097848(void);
|
||||
s16 sub_8097870(void);
|
||||
s16 sub_8097880(void);
|
||||
s16 sub_80978B8(void);
|
||||
|
||||
#endif // GUARD_CODE_8097670_H
|
||||
@@ -1,7 +1,10 @@
|
||||
#ifndef GUARD_LUMINOUS_CAVE_H
|
||||
#define GUARD_LUMINOUS_CAVE_H
|
||||
|
||||
#include "file_system.h"
|
||||
#include "item.h"
|
||||
#include "menu.h"
|
||||
#include "pokemon_3.h"
|
||||
#include "text.h"
|
||||
|
||||
struct unkStruct_203B2B0
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef GUARD_POKEMON_3_H
|
||||
#define GUARD_POKEMON_3_H
|
||||
|
||||
#include "pokemon.h"
|
||||
|
||||
struct EvolveStatus
|
||||
{
|
||||
u8 evoItem1;
|
||||
|
||||
@@ -55,7 +55,7 @@ struct UnkStruct_203B184 {
|
||||
/* 0x14 */ struct unkStruct_203B48C *unk14;
|
||||
/* 0x18 */ struct unkStruct_203B490 *mailInfo;
|
||||
/* 0x1C */ struct RescueTeamData *RescueTeamInfo;
|
||||
/* 0x20 */ u32 unk20;
|
||||
/* 0x20 */ struct unkStruct_203B494 *unk20;
|
||||
/* 0x24 */ struct ExclusivePokemonData *ExclusivePokemon;
|
||||
/* 0x28 */ bool8 *BoughtFriendAreas;
|
||||
/* 0x2C */ struct GameOptions *gameOptions;
|
||||
|
||||
Reference in New Issue
Block a user