diff options
| author | YunataSavior <58997725+YunataSavior@users.noreply.github.com> | 2025-10-03 01:10:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-03 01:10:14 -0700 |
| commit | db219f067f1168f1b4d4748f21437c1917cdfa9b (patch) | |
| tree | 0dc672b30dceebbbcb647bcd6d0d2ed254f431bd /src/d/actor/d_a_npc_toby.cpp | |
| parent | 009f08f2f3537bb0032052b68adec79971beeff0 (diff) | |
NPC str cleanup and misc for 100% linkability (#2723)
* NPC str cleanup and misc for 100% linkability
* d_msg_object equiv
Diffstat (limited to 'src/d/actor/d_a_npc_toby.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_toby.cpp | 62 |
1 files changed, 26 insertions, 36 deletions
diff --git a/src/d/actor/d_a_npc_toby.cpp b/src/d/actor/d_a_npc_toby.cpp index cbb550e013..67c121e5b5 100644 --- a/src/d/actor/d_a_npc_toby.cpp +++ b/src/d/actor/d_a_npc_toby.cpp @@ -345,37 +345,27 @@ SECTION_DATA static u8 l_bmdData[24] = { }; /* 80B24C80-80B24CB8 -00001 0038+00 0/1 0/0 0/0 .data l_evtList */ -#pragma push -#pragma force_active on -SECTION_DATA static void* l_evtList[14] = { - (void*)&d_a_npc_toby__stringBase0, - (void*)NULL, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x1), - (void*)NULL, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0xD), - (void*)0x00000005, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x1C), - (void*)0x00000004, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x2B), - (void*)0x00000004, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x33), - (void*)0x00000004, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x4E), - (void*)0x00000004, +static daNpcT_evtData_c l_evtList[7] = { + {"", 0}, + {"NO_RESPONSE", 0}, + {"TALKTO_ONESELF", 5}, + {"REPAIR_SCANNON", 4}, + {"SCANNON", 4}, + {"CONVERSATION_ABOUT_SCANNON", 4}, + {"CONVERSATION_ABOUT_ZRA", 4}, }; -#pragma pop /* 80B24CB8-80B24CDC -00001 0024+00 2/3 0/0 0/0 .data l_resNameList */ -SECTION_DATA static void* l_resNameList[9] = { - (void*)&d_a_npc_toby__stringBase0, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x65), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x6A), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x72), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x78), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x7E), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x84), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x8A), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x90), +static char* l_resNameList[9] = { + "", + "Toby", + "Toby_TW", + "Toby0", + "Toby1", + "Toby2", + "Toby3", + "Toby4", + "Toby5", }; /* 80B24CDC-80B24CE4 000094 0006+02 1/0 0/0 0/0 .data l_loadResPtrn0 */ @@ -571,14 +561,14 @@ SECTION_DATA static u8 l_motionSequenceData[400] = { #pragma pop /* 80B25434-80B25450 -00001 001C+00 1/1 0/0 0/0 .data mCutNameList__12daNpc_Toby_c */ -SECTION_DATA void* daNpc_Toby_c::mCutNameList[7] = { - (void*)&d_a_npc_toby__stringBase0, - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x96), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0xD), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x1C), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x2B), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x33), - (void*)(((char*)&d_a_npc_toby__stringBase0) + 0x4E), +char* daNpc_Toby_c::mCutNameList[7] = { + "", + "TOBY_HOUSE_FIRE", + "TALKTO_ONESELF", + "REPAIR_SCANNON", + "SCANNON", + "CONVERSATION_ABOUT_SCANNON", + "CONVERSATION_ABOUT_ZRA", }; /* 80B25450-80B2545C -00001 000C+00 0/1 0/0 0/0 .data @3927 */ |
