diff options
| author | Henny022p <info@henny022.de> | 2022-02-03 05:44:50 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2022-02-03 05:52:50 +0100 |
| commit | bbc3a8841596de1fc7f034953df9c844ec805033 (patch) | |
| tree | 2b3a624ea1f67bd1b83d3aa25b75cfe7c2f672bf /include/droptables.h | |
| parent | 67d369c53becab9c5efbe5d3daba0373ef1b4106 (diff) | |
CreateRandomDrop and droptables
Diffstat (limited to 'include/droptables.h')
| -rw-r--r-- | include/droptables.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/droptables.h b/include/droptables.h new file mode 100644 index 00000000..481923e6 --- /dev/null +++ b/include/droptables.h @@ -0,0 +1,34 @@ +#ifndef TMC_DROPTABLES_H +#define TMC_DROPTABLES_H + +typedef union { + struct { + s16 none; + s16 rupee1; + s16 rupee5; + s16 rupee20; + s16 hearts; + s16 fairy; + s16 bombs; + s16 arrows; + s16 mysteriousShells; + s16 kinstoneGreen; + s16 kinstoneBlue; + s16 kinstoneRed; + s16 none2; + s16 none3; + s16 none4; + s16 none5; + } s; + s16 a[16]; +} Droptable; +static_assert(sizeof(Droptable) == 0x20); + +extern const Droptable gUnk_0800137C[]; +extern const Droptable gUnk_0800143C[]; +extern const Droptable gUnk_080015BC[]; +extern const Droptable gUnk_0800161C[]; +extern const Droptable gUnk_0800191C[]; +extern const Droptable gUnk_08001A1C[]; + +#endif // TMC_DROPTABLES_H |
