Barebones function 240

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

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 

Also see

sync, jmpi_=, winend, clear, ret