Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync pokemon expansion #4

Merged
merged 126 commits into from
Oct 13, 2020
Merged
Changes from 9 commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
a7a64ec
Fixup ModifyStatByNature
Sep 5, 2020
0039542
Match CheckBagHasSpace
Sep 5, 2020
ac9a86d
Remove movementAction fakematch
Sep 5, 2020
53a4eff
Tidy up headers
Sep 5, 2020
2d624d6
Fix
Sep 5, 2020
5d694ed
Specify array size: 12 semitones
Sep 5, 2020
3ce29ee
Refactor Use Item
Sep 5, 2020
fe9ab67
Change division to explicit shifts for consistency
Sep 5, 2020
8b729cf
While to do_while
Sep 5, 2020
781eb38
Removed unused comment
Sep 6, 2020
5d2a4e0
Remove explicit padding
Sep 6, 2020
e668466
Fix casting bug
Sep 6, 2020
b49c5d1
Move buffer has and operation too
Sep 6, 2020
8200682
u8 position
Sep 6, 2020
5f7a410
Preparation for matching BattleIntroOpponent1SendsOutMonAnimation
Sep 7, 2020
0a13d71
Make 0xFF have a lowercase "x"
Sep 7, 2020
3336eb3
More adjustments
Sep 8, 2020
4d31980
Undo comment
Sep 8, 2020
818bc4e
Merge pull request #1179 from PokeCodec/Maintenance
PikalaxALT Sep 8, 2020
e84da39
Match BattleIntroOpponent1SendsOutMonAnimation
Sep 8, 2020
6bb1d58
Finished header includes
Sep 8, 2020
bb5da94
Fix build
Sep 8, 2020
6fb1d55
Reverted -nostdlib changes
Sep 8, 2020
fb29a46
Merge pull request #1180 from PokeCodec/splitTableMatch
PikalaxALT Sep 9, 2020
6e3f5a4
Remove fakematch in trainer hell
Sep 9, 2020
34f54dd
Fix Battle util fakematch
Sep 9, 2020
f980188
Fix battle transition fakematch
Sep 9, 2020
8f6d6b9
Merge pull request #1181 from PokeCodec/trainer-hill
PikalaxALT Sep 9, 2020
779764b
Fix Battle_Script_commands fakematch
Sep 9, 2020
3af118b
Fix fakematch in pokemon animation
Sep 9, 2020
a3a8c23
Match battle_script commands
Sep 9, 2020
aa45c05
Match Battle Tower
Sep 9, 2020
56afdee
Remove register variable mention
Sep 9, 2020
dc34cf1
Mail Time
Sep 9, 2020
84a9227
Record mixing fakematch fixed!
Sep 9, 2020
d541002
Type adjust
Sep 9, 2020
a32f631
Fix Pokemon Fakematch
Sep 9, 2020
7f18277
Document size field of unknown struct
Sep 9, 2020
d260943
Merge pull request #1182 from PokeCodec/PokemonLogicFix
PikalaxALT Sep 9, 2020
f50ecf5
Match PrintMonWeight
Sep 9, 2020
0869610
Match dewford
Sep 9, 2020
50a6b73
Fix sub_80C6104
Sep 10, 2020
eb25b95
InitPaintingMonOamData fix
Sep 10, 2020
029db24
Make return
Sep 10, 2020
6967b23
adjustments and fakematch fix
Sep 10, 2020
8776975
spacing
Sep 10, 2020
c1286c2
Change according to feedback
Sep 10, 2020
c098716
Merge pull request #1183 from PokeCodec/PokemonLogicFix
PikalaxALT Sep 10, 2020
921f389
Fix Rusboro and Lavarige typos
GriffinRichards Sep 11, 2020
58a2b62
Merge pull request #1184 from GriffinRichards/fix-typos
GriffinRichards Sep 11, 2020
5c3669e
Bug documenting
kiliwily Sep 12, 2020
3e95f83
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
84acc5c
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
7377c2f
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
4c4c2ea
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
f84702e
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
50139aa
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
f861b70
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
9b4ded4
Update pokemon.c
kiliwily Sep 12, 2020
a130c2d
Update bugs_and_glitches.md
kiliwily Sep 12, 2020
46ccb91
Fixed "Ultra Rope" name.
AsparagusEduardo Sep 13, 2020
b542eb1
Merge pull request #1190 from AsparagusEduardo/fix-UltraRope
GriffinRichards Sep 13, 2020
778e692
Complete TMHM Learnset description
Sep 16, 2020
227d2dc
Make description slightly more precise
Sep 16, 2020
62b7901
Merge pull request #1194 from ExpoSeed/typo-fix
GriffinRichards Sep 16, 2020
b9644e9
Update Audio Macros
Kurausukun Sep 17, 2020
f4a49dc
Make all arguments for audio macros required
Kurausukun Sep 17, 2020
a3a558a
Merge pull request #1195 from Kurausukun/audio-macro
GriffinRichards Sep 18, 2020
30e3437
rename instruments (again)
Kurausukun Sep 18, 2020
0e74de0
Changed casts to volatile
Sep 18, 2020
f5457cd
Libpng-devel
Sep 18, 2020
b352d1b
Merge pull request #1198 from PokeCodec/patch-1
PikalaxALT Sep 18, 2020
0088f59
Merge pull request #1197 from MeatLoaf3/patch-1
PikalaxALT Sep 19, 2020
56848fb
Update battle_util.c
kiliwily Sep 19, 2020
f1366df
Fix typos
kiliwily Sep 19, 2020
0b59222
Merge pull request #1186 from kiliwily/DocSomeBugs
GriffinRichards Sep 19, 2020
0d3646c
Trainer hill location data
tustin2121 Sep 20, 2020
832be34
More documenting trainer hill
tustin2121 Sep 20, 2020
1d1035a
Merge pull request #1196 from Kurausukun/rename_instruments
GriffinRichards Sep 20, 2020
be9100f
Review changes
tustin2121 Sep 20, 2020
47b5b75
Merge pull request #1201 from tustin2121/tustin2121-patch-8
GriffinRichards Sep 20, 2020
04bf1d4
one more instrument
Kurausukun Sep 24, 2020
541eff3
Merge pull request #1204 from Kurausukun/rename-2
GriffinRichards Sep 24, 2020
66bd1e6
Use constants for item digits
GriffinRichards Sep 25, 2020
e7340ca
Add byte comments to script command table
Sep 25, 2020
31d1238
Add byte comments to mystery event script command table
Sep 25, 2020
3860551
Mark unused script commands
Sep 25, 2020
032669e
Change script command table comment alignment from tabs to spaces
Sep 25, 2020
f8ce2ef
Merge pull request #1206 from ExpoSeed/script-command-comments
GriffinRichards Sep 25, 2020
00b8208
Merge pull request #1205 from GriffinRichards/constants-itemdigits
PikalaxALT Sep 27, 2020
46d748a
Create pull_request_template.md
PikalaxALT Sep 27, 2020
70f7d4f
More concise pull request template
Sep 27, 2020
933e180
Remove breaking change line
Sep 27, 2020
cb69835
Merge pull request #1210 from ExpoSeed/pull-request-template
PikalaxALT Sep 27, 2020
7c697e9
Resolve fakematch CopyGlyphToWindow.
RevoSucks Sep 28, 2020
7f1fa72
:masuda:
RevoSucks Sep 28, 2020
22c6c03
Remove unnecessary comments
RevoSucks Sep 29, 2020
5259898
Replace POKEMON_SLOTS_NUMBER
GriffinRichards Oct 1, 2020
187c96d
rewrite MultiBootWaitCycles as naked function
ipatix Oct 2, 2020
5f17b07
Change toOrrX and toOrrY to u8
Oct 2, 2020
94bfc31
Eliminate most of PR template
Oct 2, 2020
f001250
Merge pull request #1218 from MeatLoaf3/patch-3
PikalaxALT Oct 3, 2020
4a773ce
Merge pull request #1217 from ipatix/fix_O3
PikalaxALT Oct 3, 2020
96e4b43
Documenting where each of the berries are generated in new_game.inc
AsparagusEduardo Oct 4, 2020
5794fc6
Merge branch 'pokemon_expansion' of https://github.com/DizzyEggg/poke…
Oct 4, 2020
9b90a77
Merge pull request #1221 from AsparagusEduardo/Doc-newGameBerries
GriffinRichards Oct 5, 2020
a33d487
Merge pull request #1219 from ExpoSeed/bye-pr-template
GriffinRichards Oct 5, 2020
22db85b
Merge branch 'master' of https://github.com/pret/pokeemerald into syn…
Oct 5, 2020
65a4e06
Add ITEM6_HEAL constants, change move flags to shifts
GriffinRichards Oct 5, 2020
9c43bcb
Delete accidentally pushed file
Oct 6, 2020
8f7e212
Remove *.rl in make clean
Oct 6, 2020
ba18f40
Merge pull request #1225 from ExpoSeed/make-clean-rl
GriffinRichards Oct 6, 2020
13f37cf
Merge pull request #1223 from GriffinRichards/constants-misc
GriffinRichards Oct 6, 2020
2b2be90
start pokenav documentation
ghoulslash Oct 10, 2020
bc4e992
Merge branch 'master' of https://github.com/pret/pokeemerald into syn…
Oct 11, 2020
52ebc42
Document gUnknown_03006298
kageru Oct 7, 2020
4efbdaf
Merge pull request #1227 from kageru/pret
GriffinRichards Oct 11, 2020
f4909b4
align pokenav task funcs and update some pokenav menu bg gfx files
ghoulslash Oct 11, 2020
280c68b
renamed pokenav graphics file fixes
ghoulslash Oct 11, 2020
17a77c9
Merge pull request #1229 from ghoulslash/document
GriffinRichards Oct 11, 2020
1472111
Fix PutAwayDecorationLoop UB comment
GriffinRichards Oct 11, 2020
46212e0
Merge pull request #1230 from GriffinRichards/fixubcomm
GriffinRichards Oct 11, 2020
81ac09a
Merge branch 'master' of https://github.com/pret/pokeemerald into syn…
Oct 12, 2020
90d4359
Fix constants
Oct 13, 2020
3f8d71b
Relocate POKEMON_SLOTS_NUMBER to avoid merge conflict
Oct 13, 2020
a539045
Relocate and redefine POKEMON_SLOTS_NUMBER
Oct 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common_syms/battle_tower.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gUnknown_03006298
gFrontierTempParty
2 changes: 1 addition & 1 deletion data/scripts/secret_base.inc
Original file line number Diff line number Diff line change
@@ -308,7 +308,7 @@ SecretBase_EventScript_PutAwayDecorationLoop:: @ 8275D39
compare VAR_0x8005, 0
goto_if_eq SecretBase_EventScript_PutAwayDecorationLoop
removeobject VAR_0x8006
setflag VAR_0x8005 @ UB: GF likely meant setvar here; setflag 0x8005 is out of bounds
setflag VAR_0x8005 @ UB: VAR_0x8005 is set to a flag by PutAwayDecorationIteration, but ScrCmd_setflag doesn't use VarGet
goto SecretBase_EventScript_PutAwayDecorationLoop
end

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion graphics_file_rules.mk
Original file line number Diff line number Diff line change
@@ -727,7 +727,7 @@ $(PKNAVOPTIONSGFXDIR)/options.4bpp: $(PKNAVOPTIONSGFXDIR)/hoenn_map.4bpp \
$(PKNAVGFXDIR)/header.4bpp: %.4bpp: %.png
$(GFX) $< $@ -num_tiles 53

$(PKNAVGFXDIR)/outline.4bpp: %.4bpp: %.png
$(PKNAVGFXDIR)/device_outline.4bpp: %.4bpp: %.png
$(GFX) $< $@ -num_tiles 53

$(PKNAVGFXDIR)/ui_matchcall.4bpp: %.4bpp: %.png
4 changes: 3 additions & 1 deletion include/battle_tower.h
Original file line number Diff line number Diff line change
@@ -43,7 +43,9 @@ extern const struct BattleFrontierTrainer gBattleFrontierTrainers[];
extern const struct FacilityMon gSlateportBattleTentMons[];
extern const struct BattleFrontierTrainer gSlateportBattleTentTrainers[];

extern u16 gUnknown_03006298[];
// Temporary storage for monIds of the opponent team
// during team generation in battle factory and similar facilities.
extern u16 gFrontierTempParty[];

extern const struct BattleFrontierTrainer *gFacilityTrainers;
extern const struct FacilityMon *gFacilityTrainerMons;
12 changes: 6 additions & 6 deletions include/menu_specialized.h
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ struct UnknownSubStruct_81D1ED4

struct ConditionGraph
{
/*0x000*/ u8 unk0[4][FLAVOR_COUNT];
/*0x000*/ u8 stat[4][FLAVOR_COUNT];
/*0x014*/ struct UnknownSubStruct_81D1ED4 unk14[4][FLAVOR_COUNT];
/*0x064*/ struct UnknownSubStruct_81D1ED4 unk64[10][FLAVOR_COUNT];
/*0x12C*/ struct UnknownSubStruct_81D1ED4 unk12C[FLAVOR_COUNT];
@@ -32,7 +32,7 @@ struct ConditionGraph
/*0x350*/ u16 unk350;
/*0x352*/ u16 unk352;
/*0x354*/ u8 unk354;
/*0x355*/ u8 unk355;
/*0x355*/ u8 state;
};

bool8 sub_81D1C44(u8 count);
@@ -41,12 +41,12 @@ u8 sub_81D1DC0(struct PlayerPCItemPageStruct *page);
void sub_81D1E90(struct PlayerPCItemPageStruct *page);
void sub_81D1EC0(void);
void sub_81D1D04(u8 a0);
void sub_81D1ED4(struct ConditionGraph *graph);
void InitConditionGraphData(struct ConditionGraph *graph);
void sub_81D2108(struct ConditionGraph *graph);
void sub_81D21DC(u8 bg);
void sub_81D20AC(struct ConditionGraph *graph);
void SetConditionGraphIOWindows(u8 bg);
void InitConditionGraphState(struct ConditionGraph *graph);
void sub_81D2230(struct ConditionGraph *graph);
bool8 sub_81D20BC(struct ConditionGraph *graph);
bool8 SetupConditionGraphScanlineParams(struct ConditionGraph *graph);
bool32 TransitionConditionGraph(struct ConditionGraph *graph);
void sub_81D2754(u8 *arg0, struct UnknownSubStruct_81D1ED4 *arg1);
void sub_81D1F84(struct ConditionGraph *graph, struct UnknownSubStruct_81D1ED4 *arg1, struct UnknownSubStruct_81D1ED4 *arg2);
4 changes: 2 additions & 2 deletions include/mon_markings.h
Original file line number Diff line number Diff line change
@@ -29,8 +29,8 @@ bool8 sub_811F960(void);
void sub_811FA90(void);
void sub_811FAA4(u8 markings, s16 x, s16 y);
void sub_811FAF8(void);
bool8 sub_811FBA4(void);
struct Sprite *sub_811FF94(u16 tileTag, u16 paletteTag, const u16 *palette);
bool8 MonMarkingsMenuHandleInput(void);
struct Sprite *CreateMonMarkingsSpriteWithPal(u16 tileTag, u16 paletteTag, const u16 *palette);
struct Sprite *sub_811FFB4(u16 tileTag, u16 paletteTag, const u16 *palette);
void sub_8120084(u8 markings, void *dest);

198 changes: 118 additions & 80 deletions include/pokenav.h
Original file line number Diff line number Diff line change
@@ -27,27 +27,27 @@ struct PokenavListTemplate
struct PokenavMonList *monList;
struct PokenavMatchCallEntries *matchCallEntries;
} list;
u16 unk4;
u16 count;
u16 unk6;
u8 unk8;
u8 unk9;
u8 unkA;
u8 unkB;
u8 unkC;
u8 unkD;
u8 unkE;
u8 item_X;
u8 windowWidth;
u8 listTop;
u8 maxShowed;
u8 fillValue;
u8 fontId;
union {
void (*unk10_1)(struct PokenavMonList *, u8 *a1);
void (*printMonFunc)(struct PokenavMonList *item, u8 *dest);
void (*unk10_2)(struct PokenavMatchCallEntries *, u8 *a1);
} listFunc;
void (*unk14)(u16 a0, u32 a1, u32 a2);
};

struct PokenavSub18
{
u16 unk0;
u16 unk2;
struct PokenavMonList unk4[TOTAL_BOXES_COUNT * IN_BOX_COUNT + PARTY_SIZE];
u16 listCount;
u16 currIndex;
struct PokenavMonList monData[TOTAL_BOXES_COUNT * IN_BOX_COUNT + PARTY_SIZE];
};

// Return values of LoopedTask functions.
@@ -65,6 +65,31 @@ enum
POKENAV_MODE_FORCE_CALL_EXIT, // Pokenav tutorial after calling Mr. Stone
};

// TODO - refine these names
enum Substructures
{
POKENAV_SUBSTRUCT_MAIN_MENU,
POKENAV_SUBSTRUCT_MAIN_MENU_HANDLER,
POKENAV_SUBSTRUCT_MENU_ICONS,
POKENAV_SUBSTRUCT_REGION_MAP_STATE,
POKENAV_SUBSTRUCT_REGION_MAP_ZOOM,
POKENAV_SUBSTRUCT_MATCH_CALL_MAIN,
POKENAV_SUBSTRUCT_MATCH_CALL_OPEN,
POKENAV_SUBSTRUCT_CONDITION_SEARCH_RESULTS,
POKENAV_SUBSTRUCT_CONDITION_SEARCH_RESULT_LIST,
POKENAV_SUBSTRUCT_RIBBONS_MON_LIST,
POKENAV_SUBSTRUCT_RIBBONS_MON_MENU,
POKENAV_SUBSTRUCT_CONDITION_GRAPH,
POKENAV_SUBSTRUCT_MON_MARK_MENU,
POKENAV_SUBSTRUCT_RIBBONS_SUMMARY_LIST,
POKENAV_SUBSTRUCT_RIBBONS_SUMMARY_MENU,
POKENAV_SUBSTRUCT_15, //unused
POKENAV_SUBSTRUCT_REGION_MAP,
POKENAV_SUBSTRUCT_MATCH_CALL_LIST,
POKENAV_SUBSTRUCT_MON_LIST,
POKENAV_SUBSTRUCT_COUNT,
};

enum
{
POKENAV_GFX_MAIN_MENU,
@@ -97,12 +122,12 @@ enum
POKENAV_REGION_MAP,
POKENAV_CONDITION_PARTY,
POKENAV_CONDITION_SEARCH_RESULTS,
POKENAV_MENU_9, // Condition
POKENAV_MENU_A, // Condition
POKENAV_CONDITION_GRAPH_FROM_SEARCH, // opening condition graph from search list
POKENAV_RETURN_CONDITION_SEARCH, //return to search list from condition graph
POKENAV_MATCH_CALL,
POKENAV_RIBBONS_MON_LIST,
POKENAV_MENU_D, // Ribbons
POKENAV_MENU_E, // Ribbons
POKENAV_RIBBONS_SUMMARY_SCREEN,
POKENAV_RIBBONS_RETURN_TO_MON_LIST,
};

enum
@@ -207,7 +232,7 @@ enum
// Pokenav Function IDs
// Indices into the LoopedTask tables for each of the main Pokenav features

enum
enum RegionMapFuncIds
{
POKENAV_MENU_FUNC_NONE,
POKENAV_MENU_FUNC_MOVE_CURSOR,
@@ -220,6 +245,19 @@ enum
POKENAV_MENU_FUNC_OPEN_FEATURE,
};

enum PartyConditionFuncIds
{
PARTY_CONDITION_FUNC_NONE,
PARTY_CONDITION_FUNC_SLIDE_MON_IN,
PARTY_CONDITION_FUNC_RETURN,
PARTY_CONDITION_FUNC_NO_TRANSITION,
PARTY_CONDITION_FUNC_SLIDE_MON_OUT,
PARTY_CONDITION_FUNC_ADD_MARKINGS,
PARTY_CONDITION_FUNC_CLOSE_MARKINGS,
};

#define POKENAV_MENU_FUNC_EXIT -1

enum
{
POKENAV_MC_FUNC_NONE,
@@ -268,17 +306,17 @@ void SetPokenavVBlankCallback(void);
void SetVBlankCallback_(IntrCallback callback);

// pokenav_match_call_ui.c
u32 GetSelectedMatchCall(void);
u32 GetSelectedPokenavListIndex(void);
bool32 sub_81C8224(void);
int MatchCall_MoveCursorUp(void);
int MatchCall_MoveCursorDown(void);
int MatchCall_PageDown(void);
int MatchCall_PageUp(void);
bool32 sub_81C8630(void);
bool32 IsMonListLoopedTaskActive(void);
void ToggleMatchCallVerticalArrows(bool32 shouldHide);
void sub_81C8838(void);
void sub_81C877C(void);
bool32 sub_81C8820(void);
bool32 IsMatchCallListTaskActive(void);
void PrintCheckPageInfo(s16 a0);
u32 GetMatchCallListTopIndex(void);
void sub_81C87F0(void);
@@ -300,30 +338,30 @@ void MatchCall_GetNameAndDesc(u32 idx, const u8 **desc, const u8 **name);
// pokenav_main_menu.c
bool32 InitPokenavMainMenu(void);
void CopyPaletteIntoBufferUnfaded(const u16 *palette, u32 bufferOffset, u32 size);
void sub_81C7850(u32 a0);
u32 sub_81C786C(void);
void RunMainMenuLoopedTask(u32 a0);
u32 IsActiveMenuLoopTaskActive(void);
void LoadLeftHeaderGfxForIndex(u32 arg0);
void sub_81C7FA0(u32 arg0, bool32 arg1, bool32 arg2);
void ShowLeftHeaderGfx(u32 menugfxId, bool32 arg1, bool32 isOnRightSide);
void PokenavFadeScreen(s32 fadeType);
bool32 sub_81C8010(void);
bool32 AreLeftHeaderSpritesMoving(void);
void InitBgTemplates(const struct BgTemplate *templates, int count);
bool32 IsPaletteFadeActive(void);
void PrintHelpBarText(u32 textId);
bool32 WaitForHelpBar(void);
void sub_81C78A0(void);
void SlideMenuHeaderDown(void);
bool32 MainMenuLoopedTaskIsBusy(void);
void sub_81C7FDC(void);
void sub_81C79BC(const u16 *a0, const u16 *a1, int a2, int a3, int a4, u16 *palette);
void SetLeftHeaderSpritesInvisibility(void);
void PokenavCopyPalette(const u16 *a0, const u16 *a1, int a2, int a3, int a4, u16 *palette);
void sub_81C7B40(void);
struct Sprite *PauseSpinningPokenavSprite(void);
void ResumeSpinningPokenavSprite(void);
void sub_81C7E14(u32 arg0);
void sub_81C7FC4(u32 arg0, bool32 arg1);
void sub_81C7880(void);
void sub_81C7990(u32 a0, u16 a1);
void UpdateRegionMapRightHeaderTiles(u32 arg0);
void HideMainOrSubMenuLeftHeader(u32 id, bool32 onRightSide);
void SlideMenuHeaderUp(void);
void PokenavFillPalette(u32 palIndex, u16 fillValue);
u32 PokenavMainMenuLoopedTaskIsActive(void);
bool32 WaitForPokenavShutdownFade(void);
void sub_81C7834(void *func1, void *func2);
void SetActiveMenuLoopTasks(void *func1, void *func2);
void ShutdownPokenav(void);

// pokenav_menu_handler_1.c
@@ -345,7 +383,7 @@ bool32 OpenPokenavMenuNotInitial(void);
void CreateMenuHandlerLoopedTask(s32 ltIdx);
bool32 IsMenuHandlerLoopedTaskActive(void);
void FreeMenuHandlerSubstruct2(void);
void sub_81CAADC(void);
void ResetBldCnt_(void);

// pokenav_match_call_1.c
bool32 PokenavCallback_Init_MatchCall(void);
@@ -364,7 +402,7 @@ const u8 *GetMatchCallMessageText(int index, u8 *arg1);
u16 GetMatchCallOptionCursorPos(void);
u16 GetMatchCallOptionId(int arg0);
void BufferMatchCallNameAndDesc(struct PokenavMatchCallEntries * arg0, u8 *str);
u8 sub_81CB0C8(int rematchIndex);
u8 GetMatchTableMapSectionId(int rematchIndex);
int GetIndexDeltaOfNextCheckPageDown(int index);
int GetIndexDeltaOfNextCheckPageUp(int index);
bool32 IsRematchEntryRegistered(int index);
@@ -385,60 +423,60 @@ void FreeRegionMapSubstruct1(void);
void FreeRegionMapSubstruct2(void);

// pokenav_conditions_1.c
u32 PokenavCallback_Init_7(void);
u32 PokenavCallback_Init_9(void);
u32 sub_81CD070(void);
void sub_81CD1C0(void);
bool32 sub_81CD3C4(void);
bool32 sub_81CDD5C(void);
struct ConditionGraph *sub_81CDC70(void);
u16 sub_81CDC60(void);
u16 sub_81CDC50(void);
u8 sub_81CDDB0(void);
bool32 sub_81CD548(u8 arg0);
u8 sub_81CDD7C(void);
u8 *sub_81CDD04(u8 id);
u8 *sub_81CDD24(u8 id);
u16 sub_81CDD48(void);
void *sub_81CDCB4(u8 id);
void *sub_81CDCD4(u8 id);
u32 PokenavCallback_Init_PartyCondition(void);
u32 PokenavCallback_Init_ConditionGraphFromSearch(void);
u32 GetPartyConditionCallback(void);
void FreePartyConditionSubstruct1(void);
bool32 LoadPartyConditionMenuGfx(void);
bool32 IsConditionMenuSearchMode(void);
struct ConditionGraph *GetConditionGraphDataPtr(void);
u16 GetConditionGraphCurrentMonIndex(void);
u16 GetMonListCount(void);
u8 GetMonSheen(void);
bool32 SetConditionGraphData(u8 arg0);
u8 TryGetMonMarkId(void);
u8 *GetConditionMonNameBuffer(u8 id);
u8 *GetConditionMonLocationBuffer(u8 id);
u16 GetConditionMonDataBuffer(void);
void *GetConditionMonPicGfx(u8 id);
void *GetConditionMonPal(u8 id);

// pokenav_conditions_2.c
bool32 sub_81CDDD4(void);
void sub_81CDE2C(s32);
u32 sub_81CDE64(void);
void sub_81CECA0(void);
u8 sub_81CEF14(void);
bool32 OpenPartyConditionMenu(void);
void CreatePartyConditionLoopedTask(s32);
u32 IsPartyConditionLoopedTaskActive(void);
void FreePartyConditionSubstruct2(void);
u8 GetMonMarkingsData(void);

// pokenav_conditions_3.c
u32 PokenavCallback_Init_8(void);
u32 PokenavCallback_Init_10(void);
u32 sub_81CEFDC(void);
void sub_81CEFF0(void);
bool32 sub_81CF330(void);
bool32 sub_81CF368(void);
void sub_81CF3A0(s32);
u32 sub_81CF3D0(void);
void sub_81CF3F8(void);
u32 PokenavCallback_Init_ConditionSearch(void);
u32 PokenavCallback_Init_ReturnToMonSearchList(void);
u32 GetConditionSearchResultsCallback(void);
void FreeSearchResultSubstruct1(void);
bool32 OpenConditionSearchResults(void);
bool32 OpenConditionSearchListFromGraph(void);
void CreateSearchResultsLoopedTask(s32);
u32 IsSearchResultLoopedTaskActive(void);
void FreeSearchResultSubstruct2(void);

// pokenav_ribbons_1.c
u32 PokenavCallback_Init_12(void);
u32 PokenavCallback_Init_14(void);
u32 sub_81CFA34(void);
void sub_81CFA48(void);
bool32 sub_81CFDD0(void);
bool32 sub_81CFE08(void);
void sub_81CFE40(s32);
u32 sub_81CFE70(void);
void sub_81CFE98(void);
u32 PokenavCallback_Init_MonRibbonList(void);
u32 PokenavCallback_Init_RibbonsMonListFromSummary(void);
u32 GetRibbonsMonListCallback(void);
void FreeRibbonsMonList1(void);
bool32 OpenRibbonsMonList(void);
bool32 OpenRibbonsMonListFromRibbonsSummary(void);
void CreateRibbonsMonListLoopedTask(s32);
u32 IsRibbonsMonListLoopedTaskActive(void);
void FreeRibbonsMonList2(void);

// pokenav_ribbons_2.c
u32 PokenavCallback_Init_13(void);
u32 sub_81D04A0(void);
void sub_81D04B8(void);
bool32 sub_81D0978(void);
void sub_81D09B0(s32);
u32 sub_81D09E0(void);
void sub_81D09F4(void);
u32 PokenavCallback_Init_RibbonsSummaryMenu(void);
u32 GetRibbonsSummaryMenuCallback(void);
void FreeRibbonsSummaryScreen1(void);
bool32 OpenRibbonsSummaryMenu(void);
void CreateRibbonsSummaryLoopedTask(s32);
u32 IsRibbonsSummaryLoopedTaskActive(void);
void FreeRibbonsSummaryScreen2(void);

#endif // GUARD_POKENAV_H
Loading