Added definition for opcode 0xf882 get_pl_job.

This commit is contained in:
jtuu 2019-11-12 11:16:04 +02:00
parent d85de25f31
commit 66525ca00c
2 changed files with 22 additions and 5 deletions

View File

@ -2413,7 +2413,15 @@ opcodes:
- type: dword - type: dword
doc: Player slot. doc: Player slot.
access: read access: read
- code: 0xf882
mnemonic: get_pl_job
doc: Sets the value of <pl_job> to the given player's job (Hunter/Ranger/Force).
params:
- type: reg_tup_ref
reg_tup:
- type: dword
doc: Player slot.
access: read
- code: 0xf883 - code: 0xf883
params: params:
- type: reg_tup_ref - type: reg_tup_ref

View File

@ -4688,11 +4688,20 @@ export const OP_GET_PL_NAME = (OPCODES[0xf881] = new_opcode(
], ],
undefined, undefined,
)); ));
export const OP_UNKNOWN_F882 = (OPCODES[0xf882] = new_opcode( export const OP_GET_PL_JOB = (OPCODES[0xf882] = new_opcode(
0xf882, 0xf882,
"unknown_f882", "get_pl_job",
undefined, "Sets the value of <pl_job> to the given player's job (Hunter/Ranger/Force).",
[], [
new_param(
{
kind: Kind.RegTupRef,
register_tuples: [new_param(TYPE_DWORD, "Player slot.", ParamAccess.Read)],
},
undefined,
undefined,
),
],
undefined, undefined,
)); ));
export const OP_UNKNOWN_F883 = (OPCODES[0xf883] = new_opcode( export const OP_UNKNOWN_F883 = (OPCODES[0xf883] = new_opcode(