Difference between revisions of "Barebones function 240"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 17: | Line 17: | ||
<span style='color:green'> sync </span> <span style='color:orange'>//Waits 1 frame.</span> | <span style='color:green'> sync </span> <span style='color:orange'>//Waits 1 frame.</span> | ||
<span style='color:green'> sync </span> <span style='color:orange'>//Waits 1 frame.</span> | <span style='color:green'> sync </span> <span style='color:orange'>//Waits 1 frame.</span> | ||
− | <span style='color:green'> jmpi_= </span>R73, 00000000, 240 <span style='color:orange'>// | + | <span style='color:green'> jmpi_= </span>R73, 00000000, 240 <span style='color:orange'>//If register 73 equals 00000000 jump to function 240.</span> |
<span style='color:green'> winend </span> <span style='color:orange'>//Closes the scroll text message.</span> | <span style='color:green'> winend </span> <span style='color:orange'>//Closes the scroll text message.</span> | ||
<span style='color:green'> clear </span>R73 <span style='color:orange'>//Makes R73 equal 00000000.</span> | <span style='color:green'> clear </span>R73 <span style='color:orange'>//Makes R73 equal 00000000.</span> |
Revision as of 07:15, 19 April 2013
Contents
Barebones function 240
Function 240: 240:
- Function 240 Used to properly close scrolling text messages.
Properly closes scrolling text messages
Since when using scrolling text messages they are considered a window message leaving them open can sometimes cause issues. Call function 240 after using a scrolling text message to make sure it closes properly.
Barebones function 240 Function 240 is used to properly close scrolling text messages.
Use
Function 240 is used to properly close scrolling text messages.
How the function appears in the script
240: sync //Waits 1 frame.
sync //Waits 1 frame.
sync //Waits 1 frame.
jmpi_= R73, 00000000, 240 //If register 73 equals 00000000 jump to function 240.
winend //Closes the scroll text message.
clear R73 //Makes R73 equal 00000000.
ret