diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-06-19 11:45:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 11:45:40 -0400 |
commit | 1c13e2f57b53b3e4e5f9daac42ec4baadbb4c60b (patch) | |
tree | 98d8d64bad4b8bb766e189ac65b22a5b6f8bb6ba /include/msg_data.h | |
parent | a455bac566535ec559aac9164e05781093653057 (diff) | |
parent | b133ba8cebc5c5dcd6a3aa4b427b65ab438811bb (diff) |
Merge pull request #177 from PikalaxALT/pikalax_work
Cleanup; nutdata
Diffstat (limited to 'include/msg_data.h')
-rw-r--r-- | include/msg_data.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/msg_data.h b/include/msg_data.h new file mode 100644 index 00000000..debacc79 --- /dev/null +++ b/include/msg_data.h @@ -0,0 +1,20 @@ +#ifndef POKEDIAMOND_MSG_DATA_H +#define POKEDIAMOND_MSG_DATA_H + +struct MsgData +{ + u16 unk0; + u16 unk2; + u16 unk4; + u16 unk6; + union { + u16 * raw; + NARC * narc; + } data; +}; + +struct MsgData * NewMsgDataFromNarc(u32 type, u32 narcId, u32 msgId, u32 heapno); +u16 * FUN_0200A914(struct MsgData *, u32); +void DestroyMsgData(struct MsgData *); + +#endif //POKEDIAMOND_MSG_DATA_H |