diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-09-03 09:47:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 09:47:39 -0400 |
commit | 1b96581aa2aecec27b6f1e523c3611f9bb400caa (patch) | |
tree | e31764c3af7756c6b0983b46394ecb6d5eb8dfbb /include/seal.h | |
parent | 8d3c3476967845cf735408947856c46ac6f8b87c (diff) | |
parent | 9706c70916a6e08cbde0d4f56fea9812ea26ae73 (diff) |
Merge pull request #278 from PikalaxALT/pikalax_work
Decompile trainer_data engine code
Diffstat (limited to 'include/seal.h')
-rw-r--r-- | include/seal.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/seal.h b/include/seal.h new file mode 100644 index 00000000..7c4b04a5 --- /dev/null +++ b/include/seal.h @@ -0,0 +1,24 @@ +#ifndef POKEDIAMOND_SEAL_H +#define POKEDIAMOND_SEAL_H + +typedef u8 Coords8[3]; +typedef Coords8 CapsuleArray[8]; + +struct SealCase +{ + CapsuleArray coords[12]; + u8 sealCounts[80]; +}; + +u32 Sav2_SealCase_sizeof(void); +void Sav2_SealCase_init(struct SealCase * sealCase); +void CapsuleArray_copy(const CapsuleArray * a0, CapsuleArray * a1); +struct SealCase * Sav2_SealCase_get(struct SaveBlock2 * sav2); +CapsuleArray * SealCase_GetCapsuleI(struct SealCase * sealCase, s32 idx); +void SealCase_SetCapsuleI(struct SealCase * sealCase, const CapsuleArray * src, s32 idx); +Coords8 * Capsule_GetSealI(CapsuleArray * a0, s32 a1); +s32 Seal_GetId(Coords8 * a0); +s32 Seal_GetXCoord(Coords8 * a0); +s32 Seal_GetYCoord(Coords8 * a0); + +#endif //POKEDIAMOND_SEAL_H |