diff --git a/include/variables.h b/include/variables.h index 233b56e1e2..5cb27e121f 100644 --- a/include/variables.h +++ b/include/variables.h @@ -176,7 +176,10 @@ extern s32 gPauseMenuHeldButtons; extern s32 gPauseMenuPressedButtons; extern s32 gPauseMenuCurrentDescString; extern s32* gPauseMenuCurrentDescIconScript; +extern s32 D_802700D0; extern s8 gPauseMenuCurrentTab; +extern char D_802700D[8]; +extern s32 D_802700E0; extern s32 gPauseMenuCommonIconIDs[8]; extern s32 gPauseMenuTabIconIDs[6]; extern s32 gPauseMenuStrings[348]; diff --git a/src/main_loop.c b/src/main_loop.c index 1817e61786..4452e6826d 100644 --- a/src/main_loop.c +++ b/src/main_loop.c @@ -38,7 +38,7 @@ Gfx D_80074230[] = { }; // BSS -extern s32 timeFreezeMode BSS; +extern BSS s32 timeFreezeMode; extern s16 D_8009A690; diff --git a/src/pause/135EE0.c b/src/pause/135EE0.c index 1a4f989155..d3b2eb4d5f 100644 --- a/src/pause/135EE0.c +++ b/src/pause/135EE0.c @@ -1,7 +1,17 @@ #include "common.h" +BSS s32 gPauseMenuHeldButtons; +BSS s32 gPauseMenuPressedButtons; +BSS s32 gPauseMenuCurrentDescString; +BSS s32* gPauseMenuCurrentDescIconScript; +BSS s32 D_802700D0; +BSS s8 gPauseMenuCurrentTab; +BSS char D_802700D[8]; +BSS s32 D_802700E0; +#define BSS_END 0x802700E4 + // TODO this is the bss for the whole segment - break it up -static char bss[0x8580]; +static char bss[0x80278640 - BSS_END]; // Need data segment and vars declared above #ifdef NON_MATCHING diff --git a/src/world/area_arn/arn_03/events.c b/src/world/area_arn/arn_03/events.c index 78dd1dc233..99963731c8 100644 --- a/src/world/area_arn/arn_03/events.c +++ b/src/world/area_arn/arn_03/events.c @@ -91,7 +91,209 @@ NpcSettings N(npcSettings_80241C3C) = { .level = 99, }; -s32** N(D_80241C68_BE09F8) = NULL; +#include "world/common/UnkNpcAIFunc24.inc.c" + +#include "world/common/UnkFunc13.inc.c" + +#include "world/common/UnkNpcAIFunc1.inc.c" + +#include "world/common/UnkFunc14.inc.c" + +#include "world/common/UnkNpcAIFunc25.inc.c" + +#include "world/common/NpcJumpFunc2.inc.c" + +#include "world/common/NpcJumpFunc.inc.c" + +#include "world/common/UnkNpcAIFunc13.inc.c" + +#include "world/common/UnkFunc15.inc.c" + +#include "world/common/UnkNpcDurationFlagFunc.inc.c" + +#include "world/common/UnkFunc16.inc.c" + +ApiStatus N(func_80240B94_BDF924)(ScriptInstance* script, s32 isInitialCall) { + Enemy* enemy = script->owner1.enemy; + Npc* npc = get_npc_unsafe(enemy->npcID); + Bytecode* args = script->ptrReadPos; + EnemyTerritoryThing territory; + EnemyTerritoryThing* territoryPtr = &territory; + NpcAISettings* npcAISettings = (NpcAISettings*)get_variable(script, *args++); + f32 posX, posY, posZ, posW; + + territory.unk_00 = 0; + territory.shape = enemy->territory->patrol.detectShape; + territory.pointX = enemy->territory->patrol.detect.x; + territory.pointZ = enemy->territory->patrol.detect.z; + territory.sizeX = enemy->territory->patrol.detectSizeX; + territory.sizeZ = enemy->territory->patrol.detectSizeZ; + territory.unk_18 = 65.0f; + territory.unk_1C = 0; + + if (isInitialCall || enemy->unk_B0 & 4) { + script->functionTemp[0] = 0; + npc->duration = 0; + npc->currentAnim.w = enemy->animList[0]; + npc->flags &= ~0x800; + if (!enemy->territory->patrol.isFlying) { + npc->flags = (npc->flags | 0x200) & ~8; + } else { + npc->flags = (npc->flags & ~0x200) | 8; + } + + if (enemy->unk_B0 & 4) { + script->functionTemp[0] = 99; + script->functionTemp[1] = 0; + enemy->unk_B0 &= ~4; + } else if (enemy->flags & 0x40000000) { + script->functionTemp[0] = 12; + enemy->flags &= ~0x40000000; + } + + posX = npc->pos.x; + posY = npc->pos.y + npc->collisionHeight; + posZ = npc->pos.z; + posW = 100.0f; + + if (npc_raycast_down_sides(npc->unk_80, &posX, &posY, &posZ, &posW)) { + npc->pos.y = posY; + } + } + + switch (script->functionTemp[0]) { + case 0: + N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr); + case 1: + N(UnkFunc13)(script, npcAISettings, territoryPtr); + break; + case 2: + N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr); + case 3: + N(UnkFunc14)(script, npcAISettings, territoryPtr); + break; + case 4: + N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr); + break; + case 10: + N(NpcJumpFunc2)(script, npcAISettings, territoryPtr); + case 11: + N(NpcJumpFunc)(script, npcAISettings, territoryPtr); + break; + case 12: + N(UnkNpcAIFunc13)(script, npcAISettings, territoryPtr); + case 13: + N(UnkFunc15)(script, npcAISettings, territoryPtr); + break; + case 14: + N(UnkNpcDurationFlagFunc)(script, npcAISettings, territoryPtr); + break; + case 15: + N(UnkFunc16)(script, npcAISettings, territoryPtr); + break; + case 99: + func_8004A73C(script); + } + return ApiStatus_BLOCK; +} + +void N(func_80240E90_BDFC20)(ScriptInstance* script, NpcAISettings* aiSettings, EnemyTerritoryThing* territory) { + Enemy* enemy = script->owner1.enemy; + Npc* npc = get_npc_unsafe(enemy->npcID); + f32 posX, posY, posZ, posW; + f32 temp_f20; + f32 temp_f22; + + posX = npc->pos.x; + posZ = npc->pos.z; + temp_f22 = (*(enemy->territory->patrol.points + script->functionTemp[2])).x; + temp_f20 = (*(enemy->territory->patrol.points + script->functionTemp[2])).z; + + npc->yaw = atan2(posX, posZ, temp_f22, temp_f20); + npc_move_heading(npc, npc->moveSpeed, npc->yaw); + + posX = npc->pos.x; + posY = npc->pos.y + (*(enemy->territory->patrol.points + script->functionTemp[2])).y; + posZ = npc->pos.z; + posW = 1000.0f; + npc_raycast_down_sides(npc->unk_80, &posX, &posY, &posZ, &posW); + posY += (*(enemy->territory->patrol.points + script->functionTemp[2])).y; + posW = posY - npc->pos.y; + if (posW > 2.0) { + npc->pos.y += 2.0; + } else if (posW < -2.0) { + npc->pos.y -= 2.0; + } else { + npc->pos.y = posY; + } + + posW = dist2D(npc->pos.x, npc->pos.z, temp_f22, temp_f20); + if (!(posW > npc->moveSpeed)) { + script->functionTemp[0] = 2; + } +} + +void N(func_80241068_BDFDF8)(ScriptInstance* script, NpcAISettings* aiSettings, EnemyTerritoryThing* territory) { + Enemy* enemy = script->owner1.enemy; + Npc* npc = get_npc_unsafe(enemy->npcID); + + npc->duration--; + if (npc->duration < 0) { + script->functionTemp[1]--; + if (script->functionTemp[1] >= 0) { + npc->yaw = clamp_angle(npc->yaw + 180.0f); + npc->duration = aiSettings->waitTime / 2 + rand_int(aiSettings->waitTime / 2 + 1); + } else { + script->functionTemp[0] = 4; + npc->currentAnim.w = enemy->animList[0]; + } + } +} + +ApiStatus N(func_8024113C_BDFECC)(ScriptInstance* script, s32 isInitialCall) { + Enemy* enemy = script->owner1.enemy; + Bytecode* args = script->ptrReadPos; + Npc* npc = get_npc_unsafe(enemy->npcID); + EnemyTerritoryThing territory; + EnemyTerritoryThing* territoryPtr = &territory; + NpcAISettings* npcAISettings = (NpcAISettings*)get_variable(script, *args++); + + territory.unk_00 = 0; + territory.shape = enemy->territory->patrol.detectShape; + territory.pointX = enemy->territory->patrol.detect.x; + territory.pointZ = enemy->territory->patrol.detect.z; + territory.sizeX = enemy->territory->patrol.detectSizeX; + territory.sizeZ = enemy->territory->patrol.detectSizeZ; + territory.unk_18 = 100.0f; + territory.unk_1C = 0; + + if (isInitialCall) { + script->functionTemp[0] = 0; + npc->duration = 0; + npc->flags &= ~0x800; + } + + switch (script->functionTemp[0]) { + case 0: + N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr); + case 1: + N(func_80240E90_BDFC20)(script, npcAISettings, territoryPtr); + break; + case 2: + N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr); + case 3: + N(func_80241068_BDFDF8)(script, npcAISettings, territoryPtr); + break; + case 4: + N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr); + break; + } + + enemy->varTable[0] = npc->pos.y; + return ApiStatus_BLOCK; +} + +#include "world/common/StashVars.inc.c" Script N(80241C6C) = SCRIPT({ ShowGotItem(SI_VAR(0), 1, 0); @@ -857,227 +1059,6 @@ Script N(makeEntities) = SCRIPT({ MakeEntity(0x802E9A18, 250, 237, 125, 0, MAKE_ENTITY_END); }); -#include "world/common/UnkNpcAIFunc24.inc.c" - -#include "world/common/UnkFunc13.inc.c" - -#include "world/common/UnkNpcAIFunc1.inc.c" - -#include "world/common/UnkFunc14.inc.c" - -#include "world/common/UnkNpcAIFunc25.inc.c" - -#include "world/common/NpcJumpFunc2.inc.c" - -#include "world/common/NpcJumpFunc.inc.c" - -#include "world/common/UnkNpcAIFunc13.inc.c" - -#include "world/common/UnkFunc15.inc.c" - -#include "world/common/UnkNpcDurationFlagFunc.inc.c" - -#include "world/common/UnkFunc16.inc.c" - -ApiStatus N(func_80240B94_BDF924)(ScriptInstance* script, s32 isInitialCall) { - Enemy* enemy = script->owner1.enemy; - Npc* npc = get_npc_unsafe(enemy->npcID); - Bytecode* args = script->ptrReadPos; - EnemyTerritoryThing territory; - EnemyTerritoryThing* territoryPtr = &territory; - NpcAISettings* npcAISettings = (NpcAISettings*)get_variable(script, *args++); - f32 posX, posY, posZ, posW; - - territory.unk_00 = 0; - territory.shape = enemy->territory->patrol.detectShape; - territory.pointX = enemy->territory->patrol.detect.x; - territory.pointZ = enemy->territory->patrol.detect.z; - territory.sizeX = enemy->territory->patrol.detectSizeX; - territory.sizeZ = enemy->territory->patrol.detectSizeZ; - territory.unk_18 = 65.0f; - territory.unk_1C = 0; - - if (isInitialCall || enemy->unk_B0 & 4) { - script->functionTemp[0] = 0; - npc->duration = 0; - npc->currentAnim.w = enemy->animList[0]; - npc->flags &= ~0x800; - if (!enemy->territory->patrol.isFlying) { - npc->flags = (npc->flags | 0x200) & ~8; - } else { - npc->flags = (npc->flags & ~0x200) | 8; - } - - if (enemy->unk_B0 & 4) { - script->functionTemp[0] = 99; - script->functionTemp[1] = 0; - enemy->unk_B0 &= ~4; - } else if (enemy->flags & 0x40000000) { - script->functionTemp[0] = 12; - enemy->flags &= ~0x40000000; - } - - posX = npc->pos.x; - posY = npc->pos.y + npc->collisionHeight; - posZ = npc->pos.z; - posW = 100.0f; - - if (npc_raycast_down_sides(npc->unk_80, &posX, &posY, &posZ, &posW)) { - npc->pos.y = posY; - } - } - - switch (script->functionTemp[0]) { - case 0: - N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr); - case 1: - N(UnkFunc13)(script, npcAISettings, territoryPtr); - break; - case 2: - N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr); - case 3: - N(UnkFunc14)(script, npcAISettings, territoryPtr); - break; - case 4: - N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr); - break; - case 10: - N(NpcJumpFunc2)(script, npcAISettings, territoryPtr); - case 11: - N(NpcJumpFunc)(script, npcAISettings, territoryPtr); - break; - case 12: - N(UnkNpcAIFunc13)(script, npcAISettings, territoryPtr); - case 13: - N(UnkFunc15)(script, npcAISettings, territoryPtr); - break; - case 14: - N(UnkNpcDurationFlagFunc)(script, npcAISettings, territoryPtr); - break; - case 15: - N(UnkFunc16)(script, npcAISettings, territoryPtr); - break; - case 99: - func_8004A73C(script); - } - return ApiStatus_BLOCK; -} - -void N(func_80240E90_BDFC20)(ScriptInstance* script, NpcAISettings* aiSettings, EnemyTerritoryThing* territory) { - Enemy* enemy = script->owner1.enemy; - Npc* npc = get_npc_unsafe(enemy->npcID); - f32 posX, posY, posZ, posW; - f32 temp_f20; - f32 temp_f22; - - posX = npc->pos.x; - posZ = npc->pos.z; - temp_f22 = (*(enemy->territory->patrol.points + script->functionTemp[2])).x; - temp_f20 = (*(enemy->territory->patrol.points + script->functionTemp[2])).z; - - npc->yaw = atan2(posX, posZ, temp_f22, temp_f20); - npc_move_heading(npc, npc->moveSpeed, npc->yaw); - - posX = npc->pos.x; - posY = npc->pos.y + (*(enemy->territory->patrol.points + script->functionTemp[2])).y; - posZ = npc->pos.z; - posW = 1000.0f; - npc_raycast_down_sides(npc->unk_80, &posX, &posY, &posZ, &posW); - posY += (*(enemy->territory->patrol.points + script->functionTemp[2])).y; - posW = posY - npc->pos.y; - if (posW > 2.0) { - npc->pos.y += 2.0; - } else if (posW < -2.0) { - npc->pos.y -= 2.0; - } else { - npc->pos.y = posY; - } - - posW = dist2D(npc->pos.x, npc->pos.z, temp_f22, temp_f20); - if (!(posW > npc->moveSpeed)) { - script->functionTemp[0] = 2; - } -} - -void N(func_80241068_BDFDF8)(ScriptInstance* script, NpcAISettings* aiSettings, EnemyTerritoryThing* territory) { - Enemy* enemy = script->owner1.enemy; - Npc* npc = get_npc_unsafe(enemy->npcID); - - npc->duration--; - if (npc->duration < 0) { - script->functionTemp[1]--; - if (script->functionTemp[1] >= 0) { - npc->yaw = clamp_angle(npc->yaw + 180.0f); - npc->duration = aiSettings->waitTime / 2 + rand_int(aiSettings->waitTime / 2 + 1); - } else { - script->functionTemp[0] = 4; - npc->currentAnim.w = enemy->animList[0]; - } - } -} - -ApiStatus N(func_8024113C_BDFECC)(ScriptInstance* script, s32 isInitialCall) { - Enemy* enemy = script->owner1.enemy; - Bytecode* args = script->ptrReadPos; - Npc* npc = get_npc_unsafe(enemy->npcID); - EnemyTerritoryThing territory; - EnemyTerritoryThing* territoryPtr = &territory; - NpcAISettings* npcAISettings = (NpcAISettings*)get_variable(script, *args++); - - territory.unk_00 = 0; - territory.shape = enemy->territory->patrol.detectShape; - territory.pointX = enemy->territory->patrol.detect.x; - territory.pointZ = enemy->territory->patrol.detect.z; - territory.sizeX = enemy->territory->patrol.detectSizeX; - territory.sizeZ = enemy->territory->patrol.detectSizeZ; - territory.unk_18 = 100.0f; - territory.unk_1C = 0; - - if (isInitialCall) { - script->functionTemp[0] = 0; - npc->duration = 0; - npc->flags &= ~0x800; - } - - switch (script->functionTemp[0]) { - case 0: - N(UnkNpcAIFunc24)(script, npcAISettings, territoryPtr); - case 1: - N(func_80240E90_BDFC20)(script, npcAISettings, territoryPtr); - break; - case 2: - N(UnkNpcAIFunc1)(script, npcAISettings, territoryPtr); - case 3: - N(func_80241068_BDFDF8)(script, npcAISettings, territoryPtr); - break; - case 4: - N(UnkNpcAIFunc25)(script, npcAISettings, territoryPtr); - break; - } - - enemy->varTable[0] = npc->pos.y; - return ApiStatus_BLOCK; -} - -/// Pushes/pops script local variables to D_80241C68_BE09F8 -ApiStatus N(func_802412B0_BE0040)(ScriptInstance* script, s32 isInitialCall) { - s32 i; - - if (N(D_80241C68_BE09F8) == NULL) { - N(D_80241C68_BE09F8) = heap_malloc(16 * sizeof(s32)); - for (i = 0; i < 16; i++) { - N(D_80241C68_BE09F8)[i] = script->varTable[i]; - } - } else { - for (i = 0; i < 16; i++) { - script->varTable[i] = N(D_80241C68_BE09F8)[i]; - } - heap_free(N(D_80241C68_BE09F8)); - N(D_80241C68_BE09F8) = NULL; - } - return ApiStatus_DONE2; -} - #include "world/common/GetItemName.inc.c" #include "world/common/GetNpcCollisionHeight.inc.c" diff --git a/src/world/area_dgb/dgb_06/C3D080.c b/src/world/area_dgb/dgb_06/C3D080.c index 1021804ea2..437d0d7c6a 100644 --- a/src/world/area_dgb/dgb_06/C3D080.c +++ b/src/world/area_dgb/dgb_06/C3D080.c @@ -80,7 +80,7 @@ Script N(main) = SCRIPT({ spawn N(enterSingleDoor_80240474); }); -s32** N(D_80240620_C3D6A0) = NULL; +#include "world/common/StashVars.inc.c" Script N(80240624) = SCRIPT({ group 0; @@ -191,24 +191,6 @@ NpcGroupList N(npcGroupList_80240B44) = { {}, }; -ApiStatus N(func_80240000_C3D080)(ScriptInstance* script, s32 isInitialCall) { - s32 i; - - if (N(D_80240620_C3D6A0) == NULL) { - N(D_80240620_C3D6A0) = heap_malloc(16 * sizeof(s32)); - for (i = 0; i < 16; i++) { - N(D_80240620_C3D6A0)[i] = script->varTable[i]; - } - } else { - for (i = 0; i < 16; i++) { - script->varTable[i] = N(D_80240620_C3D6A0)[i]; - } - heap_free(N(D_80240620_C3D6A0)); - N(D_80240620_C3D6A0) = NULL; - } - return ApiStatus_DONE2; -} - #include "world/common/GetItemName.inc.c" #include "world/common/SomeItemEntityFunc.inc.c" diff --git a/src/world/area_dgb/dgb_12/C4DEF0.c b/src/world/area_dgb/dgb_12/C4DEF0.c index d2eef41b90..d32a820231 100644 --- a/src/world/area_dgb/dgb_12/C4DEF0.c +++ b/src/world/area_dgb/dgb_12/C4DEF0.c @@ -123,7 +123,7 @@ static s32 N(pad_868)[] = { 0x00000000, 0x00000000, }; -s32** N(D_80240870_C4E760) = NULL; +#include "world/common/StashVars.inc.c" Script N(80240874) = SCRIPT({ group 0; @@ -168,24 +168,6 @@ Script N(makeEntities) = SCRIPT({ AssignScript(N(802409BC)); }); -ApiStatus N(func_80240000_C4DEF0)(ScriptInstance* script, s32 isInitialCall) { - s32 i; - - if (N(D_80240870_C4E760) == NULL) { - N(D_80240870_C4E760) = heap_malloc(16 * sizeof(s32)); - for (i = 0; i < 16; i++) { - N(D_80240870_C4E760)[i] = script->varTable[i]; - } - } else { - for (i = 0; i < 16; i++) { - script->varTable[i] = N(D_80240870_C4E760)[i]; - } - heap_free(N(D_80240870_C4E760)); - N(D_80240870_C4E760) = NULL; - } - return ApiStatus_DONE2; -} - #include "world/common/GetItemName.inc.c" #include "world/common/SomeItemEntityFunc.inc.c" diff --git a/src/world/area_dgb/dgb_18/C55F40.c b/src/world/area_dgb/dgb_18/C55F40.c index 149f2b77fe..0ea7a383c7 100644 --- a/src/world/area_dgb/dgb_18/C55F40.c +++ b/src/world/area_dgb/dgb_18/C55F40.c @@ -639,7 +639,7 @@ static s32 N(pad_36D8)[] = { 0x00000000, 0x00000000, }; -s32** N(D_802436E0_C59620) = NULL; +s32** N(D_802436E0_C59620) = NULL; // StashVars.inc.c data Script N(802436E4) = SCRIPT({ group 0; diff --git a/src/world/area_dgb/dgb_18/C56EF0.c b/src/world/area_dgb/dgb_18/C56EF0.c index af351bfb0a..9d6bb98a36 100644 --- a/src/world/area_dgb/dgb_18/C56EF0.c +++ b/src/world/area_dgb/dgb_18/C56EF0.c @@ -1,5 +1,6 @@ #include "dgb_18.h" +// TODO: StashVars.inc.c ApiStatus N(func_80240FB0_C56EF0)(ScriptInstance* script, s32 isInitialCall) { s32 i; diff --git a/src/world/area_flo/flo_13/CC3850.c b/src/world/area_flo/flo_13/CC3850.c index de75c2eb96..c4f758f937 100644 --- a/src/world/area_flo/flo_13/CC3850.c +++ b/src/world/area_flo/flo_13/CC3850.c @@ -709,7 +709,7 @@ Script N(80245444) = SCRIPT({ SetNpcSpeed(NPC_WORLD_LAKILESTER, 3.5); NpcMoveTo(NPC_WORLD_LAKILESTER, SI_VAR(0), 60, 0); N(UnkFunc41)(0, 8); - N(func_802435D0_CC6DE0)(); + N(LoadPartyImage)(); spawn N(802438CC); sleep 15; ShowMessageAtScreenPos(MESSAGE_ID(0x1D, 0x0190), 160, 40); diff --git a/src/world/area_flo/flo_13/CC6DE0.c b/src/world/area_flo/flo_13/CC6DE0.c index 4bc33c6f7b..2a11a7a436 100644 --- a/src/world/area_flo/flo_13/CC6DE0.c +++ b/src/world/area_flo/flo_13/CC6DE0.c @@ -1,31 +1,4 @@ #include "flo_13.h" -typedef struct { - /* 0x00 */ s32* unk_00; - /* 0x04 */ s32* unk_04; - /* 0x08 */ s16 unk_08; - /* 0x0A */ s16 unk_0A; - /* 0x0C */ s32 unk_0C; - /* 0x10 */ s32 unk_10; -} N(Unk_bss_struct); - -static s8 N(D_80247B00)[0x200]; -static s8 N(D_80247D00)[0x3D90]; -static N(Unk_bss_struct) N(D_8024BA90); - -ApiStatus N(func_802435D0_CC6DE0)(ScriptInstance* script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} +#define PARTY_IMAGE "party_pokopi" +#include "world/common/LoadPartyImage.inc.c" diff --git a/src/world/area_flo/flo_13/flo_13.h b/src/world/area_flo/flo_13/flo_13.h index be1f47c381..fb89568342 100644 --- a/src/world/area_flo/flo_13/flo_13.h +++ b/src/world/area_flo/flo_13/flo_13.h @@ -10,7 +10,7 @@ ApiStatus N(func_80242A6C_CC627C)(ScriptInstance* script, s32 isInitialCall); ApiStatus N(UnkFunc42)(ScriptInstance* script, s32 isInitialCall); ApiStatus N(func_802433C0_CC6BD0)(ScriptInstance* script, s32 isInitialCall); ApiStatus N(func_802434D4_CC6CE4)(ScriptInstance* script, s32 isInitialCall); -ApiStatus N(func_802435D0_CC6DE0)(ScriptInstance* script, s32 isInitialCall); +ApiStatus N(LoadPartyImage)(ScriptInstance* script, s32 isInitialCall); extern NpcGroupList N(npcGroupList_80247984); -extern Script N(main); \ No newline at end of file +extern Script N(main); diff --git a/src/world/area_flo/flo_14/CCBE20.c b/src/world/area_flo/flo_14/CCBE20.c index 988565e80b..b633ef83aa 100644 --- a/src/world/area_flo/flo_14/CCBE20.c +++ b/src/world/area_flo/flo_14/CCBE20.c @@ -7,7 +7,7 @@ enum { NPC_BZZAP, }; -s32 N(D_802453B0_EF79C0)[91] BSS; +BSS s32 N(D_802453B0_EF79C0)[91]; f32 N(D_802444C0_CCF7D0)[] = { 4.5f, 3.5f, 2.6f, 2.0f, diff --git a/src/world/area_iwa/iwa_10/91FA80.c b/src/world/area_iwa/iwa_10/91FA80.c index 4374d706ef..3769c22eff 100644 --- a/src/world/area_iwa/iwa_10/91FA80.c +++ b/src/world/area_iwa/iwa_10/91FA80.c @@ -1,21 +1,6 @@ #include "iwa_10.h" +// TODO(data) +//#define PARTY_IMAGE "party_pareta" +//#include "world/common/LoadPartyImage.inc.c" INCLUDE_ASM(s32, "world/area_iwa/iwa_10/91FA80", func_80241510_91FA80); -/* -ApiStatus N(func_80241510_91FA80)(ScriptInstance *script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} -*/ diff --git a/src/world/area_jan/jan_04/B45150.c b/src/world/area_jan/jan_04/B45150.c index a0bcf5f4db..adbca565e3 100644 --- a/src/world/area_jan/jan_04/B45150.c +++ b/src/world/area_jan/jan_04/B45150.c @@ -1,21 +1,6 @@ #include "jan_04.h" +// TODO(data) +//#define PARTY_IMAGE "party_opuku" +//#include "world/common/LoadPartyImage.inc.c" INCLUDE_ASM(s32, "world/area_jan/jan_04/B45150", func_802409E0_B45150); -/* -ApiStatus N(func_802409E0_B45150)(ScriptInstance *script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} -*/ diff --git a/src/world/area_nok/nok_04/9EEA80.c b/src/world/area_nok/nok_04/9EEA80.c index 4bb639e547..a0ed8452a7 100644 --- a/src/world/area_nok/nok_04/9EEA80.c +++ b/src/world/area_nok/nok_04/9EEA80.c @@ -1,21 +1,6 @@ #include "nok_04.h" +// TODO(data) +//#define PARTY_IMAGE "party_kameki" +//#include "world/common/LoadPartyImage.inc.c" INCLUDE_ASM(s32, "world/area_nok/nok_04/9EEA80", func_80240E90_9EEA80); -/* -ApiStatus N(func_80240E90_9EEA80)(ScriptInstance *script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} -*/ diff --git a/src/world/area_omo/omo_12/DDF730.c b/src/world/area_omo/omo_12/DDF730.c index 5bffb9c2e0..b6c36faf22 100644 --- a/src/world/area_omo/omo_12/DDF730.c +++ b/src/world/area_omo/omo_12/DDF730.c @@ -2,22 +2,7 @@ static char* N(exit_str_0) = "omo_11\0"; +// TODO(data) +//#define PARTY_IMAGE "party_akari" +//#include "world/common/LoadPartyImage.inc.c" INCLUDE_ASM(s32, "world/area_omo/omo_12/DDF730", func_80240420_DDF730); -/* -ApiStatus N(func_80240420_DDF730)(ScriptInstance *script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} -*/ diff --git a/src/world/area_trd/trd_06/9B2410.c b/src/world/area_trd/trd_06/9B2410.c index 7597434b9e..34ec34fdad 100644 --- a/src/world/area_trd/trd_06/9B2410.c +++ b/src/world/area_trd/trd_06/9B2410.c @@ -1,21 +1,6 @@ #include "trd_06.h" +// TODO(data) +//#define PARTY_IMAGE "party_pinki" +//#include "world/common/LoadPartyImage.inc.c" INCLUDE_ASM(s32, "world/area_trd/trd_06/9B2410", func_80240C80_9B2410); -/* -ApiStatus N(func_80240C80_9B2410)(ScriptInstance *script, s32 isInitialCall) { - s32 var; - void* temp_s0 = load_asset_by_name("party_pokopi", &var); - - decode_yay0(temp_s0, N(D_80247B00)); - general_heap_free(temp_s0); - - N(D_8024BA90).unk_00 = N(D_80247D00); - N(D_8024BA90).unk_08 = 0x96; - N(D_8024BA90).unk_0A = 0x69; - N(D_8024BA90).unk_0C = 2; - N(D_8024BA90).unk_04 = N(D_80247B00); - N(D_8024BA90).unk_10 = 1; - set_message_images(&N(D_8024BA90)); - return ApiStatus_DONE2; -} -*/ diff --git a/src/world/common/LoadPartyImage.inc.c b/src/world/common/LoadPartyImage.inc.c new file mode 100644 index 0000000000..5d99537bb1 --- /dev/null +++ b/src/world/common/LoadPartyImage.inc.c @@ -0,0 +1,36 @@ +#include "common.h" +#include "map.h" + +#ifndef PARTY_IMAGE +#error "Define PARTY_IMAGE to the asset name to use LoadPartyImage." +#endif + +ApiStatus N(LoadPartyImage)(ScriptInstance* script, s32 isInitialCall) { + static u16 palette[256]; + static u8 raster[0x3D90]; + static struct { + /* 0x00 */ void* raster; + /* 0x04 */ void* palette; + /* 0x08 */ s16 width; + /* 0x0A */ s16 height; + /* 0x0C */ s32 unk_0C; + /* 0x10 */ s32 unk_10; + } images[1]; + + u32 decompressedSize; + void* compressed = load_asset_by_name(PARTY_IMAGE, &decompressedSize); + + decode_yay0(compressed, &palette); + general_heap_free(compressed); + + images[0].raster = &raster; + images[0].width = 150; + images[0].height = 105; + images[0].unk_0C = 2; + images[0].palette = &palette; + images[0].unk_10 = 1; + set_message_images(images); + return ApiStatus_DONE2; +} + +#undef PARTY_IMAGE diff --git a/src/world/common/StashVars.inc.c b/src/world/common/StashVars.inc.c new file mode 100644 index 0000000000..d749e72bf1 --- /dev/null +++ b/src/world/common/StashVars.inc.c @@ -0,0 +1,24 @@ +#include "common.h" +#include "map.h" + +ApiStatus N(StashVars)(ScriptInstance* script, s32 isInitialCall) { + static s32** varTable = NULL; + s32 i; + + if (varTable == NULL) { + varTable = heap_malloc(sizeof(script->varTable)); + + for (i = 0; i < ARRAY_COUNT(script->varTable); i++) { + varTable[i] = script->varTable[i]; + } + } else { + for (i = 0; i < ARRAY_COUNT(script->varTable); i++) { + script->varTable[i] = varTable[i]; + } + + heap_free(varTable); + varTable = NULL; + } + + return ApiStatus_DONE2; +} diff --git a/src/world/common/UnkFunc46.inc.c b/src/world/common/UnkFunc46.inc.c deleted file mode 100644 index 70822f4031..0000000000 --- a/src/world/common/UnkFunc46.inc.c +++ /dev/null @@ -1,20 +0,0 @@ -#include "common.h" -#include "map.h" - -ApiStatus N(UnkFunc46)(ScriptInstance* script, s32 isInitialCall) { - s32 i; - - if (UNK_FUNC46_VAR == NULL) { - UNK_FUNC46_VAR = heap_malloc(16 * sizeof(s32)); - for (i = 0; i < ARRAY_COUNT(script->varTable); i++) { - UNK_FUNC46_VAR[i] = script->varTable[i]; - } - } else { - for (i = 0; i < ARRAY_COUNT(script->varTable); i++) { - script->varTable[i] = UNK_FUNC46_VAR[i]; - } - heap_free(UNK_FUNC46_VAR); - UNK_FUNC46_VAR = NULL; - } - return ApiStatus_DONE2; -} diff --git a/ver/us/asm/data/world/area_flo/flo_13/CC6E80.data.s b/ver/us/asm/data/world/area_flo/flo_13/CC6E80.data.s deleted file mode 100644 index b61a7bdf3e..0000000000 --- a/ver/us/asm/data/world/area_flo/flo_13/CC6E80.data.s +++ /dev/null @@ -1,9 +0,0 @@ -.include "macro.inc" - -.section .data - -glabel D_80243670_CC6E80 -.word 0x440E8000, 0x00000000, 0x00000000, 0x43870000, 0xC40E8000, 0x00000000, 0x00000000, 0x42B40000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x80243DEC, D_80243670_CC6E80, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, func_80200000, 0x0019011D - -glabel D_802436D0_CC6EE0 -.word 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000C, 0x00000002, 0xFE363C80, 0xFFFFFE0C, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0x00000035, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000030, 0x00000000, 0x00000008, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000031, 0x00000000, 0x00000008, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000C, 0x00000002, 0xFE363C80, 0xFFFFFE0C, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0x00000035, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000034, 0x00000000, 0x00000008, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000035, 0x00000000, 0x00000008, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C80, 0xFFFFFE0C, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000044, 0x00000001, D_802436D0_CC6EE0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000082, 0x00000000, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000001F4, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000030, 0x00000000, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_flo/flo_13/CC7160.data.s b/ver/us/asm/data/world/area_flo/flo_13/CC7160.data.s deleted file mode 100644 index 73a423675a..0000000000 --- a/ver/us/asm/data/world/area_flo/flo_13/CC7160.data.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macro.inc" - -.section .data - -glabel D_80243950_CC7160 -.word 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000000E, 0x7FFFFE00, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000007, MakeItemEntity, 0x00000126, 0xFFFFFFC3, 0x0000003C, 0xFFFFFFAB, 0x00000011, 0xF84060E9, 0x00000043, 0x00000007, MakeItemEntity, 0x00000083, 0x00000080, 0x00000000, 0x0000009D, 0x00000011, 0xF84060EA, 0x0000000A, 0x00000002, 0xF84060E9, 0x00000000, 0x00000043, 0x00000007, MakeEntity, 0x802BCF00, 0xFFFFFF60, 0x000000A0, 0xFFFFFFA6, 0x00000000, D_80000000, 0x00000043, 0x00000002, AssignScript, D_80243950_CC7160, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000000E, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_flo/flo_13/CC7250.data.s b/ver/us/asm/data/world/area_flo/flo_13/CC7250.data.s deleted file mode 100644 index f50aa372d7..0000000000 --- a/ver/us/asm/data/world/area_flo/flo_13/CC7250.data.s +++ /dev/null @@ -1,129 +0,0 @@ -.include "macro.inc" - -.section .data - -glabel D_80243A40_CC7250 -.word 0x0000004D, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8D, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C84, 0x00000028, 0x00000002, 0xFE363C8C, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C8D, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C80, 0xFE363C8C, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24C0A80, 0x00000026, 0x00000002, 0xFE363C8F, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C8F, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C8F, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C85, 0x000000C8, 0x0000002A, 0x00000002, 0xFE363C85, 0xFE363C8F, 0x00000027, 0x00000002, 0xFE363C85, 0x00000001, 0x00000005, 0x00000001, 0xFE363C85, 0x00000043, 0x00000003, RandInt, 0xFE363C8C, 0xFE363C80, 0x00000043, 0x00000003, RandInt, 0xFE363C8D, 0xFE363C81, 0x00000043, 0x00000003, RandInt, 0x000000C7, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0x000000D2, 0x00000028, 0x00000002, 0xFE363C83, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C82, 0xFE363C8E, 0x00000043, 0x0000000F, PlayEffect, 0x0000000D, 0xFE363C80, 0xFE363C82, 0xFE363C81, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0xFE363C8F, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, RandInt, 0xFE363C8C, 0xFE363C80, 0x00000043, 0x00000003, RandInt, 0xFE363C8D, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8B, 0x00000043, 0x0000000F, PlayEffect, 0x0000000D, 0xFE363C80, 0xFE363C8E, 0xFE363C81, 0x000000C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0xFE363C8F, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80243CEC_CC74FC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80247A20, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80243D48_CC7558 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000001, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80247A28, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80243DA4_CC75B4 -.word 0x00000047, 0x00000005, D_80243D48_CC7558, 0x00080000, 0x00000000, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80243CEC_CC74FC, 0x00080000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000026, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, D_80247984_CCB194, 0x00000046, 0x00000001, 0x80243978, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000000D, 0x00000006, 0x00000024, 0x00000002, 0xFE363C80, 0x00000112, 0x00000024, 0x00000002, 0xFE363C81, 0xFFFFFF77, 0x00000024, 0x00000002, 0xFE363C82, 0x00000247, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFC0, 0x00000024, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_80243A40_CC7250, 0x00000024, 0x00000002, 0xFE363C80, 0x000001B1, 0x00000024, 0x00000002, 0xFE363C81, 0x0000006C, 0x00000024, 0x00000002, 0xFE363C82, 0x00000244, 0x00000024, 0x00000002, 0xFE363C83, 0x000000A9, 0x00000024, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_80243A40_CC7250, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFE34, 0x00000024, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF83, 0x00000024, 0x00000002, 0xFE363C83, 0x00000082, 0x00000024, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_80243A40_CC7250, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFE5C, 0x00000024, 0x00000002, 0xFE363C81, 0xFFFFFF7E, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFEFC, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFA6, 0x00000024, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_80243A40_CC7250, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFF24, 0x00000024, 0x00000002, 0xFE363C81, 0xFFFFFF77, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFCE, 0x00000024, 0x00000002, 0xFE363C84, 0x000000A0, 0x00000044, 0x00000001, D_80243A40_CC7250, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000001, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000005, 0x7FFFFE00, 0x00000024, 0x00000002, 0xFE363C80, D_80243DA4_CC75B4, 0x00000044, 0x00000001, EnterWalk, 0x00000046, 0x00000001, 0x802438B0, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000035, 0x00000043, 0x00000001, func_80240000_CC3810, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80244100_CC7910 -.word 0x00000000, 0x00200018, 0x00000000, 0x00000000, 0x00000000, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00140000 - -glabel D_8024412C_CC793C -.float 4.5, 3.5, 2.6, 2.0, 1.5, 20.0 - -glabel D_80244144_CC7954 -.word 0x3FC00000, 0x0000003C, 0x0000001E, 0x42700000, 0x42480000, 0x00000003, 0x40600000, 0x0000003C, 0x0000000A, 0x42A00000, 0x428C0000, 0x00000001 - -glabel D_80244174_CC7984 -.word 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x00000005, 0xFFFFFD76, 0x00000043, 0x00000003, SetSelfVar, 0x00000006, 0x0000001E, 0x00000043, 0x00000003, SetSelfVar, 0x00000001, 0x00000190, 0x00000043, 0x00000002, func_80241DB8_CC55C8, D_80244144_CC7954, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802441E4_CC79F4 -.word 0x00000000, 0x001C0018, 0x00000000, 0x00000000, D_80244174_CC7984, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00140000 - -glabel D_80244210_CC7A20 -.word 0x3FC00000, 0x0000001E, 0x00000032, 0x42700000, 0x41F00000, 0x00000003, 0x40C00000, 0x00000000, 0x00000000, 0x42C80000, 0x41F00000, 0x00000003 - -glabel D_80244240_CC7A50 -.word 0x00000043, 0x00000003, SetSelfVar, 0x00000002, 0x00000003, 0x00000043, 0x00000003, SetSelfVar, 0x00000003, 0x00000012, 0x00000043, 0x00000003, SetSelfVar, 0x00000005, 0x00000003, 0x00000043, 0x00000003, SetSelfVar, 0x00000007, 0x00000004, 0x00000043, 0x00000002, func_80242A6C_CC627C, D_80244210_CC7A20, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802442B0_CC7AC0 -.word 0x00000043, 0x00000005, SetNpcRotation, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, GetBattleOutcome, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x0000000A, 0x00000064, 0x00000043, 0x00000001, DoNpcDefeat, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, func_80045900, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetEnemyFlagBits, 0xFFFFFFFF, 0x00000010, 0x00000001, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_8024437C_CC7B8C -.word 0x00000000, 0x00150016, 0x00000000, 0x00000000, D_80244240_CC7A50, EnemyNpcHit, 0x00000000, D_802442B0_CC7AC0, 0x00000000, 0x00000000, 0x00130000 - -glabel D_802443A8_CC7BB8 -.word 0xC37A0000, 0x43020000, 0x42C80000, 0xC3160000, 0x42B40000, 0x428C0000, 0x42480000, 0x428C0000, 0x41200000, 0x43480000, 0x420C0000, 0x41F00000, 0x41F00000, 0x41200000, 0x42340000 - -glabel D_802443E4_CC7BF4 -.word 0xC38E8000, 0x43020000, 0x42340000, 0xC3390000, 0x42B40000, 0x41C80000, 0x41700000, 0x428C0000, 0x41200000, 0x43250000, 0x420C0000, 0x41F00000, 0xC0A00000, 0x41200000, 0x42340000 - -glabel D_80244420_CC7C30 -.word 0x41200000, 0x00000000, 0x42340000, 0xC2B40000, 0x41A00000, 0x42340000, 0xC33E0000, 0x42700000, 0x42340000, 0xC3910000, 0x430C0000, 0x42340000, 0xC3C30000, 0x43960000, 0x42340000 - -glabel D_8024445C_CC7C6C -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000001, func_80243368_CC6B78, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0xFFFFFFFC, 0x00000000, 0xFE363C8A, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80244560_CC7D70 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000001, func_80243368_CC6B78, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000001, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0xFFFFFFFC, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000033, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0x00000000, 0x00000001, 0xFE363C8B, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0xFE363C8B, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802446AC_CC7EBC -.word 0x00000024, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000005, GetNpcPos, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000005, GetNpcPos, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000001, 0x00000024, 0x00000002, 0xFD050F8A, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80244888_CC8098 -.word 0x00000044, 0x00000001, D_802446AC_CC7EBC, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC000C, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFB, 0x00000027, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C83, 0x00000002, 0x00000043, 0x00000003, SetNpcYaw, 0x00000002, 0x0000010E, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002B, 0x00000057, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000200, 0x001100A8, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, EndSpeech, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000200, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC000D, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000027, 0x00000002, 0xFE363C82, 0x00000014, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000002, 0xF24A7A80, 0x00000043, 0x00000006, NpcJump0, 0x00000002, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000007, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFF9C, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000002, 0xF24A8080, 0x00000043, 0x00000006, NpcJump0, 0x00000002, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000F, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000000, 0x00000000, 0x0000000A, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x000000E1, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010017, 0x00000024, 0x00000002, 0xFE363C80, 0x0000005A, 0x00000005, 0x00000001, 0x00000014, 0x00000027, 0x00000002, 0xFE363C80, 0x00000090, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000167, 0x00000028, 0x00000002, 0xFE363C80, 0x00000168, 0x00000013, 0x00000000, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC0001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80244BF8_CC8408 -.word 0x0000000B, 0x00000002, 0xF5DE0180, 0x00000032, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, AwaitPlayerApproach, 0x000000C8, 0x00000014, 0x00000113, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF06, 0x00000078, 0x0000002D, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000007D, 0x00000000, 0x00000008, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x001100A0, 0x000000A0, 0x00000028, 0x00000043, 0x00000001, func_802D2B6C, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000001, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000005A, 0x00000001, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000043, 0x00000002, func_802CF56C, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080007, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802434D4_CC6CE4, 0x00000057, 0x00000000, 0x00000045, 0x00000002, D_8024445C_CC7C6C, 0xFE363C89, 0x00000043, 0x00000005, LoadPath, 0x00000050, D_802443A8_CC7BB8, 0x00000005, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, GetNextPathPos, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000049, 0x00000001, 0xFE363C89, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080001, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000C8, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24AC280, 0xF24A5880, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFFB5, 0x00000041, 0x0000000A, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100A1, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080007, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080001, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000003E8, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24ABE80, 0xF24A6280, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000043, 0x00000002, StartBossBattle, 0x00000003, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80245014_CC8824 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, AwaitPlayerLeave, 0xFE363C80, 0xFE363C82, 0x00000078, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24A9080, 0xF24A5C80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, NpcFaceNpc, 0x00000001, 0x00000000, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000000, 0x001100B4, 0x00000043, 0x00000004, NpcFaceNpc, 0xFFFFFFFC, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x00000258, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24AA280, 0xF24A5A80, 0x00000043, 0x00000004, SetCamPosA, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetCamPosB, 0x00000000, 0x00000082, 0xFFFFFF38, 0x00000043, 0x00000004, SetCamPosC, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_802433C0_CC6BD0, 0x00000037, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000001, 0x00000100, 0x00000001, 0x00000045, 0x00000002, D_80244560_CC7D70, 0xFE363C89, 0x00000043, 0x00000005, LoadPath, 0x00000037, D_80244420_CC7C30, 0x00000005, 0x00000000, 0x00000003, 0x00000001, 0x00000014, 0x00000043, 0x00000001, GetNextPathPos, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x00000049, 0x00000001, 0xFE363C89, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000043, 0x00000002, BringPartnerOut, 0x00000008, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000027, 0x00000002, 0xFE363C82, 0x00000014, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFC, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0x0000010E, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00080009, 0x00080001, 0x00000005, 0x001100B5, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000001, PutPartnerAway, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0xF24BE280, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80245444_CC8C54 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x0008000A, 0x00080004, 0x00000000, 0x001100A2, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFEDE, 0x00000078, 0x0000002D, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00080001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000001, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000005, 0x001100A3, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC0007, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000001F4, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24A9080, 0xF24A6280, 0x00000043, 0x00000004, SetCamPosA, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetCamPosB, 0x00000000, 0x00000082, 0xFFFFFF38, 0x00000043, 0x00000004, SetCamPosC, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x00000190, 0x00000043, 0x00000004, SetCamPosB, 0x00000000, 0x00000082, 0x0000003C, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_802433C0_CC6BD0, 0x00000050, 0x00000057, 0x00000000, 0x00000045, 0x00000002, D_80244560_CC7D70, 0xFE363C89, 0x00000043, 0x00000005, LoadPath, 0x00000050, D_802443E4_CC7BF4, 0x00000005, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, GetNextPathPos, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000049, 0x00000001, 0xFE363C89, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC0009, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24A9080, 0xF24A5C80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100A4, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x0000012C, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0008, 0x00CC0008, 0x00000000, 0x001100A5, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x0008000B, 0x00080003, 0x00000000, 0x001100A6, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080001, 0x00000043, 0x00000005, EndSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x0000015E, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24AA280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC000A, 0x00CC0009, 0x00000000, 0x001100A7, 0x00000043, 0x00000002, ShowChoice, 0x001E0020, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_80244888_CC8098, 0x00000008, 0x00000001, 0x0000000A, 0x00000004, 0x00000001, 0x0000000A, 0x00000012, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000000, 0x001100A9, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC0001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010029, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, GetNpcPos, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x0008000B, 0x00080003, 0x00000000, 0x001100AA, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00080001, 0x00000043, 0x00000005, EndSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x0000015E, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x0008000B, 0x00080003, 0x00000000, 0x001100AB, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, ShowChoice, 0x001E0021, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100AC, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100AD, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100AE, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100AF, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000001, 0x0000005A, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00CC0009, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC000A, 0x00CC0009, 0x00000005, 0x001100B0, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100B1, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC000A, 0x00CC0009, 0x00000005, 0x001100B2, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00080009, 0x00080001, 0x00000000, 0x001100B3, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0xF24BE280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8880, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFE363C80, 0x0000003C, 0x00000000, 0x00000043, 0x00000003, func_80240040_CC3850, 0x00000000, 0x00000008, 0x00000043, 0x00000001, func_802435D0_CC6DE0, 0x00000044, 0x00000001, 0x802438CC, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x001D0190, 0x000000A0, 0x00000028, 0x00000044, 0x00000001, 0x802438F8, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000033, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000046, 0x00000001, D_80245014_CC8824, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80246038_CC9848 -.word 0x00000043, 0x00000002, GetBattleOutcome, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00080004, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0x00000006, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C83, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C83, 0x0000002A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x0000012C, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24ABE80, 0xF24A5C80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000044, 0x00000001, D_80245444_CC8C54, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802461C0_CC99D0 -.word 0x0000000E, 0x00000002, 0xF5DE0180, 0x00000035, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000000, 0x00110032, 0x00000012, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000000, 0x00110034, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00CC0004, 0x00CC0001, 0x00000000, 0x00110032, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80246280_CC9A90 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000033, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80244BF8_CC8408, 0x00000043, 0x00000003, BindNpcDefeat, 0xFFFFFFFF, D_80246038_CC9848, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802462D0_CC9AE0 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0x0000003A, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802461C0_CC99D0, 0x00000043, 0x00000004, SetNpcCollisionSize, 0xFFFFFFFF, 0x00000024, 0x0000001C, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000035, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFFCE, 0x000000B4, 0xFFFFFFCE, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80246370_CC9B80 -.word 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00CC000B, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802463B0_CC9BC0 -.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000032, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_802463E8_CC9BF8 -.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000032, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x0000000D, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -glabel D_80246434_CC9C44 -.word 0x00000000, D_80244100_CC7910, 0x00000000, 0xC47A0000, 0x00000000, 0x00040F05, D_80246280_CC9A90, 0x00000000, 0x00000000, 0x0000005A, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00080001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80246624_CC9E34 -.word 0x00000001, D_80244100_CC7910, 0x00000000, 0xC47A0000, 0x00000000, 0x00000D01, D_802462D0_CC9AE0, 0x00000000, 0x00000000, 0x0000005A, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00000000, 0x00000000, 0x00000000, 0x001A00E2 - -glabel D_80246814_CCA024 -.word 0x00000002, D_80244100_CC7910, 0x00000000, 0xC47A0000, 0x00000000, 0x00000F01, D_80246370_CC9B80, 0x00000000, 0x00000000, 0x0000005A, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00CC0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80246A04_CCA214 -.word 0x00000003, D_802441E4_CC79F4, 0x43A78000, 0x42B40000, 0x42340000, 0x00000C00, D_802463B0_CC9BC0, 0x00000000, 0x00000000, 0x0000010E, 0x8019008C, 0x00020000, 0x00A30002, 0x00000082, 0x00020000, 0x00920002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980002, 0x3FFF2666, 0x4CCC0002, 0x3FFF3FFF, 0x3FFF0002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0003, 0x33322666, 0x33320003, 0x33323FFF, 0x33320003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00020000, 0x0000014F, 0x0000005A, 0x0000002D, 0x0000001E, 0x00000000, 0xFFFF8001, 0x00000000, 0x0000014F, 0x0000005A, 0x0000002D, 0x000000FA, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00490001, 0x00490002, 0x00490003, 0x00490003, 0x00490001, 0x00490001, 0x00490004, 0x00490004, 0x00490003, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80246BF4_CCA404 -.word 0x00000004, D_802441E4_CC79F4, 0xC3A00000, 0x42B40000, 0x00000000, 0x00000C00, D_802463B0_CC9BC0, 0x00000000, 0x00000000, 0x0000005A, 0x8019008C, 0x00020000, 0x00A30002, 0x00000082, 0x00020000, 0x00920002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980002, 0x3FFF2666, 0x4CCC0002, 0x3FFF3FFF, 0x3FFF0002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0003, 0x33322666, 0x33320003, 0x33323FFF, 0x33320003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00020000, 0xFFFFFEC0, 0x0000005A, 0x00000000, 0x0000001E, 0x00000000, 0xFFFF8001, 0x00000000, 0xFFFFFEC0, 0x0000005A, 0x00000000, 0x000000C8, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00490001, 0x00490002, 0x00490003, 0x00490003, 0x00490001, 0x00490001, 0x00490004, 0x00490004, 0x00490003, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00490001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80246DE4_CCA5F4 -.word 0x00000032, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80246FD4_CCA7E4 -.word 0x00000033, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_802471C4_CCA9D4 -.word 0x00000034, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_802473B4_CCABC4 -.word 0x00000035, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_802475A4_CCADB4 -.word 0x00000036, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80247794_CCAFA4 -.word 0x00000037, D_8024437C_CC7B8C, 0x00000000, 0xC47A0000, 0x00000000, 0x00000404, D_802463E8_CC9BF8, 0x00000000, 0x00000000, 0x00000000, D_80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x59980003, 0x3FFF2666, 0x4CCC0003, 0x3FFF3FFF, 0x3FFF0003, 0x33326665, 0x33320003, 0x33327FFF, 0x26660003, 0x26660000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00001999, 0x3FFF0002, 0x33322666, 0x33320002, 0x33323FFF, 0x33320002, 0x33326665, 0x33320002, 0x33327FFF, 0x26660002, 0x33320000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x004A0001, 0x004A0003, 0x004A0004, 0x004A0004, 0x004A0001, 0x004A0001, 0x004A0009, 0x004A0009, 0x004A0006, 0x004A0008, 0x004A0007, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x004A0001, 0x00000003, 0x00000000, 0x00000000, 0x00000000 - -glabel D_80247984_CCB194 -.word 0x00000001, D_80246A04_CCA214, 0x18060005, 0x00000001, D_80246BF4_CCA404, 0x18040005, 0x00000001, D_80246DE4_CCA5F4, 0x180C0003, 0x00000001, D_80246FD4_CCA7E4, 0x180C0003, 0x00000001, D_802471C4_CCA9D4, 0x180C0003, 0x00000001, D_802473B4_CCABC4, 0x180C0003, 0x00000001, D_802475A4_CCADB4, 0x180C0003, 0x00000001, D_80247794_CCAFA4, 0x180C0003, 0x00000001, D_80246434_CC9C44, 0x19050002, 0x00000001, D_80246624_CC9E34, 0x00000000, 0x00000001, D_80246814_CCA024, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/symbol_addrs.txt b/ver/us/symbol_addrs.txt index 24e257ceb7..d2febd3c73 100644 --- a/ver/us/symbol_addrs.txt +++ b/ver/us/symbol_addrs.txt @@ -15261,7 +15261,7 @@ flo_13_func_80242A6C_CC627C = 0x80242A6C; // type:func rom:0xCC627C flo_13_UnkFunc42 = 0x80243368; // type:func rom:0xCC6B78 flo_13_func_802433C0_CC6BD0 = 0x802433C0; // type:func rom:0xCC6BD0 flo_13_func_802434D4_CC6CE4 = 0x802434D4; // type:func rom:0xCC6CE4 -flo_13_func_802435D0_CC6DE0 = 0x802435D0; // type:func rom:0xCC6DE0 +flo_13_LoadPartyImage = 0x802435D0; // type:func rom:0xCC6DE0 flo_13_entryList = 0x80243670; // type:data rom:0xCC6E80 flo_13_config = 0x80243690; // type:data rom:0xCC6EA0 flo_13_802436D0 = 0x802436D0; // type:data rom:0xCC6EE0 @@ -19747,7 +19747,6 @@ D_802700A0 = 0x802700A0; // type:data D_802700A8 = 0x802700A8; // type:data D_802700B0 = 0x802700B0; // type:data D_802700B8 = 0x802700B8; // type:data -bss = 0x802700C0; // type:data gPauseMenuHeldButtons = 0x802700C0; // type:data gPauseMenuPressedButtons = 0x802700C4; // type:data gPauseMenuCurrentDescString = 0x802700C8; // type:data diff --git a/ver/us/undefined_syms_auto.txt b/ver/us/undefined_syms_auto.txt index e6d4fe0aa5..6735b59855 100644 --- a/ver/us/undefined_syms_auto.txt +++ b/ver/us/undefined_syms_auto.txt @@ -660,13 +660,6 @@ D_80262C34 = 0x80262C34; D_80262C38 = 0x80262C38; D_80262F68 = 0x80262F68; D_80268000 = 0x80268000; -gPauseMenuHeldButtons = 0x802700C0; -gPauseMenuPressedButtons = 0x802700C4; -gPauseMenuCurrentDescString = 0x802700C8; -gPauseMenuCurrentDescIconScript = 0x802700CC; -D_802700D0 = 0x802700D0; -gPauseMenuCurrentTab = 0x802700D4; -D_802700E0 = 0x802700E0; gPauseMenuCommonIconIDs = 0x802700E8; D_80270108 = 0x80270108; D_8027010C = 0x8027010C;