Barebones function 10500

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Barebones function 10500

Function 10500: 10500:

  • Function 10500 = Things that need to happen before anything else.

Things that need to happen before anything else

Things that need to happen before anything else. (Note: everything before leti R0, 00000001 in this function will be encountered by all players you may want to add more things to it depending on the needs of your quest such as additional threads and quest board handlers ect...) What happens here is the clocks are ready. HP and TP are constantly monitored. K.O.'s are counted. Doors that need to be open ahead of time are done so. (Most noticeable with episode labo doors.) The quest is said to begin with leti R0, 00000001. The players are told where to stand at the start of the quest by calling function 200. The quest giver begins his opening talk by calling function 1001.

Barebones function 10500 = Function 10500 Things that need to happen before anything else. (Note: everything before leti R0, 00000001 in this function will be encountered by all players you may want to add more things to it such as additional threads and quest board handlers ect...) What happens here is the clocks are ready. HP and TP are constantly monitored. K.O.'s are counted. Doors that need to be open ahead of time are done so. (Most noticeable with episode labo doors.) The quest is said to begin with leti R0, 00000001. The players are told where to stand at the start of the quest by calling function 200. The quest giver begins his opening talk by calling function 1001.

Use

Function 10500 Things that need to happen before anything else. (Note: everything before leti R0, 00000001 in this function will be encountered by all players you may want to add more things to it such as additional threads and quest board handlers ect...) What happens here is the clocks are ready. HP and TP are constantly monitored. K.O.'s are counted. Doors that need to be open ahead of time are done so. (Most noticeable with episode labo doors.) The quest is said to begin with leti R0, 00000001. The players are told where to stand at the start of the quest by calling function 200. The quest giver begins his opening talk by calling function 1001.

How the function appears in the script Episode 1


10500:   thread 101 //Threads function 101.
         thread 27 //Threads function 27.
         thread 111 //Threads function 111.
         thread 37 //Threads function 37.
         thread 120 //Threads function 120.
         thread 130 //Threads function 130.
         thread 137 //Threads function 137.
         unlock_door2 00000000, 00000000 //Unlocks door id 0 on floor 0. (Placeholder you may have doors you want to unlock at the start of your quest and need to add more of these if needed with the correct id and floor numbers.)
         leti R0, 00000001 //Makes register 0 equal 00000001.
         call 200 //Calls function 200.
         call 1001 //Calls function 1001.
         ret 

How the function appears in the script Episode 2


10500:   thread 101 //Threads function 101.
         thread 27 //Threads function 27.
         thread 111 //Threads function 111.
         thread 37 //Threads function 37.
         thread 120 //Threads function 120.
         thread 130 //Threads function 130.
         thread 137 //Threads function 137.
         unlock_door2 00000000, 00000001 //Unlocks door id 1 on floor 0. (Placeholder you may have doors you want to unlock at the start of your quest and need to add more of these if needed with the correct id and floor numbers.)
         unlock_door2 00000000, 00000002 //Unlocks door id 2 on floor 0. (Placeholder you may have doors you want to unlock at the start of your quest and need to add more of these if needed with the correct id and floor numbers.)
         leti R0, 00000001 //Makes register 0 equal 00000001.
         call 200 //Calls function 200.
         call 1001 //Calls function 1001.
         ret 

How the function appears in the script Episode 4


10500:   thread 101 //Threads function 101.
         thread 27 //Threads function 27.
         thread 111 //Threads function 111.
         thread 37 //Threads function 37.
         thread 120 //Threads function 120.
         thread 130 //Threads function 130.
         thread 137 //Threads function 137.
         unlock_door2 00000000, 00000000 //Unlocks door id 0 on floor 0. (Placeholder you may have doors you want to unlock at the start of your quest and need to add more of these if needed with the correct id and floor numbers.)
         leti R0, 00000001 //Makes register 0 equal 00000001.
         call 200 //Calls function 200.
         call 1001 //Calls function 1001.
         ret 

Also see

thread, unlock_door2, leti, call, ret,

Barebones function 0, Barebones function 27, Barebones function 37,

Barebones function 101, Barebones function 111, Barebones function 120,

Barebones function 130, Barebones function 137, Barebones function 200,

Barebones function 1001, Barebones function 10000,

Barebones registers lists