A
Akari
Guest
2SynergyBlades: Could you check this info and tell me if this is true or not. I want to implement this opcodes now.
Code: [Select]
And I don't quite understand how IFKEYON and IFKEYOFF triggered. The button first press or release may happen in different time than IFKEYON opcode check. What will happened if I press and release button few times (this can happened if WAIT-like opcodes used). Does it remembered all button events.. or how?
Code: [Select]
Code:
OP KEY JUMPOP - 0x30/0x31/0x32KEY - WORDJUMP - BYTEKEY is a key to check for (surprise!), JUMP is a number of bytes to skip if the condition isn't true (IP+3+JUMP).IFKEY is used to check if the button is being pressed.IFKEYON is used to check if the button has been pressed (was OFF, became ON)IFKEYOFF is used to check if the button has been released (was ON, became OFF)What I don't understand is:KEY & 0x0200It's a condition which determines which key status to use (2 statuses for each mode - being pressed/was pressed/was released - they are always the same :/). 0x0200 is probably not a valid key... Help?
Last edited: