add some PSOX notes

This commit is contained in:
Martin Michelsen
2023-07-15 22:29:39 -07:00
parent 4858ccd812
commit 8cd1106818
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -902,6 +902,7 @@ static const QuestScriptOpcodeDefinition opcode_defs[] = {
{0xF94B, "particle_effect_nc", {{REG_SET_FIXED, 4}}, {}, F_V3_V4},
{0xF94C, "player_effect_nc", {{REG_SET_FIXED, 4}}, {}, F_V3_V4},
{0xF94D, "give_or_take_card", {{REG_SET_FIXED, 2}}, {}, F_GC_EP3}, // regsA[0] is card_id; card is given if regsA[1] >= 0, otherwise it's taken
{0xF94D, nullptr, {}, {INT32, REG}, F_XB_V3}, // Related to voice chat. argA is a client ID; a value is read from that player's TVoiceChatClient object and (!!value) is placed in regB. This value is set by the 6xB3 command; TODO: figure out what that value represents and name this opcode appropriately
{0xF94D, "nop_F94D", {}, {}, F_V4},
{0xF94E, "nop_F94E", {}, {}, F_V4},
{0xF94F, "nop_F94F", {}, {}, F_V4},