Changes between Version 2 and Version 3 of Opcodes
- Timestamp:
- Aug 22, 2023, 6:28:44 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Opcodes
v2 v3 13 13 14 14 * Hooks: this is really a condition that matches with the last action that was triggered (button or hyperlink), sometimes with a parameter (for example if an action is used from a specific object). Hooks are conditions, if the last activated button does not match with the condition, the remaining code in the script line/chunk is not executed and execution continues with the next one (until an END instruction is reached, or there are no more lines to execute). 15 16 = TODO 17 18 * Review 01, 81 and 82, it does not work correctly. It is unclear if the values are bytes or bits and if they can have initial values (besides what's set by CONDINIT). 19 * Review 0E, this is used to trigger an event just once at init, but are there any other uses? 15 20 16 21 = Opcodes … … 54 59 Used to combine multiple conditions (0D, 09, 0A, ...) 55 60 56 == 7F: And?61 == 7F: Not or And 57 62 58 Probably And, also used to combine several conditions.63 Probably "Not", also used to combine several conditions. 59 64 60 65 == 80 xx: ? … … 102 107 Show one of the global screens (from the unique room in MSGGEN). 103 108 104 == 93 xx: WithScreen109 == 93 xx: HomeScreen 105 110 106 Combined with a "Go to room", allows to set the target screen in the new room111 Combined with a "Go to room", allows to set the home screen in the new room, which will be displayed if no hook in that room sets another screen. 107 112 108 113 == 95 xx yy: Initialize flag … … 110 115 Initialize a "flag" (really an 8 bit counter) with a given value 111 116 112 == =96: ??117 == 96: ?? 113 118 114 119 Used for the OK button in ''Le Mystère des Lunettes'' 115 120 116 == =97: ??121 == 97: ?? 117 122 118 123 Used in the death sequence of ''Le Mystère des Lunettes'' but I don't see any visible effect