Get Section ID

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

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 

Also see

get_slotnumber, ret, reservedregisters