Eliminate more externs
This commit is contained in:
@@ -8,5 +8,6 @@
|
||||
// Exported ROM declarations
|
||||
|
||||
u16 SetFlashTimerIntr(u8 timerNum, void (**intrFunc)(void));
|
||||
u16 IdentifyFlash(void);
|
||||
|
||||
#endif //GUARD_AGB_FLASH_H
|
||||
|
||||
@@ -134,5 +134,6 @@ u16 EasyChat_GetNumWordsInGroup(u8);
|
||||
u16 sub_811EE90(u16);
|
||||
void DoEasyChatScreen(u8 type, u16 *words, MainCallback callback, u8 displayedPersonType);
|
||||
void sub_811F8BC(void);
|
||||
void sub_811EFC0(u8 additionalPhraseId);
|
||||
|
||||
#endif // GUARD_EASYCHAT_H
|
||||
|
||||
@@ -36,6 +36,10 @@ bool8 FieldEffectCmd_end(u8 **script, u32 *val);
|
||||
bool8 FieldEffectCmd_loadgfx_callnative(u8 **script, u32 *val);
|
||||
bool8 FieldEffectCmd_loadtiles_callnative(u8 **script, u32 *val);
|
||||
bool8 FieldEffectCmd_loadfadedpal_callnative(u8 **script, u32 *val);
|
||||
void sub_80B6B68(void);
|
||||
void sub_80B6E4C(u8 a0, u8 priority);
|
||||
void sub_80B75D8(u8 priority);
|
||||
void sub_80B7A74(u8 priority);
|
||||
|
||||
void sub_80B9C28(s16*, u8);
|
||||
void sub_80B9C54(s16*, u8);
|
||||
@@ -47,5 +51,6 @@ void sub_80B7A58(struct Sprite*);
|
||||
void MultiplyPaletteRGBComponents(u16 i, u8 r, u8 g, u8 b);
|
||||
void FreeResourcesAndDestroySprite(struct Sprite *sprite, u8 spriteId);
|
||||
u8 CreateMonSprite_PicBox(u16 species, s16 x, s16 y, u8 subpriority);
|
||||
void StartEscapeRopeFieldEffect(void);
|
||||
|
||||
#endif //GUARD_FIELD_EFFECTS_H
|
||||
|
||||
@@ -70,5 +70,8 @@ void sub_808C1B4(u8 direction);
|
||||
void sub_808B9D4(u8 direction);
|
||||
void sub_808D194(void);
|
||||
void sub_808D1C8(void);
|
||||
bool32 sub_808D1B4(void);
|
||||
bool32 sub_808D1E8(void);
|
||||
void sub_808C0A8(u8 a);
|
||||
|
||||
#endif // GUARD_FIELD_PLAYER_AVATAR_H
|
||||
|
||||
@@ -27,5 +27,6 @@ void ResetCyclingRoadChallengeData(void);
|
||||
bool8 warp0_in_pokecenter(void);
|
||||
void ResetFanClub(void);
|
||||
bool8 sub_813B21C(void);
|
||||
void set_unknown_box_id(u8 id);
|
||||
|
||||
#endif // GUARD_FIELD_SPECIALS_H
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#define NUM_PALS_TOTAL 13
|
||||
#define MAX_MAP_DATA_SIZE 0x2800
|
||||
|
||||
#include "main.h"
|
||||
|
||||
extern struct BackupMapLayout gBackupMapLayout;
|
||||
|
||||
u32 MapGridGetMetatileIdAt(int, int);
|
||||
@@ -39,9 +41,14 @@ void apply_map_tileset2_palette(struct MapLayout const *mapLayout);
|
||||
void copy_map_tileset2_to_vram_2(struct MapLayout const *mapLayout);
|
||||
void copy_map_tileset1_to_vram(const struct MapLayout *);
|
||||
void copy_map_tileset2_to_vram(const struct MapLayout *);
|
||||
struct MapHeader const *const mapconnection_get_mapheader(struct MapConnection *connection);
|
||||
struct MapConnection *sub_8088A8C(s16 x, s16 y);
|
||||
|
||||
void SpriteCB_PokeballGlow(struct Sprite *);
|
||||
void SpriteCB_PokecenterMonitor(struct Sprite *);
|
||||
void SpriteCB_HallOfFameMonitor(struct Sprite *);
|
||||
|
||||
// field_region_map.c
|
||||
void FieldInitRegionMap(MainCallback callback);
|
||||
|
||||
#endif //GUARD_FIELDMAP_H
|
||||
|
||||
@@ -6,4 +6,7 @@ void CB2_DoHallOfFameScreenDontSaveData(void);
|
||||
void CB2_DoHallOfFamePC(void);
|
||||
void sub_8175280(void);
|
||||
|
||||
// hof_pc.c
|
||||
void ReturnFromHallOfFamePC(void);
|
||||
|
||||
#endif // GUARD_HALL_OF_FAME_H
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define GUARD_item_menu_H
|
||||
|
||||
#include "item.h"
|
||||
#include "menu_helpers.h"
|
||||
|
||||
#define RETURN_LOCATION_FIELD 0
|
||||
#define RETURN_LOCATION_BATTLE 1
|
||||
@@ -83,6 +84,9 @@ void DoWallyTutorialBagMenu(void);
|
||||
void ResetBagScrollPositions(void);
|
||||
void sub_81AABF0(void (*callback)(void));
|
||||
void CB2_ChooseBerry(void);
|
||||
void unknown_ItemMenu_Confirm(u8 taskId);
|
||||
void bag_menu_yes_no(u8, u8, const struct YesNoFuncTable*);
|
||||
void sub_81AB9A8(u8 pocketId);
|
||||
|
||||
|
||||
#endif //GUARD_item_menu_H
|
||||
|
||||
@@ -262,6 +262,7 @@ bool32 sub_800A07C(void);
|
||||
void sub_800AB98(void);
|
||||
void sub_800AA04(u8 a0);
|
||||
void sub_800B4C0(void);
|
||||
bool32 sub_800B504(void);
|
||||
|
||||
extern u16 gLinkPartnersHeldKeys[6];
|
||||
extern u32 gLinkDebugSeed;
|
||||
|
||||
@@ -17,5 +17,6 @@ u16 mevent_081445C0(u8);
|
||||
void sub_801B990(u32, u32);
|
||||
u8 sub_8013F78(void);
|
||||
bool32 sub_802C908(u16);
|
||||
void nullsub_89(u8 taskId);
|
||||
|
||||
#endif //GUARD_rom_8011DC0_H
|
||||
|
||||
@@ -14,5 +14,7 @@ u8 CreateWindowFromRect(u8, u8, u8, u8);
|
||||
void sub_80E2A78(u8);
|
||||
int display_text_and_get_width(const u8*, int);
|
||||
int sub_80E2D5C(int arg0, int tileWidth);
|
||||
bool16 ScrSpecial_CreatePCMenu(void);
|
||||
void ScriptMenu_DisplayPCStartupPrompt(void);
|
||||
|
||||
#endif //GUARD_SCRIPT_MENU_H
|
||||
|
||||
Reference in New Issue
Block a user