{$CLEO} // this opcodes is used to make this thread to be executed once 0A95: enable_thread_saving // calculates absolute address of the text (opcode 0900) in game memory 0A9F: 0@ = current_thread_pointer 0@ += 0x10 0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0 0@ -= @TEXT_PTR // as all offsets are local (with negative values) // skips 0900 and datatype bytes, 0@ points directly to the text 0@ += 4 // call ShowTextBox script 0A92: "ShowTextBox.s" 0@ 0A93: end_custom_thread // custom text :TEXT_PTR 0900: "if you see this message, CLEO 3 works normally!" // just a null-terminator 0000: NOP
buszolini