mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 07:18:29 +08:00
Added definition for opcode 0xf882 get_pl_job.
This commit is contained in:
parent
d85de25f31
commit
66525ca00c
@ -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
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user