odd_instruction_op2

Syntax

odd_instruction_op2(instruction)

Parameters

Name Description
instruction The Instruction to get the second operand of.

Returns

Number|Undefined: The second operand of the given instruction.

Description

This function gets the second operand of the given Instruction, if any.

Example

var inst = odd_create_instruction(odd_opcode.DebugLine, 20, undefined);

show_debug_message(string(odd_instruction_op1(inst)));

// ...

This would print “undefined” to the console.