fix waitframe opcodes
This commit is contained in:
parent
f3c707a769
commit
d8a651a844
@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
|
||||
OP_GetFarFunction = 0x60,
|
||||
OP_less = 0x61,
|
||||
OP_GetGameRef = 0x62,
|
||||
OP_waitFrame = 0x63,
|
||||
OP_waittillFrameEnd = 0x64,
|
||||
OP_waittillFrameEnd = 0x63,
|
||||
OP_waitFrame = 0x64,
|
||||
OP_SafeSetVariableFieldCached0 = 0x65,
|
||||
OP_SafeSetVariableFieldCached = 0x66,
|
||||
OP_ScriptMethodChildThreadCallPointer = 0x67,
|
||||
|
@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
|
||||
OP_GetFarFunction = 0x60,
|
||||
OP_less = 0x61,
|
||||
OP_GetGameRef = 0x62,
|
||||
OP_waitFrame = 0x63,
|
||||
OP_waittillFrameEnd = 0x64,
|
||||
OP_waittillFrameEnd = 0x63,
|
||||
OP_waitFrame = 0x64,
|
||||
OP_SafeSetVariableFieldCached0 = 0x65,
|
||||
OP_SafeSetVariableFieldCached = 0x66,
|
||||
OP_ScriptMethodChildThreadCallPointer = 0x67,
|
||||
|
@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
|
||||
OP_GetFarFunction = 0x60,
|
||||
OP_less = 0x61,
|
||||
OP_GetGameRef = 0x62,
|
||||
OP_waitFrame = 0x63,
|
||||
OP_waittillFrameEnd = 0x64,
|
||||
OP_waittillFrameEnd = 0x63,
|
||||
OP_waitFrame = 0x64,
|
||||
OP_SafeSetVariableFieldCached0 = 0x65,
|
||||
OP_SafeSetVariableFieldCached = 0x66,
|
||||
OP_ScriptMethodChildThreadCallPointer = 0x67,
|
||||
|
@ -192,8 +192,8 @@ void assembler::assemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -117,8 +117,8 @@ void disassembler::dissasemble_instruction(const instruction::ptr& inst)
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -45,8 +45,8 @@ auto opcode_size(std::uint8_t id) -> std::uint32_t
|
||||
case opcode::OP_EvalLocalArrayRefCached0:
|
||||
case opcode::OP_less:
|
||||
case opcode::OP_GetGameRef:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_waittillFrameEnd:
|
||||
case opcode::OP_waitFrame:
|
||||
case opcode::OP_SafeSetVariableFieldCached0:
|
||||
case opcode::OP_GetLevel:
|
||||
case opcode::OP_notify:
|
||||
|
@ -97,8 +97,8 @@ enum class opcode : std::uint8_t
|
||||
OP_GetFarFunction = 0x60,
|
||||
OP_less = 0x61,
|
||||
OP_GetGameRef = 0x62,
|
||||
OP_waitFrame = 0x63,
|
||||
OP_waittillFrameEnd = 0x64,
|
||||
OP_waittillFrameEnd = 0x63,
|
||||
OP_waitFrame = 0x64,
|
||||
OP_SafeSetVariableFieldCached0 = 0x65,
|
||||
OP_SafeSetVariableFieldCached = 0x66,
|
||||
OP_ScriptMethodChildThreadCallPointer = 0x67,
|
||||
|
@ -1026,7 +1026,7 @@ auto stmt_waittillframeend::print() const -> std::string
|
||||
|
||||
auto stmt_waitframe::print() const -> std::string
|
||||
{
|
||||
return "waitframe;";
|
||||
return "waitframe();";
|
||||
};
|
||||
|
||||
auto stmt_if::print() const -> std::string
|
||||
|
Loading…
Reference in New Issue
Block a user