Class: Instruction

The Instruction class is a storage class meant to hold data that tells the Interpreter what to do.

Warning

You should not, by any means, need to use this class in a game. However if you do use this class, do not access the data directly, instead use the odd_instruction_opcode, odd_instruction_op1, and odd_instruction_op2 functions.

Instructions can be created with:

And it’s data can be accessed with: