mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-22 23:20:49 -05:00
* Identified Daycare struct + incense baby table * Daycare params * Daycare_CreateEgg * TryGiveVoltTackle * Better names * DetermineEggSpeciesAndParentSlots * Format * GetParentsCompatibility * Party_GetFirstEgg * GetEggCyclesToSubtract * Egg cycles * Nature inheritence * DaycareMon * Better name for FieldSystem_GetDay * Cleaner struct defs * Store into daycare * Daycare levels and price * Daycare mon count * DaycareMail * Mail struct def * MON_DATA_MAIL and Take mon from daycare * IVs and Moves * Utility functions * More utility functions * Review changes * Renamed files
30 lines
624 B
C
30 lines
624 B
C
#ifndef POKEPLATINUM_STRUCT_DAYCARE_H
|
|
#define POKEPLATINUM_STRUCT_DAYCARE_H
|
|
|
|
#include "constants/daycare.h"
|
|
|
|
#include "struct_defs/mail.h"
|
|
#include "struct_defs/pokemon.h"
|
|
|
|
typedef struct DaycareMail {
|
|
Mail mail;
|
|
u16 otName[TRAINER_NAME_LEN + 1];
|
|
u16 monName[MON_NAME_LEN + 1];
|
|
u8 unk_5E_0 : 4;
|
|
u8 unk_5E_4 : 4;
|
|
} DaycareMail;
|
|
|
|
typedef struct DaycareMon {
|
|
BoxPokemon boxMon;
|
|
DaycareMail daycareMail;
|
|
u32 steps;
|
|
} DaycareMon;
|
|
|
|
typedef struct Daycare {
|
|
DaycareMon mons[NUM_DAYCARE_MONS];
|
|
u32 offspringPersonality;
|
|
u8 stepCounter;
|
|
} Daycare;
|
|
|
|
#endif // POKEPLATINUM_STRUCT_DAYCARE_H
|