Clean up mystery gift sync, document wonder news

This commit is contained in:
GriffinR
2022-11-21 23:52:11 -05:00
parent 76c3b014d8
commit a19cb44458
17 changed files with 212 additions and 189 deletions
+3 -3
View File
@@ -49,7 +49,7 @@ enum {
// Create arguments for SVR_LOAD_CLIENT_SCRIPT or SVR_LOAD_MSG
// (a script/text size and pointer to send to the client)
#define PTR_ARG(pointer) .flag = sizeof(pointer), .parameter = pointer
#define PTR_ARG(pointer) .param = sizeof(pointer), .ptr = pointer
// IDs for server messages when ending a script.
// Given as the parameter to SVR_RETURN, and resolved to text in GetServerResultMessage
@@ -74,8 +74,8 @@ enum {
struct MysteryGiftServerCmd
{
u32 instr;
bool32 flag;
const void *parameter;
bool32 param;
const void *ptr;
};
struct MysteryGiftServer