mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 13:53:52 +01:00
unnecessary externs
This commit is contained in:
parent
a2458d966c
commit
1f052cc08d
@ -3590,7 +3590,6 @@ static void BattleIntroOpponent1SendsOutMonAnimation(void)
|
|||||||
|
|
||||||
gBattleMainFunc = BattleIntroRecordMonsToDex;
|
gBattleMainFunc = BattleIntroRecordMonsToDex;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
ASM_DIRECT
|
ASM_DIRECT
|
||||||
static void BattleIntroOpponent1SendsOutMonAnimation(void)
|
static void BattleIntroOpponent1SendsOutMonAnimation(void)
|
||||||
@ -3677,7 +3676,6 @@ _0803B2F2:\n\
|
|||||||
.pool\n\
|
.pool\n\
|
||||||
.syntax divided");
|
.syntax divided");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NONMATCHING
|
#endif // NONMATCHING
|
||||||
|
|
||||||
static void BattleIntroRecordMonsToDex(void)
|
static void BattleIntroRecordMonsToDex(void)
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include "pokeblock.h"
|
#include "pokeblock.h"
|
||||||
#include "trig.h"
|
#include "trig.h"
|
||||||
#include "tv.h"
|
#include "tv.h"
|
||||||
|
#include "item_menu.h"
|
||||||
|
|
||||||
#define BLENDER_SCORE_BEST 0
|
#define BLENDER_SCORE_BEST 0
|
||||||
#define BLENDER_SCORE_GOOD 1
|
#define BLENDER_SCORE_GOOD 1
|
||||||
@ -128,7 +129,6 @@ struct BerryBlenderData
|
|||||||
|
|
||||||
extern struct MusicPlayerInfo gMPlayInfo_SE2;
|
extern struct MusicPlayerInfo gMPlayInfo_SE2;
|
||||||
extern struct MusicPlayerInfo gMPlayInfo_BGM;
|
extern struct MusicPlayerInfo gMPlayInfo_BGM;
|
||||||
extern u16 gSpecialVar_ItemId;
|
|
||||||
extern u8 gInGameOpponentsNo;
|
extern u8 gInGameOpponentsNo;
|
||||||
extern u8 gUnknown_020322D5;
|
extern u8 gUnknown_020322D5;
|
||||||
extern u8 gResultsWindowId;
|
extern u8 gResultsWindowId;
|
||||||
@ -155,13 +155,11 @@ extern void sub_81978B0(u16);
|
|||||||
extern void sub_800A418(void);
|
extern void sub_800A418(void);
|
||||||
extern u8 sub_800A9D8(void);
|
extern u8 sub_800A9D8(void);
|
||||||
extern bool8 sub_800A4D8(u8);
|
extern bool8 sub_800A4D8(u8);
|
||||||
extern void sub_8197DF8(u8 windowId, bool8 copyToVram);
|
|
||||||
extern void sub_809882C(u8, u16, u8);
|
extern void sub_809882C(u8, u16, u8);
|
||||||
extern void copy_textbox_border_tile_patterns_to_vram(u8, u16, u8);
|
extern void copy_textbox_border_tile_patterns_to_vram(u8, u16, u8);
|
||||||
extern void sub_81AABF0(void (*callback)(void));
|
extern void sub_81AABF0(void (*callback)(void));
|
||||||
extern void sub_800B4C0(void);
|
extern void sub_800B4C0(void);
|
||||||
extern void ClearLinkCallback(void);
|
extern void ClearLinkCallback(void);
|
||||||
extern void CB2_ReturnToFieldContinueScript(void);
|
|
||||||
extern void sub_8153430(void);
|
extern void sub_8153430(void);
|
||||||
extern bool8 sub_8153474(void);
|
extern bool8 sub_8153474(void);
|
||||||
extern void sub_80EECEC(void);
|
extern void sub_80EECEC(void);
|
||||||
|
@ -5,10 +5,6 @@
|
|||||||
#include "constants/species.h"
|
#include "constants/species.h"
|
||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
|
|
||||||
extern u16 gSpecialVar_0x8004;
|
|
||||||
extern u16 gSpecialVar_0x8005;
|
|
||||||
extern u16 gSpecialVar_0x8006;
|
|
||||||
|
|
||||||
bool16 ScriptGetPokedexInfo(void)
|
bool16 ScriptGetPokedexInfo(void)
|
||||||
{
|
{
|
||||||
if (gSpecialVar_0x8004 == 0) // is national dex not present?
|
if (gSpecialVar_0x8004 == 0) // is national dex not present?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user