Difference between revisions of "Barebones function 10000"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
Line 5: Line 5:
  
 
==Quest board handler function for Pioneer2/Labo==
 
==Quest board handler function for Pioneer2/Labo==
The Quest board handler function for Pioneer2/Labo is called whenever a player enters Pioneer2/Labo and takes priority before anything else happens anytime Pioneer2/Labo is entered.
+
The quest board handler function for Pioneer2/Labo is called whenever a player enters Pioneer2/Labo and takes priority before anything else happens anytime Pioneer2/Labo is entered.
  
  
[[Barebones function 10000]] = Function 10000 Quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.
+
[[Barebones function 10000]] = Function 10000 quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.
  
 
==Use==
 
==Use==
Function 10000 Quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.
+
Function 10000 quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.
  
 
==How the function appears in the script==
 
==How the function appears in the script==

Latest revision as of 04:18, 21 April 2013

Barebones function 10000

Function 10000: 10000:

  • Function 10000 = Quest board handler function for Pioneer2/Labo.

Quest board handler function for Pioneer2/Labo

The quest board handler function for Pioneer2/Labo is called whenever a player enters Pioneer2/Labo and takes priority before anything else happens anytime Pioneer2/Labo is entered.


Barebones function 10000 = Function 10000 quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.

Use

Function 10000 quest board handler function for Pioneer2/Labo contains jump checks for what functions to go to anytime Pioneer2/Labo is entered.

How the function appears in the script


10000:   jmpi_= R98, 00000001, 11500 //If register 98 equals 00000001 jump to function 11500.
         switch_jmp R0, 2:10500:1  //The value of register 0 acts like a switch there are 2 switches when register 0 equals 00000000 jump to function 10500, when register 0 equals 00000001 jump to function 1.
         ret 

Also see

jmpi_=, switch_jmp, ret, set_floor_handler,

Barebones function 0, Barebones function 1, Barebones function 23,

Barebones function 33, Barebones function 10500,

Barebones function 11500, Barebones registers lists