mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
Document Contest script commands (#982)
This commit is contained in:
parent
c559905b9e
commit
cc846e7d55
|
|
@ -1239,7 +1239,7 @@
|
|||
.short \arg0
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0C6
|
||||
.macro ChangeIntoContestAttire
|
||||
.short 198
|
||||
.endm
|
||||
|
||||
|
|
@ -1513,161 +1513,161 @@
|
|||
.short 247
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0F8 arg0
|
||||
.macro StartContestCommSync syncNo
|
||||
.short 248
|
||||
.short \arg0
|
||||
.short \syncNo
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0F9 arg0
|
||||
.macro WaitForCommSyncState syncState
|
||||
.short 249
|
||||
.short \arg0
|
||||
.short \syncState
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FA arg0, arg1, arg2, arg3
|
||||
.macro NewContest contestRank, contestType, competitionType, partySlot
|
||||
.short 250
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \arg2
|
||||
.short \arg3
|
||||
.short \contestRank
|
||||
.short \contestType
|
||||
.short \competitionType
|
||||
.short \partySlot
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FB arg0
|
||||
.macro EndContest mapID
|
||||
.short 251
|
||||
.short \arg0
|
||||
.short \mapID
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FC arg0, arg1
|
||||
.macro BufferJudgeName judgeID, idx
|
||||
.short 252
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \judgeID
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FD arg0, arg1
|
||||
.macro BufferContestantTrainerName contestantEntryNum, idx
|
||||
.short 253
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \contestantEntryNum
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FE arg0, arg1
|
||||
.macro BufferContestantMonName contestantEntryNum, idx
|
||||
.short 254
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \contestantEntryNum
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_0FF arg0, arg1
|
||||
.macro BufferContestRegistrationEntryNumber entryNum, strNumIdx
|
||||
.short 255
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \entryNum
|
||||
.short \strNumIdx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_100
|
||||
.macro WaitForLinkContestSetup
|
||||
.short 256
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_101
|
||||
.macro RunContestApplication
|
||||
.short 257
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_102 arg0
|
||||
.macro BufferContestRank idx
|
||||
.short 258
|
||||
.short \arg0
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_103 arg0
|
||||
.macro BufferContestType idx
|
||||
.short 259
|
||||
.short \arg0
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_104 arg0
|
||||
.macro BufferWinningContestantTrainerName idx
|
||||
.short 260
|
||||
.short \arg0
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_105 arg0
|
||||
.macro SetTrue destTrue
|
||||
.short 261
|
||||
.short \arg0
|
||||
.short \destTrue
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_106 arg0
|
||||
.macro BufferWinningContestantMonName idx
|
||||
.short 262
|
||||
.short \arg0
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_107 arg0
|
||||
.macro GetPlayerContestPlacement destPlayerContestPlacement
|
||||
.short 263
|
||||
.short \arg0
|
||||
.short \destPlayerContestPlacement
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_108 arg0
|
||||
.macro GetWinningContestantEntryNum destWinningContestantEntryNum
|
||||
.short 264
|
||||
.short \arg0
|
||||
.short \destWinningContestantEntryNum
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_109 arg0
|
||||
.macro GetContestRegistrationEntryNum destVarContestantEntryNum
|
||||
.short 265
|
||||
.short \arg0
|
||||
.short \destVarContestantEntryNum
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10A arg0, arg1
|
||||
.macro GetContestantObjEventGFX contestantEntryNum, destContestantObjEventGFX
|
||||
.short 266
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \contestantEntryNum
|
||||
.short \destContestantObjEventGFX
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10B arg0, arg1
|
||||
.macro GetContestantMonContestFame contestantEntryNum, destMonContestFame
|
||||
.short 267
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \contestantEntryNum
|
||||
.short \destMonContestFame
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10C arg0
|
||||
.macro GetContestMode destContestMode
|
||||
.short 268
|
||||
.short \arg0
|
||||
.short \destContestMode
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10D arg0
|
||||
.macro CheckPlayerMonHasRibbon destHasRibbon
|
||||
.short 269
|
||||
.short \arg0
|
||||
.short \destHasRibbon
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10E arg0
|
||||
.macro SetRibbonName idx
|
||||
.short 270
|
||||
.short \arg0
|
||||
.short \idx
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_10F arg0
|
||||
.macro GetFirstTimeVictoryAccessory destAccessoryID
|
||||
.short 271
|
||||
.short \arg0
|
||||
.short \destAccessoryID
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_110 arg0, arg1, arg2, arg3
|
||||
.macro GetContestInfo contestRank, contestType, competitionType, monPartySlot
|
||||
.short 272
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \arg2
|
||||
.short \arg3
|
||||
.short \contestRank
|
||||
.short \contestType
|
||||
.short \competitionType
|
||||
.short \monPartySlot
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_111 arg0
|
||||
.macro StartContestCameraFlashTask contestantEntryNum
|
||||
.short 273
|
||||
.short \arg0
|
||||
.short \contestantEntryNum
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_112
|
||||
.macro WaitForContestCameraFlashTask
|
||||
.short 274
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_113
|
||||
.macro StopHBlank
|
||||
.short 275
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_114
|
||||
.macro StartHBlank
|
||||
.short 276
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_115 arg0
|
||||
.macro GetShouldSkipAwardCeremony destSkipAwardCeremony
|
||||
.short 277
|
||||
.short \arg0
|
||||
.short \destSkipAwardCeremony
|
||||
.endm
|
||||
|
||||
.macro ShowLinkContestRecords
|
||||
|
|
@ -1678,7 +1678,7 @@
|
|||
.short 279
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_118
|
||||
.macro LockTextSpeed
|
||||
.short 280
|
||||
.endm
|
||||
|
||||
|
|
@ -2327,28 +2327,28 @@
|
|||
.short \destVar
|
||||
.endm
|
||||
|
||||
.macro OpenPartyMenuForContest partySlot, contestRank, contestType, arg3
|
||||
.macro OpenPartyMenuForContest partySlot, contestRank, contestType, useDefaultContestRank
|
||||
.short 404
|
||||
.short \partySlot
|
||||
.short \contestRank
|
||||
.short \contestType
|
||||
.short \arg3
|
||||
.short \useDefaultContestRank
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_195 arg0, arg1
|
||||
.macro TryEnterContestMon partySlot, menuItemSelection
|
||||
.short 405
|
||||
.short \arg0
|
||||
.short \arg1
|
||||
.short \partySlot
|
||||
.short \menuItemSelection
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_196 arg0
|
||||
.macro SetMonSummary partySlot
|
||||
.short 406
|
||||
.short \arg0
|
||||
.short \partySlot
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_197 arg0
|
||||
.macro GetMonPartySlot partySlot
|
||||
.short 407
|
||||
.short \arg0
|
||||
.short \partySlot
|
||||
.endm
|
||||
|
||||
.macro GetPartyMonSpecies partySlot, destVar
|
||||
|
|
@ -4122,7 +4122,7 @@
|
|||
.short 688
|
||||
.endm
|
||||
|
||||
.macro ScrCmd_2B1
|
||||
.macro DestroyNetworkIcon
|
||||
.short 689
|
||||
.endm
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ RECORD_UNK_088
|
|||
RECORD_UNK_089
|
||||
RECORD_SUPER_CONTEST_PARTICIPATIONS
|
||||
RECORD_LINK_CONTEST_PARTICIPATIONS
|
||||
RECORD_SUPER_CONTEST_WINS
|
||||
RECORD_OFFICIAL_CONTEST_WINS
|
||||
RECORD_LINK_CONTEST_WINS
|
||||
RECORD_RIBBONS_WON
|
||||
RECORD_USED_INEFFECTIVE_MOVE
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ TRAINER_SCORE_EVENT_CAPTURED_REGIONAL_MON
|
|||
TRAINER_SCORE_EVENT_CAPTURED_NATIONAL_MON
|
||||
TRAINER_SCORE_EVENT_WON_TRAINER_BATTLE
|
||||
TRAINER_SCORE_EVENT_UNK_12
|
||||
TRAINER_SCORE_EVENT_WIN_SUPER_CONTEST
|
||||
TRAINER_SCORE_EVENT_WIN_OFFICIAL_CONTEST
|
||||
TRAINER_SCORE_EVENT_UNK_14
|
||||
TRAINER_SCORE_EVENT_UNK_15
|
||||
TRAINER_SCORE_EVENT_UNK_16
|
||||
|
|
|
|||
|
|
@ -511,11 +511,11 @@ FLAG_UNK_0x01FD
|
|||
FLAG_UNK_0x01FE
|
||||
FLAG_UNK_0x01FF
|
||||
FLAG_UNK_0x0200
|
||||
FLAG_UNK_0x0201
|
||||
FLAG_UNK_0x0202
|
||||
FLAG_UNK_0x0203
|
||||
FLAG_UNK_0x0204
|
||||
FLAG_UNK_0x0205
|
||||
FLAG_HIDE_CONTEST_HALL_STAGE_CONTESTANT1
|
||||
FLAG_HIDE_CONTEST_HALL_STAGE_CONTESTANT2
|
||||
FLAG_HIDE_CONTEST_HALL_STAGE_CONTESTANT3
|
||||
FLAG_HIDE_CONTEST_HALL_STAGE_CONTESTANT4
|
||||
FLAG_HIDE_CONTEST_HALL_STAGE_CONTESTANT_WINNER
|
||||
FLAG_HIDE_HEARTHOME_ROUTE_209_ROADBLOCK
|
||||
FLAG_HIDE_HEARTHOME_ROUTE_209_GATE_RIVAL
|
||||
FLAG_UNK_0x0208
|
||||
|
|
@ -529,7 +529,7 @@ FLAG_UNK_0x020F
|
|||
FLAG_UNK_0x0210
|
||||
FLAG_UNK_0x0211
|
||||
FLAG_HIDE_POKETCH_CO_1F_REPORTER
|
||||
FLAG_UNK_0x0213
|
||||
FLAG_HIDE_CONTEST_HALL_LOBBY_REPORTER
|
||||
FLAG_UNK_0x0214
|
||||
FLAG_HIDE_JUBILIFE_TV_2F_REPORTER
|
||||
FLAG_UNK_0x0216
|
||||
|
|
@ -4303,7 +4303,7 @@ VAR_UNK_0x40C8
|
|||
VAR_UNK_0x40C9
|
||||
VAR_FOLLOWER_RIVAL_TIMES_TALKED
|
||||
VAR_UNK_0x40CB
|
||||
VAR_UNK_0x40CC
|
||||
VAR_ONGOING_CONTEST
|
||||
VAR_ETERNA_FOREST_CHERYL_OLD_CHATEAU_CUTSCENE_STATE
|
||||
VAR_ELEVATOR_FLOORS_ABOVE
|
||||
VAR_VALLEY_WINDWORKS_TEAM_GALACTIC_STATE
|
||||
|
|
|
|||
|
|
@ -1,9 +1,26 @@
|
|||
#ifndef POKEPLATINUM_CONSTANTS_CONTESTS_H
|
||||
#define POKEPLATINUM_CONSTANTS_CONTESTS_H
|
||||
|
||||
#define CONTEST_MODE_OFFICIAL 0
|
||||
#define CONTEST_MODE_LINK 1
|
||||
#define CONTEST_MODE_PRACTICE 2
|
||||
|
||||
#define CONTEST_COMPETITION_UNK0 0
|
||||
#define CONTEST_COMPETITION_UNK1 1
|
||||
#define CONTEST_COMPETITION_LINK_OR_OFFICIAL 2
|
||||
#define CONTEST_COMPETITION_PRACTICE_VISUAL 3
|
||||
#define CONTEST_COMPETITION_VISUAL 4
|
||||
#define CONTEST_COMPETITION_PRACTICE_DANCE 5
|
||||
#define CONTEST_COMPETITION_DANCE 6
|
||||
#define CONTEST_COMPETITION_PRACTICE_ACTING 7
|
||||
#define CONTEST_COMPETITION_ACTING 8
|
||||
|
||||
#define CONTEST_NUM_PARTICIPANTS 4
|
||||
#define CONTEST_NUM_JUDGES 3
|
||||
|
||||
#define POINTS_PER_APPEAL_HEART 10
|
||||
#define MAX_APPEAL_HEARTS 6
|
||||
|
||||
#define PLAYER_CONTESTANT_ID 0
|
||||
|
||||
#endif // POKEPLATINUM_CONSTANTS_CONTESTS_H
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@
|
|||
#include "generated/pokemon_types.h" // PokemonType
|
||||
#include "generated/species_data_params.h" // SpeciesDataParam
|
||||
|
||||
#define MAX_PARTY_SIZE 6
|
||||
#define MAX_PARTY_SIZE 6
|
||||
#define PARTY_SLOT_NONE 0xFF
|
||||
|
||||
#define NUM_BOOSTABLE_STATS 8
|
||||
|
||||
#define MAX_IVS_SINGLE_STAT 31
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef POKEPLATINUM_CONST_020F55DC_H
|
||||
#define POKEPLATINUM_CONST_020F55DC_H
|
||||
|
||||
extern const ApplicationManagerTemplate Unk_020F55DC;
|
||||
|
||||
#endif // POKEPLATINUM_CONST_020F55DC_H
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef POKEPLATINUM_CONST_020F55EC_H
|
||||
#define POKEPLATINUM_CONST_020F55EC_H
|
||||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
extern const ApplicationManagerTemplate Unk_020F55EC;
|
||||
|
||||
#endif // POKEPLATINUM_CONST_020F55EC_H
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef POKEPLATINUM_CONST_020F560C_H
|
||||
#define POKEPLATINUM_CONST_020F560C_H
|
||||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
extern const ApplicationManagerTemplate Unk_020F560C;
|
||||
|
||||
#endif // POKEPLATINUM_CONST_020F560C_H
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef POKEPLATINUM_CONST_020F561C_H
|
||||
#define POKEPLATINUM_CONST_020F561C_H
|
||||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
extern const ApplicationManagerTemplate Unk_020F561C;
|
||||
|
||||
#endif // POKEPLATINUM_CONST_020F561C_H
|
||||
88
include/contest.h
Normal file
88
include/contest.h
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
#ifndef POKEPLATINUM_CONTEST_H
|
||||
#define POKEPLATINUM_CONTEST_H
|
||||
|
||||
#include "struct_defs/contest_camera_flash_task.h"
|
||||
#include "struct_defs/contest_player_mon_dto.h"
|
||||
#include "struct_defs/image_clips.h"
|
||||
#include "struct_defs/struct_02095C48_sub1.h"
|
||||
#include "struct_defs/struct_02095C60.h"
|
||||
#include "struct_defs/visual_competition_app_args.h"
|
||||
|
||||
#include "field_task.h"
|
||||
#include "game_options.h"
|
||||
#include "journal.h"
|
||||
#include "party.h"
|
||||
#include "pokemon.h"
|
||||
#include "savedata.h"
|
||||
#include "string_template.h"
|
||||
#include "sys_task_manager.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct Contest {
|
||||
UnkStruct_02095C48_sub1 unk_00;
|
||||
Party *party;
|
||||
void *chatotCry[CONTEST_NUM_PARTICIPANTS];
|
||||
void *unk_150;
|
||||
u8 unk_154;
|
||||
u8 isLinkContest;
|
||||
u8 unk_156[4];
|
||||
u8 linkState;
|
||||
u8 unk_15B;
|
||||
int unk_15C;
|
||||
int padding_160;
|
||||
SysTask *commTask;
|
||||
u8 unk_168[4][256];
|
||||
u8 unk_568;
|
||||
u8 unk_569[1024];
|
||||
u8 unk_969[4][1024];
|
||||
u8 padding_1969[3];
|
||||
const Options *options;
|
||||
SaveData *saveData;
|
||||
Pokemon *playerMon;
|
||||
const TrainerInfo *trainerInfo;
|
||||
u8 monPartySlot;
|
||||
u8 isGameCompleted;
|
||||
u8 isNatDexObtained;
|
||||
u8 padding_197F;
|
||||
ImageClips *imageClips;
|
||||
UnkStruct_02095C60 unk_1984;
|
||||
VisualCompetitionAppArgs *visualCompetitionAppArgs;
|
||||
ContestCameraFlashTask *cameraFlashTask;
|
||||
u32 rngSeed;
|
||||
} Contest;
|
||||
|
||||
void FieldTask_InitRunContestTask(FieldTask *fieldTask, Contest *contest);
|
||||
Contest *Contest_Init(const PlayerMonContestDTO *playerMonContestDTO);
|
||||
void Contest_Free(Contest *contest);
|
||||
BOOL Contest_SetUpLinkContest(Contest *contest);
|
||||
BOOL Contest_IsCommTaskDone(Contest *contest);
|
||||
void Contest_BufferJudgeName(Contest *contest, int judgeID, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferContestantTrainerName(Contest *contest, int contestantEntryNum, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferMonNickname(Contest *contest, int contestantEntryNum, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferContestRank(Contest *contest, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferContestType(Contest *contest, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferWinningContestantTrainerName(Contest *contest, StringTemplate *strTemplate, u32 idx);
|
||||
void Contest_BufferWinningContestantMonName(Contest *contest, StringTemplate *strTemplate, u32 idx);
|
||||
BOOL Contest_True(Contest *contest);
|
||||
void Contest_StartCommSync(Contest *contest, u8 syncNo);
|
||||
BOOL Contest_IsSyncState(Contest *contest, u8 syncState);
|
||||
int Contest_GetPlayerContestPlacement(Contest *contest);
|
||||
int Contest_GetWinningContestantEntryNum(Contest *contest);
|
||||
int Contest_GetPlayerContestantEntryNum(Contest *contest);
|
||||
int Contest_GetContestantObjEventGFX(Contest *contest, int contestantEntryNum);
|
||||
int Contest_GetContestantMonContestFame(Contest *contest, int contestantEntryNum);
|
||||
int Contest_GetContestMode(Contest *contest);
|
||||
void Contest_GetContestInfo(Contest *contest, u16 *contestRank, u16 *contestType, u16 *competitionType, u16 *monPartySlot);
|
||||
void Contest_LockAutoScrollForLinkContests(Contest *contest);
|
||||
void Contest_LockTextSpeed(Contest *unused);
|
||||
BOOL Contest_CheckPlayerMonHasRibbon(Contest *contest);
|
||||
void Contest_SetRibbonName(Contest *contest, StringTemplate *string, u32 idx, int unused);
|
||||
u32 Contest_CalcFirstTimeVictoryAccessoryReward(Contest *contest);
|
||||
void Contest_StartCameraFlashTask(Contest *contest, int contestantEntryNum);
|
||||
BOOL Contest_CameraFlashTaskDone(Contest *contest);
|
||||
void sub_02094BB4(Contest *contest, int *destWinningContestantEntryNum, BOOL *destIsLinkContest, int *param3, BOOL *isPracticeCompetition, int *param5);
|
||||
void Contest_EndContest(Contest *contest, SaveData *saveData, u32 mapID, JournalEntry *journalEntry);
|
||||
u16 Contest_GetRNGNext(Contest *contest);
|
||||
u16 Contest_GetSeededRNGNext(u32 seed, u32 *destRNGVal);
|
||||
|
||||
#endif // POKEPLATINUM_CONTEST_H
|
||||
|
|
@ -2,29 +2,29 @@
|
|||
#define POKEPLATINUM_OV6_022489E4_H
|
||||
|
||||
#include "struct_defs/struct_020954F0.h"
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay006/struct_ov6_02248BE8.h"
|
||||
#include "overlay006/struct_ov6_02248DD8.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "pokemon.h"
|
||||
#include "string_gf.h"
|
||||
|
||||
void ov6_022489E4(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248A64(UnkStruct_02095C48 *param0);
|
||||
BOOL ov6_02248A64(Contest *param0);
|
||||
void ov6_02248AC8(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248AF0(UnkStruct_02095C48 *param0, int param1, const Pokemon *param2);
|
||||
BOOL ov6_02248AF0(Contest *param0, int param1, const Pokemon *param2);
|
||||
void ov6_02248B30(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248B70(UnkStruct_02095C48 *param0, Pokemon **param1);
|
||||
BOOL ov6_02248B70(Contest *param0, Pokemon **param1);
|
||||
void ov6_02248BC0(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248BE8(UnkStruct_02095C48 *param0, int param1, const UnkStruct_ov6_02248BE8 *param2);
|
||||
BOOL ov6_02248BE8(Contest *param0, int param1, const UnkStruct_ov6_02248BE8 *param2);
|
||||
void ov6_02248C28(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248C68(UnkStruct_02095C48 *param0, int param1, const UnkStruct_020954F0 *param2);
|
||||
BOOL ov6_02248C68(Contest *param0, int param1, const UnkStruct_020954F0 *param2);
|
||||
void ov6_02248CBC(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248CE8(UnkStruct_02095C48 *param0, int param1, const String *param2);
|
||||
BOOL ov6_02248CE8(Contest *param0, int param1, const String *param2);
|
||||
void ov6_02248D38(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248D64(UnkStruct_02095C48 *param0, int param1, void *param2);
|
||||
BOOL ov6_02248D64(Contest *param0, int param1, void *param2);
|
||||
void ov6_02248DA0(int param0, int param1, void *param2, void *param3);
|
||||
BOOL ov6_02248DD8(UnkStruct_02095C48 *param0, int param1, const UnkStruct_ov6_02248DD8 *param2);
|
||||
BOOL ov6_02248DD8(Contest *param0, int param1, const UnkStruct_ov6_02248DD8 *param2);
|
||||
|
||||
#endif // POKEPLATINUM_OV6_022489E4_H
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV6_02248BE8_H
|
||||
#define POKEPLATINUM_STRUCT_OV6_02248BE8_H
|
||||
|
||||
#include "constants/moves.h"
|
||||
|
||||
typedef struct {
|
||||
u32 unk_00;
|
||||
u32 unk_04;
|
||||
u16 unk_08;
|
||||
u16 unk_0A;
|
||||
u16 unk_0C[4];
|
||||
u16 unk_0C[LEARNED_MOVES_MAX];
|
||||
u16 unk_14;
|
||||
u16 unk_16;
|
||||
u16 unk_18;
|
||||
u8 unk_1A;
|
||||
u8 unk_1B;
|
||||
u8 unk_1C;
|
||||
u8 unk_1D;
|
||||
u8 unk_1E;
|
||||
u8 unk_1F;
|
||||
u8 cool;
|
||||
u8 beauty;
|
||||
u8 cute;
|
||||
u8 smart;
|
||||
u8 tough;
|
||||
u8 sheen;
|
||||
u16 unk_20_0 : 3;
|
||||
u16 unk_20_3 : 1;
|
||||
u16 unk_20_4 : 1;
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
#define POKEPLATINUM_STRUCT_OV6_02248DD8_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 trainerGender;
|
||||
u8 unk_01;
|
||||
u8 unk_02;
|
||||
u8 monContestFame;
|
||||
u8 padding_03;
|
||||
u16 unk_04;
|
||||
u16 contestantObjEventGFX;
|
||||
} UnkStruct_ov6_02248DD8;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV6_02248DD8_H
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
int ov17_0223B140(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223B444(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223B580(ApplicationManager *appMan, int *param1);
|
||||
int ActingCompetition_Init(ApplicationManager *appMan, int *param1);
|
||||
int ActingCompetition_Main(ApplicationManager *appMan, int *param1);
|
||||
int ActingCompetition_Exit(ApplicationManager *appMan, int *param1);
|
||||
void ov17_0223BB14(UnkStruct_ov17_02246F24 *param0, int param1, int param2);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_0223B140_H
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
int ov17_0223CB1C(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223CDDC(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223CF8C(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetitonScoring_Init(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetitionScoring_Main(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetitionScoring_Exit(ApplicationManager *appMan, int *param1);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_0223CB1C_H
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
int ov17_0223DAD0(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223DDD4(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223DF0C(ApplicationManager *appMan, int *param1);
|
||||
int DanceCompetition_Init(ApplicationManager *appMan, int *param1);
|
||||
int DanceCompetition_Main(ApplicationManager *appMan, int *param1);
|
||||
int DanceCompetition_Exit(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0223F0BC(int param0, int param1);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_0223DAD0_H
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
#define POKEPLATINUM_OV17_0223F118_H
|
||||
|
||||
#include "struct_decls/struct_02012744_decl.h"
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223F2E4.h"
|
||||
#include "overlay017/struct_ov17_0223F6E8.h"
|
||||
#include "overlay017/struct_ov17_0223F744.h"
|
||||
|
||||
#include "bg_window.h"
|
||||
#include "contest.h"
|
||||
#include "g3d_pipeline.h"
|
||||
#include "palette.h"
|
||||
#include "sprite_system.h"
|
||||
|
|
@ -20,9 +20,9 @@ void ov17_0223F1E0(G3DPipelineBuffers *param0);
|
|||
void ov17_0223F1E8(enum HeapID heapID, BgConfig *param1, SpriteManager *param2, UnkStruct_02012744 *param3, UnkStruct_ov17_0223F2E4 *param4, const String *param5, enum Font param6, TextColor param7, int param8, int param9, int param10, int param11, int param12, int param13, int param14);
|
||||
void ov17_0223F2E4(UnkStruct_ov17_0223F2E4 *param0);
|
||||
void ov17_0223F2F8(UnkStruct_ov17_0223F2E4 *param0, int param1, int param2, int param3);
|
||||
String *ov17_0223F310(u32 param0, enum HeapID heapID);
|
||||
void ov17_0223F334(UnkStruct_02095C48 *param0, int param1);
|
||||
void ov17_0223F374(UnkStruct_02095C48 *param0);
|
||||
String *Contest_GetJudgeName(u32 judgeNameMessageID, enum HeapID heapID);
|
||||
void ov17_0223F334(Contest *param0, int param1);
|
||||
void ov17_0223F374(Contest *param0);
|
||||
void ov17_0223F560(SpriteSystem *param0, SpriteManager *param1, PaletteData *param2, int param3, int param4, int param5, int param6);
|
||||
void ov17_0223F5E8(SpriteManager *param0, int param1, int param2, int param3, int param4);
|
||||
void ov17_0223F630(UnkStruct_ov17_0223F6E8 *param0, SpriteSystem *param1, SpriteManager *param2, int param3, int param4, int param5, int param6, int param7, int param8, int param9, u32 param10);
|
||||
|
|
|
|||
|
|
@ -1,17 +1,16 @@
|
|||
#ifndef POKEPLATINUM_OV17_0223F7E4_H
|
||||
#define POKEPLATINUM_OV17_0223F7E4_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223F7E4_decl.h"
|
||||
#include "overlay017/struct_ov17_0223F88C.h"
|
||||
#include "overlay017/struct_ov17_022472F8.h"
|
||||
|
||||
#include "bg_window.h"
|
||||
#include "contest.h"
|
||||
|
||||
void ov17_0223F80C(BgConfig *param0);
|
||||
void ov17_0223F864(BgConfig *param0);
|
||||
void *ov17_0223F88C(UnkStruct_02095C48 *param0, UnkStruct_ov17_0223F88C *param1, UnkStruct_ov17_022472F8 *param2);
|
||||
void *ov17_0223F88C(Contest *param0, UnkStruct_ov17_0223F88C *param1, UnkStruct_ov17_022472F8 *param2);
|
||||
void ov17_0223F960(UnkStruct_ov17_0223F7E4 *param0);
|
||||
void ov17_0223F9C4(UnkStruct_ov17_0223F7E4 *param0, int param1, int param2, void *param3);
|
||||
int ov17_0223FAF8(UnkStruct_ov17_0223F7E4 *param0);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
#ifndef POKEPLATINUM_OV17_022413D8_H
|
||||
#define POKEPLATINUM_OV17_022413D8_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
#include "generated/moves.h"
|
||||
#include "generated/pokemon_contest_ranks.h"
|
||||
#include "generated/pokemon_contest_types.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223F88C.h"
|
||||
#include "overlay017/struct_ov17_0224145C.h"
|
||||
|
|
@ -11,10 +13,62 @@
|
|||
#include "overlay017/struct_ov17_02246F24.h"
|
||||
#include "overlay017/struct_ov17_022472F8.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "narc.h"
|
||||
#include "palette.h"
|
||||
#include "sprite_system.h"
|
||||
|
||||
enum ActingCompetitionMessagesID {
|
||||
ACTING_COMPETITION_MESSAGE_NONE,
|
||||
ACTING_COMPETITION_MESSAGE_CHOOSE_JUDGE,
|
||||
ACTING_COMPETITION_MESSAGE_WHICH_MOVE_IS_YOUR_CHOICE,
|
||||
ACTING_COMPETITION_MESSAGE_LAST_PERFORMANCE_CHOOSE_MOVE,
|
||||
ACTING_COMPETITION_MESSAGE_TO_JUDGE_MON_PERFORMED_MOVE,
|
||||
ACTING_COMPETITION_MESSAGE_SOMEONE_ALREADY_PERFORMED_FOR_JUDGE,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY1,
|
||||
ACTING_COMPETITION_MESSAGE_JUDGE_STRONGLY_IMPRESSED, // two mon performed for judge, +2
|
||||
ACTING_COMPETITION_MESSAGE_JUDGE_WAS_IMPRESSED, // three mon performed for judge, +1
|
||||
ACTING_COMPETITION_MESSAGE_EVERYONE_PERFORMED_FOR_SAME_JUDGE, // four mon performed for judge, +0
|
||||
ACTING_COMPETITION_MESSAGE_JUDGE_VERY_IMPRESSED, // one mon performed for judge, +3
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY2,
|
||||
ACTING_COMPETITION_MESSAGE_COOL_MOVE_VOLTAGE_UP,
|
||||
ACTING_COMPETITION_MESSAGE_BEAUTY_MOVE_VOLTAGE_UP,
|
||||
ACTING_COMPETITION_MESSAGE_CUTE_MOVE_VOLTAGE_UP,
|
||||
ACTING_COMPETITION_MESSAGE_SMART_MOVE_VOLTAGE_UP,
|
||||
ACTING_COMPETITION_MESSAGE_TOUGH_MOVE_VOLTAGE_UP,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY3,
|
||||
ACTING_COMPETITION_MESSAGE_COOL_MOVE_VOLTAGE_DOWN,
|
||||
ACTING_COMPETITION_MESSAGE_BEAUTY_MOVE_VOLTAGE_DOWN,
|
||||
ACTING_COMPETITION_MESSAGE_CUTE_MOVE_VOLTAGE_DOWN,
|
||||
ACTING_COMPETITION_MESSAGE_SMART_MOVE_VOLTAGE_DOWN,
|
||||
ACTING_COMPETITION_MESSAGE_TOUGH_MOVE_VOLTAGE_DOWN,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY4,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY5,
|
||||
ACTING_COMPETITION_MESSAGE_AUDIENCE_IS_PRETTY_EXCITED,
|
||||
ACTING_COMPETITION_MESSAGE_AUDIENCE_IS_GOING_WILD,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY6,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY7,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY8,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY9,
|
||||
ACTING_COMPETITION_MESSAGE_MON_DIDNT_STAND_OUT,
|
||||
ACTING_COMPETITION_MESSAGE_MON_ATTRACTED_LITTLE_ATTENTION,
|
||||
ACTING_COMPETITION_MESSAGE_MON_ATTRACTED_DECENT_ATTENTION,
|
||||
ACTING_COMPETITION_MESSAGE_MON_ATTRACTED_A_LOT_OF_ATTENTION,
|
||||
ACTING_COMPETITION_MESSAGE_MON_COMMANDED_TOTAL_ATTENTION,
|
||||
ACTING_COMPETITION_MESSAGE_TIME_FOR_CUTE_ACTING_COMPETITION,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY10,
|
||||
ACTING_COMPETITION_MESSAGE_TIME_FOR_SMART_ACTING_COMPETITION,
|
||||
ACTING_COMPETITION_MESSAGE_TIME_FOR_TOUGH_ACTING_COMPETITION,
|
||||
ACTING_COMPETITION_MESSAGE_TIME_FOR_BEAUTY_ACTING_COMPETITION,
|
||||
ACTING_COMPETITION_MESSAGE_TIME_FOR_COOL_ACTING_COMPETITION,
|
||||
ACTING_COMPETITION_MESSAGE_NEXT_TURN_LOWEST_SCORING_PERFORM_FIRST,
|
||||
ACTING_COMPETITION_MESSAGE_JUDGING_IS_OVER,
|
||||
ACTING_COMPETITION_MESSAGE_EMPTY11,
|
||||
ACTING_COMPETITION_MESSAGE_BEGIN_PRACTICE,
|
||||
ACTING_COMPETITION_MESSAGE_COMMUNICATING_PLEASE_STAND_BY,
|
||||
ACTING_COMPETITION_MESSAGE_MAX,
|
||||
};
|
||||
|
||||
void ov17_022413D8(void);
|
||||
void ov17_022413E4(UnkStruct_ov17_02246F24 *param0, int param1, int param2);
|
||||
void ov17_02241428(UnkStruct_ov17_02246F24 *param0);
|
||||
|
|
@ -22,10 +76,10 @@ UnkStruct_ov17_0224145C *ov17_0224145C(UnkStruct_ov17_02246F24 *param0, int para
|
|||
void ov17_02241494(UnkStruct_ov17_0224145C *param0);
|
||||
void ov17_022414B0(UnkStruct_ov17_0224145C *param0);
|
||||
BOOL ov17_022414BC(UnkStruct_ov17_0224145C *param0);
|
||||
void ov17_02241524(UnkStruct_ov17_0223F88C *param0, int param1);
|
||||
void ov17_02241524(UnkStruct_ov17_0223F88C *param0, int contestantID);
|
||||
void ov17_022415E4(UnkStruct_ov17_0223F88C *param0);
|
||||
void ov17_022416E4(UnkStruct_ov17_0223F88C *param0);
|
||||
void ov17_02241928(UnkStruct_ov17_0223F88C *param0, UnkStruct_02095C48 *param1, NARC *param2);
|
||||
void ov17_02241928(UnkStruct_ov17_0223F88C *param0, Contest *param1, NARC *param2);
|
||||
void ov17_0224197C(UnkStruct_ov17_0223F88C *param0);
|
||||
void ov17_022419AC(PaletteData *param0, SpriteSystem *param1, SpriteManager *param2, NARC *param3);
|
||||
void ov17_02241A00(SpriteManager *param0);
|
||||
|
|
@ -47,8 +101,8 @@ BOOL ov17_022424A8(UnkStruct_ov17_0223F88C *param0, int param1);
|
|||
void ov17_022424D4(UnkStruct_ov17_0223F88C *param0, int param1, int param2);
|
||||
void ov17_022426E8(UnkStruct_ov17_02246F24 *param0, int param1, u8 *param2);
|
||||
void ov17_02242DA8(UnkStruct_ov17_02246F24 *param0);
|
||||
void ov17_02242E5C(UnkStruct_ov17_02246F24 *param0, u32 param1, const UnkStruct_ov17_022449B8 *param2, const void *param3);
|
||||
void ov17_02242E9C(UnkStruct_ov17_02246F24 *param0, int param1, int param2, const UnkStruct_ov17_022449B8 *param3, const void *param4);
|
||||
void ov17_02242E5C(UnkStruct_ov17_02246F24 *param0, enum ActingCompetitionMessagesID actingMessagesID, const UnkStruct_ov17_022449B8 *param2, const void *param3);
|
||||
void ov17_02242E9C(UnkStruct_ov17_02246F24 *param0, int contestMoveEffect, int param2, const UnkStruct_ov17_022449B8 *param3, const void *param4);
|
||||
int ov17_02242ECC(UnkStruct_ov17_02246F24 *param0);
|
||||
void ov17_02242EE4(UnkStruct_ov17_02246F24 *param0, int param1);
|
||||
void ov17_02242FA4(UnkStruct_ov17_02246F24 *param0);
|
||||
|
|
@ -58,7 +112,7 @@ void ov17_02243040(SpriteSystem *param0, SpriteManager *param1, NARC *param2);
|
|||
void ov17_0224308C(SpriteManager *param0);
|
||||
void ov17_022430AC(UnkStruct_ov17_0223F88C *param0, int param1, int param2);
|
||||
void ov17_022430F8(UnkStruct_ov17_0223F88C *param0);
|
||||
void ov17_02243120(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_022449B8 *param1, int param2);
|
||||
void ov17_02243120(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_022449B8 *param1, int contestantID);
|
||||
u32 ov17_0224314C(int param0, int param1, UnkStruct_ov17_022449B8 *param2);
|
||||
int ov17_02243174(int param0);
|
||||
void ov17_022431A0(UnkStruct_ov17_02246F24 *param0, int param1, u8 param2, int param3, int param4, u8 *param5);
|
||||
|
|
@ -66,10 +120,10 @@ void ov17_0224331C(UnkStruct_ov17_02246F24 *param0, int param1, int param2, u8 *
|
|||
UnkStruct_ov17_0224365C *ov17_0224365C(UnkStruct_ov17_02246F24 *param0, int param1);
|
||||
void ov17_02243690(UnkStruct_ov17_0224365C *param0);
|
||||
void ov17_022436D0(UnkStruct_ov17_02246F24 *param0, int param1, int param2, int param3, u8 *param4);
|
||||
u32 ov17_02243944(int param0);
|
||||
u32 ov17_02243970(int param0);
|
||||
u32 ov17_0224399C(int param0);
|
||||
void ov17_022439C8(UnkStruct_02095C48 *param0, int param1, int param2, UnkStruct_ov17_022439C8 *param3);
|
||||
int ov17_02243A98(UnkStruct_ov17_022472F8 *param0, int param1, int param2);
|
||||
u32 Contest_GetActingCompetitionMessageIntroAnnouncement(enum PokemonContestType contestType);
|
||||
u32 Contest_GetActingCompetitionMessageGoodMoveType(enum PokemonContestType contestType);
|
||||
u32 Contest_GetActingCompetitionMessageBadMoveType(enum PokemonContestType contestType);
|
||||
void ov17_022439C8(Contest *param0, int contestantID, enum Move moveID, UnkStruct_ov17_022439C8 *param3);
|
||||
BOOL ov17_02243A98(UnkStruct_ov17_022472F8 *param0, int contestantID, int moveID);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_022413D8_H
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
int ov17_02243AC4(UnkStruct_ov17_022472F8 *param0, int param1);
|
||||
int ov17_02243AE4(int param0);
|
||||
int ov17_02243AF0(int param0, int param1, int param2, int param3);
|
||||
int ov17_02243AF0(int contestType, int moveID, int unused1, int unused2);
|
||||
void ov17_02243B0C(UnkStruct_ov17_022472F8 *param0);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_02243AC4_H
|
||||
|
|
|
|||
|
|
@ -6,18 +6,18 @@
|
|||
#include "overlay017/struct_ov17_02246F24.h"
|
||||
|
||||
void ov17_02245F44(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1);
|
||||
void ov17_02245FB4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2);
|
||||
void ov17_02246018(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2);
|
||||
void ov17_02245FB4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID);
|
||||
void ov17_02246018(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID);
|
||||
void ov17_02246044(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1);
|
||||
void ov17_022460C8(UnkStruct_ov17_02246540 *param0);
|
||||
void ov17_022460DC(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2);
|
||||
void ov17_02246138(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2);
|
||||
void ov17_02246160(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, int param3);
|
||||
void ov17_02246228(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, int param3);
|
||||
BOOL ov17_022462A4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, int param3);
|
||||
BOOL ov17_02246304(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, int param3);
|
||||
BOOL ov17_02246364(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, int param3);
|
||||
void ov17_022463C4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, UnkStruct_ov17_022463C4 *param3);
|
||||
void ov17_02246518(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int param2, UnkStruct_ov17_022463C4 *param3);
|
||||
void ov17_022460DC(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID);
|
||||
void ov17_02246138(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID);
|
||||
void ov17_02246160(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, int param3);
|
||||
void ov17_02246228(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, int param3);
|
||||
BOOL ov17_022462A4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, int param3);
|
||||
BOOL ov17_02246304(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, int param3);
|
||||
BOOL ov17_02246364(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, int param3);
|
||||
void ov17_022463C4(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, UnkStruct_ov17_022463C4 *param3);
|
||||
void ov17_02246518(UnkStruct_ov17_02246F24 *param0, UnkStruct_ov17_02246540 *param1, int contestantID, UnkStruct_ov17_022463C4 *param3);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_02245F14_H
|
||||
|
|
|
|||
|
|
@ -1,16 +1,15 @@
|
|||
#ifndef POKEPLATINUM_OV17_022492DC_H
|
||||
#define POKEPLATINUM_OV17_022492DC_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_022492DC_decl.h"
|
||||
#include "overlay017/struct_ov17_0224A1EC.h"
|
||||
|
||||
#include "bg_window.h"
|
||||
#include "contest.h"
|
||||
|
||||
void ov17_02249300(BgConfig *param0);
|
||||
void ov17_02249358(BgConfig *param0);
|
||||
void *ov17_02249380(UnkStruct_02095C48 *param0, UnkStruct_ov17_0224A1EC *param1);
|
||||
void *ov17_02249380(Contest *param0, UnkStruct_ov17_0224A1EC *param1);
|
||||
void ov17_022493A4(UnkStruct_ov17_022492DC *param0);
|
||||
void ov17_022493C4(UnkStruct_ov17_022492DC *param0);
|
||||
void ov17_02249640(UnkStruct_ov17_022492DC *param0, int param1, int param2, void *param3);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
#include <nitro/gx.h>
|
||||
|
||||
#include "generated/pokemon_contest_ranks.h"
|
||||
#include "generated/pokemon_contest_types.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0224A1EC.h"
|
||||
#include "overlay017/struct_ov17_0224ABFC.h"
|
||||
#include "overlay017/struct_ov17_0224B058.h"
|
||||
|
|
@ -17,9 +20,9 @@
|
|||
#include "pokemon_sprite.h"
|
||||
#include "sprite_system.h"
|
||||
|
||||
s16 ov17_0224A0FC(int param0);
|
||||
s16 ov17_0224A10C(int param0);
|
||||
s16 ov17_0224A120(int param0);
|
||||
s16 ov17_0224A0FC(int contestantID);
|
||||
s16 ov17_0224A10C(int contestantID);
|
||||
s16 ov17_0224A120(int contestantID);
|
||||
void ov17_0224A134(UnkStruct_ov17_0224DF54 *param0);
|
||||
void ov17_0224A1EC(UnkStruct_ov17_0224A1EC *param0);
|
||||
void ov17_0224A20C(SpriteSystem *param0, SpriteManager *param1);
|
||||
|
|
@ -84,7 +87,7 @@ void ov17_0224C47C(UnkStruct_ov17_0224B058 *param0, int param1);
|
|||
void ov17_0224C49C(UnkStruct_ov17_0224C384 *param0, u32 param1, u32 param2, int param3);
|
||||
void ov17_0224C540(UnkStruct_ov17_0224C384 *param0);
|
||||
void ov17_0224C54C(UnkStruct_ov17_0224C384 *param0, int param1);
|
||||
int ov17_0224C57C(int param0);
|
||||
int ov17_0224C57C(enum PokemonContestRank contestRank);
|
||||
void ov17_0224C5A0(UnkStruct_ov17_0224DF54 *param0, u32 param1, const UnkStruct_ov17_0224C0C0 *param2);
|
||||
void ov17_0224C640(UnkStruct_ov17_0224DF54 *param0);
|
||||
s64 ov17_0224C660(UnkStruct_ov17_0224DF54 *param0, const UnkStruct_ov17_02253084 *param1, int param2);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "overlay017/struct_ov17_0224E958.h"
|
||||
#include "overlay017/struct_ov17_02253084.h"
|
||||
|
||||
void ov17_0224E930(UnkStruct_ov17_0224E958 *param0, int param1, int param2, u32 param3, int param4);
|
||||
void ov17_0224E930(UnkStruct_ov17_0224E958 *param0, int contestantID, int param2, u32 param3, int param4);
|
||||
void ov17_0224E958(UnkStruct_ov17_0224E958 *param0);
|
||||
void ov17_0224E990(UnkStruct_ov17_0224DF54 *param0, UnkStruct_ov17_0224E958 *param1, u32 param2, u32 param3);
|
||||
void ov17_0224ED8C(int param0, UnkStruct_ov17_0224DF54 *param1, UnkStruct_ov17_0224E958 *param2, u32 param3, u32 param4, u32 param5, const UnkStruct_ov17_02253084 *param6, UnkStruct_ov17_0224D69C *param7);
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ u32 ov17_0224F080(int param0);
|
|||
u32 ov17_0224F098(void);
|
||||
u32 ov17_0224F09C(void);
|
||||
u8 ov17_0224F0A0(int param0);
|
||||
enum NarcID ov17_0224F0B8(void);
|
||||
enum NarcID Contest_GetContestGraphicsNarcID();
|
||||
void ov17_0224F0BC(SpriteSystem *param0, SpriteManager *param1, NNS_G2D_VRAM_TYPE param2, int param3, u32 param4);
|
||||
void ov17_0224F0F0(SpriteSystem *param0, SpriteManager *param1, u32 param2, u32 param3);
|
||||
void ov17_0224F138(SpriteManager *param0, u32 param1);
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ int ov17_0224F30C(UnkStruct_ov17_0224F30C *param0, void *param1, int param2, voi
|
|||
BOOL ov17_0224F35C(UnkStruct_ov17_0224F30C *param0);
|
||||
BOOL ov17_0224F3D0(UnkStruct_ov17_0224F30C *param0);
|
||||
int ov17_0224F3D8(UnkStruct_ov17_0224F30C *param0, void *param1);
|
||||
BOOL ov17_0224F4B8(UnkStruct_ov17_0224F30C *param0, int param1, int param2, int param3);
|
||||
BOOL ov17_0224F4B8(UnkStruct_ov17_0224F30C *param0, int connectionCount, int playerContestantID, int param3);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_0224F18C_H
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "overlay_manager.h"
|
||||
|
||||
int ov17_0224F4D4(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0224F754(ApplicationManager *appMan, int *param1);
|
||||
int ov17_0224F86C(ApplicationManager *appMan, int *param1);
|
||||
int ContestFinalScoring_Init(ApplicationManager *appMan, int *param1);
|
||||
int ContestFinalScoring_Main(ApplicationManager *appMan, int *param1);
|
||||
int ContestFinalScoring_Exit(ApplicationManager *appMan, int *param1);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_0224F4D4_H
|
||||
|
|
|
|||
|
|
@ -1,17 +1,26 @@
|
|||
#ifndef POKEPLATINUM_OV17_02250744_H
|
||||
#define POKEPLATINUM_OV17_02250744_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0224FCA0.h"
|
||||
#include "overlay017/struct_ov17_022507C4.h"
|
||||
#include "overlay017/struct_ov17_022508E4.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "narc.h"
|
||||
|
||||
enum ContestAnnouncerMessagesIDs {
|
||||
CONTEST_ANNOUNCER_MESSAGE_NONE,
|
||||
CONTEST_ANNOUNCER_MESSAGE_JUDGING_COMPLETED,
|
||||
CONTEST_ANNOUNCER_MESSAGE_VISUAL_COMPETITION_RESULTS,
|
||||
CONTEST_ANNOUNCER_MESSAGE_DANCE_COMPETITION_RESULTS,
|
||||
CONTEST_ANNOUNCER_MESSAGE_ACTING_COMPETITION_RESULTS,
|
||||
CONTEST_ANNOUNCER_MESSAGE_WINNER_IS,
|
||||
CONTEST_ANNOUNCER_MESSAGE_INDIVIDUAL_CATEGORIES
|
||||
};
|
||||
|
||||
void ov17_02250744(UnkStruct_ov17_0224FCA0 *param0);
|
||||
void ov17_022507C4(UnkStruct_ov17_022507C4 *param0);
|
||||
void ov17_02250968(UnkStruct_ov17_0224FCA0 *param0, u32 param1, const UnkStruct_ov17_022508E4 *param2);
|
||||
void ov17_02250968(UnkStruct_ov17_0224FCA0 *param0, u32 announcerMessagesID, const UnkStruct_ov17_022508E4 *param2);
|
||||
int ov17_0225099C(UnkStruct_ov17_0224FCA0 *param0);
|
||||
void ov17_022509AC(UnkStruct_ov17_0224FCA0 *param0);
|
||||
void ov17_02250A84(UnkStruct_ov17_0224FCA0 *param0);
|
||||
|
|
@ -36,8 +45,8 @@ void ov17_022513C0(UnkStruct_ov17_0224FCA0 *param0);
|
|||
void ov17_022513F4(UnkStruct_ov17_0224FCA0 *param0, int param1, int param2, int param3, int param4);
|
||||
void ov17_02251544(UnkStruct_ov17_0224FCA0 *param0);
|
||||
void ov17_02251598(UnkStruct_ov17_0224FCA0 *param0, int param1, u8 *param2);
|
||||
void ov17_02251718(UnkStruct_ov17_0224FCA0 *param0, int param1, int param2, u8 *param3);
|
||||
void ov17_02251930(UnkStruct_02095C48 *param0, int param1, s16 param2[]);
|
||||
void ov17_02251718(UnkStruct_ov17_0224FCA0 *param0, int contestantID, int param2, u8 *param3);
|
||||
void ov17_02251930(Contest *param0, int param1, s16 param2[]);
|
||||
void ov17_02251A1C(UnkStruct_ov17_0224FCA0 *param0);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_02250744_H
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ void ov17_02252B20(SpriteManager *param0, u32 param1, u32 param2, u32 param3, u3
|
|||
UnkStruct_ov17_02252B48 *ov17_02252B48(SpriteSystem *param0, SpriteManager *param1, enum HeapID heapID, u32 param3, u32 param4, u32 param5, u32 param6, u32 param7, u32 param8);
|
||||
void ov17_02252BCC(UnkStruct_ov17_02252B48 *param0);
|
||||
void ov17_02252BF0(UnkStruct_ov17_02252B48 *param0, int param1, int param2, int param3, int param4, int param5, int param6, int param7, int param8, fx32 param9);
|
||||
void ov17_02252C78(UnkStruct_ov17_02252B48 *param0, int param1, int param2, int param3, int param4, fx32 param5);
|
||||
void ov17_02252C78(UnkStruct_ov17_02252B48 *param0, int touchScreenRectLeft, int touchScreenRectRight, int touchScreenRectTop, int touchScreenRectBottom, fx32 param5);
|
||||
void ov17_02252C9C(UnkStruct_ov17_02252B48 *param0);
|
||||
|
||||
#endif // POKEPLATINUM_OV17_02252AB0_H
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0223BE58_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0223BE58_H
|
||||
|
||||
#include "constants/contests.h"
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00[4];
|
||||
u8 unk_08[4];
|
||||
u16 moveIDs[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_08[CONTEST_NUM_PARTICIPANTS];
|
||||
} UnkStruct_ov17_0223BE58;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_0223BE58_H
|
||||
|
|
|
|||
|
|
@ -19,21 +19,21 @@
|
|||
typedef struct {
|
||||
UnkStruct_02095C48_sub1 *unk_00;
|
||||
PokemonSpriteManager *unk_04;
|
||||
PokemonSprite *unk_08[4];
|
||||
PokemonSprite *unk_08[CONTEST_NUM_PARTICIPANTS];
|
||||
SpriteSystem *unk_18;
|
||||
SpriteManager *unk_1C;
|
||||
BattleAnimSystem *unk_20;
|
||||
BgConfig *unk_24;
|
||||
Window unk_28[1];
|
||||
MessageLoader *unk_38;
|
||||
MessageLoader *unk_3C;
|
||||
MessageLoader *unk_40;
|
||||
MessageLoader *unk_44;
|
||||
MessageLoader *contestTextMessageLoader;
|
||||
MessageLoader *contestOpponentNames;
|
||||
MessageLoader *contestEffectMessages;
|
||||
MessageLoader *contestActingCompetitionMessages;
|
||||
StringTemplate *unk_48;
|
||||
String *unk_4C;
|
||||
PaletteData *unk_50;
|
||||
UnkStruct_02012744 *unk_54;
|
||||
PokemonSpriteData pokemonSpriteDataArray[4];
|
||||
PokemonSpriteData pokemonSpriteDataArray[CONTEST_NUM_PARTICIPANTS];
|
||||
PokemonSpriteData pokemonSpriteData;
|
||||
ManagedSprite *unk_A8[3];
|
||||
ManagedSprite *unk_B4[3];
|
||||
|
|
@ -43,8 +43,8 @@ typedef struct {
|
|||
ManagedSprite *unk_160[4];
|
||||
ManagedSprite *unk_170[3];
|
||||
ManagedSprite *unk_17C;
|
||||
UnkStruct_ov17_0223F2E4 unk_180[4];
|
||||
UnkStruct_ov17_0223F2E4 unk_1C8[4];
|
||||
UnkStruct_ov17_0223F2E4 unk_180[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_ov17_0223F2E4 unk_1C8[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_210;
|
||||
} UnkStruct_ov17_0223F88C;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
typedef struct {
|
||||
u32 unk_00;
|
||||
u16 unk_04;
|
||||
u16 actingAnimationMoveID;
|
||||
u8 unk_06;
|
||||
u8 unk_07;
|
||||
u8 unk_08;
|
||||
u8 friendship;
|
||||
} UnkStruct_ov17_022439C8;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_022439C8_H
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
typedef struct {
|
||||
const struct UnkStruct_ov17_022539E4_t *unk_00;
|
||||
u16 unk_04;
|
||||
u8 unk_06;
|
||||
u8 unk_07;
|
||||
u8 playerContestantID;
|
||||
u8 isLinkContest;
|
||||
u8 unk_08;
|
||||
} UnkStruct_ov17_02243C28;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ typedef struct {
|
|||
u16 unk_0E;
|
||||
u8 unk_10;
|
||||
UnkStruct_ov17_022449B8 unk_12;
|
||||
u8 unk_18;
|
||||
u8 actingMessagesID;
|
||||
} UnkStruct_ov17_02243DCC;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_02243DCC_H
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ typedef struct {
|
|||
s32 unk_0C;
|
||||
s32 unk_10;
|
||||
u8 unk_14;
|
||||
u8 unk_15;
|
||||
u8 contestantID;
|
||||
u8 unk_16;
|
||||
s16 unk_18;
|
||||
} UnkStruct_ov17_02243F10;
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ typedef struct {
|
|||
UnkStruct_ov17_02246F24 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
u8 unk_0C;
|
||||
u8 unk_0D;
|
||||
u8 contestantID;
|
||||
u8 unk_0E;
|
||||
u8 unk_0F;
|
||||
u8 unk_10;
|
||||
u8 unk_11;
|
||||
u8 unk_12;
|
||||
UnkStruct_ov17_022449B8 unk_14;
|
||||
u8 unk_1A;
|
||||
u8 actingMessagesID;
|
||||
} UnkStruct_ov17_02244240;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_02244240_H
|
||||
|
|
|
|||
|
|
@ -10,15 +10,15 @@
|
|||
typedef struct {
|
||||
UnkStruct_ov17_02246F24 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
u8 unk_0C;
|
||||
u8 unk_0D;
|
||||
u16 unk_0E;
|
||||
u8 state;
|
||||
u8 contestantID;
|
||||
u16 moveID;
|
||||
u8 unk_10;
|
||||
UnkStruct_ov17_02246F24_sub1 unk_14;
|
||||
UnkStruct_ov17_022449B8 unk_F2;
|
||||
u8 unk_F8;
|
||||
u8 actingMessagesID;
|
||||
UnkStruct_ov17_022449B8 unk_FA;
|
||||
u8 unk_100;
|
||||
u8 actingMessagesID2;
|
||||
UnkStruct_ov17_022439C8 unk_104;
|
||||
} UnkStruct_ov17_022443F8;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
#include "overlay017/struct_ov17_022449B8.h"
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u8 unk_02;
|
||||
u16 moveID;
|
||||
u8 contestMoveEffect;
|
||||
u8 unk_03;
|
||||
u8 unk_04;
|
||||
s16 unk_06;
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 unk_01;
|
||||
u16 unk_02;
|
||||
u16 moveID;
|
||||
u8 unk_04;
|
||||
u8 unk_05;
|
||||
u8 judgeID;
|
||||
} UnkStruct_ov17_022449B8;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_022449B8_H
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02246F24 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
u8 unk_0C;
|
||||
u8 unk_0D;
|
||||
u8 contestantID;
|
||||
u8 unk_0E;
|
||||
s8 unk_0F;
|
||||
s8 unk_10;
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@ typedef struct {
|
|||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 unk_11;
|
||||
u8 contestantID;
|
||||
u8 unk_12;
|
||||
UnkStruct_ov17_022449B8 unk_14;
|
||||
u8 unk_1A;
|
||||
u8 actingMessagesID;
|
||||
u8 unk_1B;
|
||||
u8 unk_1C;
|
||||
} UnkStruct_ov17_02245E14;
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
typedef struct {
|
||||
UnkStruct_ov17_022449B8 unk_00;
|
||||
UnkStruct_ov17_022449B8 unk_06;
|
||||
u8 unk_0C;
|
||||
u8 unk_0D;
|
||||
u8 actingMessagesID;
|
||||
u8 actingMessagesID2;
|
||||
u8 unk_0E;
|
||||
u8 unk_0F;
|
||||
} UnkStruct_ov17_022463C4;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_02246540_SUB1_H
|
||||
|
||||
typedef struct {
|
||||
u32 unk_00_0 : 16;
|
||||
u32 unk_00_16 : 8;
|
||||
u32 moveID : 16;
|
||||
u32 contestMoveEffect : 8;
|
||||
u32 : 8;
|
||||
} UnkStruct_ov17_02246540_sub1;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_02246F24_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_02246F24_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223BCE8.h"
|
||||
#include "overlay017/struct_ov17_0223F88C.h"
|
||||
#include "overlay017/struct_ov17_02246F24_sub1.h"
|
||||
|
|
@ -10,11 +8,12 @@
|
|||
#include "overlay017/struct_ov17_022472F8.h"
|
||||
#include "overlay017/struct_ov17_0224F30C.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "g3d_pipeline.h"
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_02095C48 *unk_00;
|
||||
Contest *unk_00;
|
||||
SysTask *unk_04;
|
||||
G3DPipelineBuffers *unk_08;
|
||||
UnkStruct_ov17_0223F88C unk_0C;
|
||||
|
|
|
|||
|
|
@ -6,16 +6,14 @@
|
|||
#include "overlay017/struct_ov17_02246540.h"
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 contestantID;
|
||||
u8 unk_01;
|
||||
u8 unk_02;
|
||||
u8 unk_03;
|
||||
u8 unk_04[3][4];
|
||||
UnkStruct_ov17_02246540 unk_10;
|
||||
UnkStruct_ov17_022463C4 unk_C6;
|
||||
union {
|
||||
UnkStruct_ov17_0224290C unk_D6_val1;
|
||||
};
|
||||
UnkStruct_ov17_0224290C unk_D6_val1;
|
||||
} UnkStruct_ov17_02246F24_sub1;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_02246F24_SUB1_H
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_022472F8_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_022472F8_H
|
||||
|
||||
#include "constants/contests.h"
|
||||
|
||||
#include "overlay017/struct_ov17_02246540.h"
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 unk_01[4];
|
||||
u8 unk_05;
|
||||
u16 unk_06[4];
|
||||
u8 unk_0E[4];
|
||||
s16 unk_12[4];
|
||||
u16 moveIDs[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_0E[CONTEST_NUM_PARTICIPANTS];
|
||||
s16 unk_12[CONTEST_NUM_PARTICIPANTS];
|
||||
s16 unk_1A[4];
|
||||
s8 unk_22[3];
|
||||
u16 unk_26[4];
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ typedef struct {
|
|||
SpriteManager *unk_20;
|
||||
BgConfig *unk_24;
|
||||
Window unk_28[1];
|
||||
MessageLoader *unk_38;
|
||||
MessageLoader *visualCompetitionMessages;
|
||||
StringTemplate *unk_3C;
|
||||
String *unk_40;
|
||||
PaletteData *unk_44;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_0224792C_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 contestantID;
|
||||
u8 unk_01;
|
||||
u8 unk_02;
|
||||
u8 unk_03;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_02247A48_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_02247A48_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
#include "constants/contests.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223D60C.h"
|
||||
#include "overlay017/struct_ov17_022476F8.h"
|
||||
|
|
@ -11,11 +11,12 @@
|
|||
#include "overlay017/struct_ov17_0224B09C.h"
|
||||
#include "overlay017/struct_ov17_0224F30C.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "g3d_pipeline.h"
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_02095C48 *unk_00;
|
||||
Contest *unk_00;
|
||||
SysTask *unk_04;
|
||||
G3DPipelineBuffers *unk_08;
|
||||
UnkStruct_ov17_022476F8 unk_0C;
|
||||
|
|
@ -29,7 +30,7 @@ typedef struct {
|
|||
UnkStruct_ov17_0224F30C unk_4F8;
|
||||
UnkStruct_ov17_0223D60C unk_F0C;
|
||||
u8 unk_F14;
|
||||
UnkStruct_ov17_0224B09C unk_F18[4];
|
||||
UnkStruct_ov17_0224B09C unk_F18[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_F58;
|
||||
u8 unk_F59;
|
||||
u8 unk_F5A;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02247A48 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 state;
|
||||
s8 unk_11;
|
||||
u8 unk_12;
|
||||
s8 unk_13;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02247A48 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 state;
|
||||
s8 unk_11;
|
||||
u8 unk_12;
|
||||
s8 unk_13;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02247A48 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 state;
|
||||
u8 unk_11;
|
||||
s32 unk_14;
|
||||
s32 unk_18;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02247A48 *unk_00;
|
||||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 state;
|
||||
u8 unk_11;
|
||||
UnkStruct_ov17_022489C8 unk_14;
|
||||
UnkStruct_ov17_02248A24 unk_2C;
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
typedef struct {
|
||||
UnkStruct_ov12_02236030 unk_00;
|
||||
UnkStruct_ov12_02235FE0 *unk_0C;
|
||||
Pokemon *unk_10;
|
||||
u8 unk_14;
|
||||
Pokemon *mon;
|
||||
u8 state;
|
||||
u8 unk_15;
|
||||
} UnkStruct_ov17_022489C8;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
typedef struct {
|
||||
UnkStruct_ov17_02247A48 *unk_00;
|
||||
BallRotation *unk_04;
|
||||
BallRotation *ballRotation;
|
||||
u8 unk_08;
|
||||
u8 unk_09;
|
||||
u8 unk_0A;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
fx32 unk_08;
|
||||
u8 unk_0C;
|
||||
u8 unk_0D;
|
||||
u8 unk_0E;
|
||||
u8 contestantID;
|
||||
} UnkStruct_ov17_02248AA4;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_02248AA4_H
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ typedef struct {
|
|||
SpriteManager *unk_5C;
|
||||
BgConfig *unk_60;
|
||||
Window unk_64[2];
|
||||
MessageLoader *unk_84;
|
||||
MessageLoader *danceMessageLoader;
|
||||
StringTemplate *unk_88;
|
||||
String *unk_8C;
|
||||
String *danceMessage;
|
||||
PaletteData *unk_90;
|
||||
UnkStruct_02012744 *unk_94;
|
||||
PokemonSpriteData pokemonSpriteDataArray[4];
|
||||
|
|
@ -45,7 +45,7 @@ typedef struct {
|
|||
SysTask *unk_1EC;
|
||||
UnkStruct_ov17_0224C9A4 unk_1F0;
|
||||
UnkStruct_ov17_0224C384 *unk_1FC;
|
||||
UnkStruct_ov17_0224ABFC unk_200[4];
|
||||
UnkStruct_ov17_0224ABFC unk_200[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_ov17_0224A1EC_sub1 unk_254[4];
|
||||
UnkStruct_ov17_0224AE84 unk_290[4][16];
|
||||
UnkStruct_ov17_0224B058 unk_910;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_0224C0C0_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 contestantID;
|
||||
u8 unk_01;
|
||||
u16 unk_02;
|
||||
u8 unk_04;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ typedef struct {
|
|||
u8 unk_17;
|
||||
UnkStruct_ov17_0224DF54_sub2 unk_18;
|
||||
UnkStruct_ov17_0224DC1C unk_50;
|
||||
UnkStruct_ov17_0224E958 unk_58[4];
|
||||
UnkStruct_ov17_0224E958 unk_58[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_ov17_0224D69C *unk_140[4];
|
||||
} UnkStruct_ov17_0224D710;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0224DF54_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0224DF54_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0223E838.h"
|
||||
#include "overlay017/struct_ov17_0224A1EC.h"
|
||||
#include "overlay017/struct_ov17_0224B5C8.h"
|
||||
|
|
@ -15,12 +13,13 @@
|
|||
#include "overlay017/struct_ov17_0224EDE0.h"
|
||||
#include "overlay017/struct_ov17_0224F30C.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "g3d_pipeline.h"
|
||||
#include "particle_system.h"
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct UnkStruct_ov17_0224DF54_t {
|
||||
UnkStruct_02095C48 *unk_00;
|
||||
Contest *unk_00;
|
||||
SysTask *unk_04;
|
||||
SysTask *unk_08;
|
||||
ParticleSystem *unk_0C;
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_0224DF54_SUB1_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00[4];
|
||||
u8 unk_00[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_04;
|
||||
u8 unk_05[4];
|
||||
u8 unk_05[CONTEST_NUM_PARTICIPANTS];
|
||||
s16 unk_0A[4];
|
||||
u32 unk_14;
|
||||
u32 unk_18;
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 unk_01;
|
||||
u8 unk_02[4];
|
||||
u8 unk_02[CONTEST_NUM_PARTICIPANTS];
|
||||
u32 unk_08;
|
||||
u32 unk_0C;
|
||||
u16 unk_10;
|
||||
u32 unk_14[4];
|
||||
u32 unk_14[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_ov17_02253084 unk_24;
|
||||
UnkStruct_ov17_0224C0C0 unk_30;
|
||||
u8 unk_36;
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
#include "pokemon_sprite.h"
|
||||
|
||||
typedef struct {
|
||||
Pokemon *unk_00;
|
||||
Pokemon *mon;
|
||||
PokemonSprite *unk_04;
|
||||
UnkStruct_ov17_0224B09C *unk_08;
|
||||
u8 unk_0C;
|
||||
u8 contestantID;
|
||||
u8 unk_0D;
|
||||
u16 unk_0E;
|
||||
s32 unk_10;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0224F3D8_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0224F3D8_H
|
||||
|
||||
#include "constants/contests.h"
|
||||
|
||||
typedef struct {
|
||||
void *unk_00[4];
|
||||
void *unk_00[CONTEST_NUM_PARTICIPANTS];
|
||||
} UnkStruct_ov17_0224F3D8;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_0224F3D8_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0224FCA0_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0224FCA0_H
|
||||
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "overlay017/struct_ov17_0224F30C.h"
|
||||
#include "overlay017/struct_ov17_0224FCA0_sub1.h"
|
||||
#include "overlay017/struct_ov17_0224FCA0_sub2.h"
|
||||
|
|
@ -10,11 +8,12 @@
|
|||
#include "overlay017/struct_ov17_0224FECC.h"
|
||||
#include "overlay017/struct_ov17_022507C4.h"
|
||||
|
||||
#include "contest.h"
|
||||
#include "g3d_pipeline.h"
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_02095C48 *unk_00;
|
||||
Contest *unk_00;
|
||||
SysTask *unk_04;
|
||||
SysTask *unk_08;
|
||||
G3DPipelineBuffers *unk_0C;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0224FCA0_SUB1_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0224FCA0_SUB1_H
|
||||
|
||||
#include "constants/contests.h"
|
||||
|
||||
#include "struct_defs/struct_02095C48_sub1_sub1.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_02095C48_sub1_sub1 unk_00[4];
|
||||
u8 unk_30[4];
|
||||
UnkStruct_02095C48_sub1_sub1 unk_00[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_30[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_34;
|
||||
u8 unk_35[4];
|
||||
s16 unk_3A[4];
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 unk_01;
|
||||
u8 unk_02;
|
||||
u8 winningContestantID;
|
||||
u8 unk_03[4];
|
||||
u8 unk_07;
|
||||
UnkStruct_ov17_022508E4 unk_08;
|
||||
u8 unk_0E;
|
||||
u8 announcerMessagesID;
|
||||
u8 unk_0F;
|
||||
u8 unk_10;
|
||||
u8 unk_11;
|
||||
|
|
|
|||
|
|
@ -19,20 +19,20 @@
|
|||
typedef struct {
|
||||
UnkStruct_02095C48_sub1 *unk_00;
|
||||
PokemonSpriteManager *unk_04;
|
||||
PokemonSprite *unk_08[4];
|
||||
PokemonSprite *unk_08[CONTEST_NUM_PARTICIPANTS];
|
||||
SpriteSystem *unk_18;
|
||||
SpriteManager *unk_1C;
|
||||
BgConfig *unk_20;
|
||||
Window unk_24[9];
|
||||
MessageLoader *unk_B4;
|
||||
StringTemplate *unk_B8;
|
||||
MessageLoader *contestResultsMessages;
|
||||
StringTemplate *contestResultsTemplate;
|
||||
String *unk_BC;
|
||||
PaletteData *unk_C0;
|
||||
UnkStruct_02012744 *unk_C4;
|
||||
PokemonSpriteData pokemonSpriteDataArray[4];
|
||||
UnkStruct_ov17_0223F6E8 unk_108;
|
||||
SysTask *unk_124;
|
||||
ManagedSprite *unk_128[4];
|
||||
ManagedSprite *unk_128[CONTEST_NUM_PARTICIPANTS];
|
||||
ManagedSprite *unk_138[4];
|
||||
ManagedSprite *unk_148[4][12];
|
||||
ManagedSprite *unk_208[4][12];
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_022508E4_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 contestantID;
|
||||
u8 unk_01;
|
||||
u16 unk_02;
|
||||
u8 unk_04;
|
||||
u8 contestantEntryNum;
|
||||
u8 unk_05;
|
||||
} UnkStruct_ov17_022508E4;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ typedef struct {
|
|||
u8 unk_11;
|
||||
u8 unk_12;
|
||||
UnkStruct_ov17_022508E4 unk_14;
|
||||
u8 unk_1A;
|
||||
u8 announcerMessagesID;
|
||||
u8 unk_1B;
|
||||
u8 unk_1C;
|
||||
u8 unk_1D;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ typedef struct {
|
|||
UnkStruct_ov17_02243C80 unk_04;
|
||||
UnkStruct_ov17_0224F30C *unk_0C;
|
||||
u8 unk_10;
|
||||
u8 unk_11;
|
||||
u8 winningContestantID;
|
||||
u8 unk_12;
|
||||
u8 unk_13;
|
||||
s16 unk_14;
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_022538F0_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_022538F0_H
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u8 unk_02;
|
||||
u8 unk_03;
|
||||
} UnkStruct_ov17_022538F0;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_022538F0_H
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_0225442C_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_0225442C_H
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u8 unk_02;
|
||||
} UnkStruct_ov17_0225442C;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_0225442C_H
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
#define POKEPLATINUM_STRUCT_OV17_0225470C_H
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u16 danceMessageID;
|
||||
u8 unk_02;
|
||||
} UnkStruct_ov17_0225470C;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_OV17_02254C0C_H
|
||||
#define POKEPLATINUM_STRUCT_OV17_02254C0C_H
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u8 unk_02;
|
||||
} UnkStruct_ov17_02254C0C;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_OV17_02254C0C_H
|
||||
|
|
@ -6,9 +6,9 @@
|
|||
int ov22_02255D44(ApplicationManager *appMan, int *param1);
|
||||
int ov22_02255E50(ApplicationManager *appMan, int *param1);
|
||||
int ov22_02256098(ApplicationManager *appMan, int *param1);
|
||||
int ov22_02256174(ApplicationManager *appMan, int *param1);
|
||||
int ov22_022562EC(ApplicationManager *appMan, int *param1);
|
||||
int ov22_02256600(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetition_Init(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetition_Main(ApplicationManager *appMan, int *param1);
|
||||
int VisualCompetition_Exit(ApplicationManager *appMan, int *param1);
|
||||
void ov22_022577EC(u32 param0, u32 param1, u32 param2, u32 param3, u32 param4, int *param5, int *param6);
|
||||
|
||||
#endif // POKEPLATINUM_OV22_02255D44_H
|
||||
|
|
|
|||
40
include/scrcmd_contests.h
Normal file
40
include/scrcmd_contests.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef POKEPLATINUM_UNK_02046C7C_H
|
||||
#define POKEPLATINUM_UNK_02046C7C_H
|
||||
|
||||
#include "field_script_context.h"
|
||||
|
||||
BOOL ScrCmd_StartContestCommSync(ScriptContext *ctx);
|
||||
BOOL ScrCmd_WaitForCommSyncState(ScriptContext *ctx);
|
||||
BOOL ScrCmd_NewContest(ScriptContext *ctx);
|
||||
BOOL ScrCmd_EndContest(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferJudgeName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferContestantTrainerName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferContestantMonName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferContestRegistrationEntryNumber(ScriptContext *ctx);
|
||||
BOOL ScrCmd_WaitForLinkContestSetup(ScriptContext *ctx);
|
||||
BOOL ScrCmd_RunContestApplication(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferContestRank(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferContestType(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferWinningContestantTrainerName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_SetTrue(ScriptContext *ctx);
|
||||
BOOL ScrCmd_BufferWinningContestantMonName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetPlayerContestPlacement(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetWinningContestantEntryNum(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetContestRegistrationEntryNum(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetContestantObjEventGFX(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetContestantMonContestFame(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetContestMode(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetContestInfo(ScriptContext *ctx);
|
||||
BOOL ScrCmd_CheckPlayerMonHasRibbon(ScriptContext *ctx);
|
||||
BOOL ScrCmd_SetRibbonName(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetFirstTimeVictoryAccessory(ScriptContext *ctx);
|
||||
BOOL ScrCmd_LockAutoScrollForLinkContests(ScriptContext *ctx);
|
||||
BOOL ScrCmd_LockTextSpeed(ScriptContext *ctx);
|
||||
BOOL ScrCmd_StartContestCameraFlashTask(ScriptContext *ctx);
|
||||
BOOL ScrCmd_WaitForContestCameraFlashTask(ScriptContext *ctx);
|
||||
BOOL ScrCmd_StopHBlank(ScriptContext *ctx);
|
||||
BOOL ScrCmd_StartHBlank(ScriptContext *ctx);
|
||||
BOOL ScrCmd_GetShouldSkipAwardCeremony(ScriptContext *ctx);
|
||||
BOOL ScrCmd_ShowLinkContestRecords(ScriptContext *ctx);
|
||||
|
||||
#endif // POKEPLATINUM_UNK_02046C7C_H
|
||||
|
|
@ -105,7 +105,7 @@ enum ScriptContextType {
|
|||
#define SCRIPT_ID_OFFSET_DAY_CARE_COMMON 9500
|
||||
#define SCRIPT_ID_OFFSET_INIT_NEW_GAME 9600
|
||||
#define SCRIPT_ID_OFFSET_FOLLOWER_PARTNERS 9700
|
||||
#define SCRIPT_ID_OFFSET_CONTEST_REGISTRATION 9800
|
||||
#define SCRIPT_ID_OFFSET_CONTESTS 9800
|
||||
#define SCRIPT_ID_OFFSET_POKEDEX_RATINGS 9950
|
||||
#define SCRIPT_ID_OFFSET_FIELD_MOVES 10000
|
||||
#define SCRIPT_ID_OFFSET_TV_BROADCAST 10100
|
||||
|
|
|
|||
16
include/struct_defs/contest_camera_flash_task.h
Normal file
16
include/struct_defs/contest_camera_flash_task.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_CONTEST_CAMERA_FLASH_TASK_H
|
||||
#define POKEPLATINUM_STRUCT_CONTEST_CAMERA_FLASH_TASK_H
|
||||
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct ContestCameraFlashTask {
|
||||
SysTask *sysTask;
|
||||
const u8 *cameraFlashFrameDelays;
|
||||
s16 frameCounter;
|
||||
u8 flashCounter;
|
||||
u8 state;
|
||||
u8 contestantID;
|
||||
u8 padding_0D[3];
|
||||
} ContestCameraFlashTask;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_CONTEST_CAMERA_FLASH_TASK_H
|
||||
29
include/struct_defs/contest_player_mon_dto.h
Normal file
29
include/struct_defs/contest_player_mon_dto.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef POKEPLATINUM_CONTEST_PLAYER_MON_DTO_H
|
||||
#define POKEPLATINUM_CONTEST_PLAYER_MON_DTO_H
|
||||
|
||||
#include "struct_defs/image_clips.h"
|
||||
|
||||
#include "game_options.h"
|
||||
#include "pokemon.h"
|
||||
#include "savedata.h"
|
||||
#include "string_gf.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct PlayerMonContestDTO {
|
||||
u8 contestType;
|
||||
u8 contestRank;
|
||||
u8 competitionType;
|
||||
u8 isGameCompleted;
|
||||
u8 isNatDexObtained;
|
||||
u8 monPartySlot;
|
||||
u8 padding_06[2];
|
||||
Pokemon *mon;
|
||||
const String *trainerName;
|
||||
const TrainerInfo *trainerInfo;
|
||||
ImageClips *imageClips;
|
||||
const Options *options;
|
||||
SaveData *saveData;
|
||||
void *chatotCry;
|
||||
} PlayerMonContestDTO;
|
||||
|
||||
#endif // POKEPLATINUM_CONTEST_PLAYER_MON_DTO_H
|
||||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include "struct_defs/struct_0202E768.h"
|
||||
#include "struct_defs/struct_0202E794.h"
|
||||
#include "struct_defs/struct_0202E7D8.h"
|
||||
#include "struct_defs/struct_0202E7E4.h"
|
||||
#include "struct_defs/struct_0202E7F0.h"
|
||||
#include "struct_defs/struct_0202E7FC.h"
|
||||
|
|
@ -14,6 +13,7 @@
|
|||
#include "struct_defs/struct_0202E81C.h"
|
||||
#include "struct_defs/struct_0202E828.h"
|
||||
#include "struct_defs/struct_0202E834.h"
|
||||
#include "struct_defs/tv_episode_segment_contest_hall_showcased_pokemon.h"
|
||||
|
||||
#define TV_BROADCAST_MAX_PLAYED_SEGMENTS 4
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ typedef struct TVBroadcast {
|
|||
UnkStruct_0202E794 unk_234[16];
|
||||
UnkStruct_0202E794 unk_684[8];
|
||||
UnkStruct_0202E794 unk_8AC[8];
|
||||
UnkStruct_0202E7D8 unk_AD4;
|
||||
TVEpisodeSegment_ContestHall_ShowcasedPokemon showcasedPokemon;
|
||||
UnkStruct_0202E7E4 unk_ADE;
|
||||
UnkStruct_0202E7F0 unk_B02;
|
||||
UnkStruct_0202E7FC unk_B04;
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_0202E7D8_H
|
||||
#define POKEPLATINUM_STRUCT_0202E7D8_H
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 padding_01;
|
||||
u16 unk_02;
|
||||
u8 unk_04;
|
||||
u8 language;
|
||||
u8 unk_06;
|
||||
u8 unk_07;
|
||||
u8 unk_08;
|
||||
u8 unk_09;
|
||||
} UnkStruct_0202E7D8;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_0202E7D8_H
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_02093800_H
|
||||
#define POKEPLATINUM_STRUCT_02093800_H
|
||||
|
||||
#include "struct_defs/image_clips.h"
|
||||
|
||||
#include "game_options.h"
|
||||
#include "pokemon.h"
|
||||
#include "savedata.h"
|
||||
#include "string_gf.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct {
|
||||
u8 unk_00;
|
||||
u8 unk_01;
|
||||
u8 unk_02;
|
||||
u8 unk_03;
|
||||
u8 unk_04;
|
||||
u8 unk_05;
|
||||
u8 padding_06[2];
|
||||
Pokemon *unk_08;
|
||||
const String *unk_0C;
|
||||
const TrainerInfo *unk_10;
|
||||
ImageClips *imageClips;
|
||||
const Options *options;
|
||||
SaveData *saveData;
|
||||
void *unk_20;
|
||||
} UnkStruct_02093800;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02093800_H
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_02093BBC_H
|
||||
#define POKEPLATINUM_STRUCT_02093BBC_H
|
||||
|
||||
#include "struct_defs/fashion_case.h"
|
||||
#include "struct_defs/struct_02029C88.h"
|
||||
#include "struct_defs/struct_02095C60.h"
|
||||
|
||||
#include "game_options.h"
|
||||
#include "pokemon.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct {
|
||||
Pokemon *unk_00;
|
||||
UnkStruct_02029C88 *unk_04;
|
||||
int unk_08;
|
||||
int unk_0C;
|
||||
int unk_10;
|
||||
int unk_14;
|
||||
const FashionCase *fashionCase;
|
||||
UnkStruct_02095C60 *unk_1C;
|
||||
const Options *options;
|
||||
const TrainerInfo *unk_24;
|
||||
} UnkStruct_02093BBC;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02093BBC_H
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_02094A58_H
|
||||
#define POKEPLATINUM_STRUCT_02094A58_H
|
||||
|
||||
#include "sys_task_manager.h"
|
||||
|
||||
typedef struct {
|
||||
SysTask *unk_00;
|
||||
const u8 *unk_04;
|
||||
s16 unk_08;
|
||||
u8 unk_0A;
|
||||
u8 unk_0B;
|
||||
u8 unk_0C;
|
||||
u8 padding_0D[3];
|
||||
} UnkStruct_02094A58;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02094A58_H
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
#define POKEPLATINUM_STRUCT_020954F0_H
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u16 judgeNameMessageID;
|
||||
u8 padding_02[2];
|
||||
u16 unk_04_0 : 2;
|
||||
u16 unk_04_2 : 2;
|
||||
|
|
|
|||
|
|
@ -1,49 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_02095C48_H
|
||||
#define POKEPLATINUM_STRUCT_02095C48_H
|
||||
|
||||
#include "struct_defs/image_clips.h"
|
||||
#include "struct_defs/struct_02094A58.h"
|
||||
#include "struct_defs/struct_02095C48_sub1.h"
|
||||
#include "struct_defs/struct_02095C60.h"
|
||||
|
||||
#include "game_options.h"
|
||||
#include "party.h"
|
||||
#include "pokemon.h"
|
||||
#include "savedata.h"
|
||||
#include "sys_task_manager.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_02095C48_sub1 unk_00;
|
||||
Party *unk_148;
|
||||
void *unk_14C[4];
|
||||
void *unk_150;
|
||||
u8 unk_154;
|
||||
u8 isLinkContest;
|
||||
u8 unk_156[4];
|
||||
u8 unk_15A;
|
||||
u8 unk_15B;
|
||||
int unk_15C;
|
||||
int padding_160;
|
||||
SysTask *unk_164;
|
||||
u8 unk_168[4][256];
|
||||
u8 unk_568;
|
||||
u8 unk_569[1024];
|
||||
u8 unk_969[4][1024];
|
||||
u8 padding_1969[3];
|
||||
const Options *options;
|
||||
SaveData *saveData;
|
||||
Pokemon *unk_1974;
|
||||
const TrainerInfo *unk_1978;
|
||||
u8 unk_197C;
|
||||
u8 isGameCompleted;
|
||||
u8 isNatDexObtained;
|
||||
u8 padding_197F;
|
||||
ImageClips *imageClips;
|
||||
UnkStruct_02095C60 unk_1984;
|
||||
void *unk_199C;
|
||||
UnkStruct_02094A58 *unk_19A0;
|
||||
u32 unk_19A4;
|
||||
} UnkStruct_02095C48;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02095C48_H
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_02095C48_SUB1_H
|
||||
#define POKEPLATINUM_STRUCT_02095C48_SUB1_H
|
||||
|
||||
#include "constants/contests.h"
|
||||
|
||||
#include "struct_defs/struct_02029C88.h"
|
||||
#include "struct_defs/struct_020954F0.h"
|
||||
#include "struct_defs/struct_02095C48_sub1_sub1.h"
|
||||
|
|
@ -11,28 +13,28 @@
|
|||
#include "string_gf.h"
|
||||
|
||||
typedef struct {
|
||||
Pokemon *unk_00[4];
|
||||
UnkStruct_ov6_02248BE8 unk_10[4];
|
||||
UnkStruct_020954F0 unk_C0[3];
|
||||
String *unk_D8[4];
|
||||
UnkStruct_02029C88 *unk_E8[4];
|
||||
u8 unk_F8[4];
|
||||
u8 unk_FC[4];
|
||||
u8 unk_100[4];
|
||||
u16 unk_104[4];
|
||||
Pokemon *contestMons[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_ov6_02248BE8 unk_10[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_020954F0 unk_C0[CONTEST_NUM_JUDGES];
|
||||
String *trainerNames[CONTEST_NUM_PARTICIPANTS];
|
||||
UnkStruct_02029C88 *unk_E8[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 trainerGenders[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_FC[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 monContestFame[CONTEST_NUM_PARTICIPANTS];
|
||||
u16 contestantObjEventGFX[CONTEST_NUM_PARTICIPANTS];
|
||||
u8 unk_10C;
|
||||
u8 unk_10D;
|
||||
u8 unk_10E;
|
||||
u8 contestType;
|
||||
u8 contestRank;
|
||||
u8 unk_111;
|
||||
u8 competitionType;
|
||||
u8 unk_112;
|
||||
u8 unk_113;
|
||||
u8 playerContestantID;
|
||||
u8 unk_114;
|
||||
u8 unk_115;
|
||||
u8 unk_116;
|
||||
u8 unk_117;
|
||||
UnkStruct_02095C48_sub1_sub1 unk_118[4];
|
||||
u8 npcCount;
|
||||
u8 connectionCount;
|
||||
UnkStruct_02095C48_sub1_sub1 unk_118[CONTEST_NUM_PARTICIPANTS];
|
||||
} UnkStruct_02095C48_sub1;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_02095C48_SUB1_H
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ typedef struct {
|
|||
s16 unk_02;
|
||||
s16 unk_04;
|
||||
s16 unk_06;
|
||||
u8 unk_08;
|
||||
u8 contestPlacement;
|
||||
u8 padding_09[3];
|
||||
} UnkStruct_02095C48_sub1_sub1;
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef POKEPLATINUM_TV_EPISODE_SEGMENT_CONTEST_HALL_SHOWCASED_POKEMON_H
|
||||
#define POKEPLATINUM_TV_EPISODE_SEGMENT_CONTEST_HALL_SHOWCASED_POKEMON_H
|
||||
|
||||
typedef struct TVEpisodeSegment_ContestHall_ShowcasedPokemon {
|
||||
u8 unk_00;
|
||||
u8 padding_01;
|
||||
u16 species;
|
||||
u8 gender;
|
||||
u8 language;
|
||||
u8 metGame;
|
||||
u8 contestRank;
|
||||
u8 contestType;
|
||||
u8 contestPlacement;
|
||||
} TVEpisodeSegment_ContestHall_ShowcasedPokemon;
|
||||
|
||||
#endif // POKEPLATINUM_TV_EPISODE_SEGMENT_CONTEST_HALL_SHOWCASED_POKEMON_H
|
||||
28
include/struct_defs/visual_competition_app_args.h
Normal file
28
include/struct_defs/visual_competition_app_args.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef POKEPLATINUM_VISUAL_COMPETITION_APP_ARGS_H
|
||||
#define POKEPLATINUM_VISUAL_COMPETITION_APP_ARGS_H
|
||||
|
||||
#include "generated/pokemon_contest_ranks.h"
|
||||
#include "generated/pokemon_contest_types.h"
|
||||
|
||||
#include "struct_defs/fashion_case.h"
|
||||
#include "struct_defs/struct_02029C88.h"
|
||||
#include "struct_defs/struct_02095C60.h"
|
||||
|
||||
#include "game_options.h"
|
||||
#include "pokemon.h"
|
||||
#include "trainer_info.h"
|
||||
|
||||
typedef struct {
|
||||
Pokemon *mon;
|
||||
UnkStruct_02029C88 *unk_04;
|
||||
int unk_08;
|
||||
enum PokemonContestRank contestRank;
|
||||
int competitionType;
|
||||
enum PokemonContestType contestType;
|
||||
const FashionCase *fashionCase;
|
||||
UnkStruct_02095C60 *unk_1C;
|
||||
const Options *options;
|
||||
const TrainerInfo *trainerInfo;
|
||||
} VisualCompetitionAppArgs;
|
||||
|
||||
#endif // POKEPLATINUM_VISUAL_COMPETITION_APP_ARGS_H
|
||||
|
|
@ -1,6 +1,9 @@
|
|||
#ifndef POKEPLATINUM_TV_EPISODE_SEGMENT_H
|
||||
#define POKEPLATINUM_TV_EPISODE_SEGMENT_H
|
||||
|
||||
#include "generated/pokemon_contest_ranks.h"
|
||||
#include "generated/pokemon_contest_types.h"
|
||||
|
||||
#include "struct_decls/struct_0202440C_decl.h"
|
||||
|
||||
#include "field/field_system_decl.h"
|
||||
|
|
@ -14,7 +17,7 @@
|
|||
|
||||
int TVEpisodeSegment_LoadMessage(int programTypeID, FieldSystem *fieldSystem, StringTemplate *template, UnkStruct_ov6_022465F4 *param3, u16 *bankDestVar);
|
||||
BOOL TVEpisodeSegment_IsEligible(int programTypeID, FieldSystem *fieldSystem, UnkStruct_ov6_022465F4 *param2);
|
||||
void sub_0206CF14(TVBroadcast *broadcast, Pokemon *param1, int param2, int param3, int param4);
|
||||
void TVBroadcast_SetContestHallShowInfo(TVBroadcast *broadcast, Pokemon *mon, enum PokemonContestType contestType, enum PokemonContestRank contestRank, int contestPlacement);
|
||||
void sub_0206CF48(TVBroadcast *broadcast, Pokemon *param1, enum HeapID heapID);
|
||||
void FieldSystem_SaveTVEpisodeSegment_PlantingAndWateringShow(FieldSystem *fieldSystem, u16 berryItemID, u8 yieldRating, u16 yieldAmount);
|
||||
void sub_0206CF9C(TVBroadcast *broadcast, int param1);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef POKEPLATINUM_UNK_020298BC_H
|
||||
#define POKEPLATINUM_UNK_020298BC_H
|
||||
|
||||
#include "generated/pokemon_contest_ranks.h"
|
||||
|
||||
#include "struct_defs/dress_up_photo.h"
|
||||
#include "struct_defs/image_clips.h"
|
||||
#include "struct_defs/photo_accessory.h"
|
||||
|
|
@ -59,7 +61,7 @@ void sub_0202A25C(UnkStruct_02029C88 *param0);
|
|||
void sub_0202A284(UnkStruct_02029C88 *param0, Pokemon *param1, UnkStruct_020298D8 *param2);
|
||||
void sub_0202A2A8(UnkStruct_02029C88 *param0, const UnkStruct_ov22_02255040 *param1, int param2);
|
||||
void sub_0202A35C(UnkStruct_02029C88 *param0, u8 param1);
|
||||
void sub_0202A378(UnkStruct_02029C88 *param0, u32 param1);
|
||||
void sub_0202A378(UnkStruct_02029C88 *param0, enum PokemonContestRank contestRank);
|
||||
void sub_0202A390(UnkStruct_02029C88 *param0, const UnkStruct_02029C88 *param1);
|
||||
void sub_0202A3B0(UnkStruct_02029C88 *param0, Pokemon *mon, s8 param2);
|
||||
void sub_0202A3EC(UnkStruct_02029C88 *param0, u32 param1, u8 param2, u8 xPos, u8 yPos, s8 priority);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include "struct_decls/struct_0202E4D4_decl.h"
|
||||
#include "struct_decls/struct_0202E768_decl.h"
|
||||
#include "struct_decls/struct_0202E794_decl.h"
|
||||
#include "struct_defs/struct_0202E7D8.h"
|
||||
#include "struct_defs/struct_0202E7E4.h"
|
||||
#include "struct_defs/struct_0202E7F0.h"
|
||||
#include "struct_defs/struct_0202E7FC.h"
|
||||
|
|
@ -14,6 +13,7 @@
|
|||
#include "struct_defs/struct_0202E81C.h"
|
||||
#include "struct_defs/struct_0202E828.h"
|
||||
#include "struct_defs/struct_0202E834.h"
|
||||
#include "struct_defs/tv_episode_segment_contest_hall_showcased_pokemon.h"
|
||||
|
||||
int TVBroadcast_SaveSize(void);
|
||||
void TVBroadcast_Init(TVBroadcast *broadcast);
|
||||
|
|
@ -40,7 +40,7 @@ UnkStruct_0202E768 *sub_0202E768(TVBroadcast *broadcast, int param1, int param2)
|
|||
UnkStruct_0202E794 *sub_0202E794(TVBroadcast *broadcast, int param1, int param2);
|
||||
BOOL sub_0202E7C0(int param0);
|
||||
int sub_0202E7D0(int param0);
|
||||
UnkStruct_0202E7D8 *sub_0202E7D8(TVBroadcast *broadcast);
|
||||
TVEpisodeSegment_ContestHall_ShowcasedPokemon *TVBroadcast_GetShowcasedPokemon(TVBroadcast *broadcast);
|
||||
UnkStruct_0202E7E4 *sub_0202E7E4(TVBroadcast *broadcast);
|
||||
UnkStruct_0202E7F0 *sub_0202E7F0(TVBroadcast *broadcast);
|
||||
UnkStruct_0202E7FC *sub_0202E7FC(TVBroadcast *broadcast);
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ BOOL CommTool_IsInitialized(void);
|
|||
void CommCmd_16(int param0, int param1, void *param2, void *param3);
|
||||
void CommCmd_18(int param0, int param1, void *param2, void *param3);
|
||||
void CommCmd_17(int param0, int param1, void *param2, void *param3);
|
||||
void CommTiming_StartSync(u8 param0);
|
||||
void CommTiming_StartSync(u8 syncNo);
|
||||
void sub_0203650C(void);
|
||||
BOOL CommTiming_IsSyncState(u8 param0);
|
||||
int sub_02036564(int param0);
|
||||
BOOL CommTiming_IsSyncState(u8 syncState);
|
||||
int CommTool_GetSyncNo(int netId);
|
||||
void sub_02036574(int param0, int param1, void *param2, void *param3);
|
||||
int sub_02036590(void);
|
||||
void sub_02036594(u8 param0, u8 param1);
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@ PartyMenu *FieldSystem_OpenPartyMenu_SelectForSpinTrade(FieldSystem *fieldSystem
|
|||
PartyMenu *FieldSystem_OpenPartyMenu_SelectForItemUsage(FieldSystem *fieldSystem, enum HeapID heapID, enum Item item);
|
||||
|
||||
int PartyMenu_GetSelectedSlot(PartyMenu *partyMenu);
|
||||
int sub_0203D438(void *param0);
|
||||
int sub_0203D440(void *param0);
|
||||
void *sub_0203D5C8(int param0, FieldSystem *fieldSystem, int param2);
|
||||
int PartyMenu_GetMenuSelectionResult(PartyMenu *partyMenu);
|
||||
int PokemonSummary_GetPartySlot(PokemonSummary *monSummary);
|
||||
void *FieldSystem_GetContestMonSummary(int unused, FieldSystem *fieldSystem, int partySlot);
|
||||
PokemonSummary *sub_0203D670(FieldSystem *fieldSystem, enum HeapID heapID, int mode);
|
||||
void *FieldSystem_OpenSummaryScreenSelectMove(enum HeapID heapID, FieldSystem *fieldSystem, u8 partyIndex);
|
||||
int PokemonSummary_GetSelectedMoveSlot(void *summary);
|
||||
|
|
|
|||
|
|
@ -1,40 +0,0 @@
|
|||
#ifndef POKEPLATINUM_UNK_02046C7C_H
|
||||
#define POKEPLATINUM_UNK_02046C7C_H
|
||||
|
||||
#include "field_script_context.h"
|
||||
|
||||
BOOL ScrCmd_0F8(ScriptContext *param0);
|
||||
BOOL ScrCmd_0F9(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FA(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FB(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FC(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FD(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FE(ScriptContext *param0);
|
||||
BOOL ScrCmd_0FF(ScriptContext *param0);
|
||||
BOOL ScrCmd_100(ScriptContext *param0);
|
||||
BOOL ScrCmd_101(ScriptContext *param0);
|
||||
BOOL ScrCmd_102(ScriptContext *param0);
|
||||
BOOL ScrCmd_103(ScriptContext *param0);
|
||||
BOOL ScrCmd_104(ScriptContext *param0);
|
||||
BOOL ScrCmd_105(ScriptContext *param0);
|
||||
BOOL ScrCmd_106(ScriptContext *param0);
|
||||
BOOL ScrCmd_107(ScriptContext *param0);
|
||||
BOOL ScrCmd_108(ScriptContext *param0);
|
||||
BOOL ScrCmd_109(ScriptContext *param0);
|
||||
BOOL ScrCmd_10A(ScriptContext *param0);
|
||||
BOOL ScrCmd_10B(ScriptContext *param0);
|
||||
BOOL ScrCmd_10C(ScriptContext *param0);
|
||||
BOOL ScrCmd_110(ScriptContext *param0);
|
||||
BOOL ScrCmd_10D(ScriptContext *param0);
|
||||
BOOL ScrCmd_10E(ScriptContext *param0);
|
||||
BOOL ScrCmd_10F(ScriptContext *param0);
|
||||
BOOL ScrCmd_LockAutoScrollForLinkContests(ScriptContext *ctx);
|
||||
BOOL ScrCmd_118(ScriptContext *param0);
|
||||
BOOL ScrCmd_111(ScriptContext *param0);
|
||||
BOOL ScrCmd_112(ScriptContext *param0);
|
||||
BOOL ScrCmd_113(ScriptContext *param0);
|
||||
BOOL ScrCmd_114(ScriptContext *param0);
|
||||
BOOL ScrCmd_115(ScriptContext *param0);
|
||||
BOOL ScrCmd_ShowLinkContestRecords(ScriptContext *ctx);
|
||||
|
||||
#endif // POKEPLATINUM_UNK_02046C7C_H
|
||||
|
|
@ -5,8 +5,6 @@
|
|||
#include "pokemon.h"
|
||||
#include "savedata.h"
|
||||
|
||||
#define PARTY_SLOT_NONE 0xFF
|
||||
|
||||
BOOL Pokemon_CanBattle(Pokemon *mon);
|
||||
BOOL Pokemon_GiveMonFromScript(enum HeapID heapID, SaveData *saveData, u16 species, u8 level, u16 heldItem, int metLocation, int metTerrain);
|
||||
BOOL sub_02054930(int unused, SaveData *saveData, u16 param2, u8 param3, int param4, int param5);
|
||||
|
|
|
|||
|
|
@ -1,46 +0,0 @@
|
|||
#ifndef POKEPLATINUM_UNK_020933F8_H
|
||||
#define POKEPLATINUM_UNK_020933F8_H
|
||||
|
||||
#include "struct_defs/struct_02093800.h"
|
||||
#include "struct_defs/struct_02095C48.h"
|
||||
|
||||
#include "field_task.h"
|
||||
#include "journal.h"
|
||||
#include "savedata.h"
|
||||
#include "string_template.h"
|
||||
|
||||
void sub_020933F8(FieldTask *param0, UnkStruct_02095C48 *param1);
|
||||
UnkStruct_02095C48 *sub_02093800(const UnkStruct_02093800 *param0);
|
||||
void sub_02093AD4(UnkStruct_02095C48 *param0);
|
||||
BOOL sub_020943B0(UnkStruct_02095C48 *param0);
|
||||
BOOL sub_020944CC(UnkStruct_02095C48 *param0);
|
||||
void sub_02094630(UnkStruct_02095C48 *param0, int param1, StringTemplate *param2, u32 param3);
|
||||
void sub_02094648(UnkStruct_02095C48 *param0, int param1, StringTemplate *param2, u32 param3);
|
||||
void sub_02094680(UnkStruct_02095C48 *param0, int param1, StringTemplate *param2, u32 param3);
|
||||
void sub_020946A4(UnkStruct_02095C48 *param0, StringTemplate *param1, u32 param2);
|
||||
void sub_020946CC(UnkStruct_02095C48 *param0, StringTemplate *param1, u32 param2);
|
||||
void sub_020946F0(UnkStruct_02095C48 *param0, StringTemplate *param1, u32 param2);
|
||||
void sub_02094720(UnkStruct_02095C48 *param0, StringTemplate *param1, u32 param2);
|
||||
u32 sub_02094750(UnkStruct_02095C48 *param0);
|
||||
void sub_02094754(UnkStruct_02095C48 *param0, u8 param1);
|
||||
BOOL sub_0209476C(UnkStruct_02095C48 *param0, u8 param1);
|
||||
int sub_02094790(UnkStruct_02095C48 *param0);
|
||||
int sub_020947A4(UnkStruct_02095C48 *param0);
|
||||
int sub_020947C8(UnkStruct_02095C48 *param0);
|
||||
int sub_020947D8(UnkStruct_02095C48 *param0, int param1);
|
||||
int sub_020947F0(UnkStruct_02095C48 *param0, int param1);
|
||||
int sub_02094804(UnkStruct_02095C48 *param0);
|
||||
void sub_02094828(UnkStruct_02095C48 *param0, u16 *param1, u16 *param2, u16 *param3, u16 *param4);
|
||||
void sub_02094850(UnkStruct_02095C48 *param0);
|
||||
void sub_02094860(UnkStruct_02095C48 *param0);
|
||||
BOOL sub_02094868(UnkStruct_02095C48 *param0);
|
||||
void sub_02094898(UnkStruct_02095C48 *param0, StringTemplate *param1, u32 param2, int param3);
|
||||
u32 sub_02094904(UnkStruct_02095C48 *param0);
|
||||
void sub_02094A58(UnkStruct_02095C48 *param0, int param1);
|
||||
BOOL sub_02094B1C(UnkStruct_02095C48 *param0);
|
||||
void sub_02094BB4(UnkStruct_02095C48 *param0, int *param1, BOOL *isLinkContest, int *param3, int *param4, int *param5);
|
||||
void sub_02094C44(UnkStruct_02095C48 *param0, SaveData *saveData, u32 param2, JournalEntry *param3);
|
||||
u16 sub_02094E98(UnkStruct_02095C48 *param0);
|
||||
u16 sub_02094EA0(u32 param0, u32 *param1);
|
||||
|
||||
#endif // POKEPLATINUM_UNK_020933F8_H
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user