-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pokepic #316
base: master
Are you sure you want to change the base?
Pokepic #316
Conversation
@@ -481,7 +482,7 @@ typedef struct OpponentData { | |||
u32 unk0[6]; | |||
u32 unk18; | |||
u32 *unk1C; | |||
u32 *unk20; | |||
Pokepic *unk20; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unk20 -> pokepic? low priority but nice to have done now
void sub_02070130(struct SomeDrawPokemonStruct *a0, BoxPokemon *boxMon, u8 whichFacing); | ||
void GetBoxmonSpriteCharAndPlttNarcIds(struct SomeDrawPokemonStruct *spC, BoxPokemon *boxMon, u8 whichFacing, BOOL sp14); | ||
void GetMonSpriteCharAndPlttNarcIdsEx(struct SomeDrawPokemonStruct * spC, u16 species, u8 gender, u8 whichFacing, u8 shiny, u8 form, u32 personality); | ||
void GetPokemonSpriteCharAndPlttNarcIds(PokepicTemplate *a0, Pokemon *mon, u8 whichFacing); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name all instances of PokepicTemplate params
u8 sub_0207083C(BoxPokemon *boxMon, u8 whichFacing); | ||
u8 sub_02070848(BoxPokemon *boxMon, u8 whichFacing); | ||
u8 sub_02070854(BoxPokemon *boxMon, u8 whichFacing, BOOL a2); | ||
u8 sub_020708D8(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); | ||
u8 sub_02070A64(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); | ||
u8 GetMonPicHeightBySpeciesGenderForme(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forme -> Form
u8 sub_020708D8(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); | ||
u8 sub_02070A64(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); | ||
u8 GetMonPicHeightBySpeciesGenderForme(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); | ||
u8 GetMonPicHeightBySpeciesGenderForme_PBR(u16 species, u8 gender, u8 whichFacing, u8 form, u32 pid); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PBR?
void MTX_RotZ44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal); | ||
|
||
static inline void MTX_Identity44 (MtxFx44 * pDst) { | ||
MTX_Identity44_(pDst); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tabs -> spaces in this file
Pokepic_MaybeAddSpindaSpots(&pokepicManager->pics[i], pRawCharData); | ||
|
||
// This loop is crazy. Admittedly, I cheated and used retsam to guide this. | ||
// Please don't tell reddo, she'll have my balls chopped off too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
typedef struct RegisterHofMon { | ||
Pokemon *mon; | ||
u8 tsure_param[4]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translate tsure
data->spriteRenderer = SpriteRenderer_Create(HEAP_ID_REGISTER_HALL_OF_FAME); | ||
data->spriteGfxHandler = SpriteRenderer_CreateGfxHandler(data->spriteRenderer); | ||
|
||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scope brackes neded?
} | ||
|
||
static void RegisterHallOfFame_IndivMons_InitBgLayers(RegisterHallOfFameData *data) { | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scope needed?
} | ||
|
||
static void RegisterHallOfFame_WholePartyScene_InitBGs(RegisterHallOfFameData *data) { | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scope needed?
Closes #313