Split rom asm file in half
The first half is ui/menu stuff, while the second half is link-related stuff.
This commit is contained in:
@@ -54,9 +54,9 @@ extern struct MusicPlayerInfo gMPlayInfo_BGM;
|
||||
extern const u8* const gBattleScriptsForMoveEffects[];
|
||||
|
||||
// functions
|
||||
extern void sub_81D388C(struct Pokemon* mon, void* statStoreLocation); // pokenav.s
|
||||
extern void sub_81D3640(u16 arg0, void* statStoreLocation1, void* statStoreLocation2, u8 arg3, u8 arg4, u8 arg5); // pokenav.s
|
||||
extern void sub_81D3784(u16 arg0, void* statStoreLocation1, u8 arg2, u8 arg3, u8 arg4); // pokenav.s
|
||||
extern void GetMonLevelUpWindowStats(struct Pokemon* mon, void* statStoreLocation); // pokenav.s
|
||||
extern void DrawLevelUpWindowPg1(u16 arg0, void* statStoreLocation1, void* statStoreLocation2, u8 arg3, u8 arg4, u8 arg5); // pokenav.s
|
||||
extern void DrawLevelUpWindowPg2(u16 arg0, void* statStoreLocation1, u8 arg2, u8 arg3, u8 arg4); // pokenav.s
|
||||
extern u8 sub_813B21C(void);
|
||||
|
||||
#define DEFENDER_IS_PROTECTED ((gProtectStructs[gBattlerTarget].protected) && (gBattleMoves[gCurrentMove].flags & FLAG_PROTECT_AFFECTED))
|
||||
@@ -6321,16 +6321,16 @@ static void sub_804F100(void)
|
||||
{
|
||||
struct StatsArray currentStats;
|
||||
|
||||
sub_81D388C(&gPlayerParty[gBattleStruct->expGetterMonId], ¤tStats);
|
||||
sub_81D3640(0xD, gBattleResources->statsBeforeLvlUp, ¤tStats, 0xE, 0xD, 0xF);
|
||||
GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], ¤tStats);
|
||||
DrawLevelUpWindowPg1(0xD, gBattleResources->statsBeforeLvlUp, ¤tStats, 0xE, 0xD, 0xF);
|
||||
}
|
||||
|
||||
static void sub_804F144(void)
|
||||
{
|
||||
struct StatsArray currentStats;
|
||||
|
||||
sub_81D388C(&gPlayerParty[gBattleStruct->expGetterMonId], ¤tStats);
|
||||
sub_81D3784(0xD, ¤tStats, 0xE, 0xD, 0xF);
|
||||
GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], ¤tStats);
|
||||
DrawLevelUpWindowPg2(0xD, ¤tStats, 0xE, 0xD, 0xF);
|
||||
}
|
||||
|
||||
static void sub_804F17C(void)
|
||||
|
||||
Reference in New Issue
Block a user