mirror of
https://github.com/pret/pmd-red.git
synced 2026-10-01 05:18:28 -05:00
more externs gone
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#ifndef GUARD_DUNGEON_ENGINE_H
|
||||
#define GUARD_DUNGEON_ENGINE_H
|
||||
|
||||
#include "structs/str_position.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
#include "structs/menu.h"
|
||||
|
||||
extern const s16 gSpeedTurns[NUM_SPEED_COUNTERS][25];
|
||||
|
||||
@@ -10,4 +12,7 @@ void sub_80444F4(Entity *pokemon);
|
||||
bool8 IsFloorOver(void);
|
||||
bool8 sub_8044B84(void);
|
||||
|
||||
extern DungeonPos gUnknown_202EE0C;
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "dungeon_spawns.h"
|
||||
#include "dungeon_pos_data.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
extern void sub_8042900(Entity *r0);
|
||||
extern void sub_8042968(Entity *r0);
|
||||
@@ -45,14 +46,12 @@ extern void sub_8042B20(Entity *entity);
|
||||
extern void sub_8042B0C(Entity *entity);
|
||||
extern void sub_8072AC8(u16 *param_1, s32 species, s32 param_3);
|
||||
extern Entity *gLeaderPointer;
|
||||
extern DungeonPos gUnknown_202EE0C;
|
||||
extern bool8 sub_80860A8(u8 id);
|
||||
extern u8 gUnknown_202F32C;
|
||||
extern u8 GetRandomFloorItem(s32 a0);
|
||||
extern void sub_80429E8(Entity *r0);
|
||||
extern Entity *sub_804550C(s16 a);
|
||||
extern Entity *sub_80453AC(s16 id);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_806B678(void);
|
||||
extern void EntityUpdateStatusSprites(Entity *);
|
||||
extern Entity *sub_80696A8(Entity *a0);
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "dungeon_pos_data.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
#include "dungeon_map.h"
|
||||
|
||||
struct RgbS16
|
||||
{
|
||||
@@ -51,7 +52,6 @@ extern RGB gUnknown_202ECA4[];
|
||||
extern const u8 gUnknown_8107358[25];
|
||||
|
||||
extern bool8 sub_8004C00(unkStruct_202EE8C *a0, s32 a1, s32 a2, s32 brightness, const RGB *ramp, struct RgbS16 *a5);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_803F878(s32, s32);
|
||||
extern void sub_8085F44(s32);
|
||||
extern bool8 sub_800E90C(DungeonPos *);
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "text_1.h"
|
||||
#include "trap.h"
|
||||
#include "dungeon_submenu.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
extern void sub_80684C4(void);
|
||||
extern void sub_8068344(void);
|
||||
@@ -43,7 +44,6 @@ void sub_8068310(s32 n, Pokemon **monPtrs);
|
||||
void sub_8067F00(u8 a0, Pokemon **a1, s32 a2, s32 a3, s32 a4);
|
||||
void sub_806806C(Pokemon *a0);
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
static EWRAM_DATA WindowHeader gUnknown_202F308 = {0};
|
||||
static EWRAM_DATA s32 gUnknown_202F30C = 0;
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -40,7 +40,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "dungeon_config.h"
|
||||
#include "dungeon_boss_dialogue.h"
|
||||
#include "dungeon_spawns.h"
|
||||
|
||||
#include "dungeon_map.h"
|
||||
|
||||
extern void sub_8042B0C(Entity *);
|
||||
extern u8 sub_806FD18(Entity *);
|
||||
@@ -40,7 +40,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "dungeon_config.h"
|
||||
#include "dungeon_boss_dialogue.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
|
||||
#include "dungeon_map.h"
|
||||
|
||||
extern void sub_8042B0C(Entity *);
|
||||
extern u8 sub_806FD18(Entity *);
|
||||
@@ -40,7 +40,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -39,7 +39,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "math.h"
|
||||
#include "dungeon_config.h"
|
||||
#include "dungeon_boss_dialogue.h"
|
||||
#include "dungeon_map.h"
|
||||
|
||||
extern void sub_8042B0C(Entity *);
|
||||
extern u8 sub_806FD18(Entity *);
|
||||
@@ -38,14 +39,12 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
extern u32 sub_80861F8(u32, Entity *, u32);
|
||||
extern u8 sub_80860A8(u32);
|
||||
extern void sub_8052D44(s16 *, Entity *, Entity *);
|
||||
extern void SpawnDroppedItemWrapper(Entity *, DungeonPos *, Item *);
|
||||
extern void SetDungeonBGColorRGB(u32, u32, u32, u32, u32);
|
||||
extern u32 sub_8085EC8(u32, u32, u32, DungeonPos *, u32);
|
||||
extern void sub_8072008(Entity *, Entity *, s16, u32, u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -38,7 +38,6 @@ extern void sub_806FDF4(Entity *, Entity *, Entity **);
|
||||
extern void sub_8085EB0(void);
|
||||
extern void sub_8049884(void);
|
||||
extern void sub_8049B8C(void);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8086A54(Entity *);
|
||||
extern void ResetMonEntityData(EntityInfo *, u32);
|
||||
extern void sub_8041888(u32);
|
||||
|
||||
@@ -120,7 +120,6 @@ extern const u8 *const gUnknown_80F91E0;
|
||||
extern const u8 *const gUnknown_80F91A8;
|
||||
extern const u8 *const gUnknown_80FE954;
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
extern s32 gTeamMenuChosenId;
|
||||
|
||||
static EWRAM_DATA bool8 sInDiagonalMode = 0;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "text_1.h"
|
||||
#include "dungeon_action.h"
|
||||
#include "code_801B3C0.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
extern bool8 sub_8070F14(Entity * pokemon, s32 direction);
|
||||
bool8 sub_805EC2C(Entity *a0, s32 x, s32 y);
|
||||
@@ -40,7 +41,6 @@ extern bool8 PosHasItem(DungeonPos *pos);
|
||||
extern u8 gUnknown_202EE00;
|
||||
extern Entity *gLeaderPointer;
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
extern const u8 *gUnknown_80F8B24;
|
||||
extern const u8 *gTeamToolboxAPtr;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "dungeon_submenu.h"
|
||||
#include "dungeon_strings.h"
|
||||
#include "dungeon_util.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "input.h"
|
||||
#include "moves.h"
|
||||
#include "menu_input.h"
|
||||
@@ -35,7 +36,6 @@ extern void ShowDungeonSummaryOrIQMenu(ActionContainer *a0, bool8 a1);
|
||||
extern void sub_8067768(ActionContainer *a0);
|
||||
extern bool8 sub_8071A8C(Entity *pokemon);
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
static void ShowMovesMenuWindows(Entity *entity, EntityInfo *entInfo, bool8 redColorForChargingMoves, WindowTemplates *windows, WindowHeader *header, u8 *arg5, s32 arg6, s32 arg7);
|
||||
static void AddMovesSubMenuOptions(Entity *entity, bool8 addLinkOptions, bool8 addUseMove);
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "dungeon_music.h"
|
||||
#include "dungeon_strings.h"
|
||||
#include "dungeon_submenu.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "dungeon_util.h"
|
||||
#include "game_options.h"
|
||||
#include "input.h"
|
||||
@@ -32,7 +33,6 @@
|
||||
extern bool8 IsBossFight(void);
|
||||
extern u16 GetLeaderActionId(void);
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
static void PrintOthersMenuOptions(void);
|
||||
static void ShowGameOptionsMenu(void);
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
#include "text_1.h"
|
||||
#include "text_2.h"
|
||||
#include "text_3.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
extern u16 GetLeaderActionId(void);
|
||||
extern u8 sub_806F9BC(s32);
|
||||
extern bool8 sub_80860A8(u8 id);
|
||||
extern bool8 sub_806A564(s32 r0);
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
struct MonRecruitList
|
||||
{
|
||||
|
||||
@@ -15,15 +15,13 @@
|
||||
#include "dungeon_submenu.h"
|
||||
#include "dungeon_util.h"
|
||||
#include "dungeon_strings.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "run_dungeon.h"
|
||||
#include "input.h"
|
||||
#include "menu_input.h"
|
||||
#include "text_1.h"
|
||||
#include "text_3.h"
|
||||
|
||||
extern u8 GetFloorType(void);
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
static void ShowAndPrintOnStairsMenu(DungeonPos *pos, WindowTemplates *windows, WindowHeader *header);
|
||||
static void AddStairsSubMenuOptions(Entity *mon);
|
||||
static void ShowStairsDescription(DungeonPos *pos);
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "dungeon_util.h"
|
||||
#include "dungeon_strings.h"
|
||||
#include "dungeon_info.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "input.h"
|
||||
#include "items.h"
|
||||
#include "menu_input.h"
|
||||
@@ -93,7 +94,6 @@ extern void sub_8045C18(u8 *buffer, Item *item);
|
||||
|
||||
extern u8 gUnknown_202EE00;
|
||||
extern Entity *gLeaderPointer;
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
extern u8 gUnknown_202EE39;
|
||||
|
||||
EWRAM_DATA s32 gTeamMenuChosenId = 0;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "code_8097DD0.h"
|
||||
#include "dungeon_info.h"
|
||||
#include "dungeon_action.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "dungeon_map_access.h"
|
||||
#include "dungeon_menu_moves.h"
|
||||
#include "dungeon_menu_team.h"
|
||||
@@ -20,8 +21,6 @@
|
||||
#include "text_3.h"
|
||||
#include "trap.h"
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
static void ShowAndPrintOnTileMenu(DungeonPos *pos, WindowTemplates *windows, WindowHeader *header);
|
||||
static void AddTileSubMenuOptions(Entity *mon);
|
||||
static void ShowTileDescription(DungeonPos *pos);
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "dungeon_info.h"
|
||||
#include "dungeon_range.h"
|
||||
#include "dungeon_map.h"
|
||||
#include "dungeon_main.h"
|
||||
#include "dungeon_music.h"
|
||||
#include "dungeon_util.h"
|
||||
#include "dungeon_util_1.h"
|
||||
@@ -28,19 +29,14 @@
|
||||
#include "dungeon_strings.h"
|
||||
#include "dungeon_portrait_placement.h"
|
||||
|
||||
void sub_80526D0(s32 r0);
|
||||
static bool8 sub_8052DC0(Entity *);
|
||||
static void DisplayMessageAddToLog(Entity *pokemon, const u8 *str, bool8 r2);
|
||||
|
||||
extern void sub_805E804(void);
|
||||
|
||||
extern u8 gUnknown_202EE01;
|
||||
|
||||
static EWRAM_DATA Entity *sLastLogMsgEntity = NULL;
|
||||
static UNUSED EWRAM_DATA u8 sUnused = 0;
|
||||
static EWRAM_DATA SpriteOAM sUnknown_202F1F0 = {0};
|
||||
EWRAM_INIT u8 gUnknown_203B434 = 1;
|
||||
|
||||
static bool8 sub_8052DC0(Entity *);
|
||||
static void DisplayMessageAddToLog(Entity *pokemon, const u8 *str, bool8 r2);
|
||||
|
||||
void sub_80521D0(void)
|
||||
{
|
||||
s32 i;
|
||||
@@ -125,8 +121,7 @@ void TryDisplayDungeonLoggableMessage4(Entity *attacker, Entity *target, const u
|
||||
}
|
||||
}
|
||||
|
||||
void LogMessageByIdWithPopupCheckUserUnknown(Entity *pokemon, DungeonPos *pos,
|
||||
const u8 *str)
|
||||
void LogMessageByIdWithPopupCheckUserUnknown(Entity *pokemon, DungeonPos *pos, const u8 *str)
|
||||
{
|
||||
u8 flag;
|
||||
flag = ShouldDisplayEntity(pokemon) ? TRUE : FALSE;
|
||||
|
||||
@@ -16,19 +16,15 @@
|
||||
|
||||
#define MESSAGE_LOG_ROW_COUNT 8 // How many log messages are shown
|
||||
|
||||
extern void sub_805E804(void);
|
||||
extern u32 GetTouchScreenArrowPress(s32 a0, const void *a1);
|
||||
|
||||
static EWRAM_DATA s32 sMessageLogCursor = 0;
|
||||
static EWRAM_DATA u8 sMessageLogFlags = 0;
|
||||
static EWRAM_DATA SpriteOAM sMessageLogArrowSpriteOAM = {0};
|
||||
|
||||
static void PutStringsOnMessageLog(void);
|
||||
static bool8 TryScrollLogDown(s32 a0);
|
||||
static bool8 TryScrollLogUp(s32 a0);
|
||||
static void CreateMessageLogArrow(bool8 upArrow, s32 y);
|
||||
|
||||
static EWRAM_DATA s32 sMessageLogCursor = 0;
|
||||
static EWRAM_DATA u8 sMessageLogFlags = 0;
|
||||
static EWRAM_DATA SpriteOAM sMessageLogArrowSpriteOAM = {0};
|
||||
|
||||
void ResetMessageLog(void)
|
||||
{
|
||||
s32 i;
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "dungeon_pos_data.h"
|
||||
#include "dungeon_data.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
static void EnsureCastformLoaded(void);
|
||||
static void EnsureDeoxysLoaded(void);
|
||||
@@ -77,7 +78,6 @@ extern s32 sub_803DA20(s32 param_1);
|
||||
extern void sub_8042EC8(Entity *a0, s32 a1);
|
||||
extern Entity *sub_804550C(s16 a);
|
||||
extern Entity *sub_80453AC(s16 id);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_806B678(void);
|
||||
extern void EntityUpdateStatusSprites(Entity *);
|
||||
extern Entity *sub_80696A8(Entity *a0);
|
||||
@@ -85,8 +85,6 @@ extern Entity *sub_80696A8(Entity *a0);
|
||||
extern Entity *gLeaderPointer;
|
||||
extern u8 gUnknown_202EE70[MAX_TEAM_BODY_SIZE];
|
||||
extern u8 gUnknown_202EE76[DUNGEON_MAX_WILD_POKEMON_BODY_SIZE];
|
||||
extern DungeonPos gPlayerDotMapPosition;
|
||||
extern DungeonPos gUnknown_202EE0C;
|
||||
extern u8 gUnknown_202F32C;
|
||||
|
||||
bool8 sub_806A564(s16 r0);
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
#include "dungeon_info.h"
|
||||
#include "music.h"
|
||||
#include "run_dungeon.h"
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
// Dungeon Music Player adds in this flag to tell
|
||||
// the system to fade in rather than immediately playing
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "code_805D8C8.h"
|
||||
#include "code_806CD90.h"
|
||||
#include "dungeon_items.h"
|
||||
#include "dungeon_map.h"
|
||||
#include "dungeon_map_access.h"
|
||||
#include "dungeon_logic.h"
|
||||
#include "dungeon_serializer.h"
|
||||
@@ -14,7 +15,6 @@
|
||||
extern u8 gUnknown_202EE70[MAX_TEAM_BODY_SIZE];
|
||||
extern u8 gUnknown_202EE76[DUNGEON_MAX_WILD_POKEMON_BODY_SIZE];
|
||||
|
||||
extern DungeonPos gPlayerDotMapPosition;
|
||||
extern Entity *gLeaderPointer; // 203B450
|
||||
|
||||
#include "data/dungeon_serializer.h"
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
#include "dungeon_submenu.h"
|
||||
#include "dungeon_vram.h"
|
||||
#include "dungeon_action.h"
|
||||
#include "dungeon_engine.h"
|
||||
#include "menu_input.h"
|
||||
#include "text_1.h"
|
||||
#include "text_3.h"
|
||||
|
||||
// The reason this short file(just 1 function) exists is because of the pksdir string which usually signifies the file's beginning.
|
||||
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
|
||||
void CreateDungeonMenuSubWindow(WindowTemplate *mainWindow, s32 subWindowX)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "effect_main.h"
|
||||
|
||||
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8041888(u8 param_1);
|
||||
extern void UpdateMinimap();
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "dungeon_range.h"
|
||||
#include "dungeon_message.h"
|
||||
#include "dungeon_pokemon_sprites.h"
|
||||
#include "dungeon_misc.h"
|
||||
#include "dungeon_music.h"
|
||||
#include "dungeon_map.h"
|
||||
#include "string_format.h"
|
||||
@@ -28,10 +29,6 @@
|
||||
#include "dungeon_data.h"
|
||||
#include "dungeon_strings.h"
|
||||
|
||||
extern void sub_8045ACC(void);
|
||||
extern s32 GetMonsterApparentID(Entity *pokemon, s32 id);
|
||||
extern void sub_8045BF8(u8 *, Item *);
|
||||
|
||||
EWRAM_DATA u8 gUnknown_202EE70[MAX_TEAM_BODY_SIZE] = {0};
|
||||
EWRAM_DATA u8 gUnknown_202EE76[DUNGEON_MAX_WILD_POKEMON_BODY_SIZE] = {0};
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "menu_input.h"
|
||||
#include "code_801602C.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
#include "dungeon_engine.h"
|
||||
|
||||
// File split is correct. This technical file deals with windows, advancing frames(v-blanks) and vram / pal set-up.
|
||||
|
||||
@@ -42,7 +43,6 @@ extern struct DungeonPalFile *gDungeonPaletteFile;
|
||||
extern struct DungeonPalFile *gDungeonNameBannerPalette;
|
||||
extern struct DungeonPalFile *gUnknown_202EC94;
|
||||
extern RGB gUnknown_202ECA4[];
|
||||
extern MenuInputStruct gDungeonMenu;
|
||||
extern OpenedFile *gUnknown_202EC9C;
|
||||
|
||||
void xxx_draw_string_80524F0(void);
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "dungeon_damage.h"
|
||||
#include "dungeon_tilemap.h"
|
||||
#include "dungeon_spawns.h"
|
||||
#include "dungeon_map.h"
|
||||
#include "warp_target.h"
|
||||
#include "expose_trap.h"
|
||||
#include "one_room_orb.h"
|
||||
@@ -45,7 +46,6 @@
|
||||
#include "switcher_orb.h"
|
||||
#include "trawl_orb.h"
|
||||
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_806BB6C(Entity *, s32);
|
||||
|
||||
extern u32 gUnknown_8106A50;
|
||||
|
||||
@@ -87,7 +87,6 @@ extern void nullsub_87(Entity *);
|
||||
extern void nullsub_86(Entity *);
|
||||
extern void sub_8041E0C(Entity *);
|
||||
extern void sub_8041DD8(Entity *r0, s32 r1); // NOTE: is s16 in another file
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_8041D9C(Entity *);
|
||||
extern void sub_8041DB0(Entity *pokemon);
|
||||
extern void sub_8041CA8(Entity *);
|
||||
|
||||
@@ -74,7 +74,6 @@ extern void IncrementAdventureFloorsExplored(void);
|
||||
extern void sub_806AB2C(void);
|
||||
extern void DisplayPreFightDialogue(void);
|
||||
extern void EnemyEvolution(Entity *);
|
||||
extern void UpdateMinimap(void);
|
||||
extern void sub_807E5AC(void);
|
||||
extern void TryActivateArtificialWeatherAbilities(void);
|
||||
extern void nullsub_16(void);
|
||||
|
||||
Reference in New Issue
Block a user