diff --git a/mm/src/overlays/actors/ovl_En_An/z_en_an.c b/mm/src/overlays/actors/ovl_En_An/z_en_an.c index 1195c0dbf..9cdb4fed5 100644 --- a/mm/src/overlays/actors/ovl_En_An/z_en_an.c +++ b/mm/src/overlays/actors/ovl_En_An/z_en_an.c @@ -662,103 +662,612 @@ static s32 sSearchTimePathLimit[ANJU_SCH_MAX] = { 3, // ANJU_SCH_WALKING_63 }; -s32 sAnjuMsgScript_SchReceiveLetterFromPostman[0x1B] = { - 0x00560800, 0x44090000, 0x0E28BA0C, 0x09000017, 0x0E28BB0C, 0x09000018, 0x0E28BC0C, 0x09000017, 0x0E28BD0C, - 0x09000018, 0x0E28BE0C, 0x09000017, 0x0E28BF0C, 0x09000018, 0x0E28C02D, 0x00012D00, 0x0B0C0900, 0x00115608, - 0x10090000, 0x0E295C0C, 0x09000017, 0x0E295D0C, 0x09000018, 0x0E295E2D, 0x00012D00, 0x0B0C0900, 0x00100000, +MsgScript sAnjuMsgScript_SchReceiveLetterFromPostman[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x56, 0x08, 0x0049 - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0008 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BA), + /* 0x000B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x000F 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0010 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BB), + /* 0x0013 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0014 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0017 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0018 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BC), + /* 0x001B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x001C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x001F 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0020 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BD), + /* 0x0023 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0024 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0027 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0028 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BE), + /* 0x002B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x002C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x002F 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0030 0x03 */ MSCRIPT_BEGIN_TEXT(0x28BF), + /* 0x0033 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0034 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0037 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0038 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C0), + /* 0x003B 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x003E 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_POSTMAN), + /* 0x0041 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0042 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0045 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x56, 0x08), + /* 0x0048 0x01 */ MSCRIPT_DONE(), + + /* 0x0049 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x004C 0x03 */ MSCRIPT_BEGIN_TEXT(0x295C), + /* 0x004F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0050 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0053 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0054 0x03 */ MSCRIPT_BEGIN_TEXT(0x295D), + /* 0x0057 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0058 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x005B 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x005C 0x03 */ MSCRIPT_BEGIN_TEXT(0x295E), + /* 0x005F 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0062 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_POSTMAN), + /* 0x0065 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0066 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0069 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_SchAttendGoron[0x21] = { - 0x09000000, 0x4B10001E, 0x0E28B10C, 0x09000017, 0x0E28B20C, 0x09000018, 0x0E28B32D, 0x00011137, 0x020C0900, - 0x00100056, 0x10002E0E, 0x28B10C09, 0x0000170E, 0x28B50C09, 0x0000180E, 0x28B60C09, 0x0000170E, 0x28B70C09, - 0x0000180E, 0x28B82D00, 0x010C0900, 0x00115610, 0x10090000, 0x170E2956, 0x0C090000, 0x180E2957, 0x0C090000, - 0x170E2958, 0x0C090000, 0x180E2959, 0x2D00010C, 0x09000012, 0x10000000, +MsgScript sAnjuMsgScript_SchAttendGoron[] = { + /* 0x0000 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0003 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x4B, 0x10, 0x0026 - 0x0008), + /* 0x0008 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B1), + /* 0x000B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x000F 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0010 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B2), + /* 0x0013 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0014 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0017 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0018 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B3), + /* 0x001B 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x001E 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x02), + /* 0x0021 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0022 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0025 0x01 */ MSCRIPT_DONE(), + + /* 0x0026 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x56, 0x10, 0x0059 - 0x002B), + /* 0x002B 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B1), + /* 0x002E 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x002F 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0032 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0033 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B5), + /* 0x0036 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0037 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x003A 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x003B 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B6), + /* 0x003E 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x003F 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0042 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0043 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B7), + /* 0x0046 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0047 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x004A 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x004B 0x03 */ MSCRIPT_BEGIN_TEXT(0x28B8), + /* 0x004E 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0051 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0052 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0055 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x56, 0x10), + /* 0x0058 0x01 */ MSCRIPT_DONE(), + + /* 0x0059 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x005C 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x005D 0x03 */ MSCRIPT_BEGIN_TEXT(0x2956), + /* 0x0060 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0061 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0064 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0065 0x03 */ MSCRIPT_BEGIN_TEXT(0x2957), + /* 0x0068 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0069 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x006C 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x006D 0x03 */ MSCRIPT_BEGIN_TEXT(0x2958), + /* 0x0070 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0071 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0074 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x0075 0x03 */ MSCRIPT_BEGIN_TEXT(0x2959), + /* 0x0078 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x007B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x007C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x007F 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0080 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_SchGiveLunchToGranny[0x15] = { - 0x09000017, 0x0E28C70C, 0x09000018, 0x0E28C80C, 0x09000017, 0x0E28C90C, 0x09000018, - 0x0E28CA0C, 0x09000017, 0x0E28CB0C, 0x09000018, 0x0E28CC0C, 0x09000017, 0x0E28CD0C, - 0x09000018, 0x0E28CE0C, 0x09000017, 0x0E28CF2D, 0x12D00, 0x0E0C0900, 0x100000, +MsgScript sAnjuMsgScript_SchGiveLunchToGranny[] = { + /* 0x0000 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0003 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0004 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C7), + /* 0x0007 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0008 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x000B 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x000C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C8), + /* 0x000F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0010 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0013 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0014 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C9), + /* 0x0017 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0018 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x001B 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x001C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CA), + /* 0x001F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0020 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0023 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0024 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CB), + /* 0x0027 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0028 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x002B 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x002C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CC), + /* 0x002F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0030 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0033 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0034 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CD), + /* 0x0037 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0038 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x003B 0x01 */ MSCRIPT_FOCUS_TO_SELF(), + /* 0x003C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CE), + /* 0x003F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0040 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0043 0x01 */ MSCRIPT_FOCUS_TO_CHILD(), + /* 0x0044 0x03 */ MSCRIPT_BEGIN_TEXT(0x28CF), + /* 0x0047 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x004A 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJUS_GRANDMOTHER), + /* 0x004D 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x004E 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0051 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_ReceptionistDay1[0x37] = { - 0x220B0000, 0x69002020, 0x64004B, 0x1000B700, 0x370100AA, 0x370200, 0x550E28A0, 0x0C090000, - 0x0F28A80C, 0x05000000, 0x30000030, 0x0E28A90C, 0x0F28AA0C, 0x0F28AB0C, 0x120600A0, 0x1300, - 0xA02F0000, 0x2E2D0014, 0x0C114B10, 0x0700000E, 0x28AD2D00, 0x010C2400, 0x41161031, 0x0E28A30C, - 0x0900000F, 0x28A52D00, 0x010C1137, 0x01100020, 0x2000340E, 0x28A00C09, 0xF28, 0xA10C0500, - 0xF00, 0x300E28, 0xA20C0900, 0xF28A3, 0x0C190008, 0x310E28A4, 0x0C090000, 0x0F28A52D, - 0x10C11, 0x20201023, 0x400012, 0x0E28A00C, 0x0900000F, 0x28A62D00, 0x010C2400, 0x40100E28, - 0xA72D0001, 0x0C102300, 0x41000B0E, 0x28AC2D00, 0x010C2400, 0x41100E28, 0xAD0C1000, +MsgScript sAnjuMsgScript_ReceptionistDay1[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_TIME_LEQ(0x0B, 0x00, 0x006E - 0x0005), + /* 0x0005 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x20, 0x20, 0x006E - 0x000A), + /* 0x000A 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x4B, 0x10, 0x00C6 - 0x000F), + /* 0x000F 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x37, 0x01, 0x00BE - 0x0014), + /* 0x0014 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x37, 0x02, 0x006E - 0x0019), + /* 0x0019 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A0), + /* 0x001C 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x001D 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0020 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A8), + /* 0x0023 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0024 0x07 */ MSCRIPT_BRANCH_ON_TEXT_CHOICE(0x0, 0x005B - 0x002B, 0x0), + /* 0x002B 0x01 */ MSCRIPT_PLAY_DECIDE(), + /* 0x002C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A9), + /* 0x002F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0030 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28AA), + /* 0x0033 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0034 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28AB), + /* 0x0037 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0038 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0039 0x05 */ MSCRIPT_OFFER_ITEM(GI_ROOM_KEY, 0x0), + /* 0x003E 0x03 */ MSCRIPT_COLLECT_SET(0x00A0), + /* 0x0041 0x03 */ MSCRIPT_JUMP_3(0x0), + /* 0x0044 0x01 */ MSCRIPT_CMD46(), + /* 0x0045 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_RECEIVED_ROOM_KEY), + /* 0x0048 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0049 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x4B, 0x10), + /* 0x004C 0x03 */ MSCRIPT_CMD07(0x0), + /* 0x004F 0x03 */ MSCRIPT_BEGIN_TEXT(0x28AD), + /* 0x0052 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0055 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0056 0x03 */ MSCRIPT_SET_SWITCH_FLAG(0x0041), + /* 0x0059 0x01 */ MSCRIPT_CMD22(), + /* 0x005A 0x01 */ MSCRIPT_DONE(), + + /* 0x005B 0x01 */ MSCRIPT_PLAY_CANCEL(), + /* 0x005C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A3), + /* 0x005F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0060 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0063 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A5), + /* 0x0066 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0069 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x006A 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x01), + /* 0x006D 0x01 */ MSCRIPT_DONE(), + + /* 0x006E 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x20, 0x20, 0x00A7 - 0x0073), + /* 0x0073 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A0), + /* 0x0076 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0077 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x007A 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A1), + /* 0x007D 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x007E 0x07 */ MSCRIPT_BRANCH_ON_TEXT_CHOICE(0x0, 0x0094 - 0x0085, 0x0), + /* 0x0085 0x01 */ MSCRIPT_PLAY_DECIDE(), + /* 0x0086 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A2), + /* 0x0089 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x008A 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x008D 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A3), + /* 0x0090 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0091 0x03 */ MSCRIPT_JUMP(0x009C - 0x0094), + /* 0x0094 0x01 */ MSCRIPT_PLAY_CANCEL(), + /* 0x0095 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A4), + /* 0x0098 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0099 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x009C 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A5), + /* 0x009F 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x00A2 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00A3 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x20, 0x20), + /* 0x00A6 0x01 */ MSCRIPT_DONE(), + + /* 0x00A7 0x05 */ MSCRIPT_BRANCH_ON_SWITCH_FLAG(0x0040, 0x00BE - 0x00AC), + /* 0x00AC 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A0), + /* 0x00AF 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00B0 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x00B3 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28A6), + /* 0x00B6 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x00B9 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00BA 0x03 */ MSCRIPT_SET_SWITCH_FLAG(0x0040), + /* 0x00BD 0x01 */ MSCRIPT_DONE(), + + /* 0x00BE 0x03 */ MSCRIPT_BEGIN_TEXT(0x28A7), + /* 0x00C1 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x00C4 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00C5 0x01 */ MSCRIPT_DONE(), + + /* 0x00C6 0x05 */ MSCRIPT_BRANCH_ON_SWITCH_FLAG(0x0041, 0x00D6 - 0x00CB), + /* 0x00CB 0x03 */ MSCRIPT_BEGIN_TEXT(0x28AC), + /* 0x00CE 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x00D1 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00D2 0x03 */ MSCRIPT_SET_SWITCH_FLAG(0x0041), + /* 0x00D5 0x01 */ MSCRIPT_DONE(), + + /* 0x00D6 0x03 */ MSCRIPT_BEGIN_TEXT(0x28AD), + /* 0x00D9 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x00DA 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_InnCloseTime[3] = { 0x0E18852D, 0x10C12, 0x10000000 }; - -s32 sAnjuMsgScript_80B58944[2] = { 0x0E28AF2D, 0x10C10 }; - -s32 sAnjuMsgScript_80B5894C[2] = { 0x0E28C12D, 0x10C10 }; - -s32 sAnjuMsgScript_SchCooking[0xB] = { - 0x350100, 0x1C0E28C3, 0x0C0F28C4, 0x0C150900, 0xE28C5, 0x2D00010C, - 0x15090000, 0x11350112, 0x100E28C2, 0x2D00010C, 0x10000000, +MsgScript sAnjuMsgScript_InnCloseTime[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x1885), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0008 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_80B58980[2] = { 0x0E28C62D, 0x10C10 }; - -s32 sAnjuMsgScript_SchSweeping[3] = { 0x0E28F70C, 0x0F28F82D, 0x10C10 }; - -s32 sAnjuMsgScript_80B58994[2] = { 0x0E28F82D, 0x10C10 }; - -s32 sAnjuMsgScript_SchRanch[4] = { 0x0E28F90C, 0x0F28FA0C, 0x0F28FB2D, 0x10C10 }; - -s32 sAnjuMsgScript_SchMidnightMeeting[0x14] = { - 0x0E28D70C, 0x0F28D80C, 0x0F28D90C, 0x0F28DA0C, 0x0F28DB0C, 0x05000700, 0x731, - 0x0E28D919, -0x16CFF2, 0x28DC0C11, 0x32201132, 0x10120600, 0xAA000013, 0xAA2F00, - 0x2E2D00, 0x012D0017, 0x2D00160C, 0x0700000E, 0x28DE0C15, 0x09000010, +MsgScript sAnjuMsgScript_80B58944[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28AF), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), }; -// Surprised: nevermind -s32 sAnjuMsgScript_80B589FC[2] = { 0x0E28D62D, 0x10C10 }; - -s32 sAnjuMsgScript_DekuDefault[8] = { - 0x522000, 0x100E294F, 0x0C0F2950, 0x2D00010C, 0x12115220, 0x100E2951, 0x2D00010C, 0x12100000, +MsgScript sAnjuMsgScript_80B5894C[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C1), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_SchLaundryPoolDeku[6] = { 0x524000, 0x0B0E2952, 0x2D00010C, 0x11524010, 0x0E29532D, 0x10C10 }; +MsgScript sAnjuMsgScript_SchCooking[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x35, 0x01, 0x0021 - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C3), + /* 0x0008 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0009 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28C4), + /* 0x000C 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000D 0x01 */ MSCRIPT_PAUSE(), + /* 0x000E 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0011 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C5), + /* 0x0014 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0017 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0018 0x01 */ MSCRIPT_PAUSE(), + /* 0x0019 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x001C 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x35, 0x01), + /* 0x001F 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0020 0x01 */ MSCRIPT_DONE(), -s32 sAnjuMsgScript_Receptionist[2] = { 0x0E28E02D, 0x10C10 }; - -s32 sAnjuMsgScript_80B58A44[0x1E] = { - 0x320800, 0x080E28D5, 0x2D00010C, 0x10003220, 0x80E28, -0x2BD2FFFF, 0x0C100033, 0x01001A25, - 0x30001D, 0x27000300, 0x080E28E3, 0x2D00010C, 0x100E28E2, 0x2D00010C, 0x100E28E1, 0x2D00010C, - 0x100E28E4, 0x0C0E00FF, 0x1E003600, 0x0E000000, 0x0C2C28E7, 0x0C2F0000, 0x2D00010C, 0x1012102C, - 0x28E50C2F, 0xC2A, 0x300F28, -0x19D2FFFF, 0x2D001A0C, 0x11330110, + /* 0x0021 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C2), + /* 0x0024 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0027 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0028 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_80B58ABC[2] = { 0x0E28D02D, 0x10C10 }; - -s32 sAnjuMsgScript_80B58AC4[9] = { - 0x320800, 0x160E28D1, 0x0C0F28D2, 0x0C0F28D3, 0x2D00152D, 0x10C11, 0x3208100E, 0x28D32D00, 0x010C1000, +MsgScript sAnjuMsgScript_80B58980[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28C6), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_SchWaitingForKafei[3] = { 0x0E28DF2D, 0x10C12, 0x10000000 }; - -s32 sAnjuMsgScript_SchLaundryPoolDefault[0x12] = { - 0x372000, 0x29003208, 0x2A0E28, -0x17F3EAF7, 0xE28, -0x16F3F0D8, -0x15F3EAF7, 0xE28, -0x14F3F0D8, - -0x13D2FFFF, 0x0C121137, 0x20100E28, -0x13F3EDF0, 0x0E28EE0C, 0x0F28EB0C, 0x0F28EC2D, 0x10C12, 0x11372010, +MsgScript sAnjuMsgScript_SchSweeping[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28F7), + /* 0x0003 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0004 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28F8), + /* 0x0007 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x000A 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000B 0x01 */ MSCRIPT_DONE(), }; -s32 sAnjuMsgScript_SchLaundryPoolKafeiMask[0x10] = { - 0x372000, 0x21003208, 0x220E28, -0x17F3F0D8, -0x12F3EAF7, 0xE28, -0x14F3F0D8, -0x13D2FFFF, - 0x0C121137, 0x20100E28, -0x13F3EDF0, 0x0E28EE0C, 0x0F28EB0C, 0x0F28EC2D, 0x10C12, 0x11372010, +MsgScript sAnjuMsgScript_80B58994[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28F8), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), }; -// Anju says the Inn is full and tell the player to tell that to his mother -s32 sAnjuMsgScript_80B58B7C[3] = { 0x0E29512D, 0x10C12, 0x10000000 }; +MsgScript sAnjuMsgScript_SchRanch[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28F9), + /* 0x0003 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0004 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28FA), + /* 0x0007 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0008 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28FB), + /* 0x000B 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x000E 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000F 0x01 */ MSCRIPT_DONE(), +}; -// Tells player that they should talk in the kitchen instead -s32 sAnjuMsgScript_80B58B88[2] = { 0x0E29612D, 0x10C10 }; +MsgScript sAnjuMsgScript_SchMidnightMeeting[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D7), + /* 0x0003 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0004 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28D8), + /* 0x0007 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0008 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28D9), + /* 0x000B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000C 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28DA), + /* 0x000F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0010 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28DB), + /* 0x0013 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0014 0x07 */ MSCRIPT_BRANCH_ON_TEXT_CHOICE(0x0022 - 0x001B, 0x0, 0x0022 - 0x001B), + /* 0x001B 0x01 */ MSCRIPT_PLAY_CANCEL(), + /* 0x001C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D9), + /* 0x001F 0x03 */ MSCRIPT_JUMP(0x000B - 0x0022), -s32 sAnjuMsgScript_SchWithKafei[3] = { 0x0E291B2D, 0x10C12, 0x10000000 }; + /* 0x0022 0x01 */ MSCRIPT_PLAY_DECIDE(), + /* 0x0023 0x03 */ MSCRIPT_BEGIN_TEXT(0x28DC), + /* 0x0026 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0027 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x32, 0x20), + /* 0x002A 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x32, 0x10), + /* 0x002D 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x002E 0x05 */ MSCRIPT_OFFER_ITEM(GI_LETTER_TO_KAFEI, 0x0), + /* 0x0033 0x03 */ MSCRIPT_COLLECT_SET(0x00AA), + /* 0x0036 0x03 */ MSCRIPT_JUMP_3(0x0), + /* 0x0039 0x01 */ MSCRIPT_CMD46(), + /* 0x003A 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x003D 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_RECEIVED_LETTER_TO_KAFEI), + /* 0x0040 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_PROMISED_TO_MEET_KAFEI), + /* 0x0043 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0044 0x03 */ MSCRIPT_CMD07(0x0), + /* 0x0047 0x03 */ MSCRIPT_BEGIN_TEXT(0x28DE), + /* 0x004A 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x004B 0x01 */ MSCRIPT_PAUSE(), + /* 0x004C 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x004F 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B589FC[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D6), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_DekuDefault[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x52, 0x20, 0x0015 - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BEGIN_TEXT(0x294F), + /* 0x0008 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0009 0x03 */ MSCRIPT_CONTINUE_TEXT(0x2950), + /* 0x000C 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x000F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0010 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0011 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x52, 0x20), + /* 0x0014 0x01 */ MSCRIPT_DONE(), + + /* 0x0015 0x03 */ MSCRIPT_BEGIN_TEXT(0x2951), + /* 0x0018 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x001B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x001C 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x001D 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_SchLaundryPoolDeku[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x52, 0x40, 0x0010 - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BEGIN_TEXT(0x2952), + /* 0x0008 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x000B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000C 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x52, 0x40), + /* 0x000F 0x01 */ MSCRIPT_DONE(), + + /* 0x0010 0x03 */ MSCRIPT_BEGIN_TEXT(0x2953), + /* 0x0013 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0016 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0017 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_Receptionist[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E0), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B58A44[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x32, 0x08, 0x000D - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D5), + /* 0x0008 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x000B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000C 0x01 */ MSCRIPT_DONE(), + + /* 0x000D 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x32, 0x20, 0x001A - 0x0012), + /* 0x0012 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D4), + /* 0x0015 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0018 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0019 0x01 */ MSCRIPT_DONE(), + + /* 0x001A 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x33, 0x01, 0x0039 - 0x001F), + /* 0x001F 0x05 */ MSCRIPT_BRANCH_ON_ITEM(ITEM_PENDANT_OF_MEMORIES, 0x0041 - 0x0024), + /* 0x0024 0x05 */ MSCRIPT_BRANCH_IF_DAY(0x0003, 0x0031 - 0x0029), + /* 0x0029 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E3), + /* 0x002C 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x002F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0030 0x01 */ MSCRIPT_DONE(), + + /* 0x0031 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E2), + /* 0x0034 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0037 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0038 0x01 */ MSCRIPT_DONE(), + + /* 0x0039 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E1), + /* 0x003C 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x003F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0040 0x01 */ MSCRIPT_DONE(), + + /* 0x0041 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E4), + /* 0x0044 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0045 0x03 */ MSCRIPT_BEGIN_TEXT(0x00FF), + /* 0x0048 0x09 */ MSCRIPT_BRANCH_ON_ITEMACTION(0x0036, 0x005F - 0x0051, 0x0, 0x005D - 0x0051), + /* 0x0051 0x03 */ MSCRIPT_CMD44(0x28E7), + /* 0x0054 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0055 0x03 */ MSCRIPT_JUMP_3(0x0), + /* 0x0058 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x005B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x005C 0x01 */ MSCRIPT_DONE(), + + /* 0x005D 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x005E 0x01 */ MSCRIPT_DONE(), + + /* 0x005F 0x03 */ MSCRIPT_CMD44(0x28E5), + /* 0x0062 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0063 0x03 */ MSCRIPT_JUMP_3(0x0), + /* 0x0066 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0067 0x03 */ MSCRIPT_DEL_ITEM(ITEM_PENDANT_OF_MEMORIES), + /* 0x006A 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28E6), + /* 0x006D 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0070 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_DELIVERED_PENDANT_OF_MEMORIES), + /* 0x0073 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0074 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x33, 0x01), + /* 0x0077 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B58ABC[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D0), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B58AC4[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x32, 0x08, 0x001B - 0x0005), + /* 0x0005 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D1), + /* 0x0008 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0009 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28D2), + /* 0x000C 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000D 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28D3), + /* 0x0010 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_PROMISED_MIDNIGHT_MEETING), + /* 0x0013 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0016 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0017 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x32, 0x08), + /* 0x001A 0x01 */ MSCRIPT_DONE(), + + /* 0x001B 0x03 */ MSCRIPT_BEGIN_TEXT(0x28D3), + /* 0x001E 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0021 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0022 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_SchWaitingForKafei[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x28DF), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0008 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_SchLaundryPoolDefault[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x37, 0x20, 0x002E - 0x0005), + /* 0x0005 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x32, 0x08, 0x0034 - 0x000A), + /* 0x000A 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E8), + /* 0x000D 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000E 0x01 */ MSCRIPT_PAUSE(), + /* 0x000F 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0012 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E9), + /* 0x0015 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0016 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EA), + /* 0x0019 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x001A 0x01 */ MSCRIPT_PAUSE(), + /* 0x001B 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x001E 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EB), + /* 0x0021 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0022 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EC), + /* 0x0025 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0028 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0029 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x002A 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x20), + /* 0x002D 0x01 */ MSCRIPT_DONE(), + + /* 0x002E 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EC), + /* 0x0031 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0032 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0033 0x01 */ MSCRIPT_DONE(), + + /* 0x0034 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EE), + /* 0x0037 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0038 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EB), + /* 0x003B 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x003C 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EC), + /* 0x003F 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0042 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0043 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0044 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x20), + /* 0x0047 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_SchLaundryPoolKafeiMask[] = { + /* 0x0000 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x37, 0x20, 0x0026 - 0x0005), + /* 0x0005 0x05 */ MSCRIPT_BRANCH_ON_WEEK_EVENT_REG(0x32, 0x08, 0x002C - 0x000A), + /* 0x000A 0x03 */ MSCRIPT_BEGIN_TEXT(0x28E8), + /* 0x000D 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x000E 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28ED), + /* 0x0011 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0012 0x01 */ MSCRIPT_PAUSE(), + /* 0x0013 0x03 */ MSCRIPT_BRANCH_ON_CALLBACK_OPTIONAL(0x0), + /* 0x0016 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EB), + /* 0x0019 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x001A 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EC), + /* 0x001D 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0020 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0021 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0022 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x20), + /* 0x0025 0x01 */ MSCRIPT_DONE(), + + /* 0x0026 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EC), + /* 0x0029 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x002A 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x002B 0x01 */ MSCRIPT_DONE(), + + /* 0x002C 0x03 */ MSCRIPT_BEGIN_TEXT(0x28EE), + /* 0x002F 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0030 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EB), + /* 0x0033 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0034 0x03 */ MSCRIPT_CONTINUE_TEXT(0x28EC), + /* 0x0037 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x003A 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x003B 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x003C 0x03 */ MSCRIPT_WEEK_EVENT_REG_SET(0x37, 0x20), + /* 0x003F 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B58B7C[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x2951), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0008 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_80B58B88[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x2961), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_DONE(), +}; + +MsgScript sAnjuMsgScript_SchWithKafei[] = { + /* 0x0000 0x03 */ MSCRIPT_BEGIN_TEXT(0x291B), + /* 0x0003 0x03 */ MSCRIPT_NOTEBOOK_EVENT(BOMBERS_NOTEBOOK_EVENT_MET_ANJU), + /* 0x0006 0x01 */ MSCRIPT_AWAIT_TEXT(), + /* 0x0007 0x01 */ MSCRIPT_CLOSE_TEXT(), + /* 0x0008 0x01 */ MSCRIPT_DONE(), +}; ActorInit En_An_InitVars = { /**/ ACTOR_EN_AN,