document remaining funcs
This commit is contained in:
30
include/constants/lilycove_lady.h
Normal file
30
include/constants/lilycove_lady.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef GUARD_LILYCOVE_LADY_CONSTANTS_H
|
||||
#define GUARD_LILYCOVE_LADY_CONSTANTS_H
|
||||
|
||||
#define LILYCOVE_LADY_QUIZ 0
|
||||
#define LILYCOVE_LADY_FAVOR 1
|
||||
#define LILYCOVE_LADY_CONTEST 2
|
||||
#define LILYCOVE_LADY_COUNT 3
|
||||
|
||||
#define LILYCOVE_LADY_STATE_READY 0
|
||||
#define LILYCOVE_LADY_STATE_COMPLETED 1
|
||||
#define LILYCOVE_LADY_STATE_PRIZE 2
|
||||
|
||||
#define QUIZ_AUTHOR_PLAYER 0
|
||||
#define QUIZ_AUTHOR_OTHER_PLAYER 1
|
||||
#define QUIZ_AUTHOR_LADY 2
|
||||
|
||||
// Would be redundant with the above set if GF hadn't mixed the order
|
||||
#define QUIZ_AUTHOR_NAME_LADY 0
|
||||
#define QUIZ_AUTHOR_NAME_PLAYER 1
|
||||
#define QUIZ_AUTHOR_NAME_OTHER_PLAYER 2
|
||||
|
||||
// TODO use array count macro?
|
||||
#define QUIZ_QUESTION_LEN 9 //ARRAY_COUNT(sQuizLadyQuestion#)
|
||||
#define NUM_QUIZ_QUESTIONS 16 //ARRAY_COUNT(sQuizLadyQuizQuestions)
|
||||
#define FAVOR_DESCRIPTION_NUM 6 //ARRAY_COUNT(sFavorLadyDescriptions)
|
||||
|
||||
#define LILYCOVE_LADY_GIFT_THRESHOLD 5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -737,24 +737,16 @@ struct RecordMixingDayCareMail
|
||||
bool16 holdsItem[DAYCARE_MON_COUNT];
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
LILYCOVE_LADY_QUIZ,
|
||||
LILYCOVE_LADY_FAVOR,
|
||||
LILYCOVE_LADY_CONTEST,
|
||||
LILYCOVE_LADY_COUNT
|
||||
};
|
||||
|
||||
struct LilycoveLadyQuiz
|
||||
{
|
||||
/*0x000*/ u8 id;
|
||||
/*0x001*/ u8 state;
|
||||
/*0x002*/ u16 question[9];
|
||||
/*0x014*/ u16 answer;
|
||||
/*0x016*/ u16 response;
|
||||
/*0x014*/ u16 correctAnswer;
|
||||
/*0x016*/ u16 playerAnswer;
|
||||
/*0x018*/ u8 playerName[PLAYER_NAME_LENGTH + 1];
|
||||
/*0x020*/ u16 playerTrainerId[4];
|
||||
/*0x028*/ u16 itemId;
|
||||
/*0x028*/ u16 prize;
|
||||
/*0x02a*/ bool8 waitingForChallenger;
|
||||
/*0x02b*/ u8 questionId;
|
||||
/*0x02c*/ u8 prevQuestionId;
|
||||
@@ -778,10 +770,10 @@ struct LilycoveLadyContest
|
||||
{
|
||||
/*0x000*/ u8 id;
|
||||
/*0x001*/ bool8 givenPokeblock;
|
||||
/*0x002*/ u8 fave_pkblk;
|
||||
/*0x003*/ u8 other_pkblk;
|
||||
/*0x002*/ u8 numGoodPokeblocksGiven;
|
||||
/*0x003*/ u8 numOtherPokeblocksGiven;
|
||||
/*0x004*/ u8 playerName[PLAYER_NAME_LENGTH + 1];
|
||||
/*0x00c*/ u8 max_sheen;
|
||||
/*0x00c*/ u8 maxSheen;
|
||||
/*0x00d*/ u8 category;
|
||||
/*0x00e*/ u8 language;
|
||||
};
|
||||
|
||||
@@ -69,8 +69,8 @@ extern u16 gSpecialVar_ItemId;
|
||||
|
||||
// Exported ROM declarations
|
||||
void sub_81AAC14(void);
|
||||
void sub_81AAC50(void);
|
||||
void sub_81AAC70(void);
|
||||
void FavorLadyOpenBagMenu(void);
|
||||
void QuizLadyOpenBagMenu(void);
|
||||
void sub_81AAC28(void);
|
||||
void sub_81AABB0(void);
|
||||
void SetInitialScrollAndCursorPositions(u8 pocketId);
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
u8 GetLilycoveLadyId(void);
|
||||
void InitLilycoveLady(void);
|
||||
void ReadyLilycoveLady(void);
|
||||
void sub_818DEF4(void);
|
||||
void sub_818E564(void);
|
||||
void sub_818E570(const LilycoveLady *lilycoveLady);
|
||||
void ResetLilycoveLadyForRecordMix(void);
|
||||
void FieldCallback_FavorLadyEnableScriptContexts(void);
|
||||
void FieldCallback_QuizLadyEnableScriptContexts(void);
|
||||
void QuizLadyClearQuestionForRecordMix(const LilycoveLady *lilycoveLady);
|
||||
bool8 GivePokeblockToContestLady(struct Pokeblock *pokeblock);
|
||||
void BufferContestLadyMonName(u8 *dest1, u8 *dest2);
|
||||
void BufferContestLadyPlayerName(u8 *dest);
|
||||
|
||||
Reference in New Issue
Block a user