Difference between revisions of "Get Section ID"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 29: | Line 29: | ||
==Use== | ==Use== | ||
− | + | Used to store the value of the players Section ID values in a register. | |
==Example== | ==Example== |
Latest revision as of 06:06, 30 April 2013
Contents
Syntax
Syntax: get_Section_ID register1, register2
- register1 = Reserved register 250 for player slot number.
- register2 = Register to store Section ID value in.
Section ID values
Viridia = 0
Greennill = 1
Skyly = 2
Bluefull = 3
Purplenum = 4
Pinkal = 5
Redria = 6
Oran = 7
Yellowboze = 8
Whitill = 9
Use
Used to store the value of the players Section ID values in a register.
Example
100: get_slotnumber R250 //Gets the slot number of the players and stores it in register 250.
get_Section_ID R250, R1 //Stores the Section ID value of the players in register 1.
ret