mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-10-01 05:51:03 -05:00
Document many more functions and scructs for WildEncounters
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "overlay006/battle_params.h"
|
||||
#include "overlay006/wild_encounters.h"
|
||||
|
||||
void ov6_02240C9C(const WildEncounters * encounterData, int * param1, int * param2);
|
||||
void WildEncounters_ReplaceTimedEncounters(const WildEncounters * encounterData, int * param1, int * param2);
|
||||
BOOL ov6_02240D5C(FieldSystem * fieldSystem);
|
||||
BOOL ov6_0224106C(FieldSystem * fieldSystem, const int param1, BattleParams ** param2);
|
||||
BOOL ov6_022411C8(FieldSystem * fieldSystem, TaskManager * param1);
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
#include "overlay006/wild_encounters.h"
|
||||
|
||||
void ov6_022477B8(const WildEncounters * encounterData, const BOOL param1, int * param2, int * param3);
|
||||
void WildEncounters_ReplaceDualSlotEncounters(const WildEncounters * encounterData, const BOOL param1, int * param2, int * param3);
|
||||
|
||||
#endif // POKEPLATINUM_OV6_022477B8_H
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -46,8 +46,8 @@ int ov6_02242984 (FieldSystem * fieldSystem)
|
||||
v1 = sub_02027474(SaveData_Pokedex(FieldSystem_SaveData(fieldSystem)));
|
||||
|
||||
ov6_02242F74(sub_0202D814(sub_0202D834(fieldSystem->saveData), 1), v1, fieldSystem->location->mapId, &v2[6], &v2[7]);
|
||||
ov6_02240C9C(encounterData, &v2[2], &v2[3]);
|
||||
ov6_022477B8(encounterData, v1, &v2[8], &v2[9]);
|
||||
WildEncounters_ReplaceTimedEncounters(encounterData, &v2[2], &v2[3]);
|
||||
WildEncounters_ReplaceDualSlotEncounters(encounterData, v1, &v2[8], &v2[9]);
|
||||
|
||||
return v2[inline_020564D0(MAX_GRASS_ENCOUNTERS)];
|
||||
}
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#include "overlay006/ov6_022477B8.h"
|
||||
|
||||
void ov6_022477B8 (const WildEncounters * encounterData, const BOOL param1, int * param2, int * param3)
|
||||
void WildEncounters_ReplaceDualSlotEncounters (const WildEncounters * encounterData, const BOOL nationalDexObtained, int * param2, int * param3)
|
||||
{
|
||||
if (!param1) {
|
||||
if (!nationalDexObtained) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user