About: Opcode 0x2A - IfMapFlag   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

The scripting command IfMapFlag has the opcode (0x2A).

AttributesValues
rdfs:label
  • Opcode 0x2A - IfMapFlag
rdfs:comment
  • The scripting command IfMapFlag has the opcode (0x2A).
arguments
  • * - Monster or flag number * - destination line number if comparison is true
opcode
  • 0(xsd:integer)
dbkwik:xeen/proper...iPageUsesTemplate
Name
  • IfMapFlag
Description
  • Checks if the given "flag" has been set, and jumps to the given line number if so. A flag is technically a monster, and it is set by being moved outside of the map such that either the X or Y coordinate are greater than 0x20. If the given ID is 0xFF, then it checks all monsters/flags and returns true iff all are set .
Notes
  • When a monster is killed, it's X and Y coordinates are both set to 0x80. In this way, a check to see if all monsters have been killed on a given map can easily be performed. With respect to flags, you can Spawn a "monster" either to 0x20 or greater to set the given flag, or to 0x00 to unset the flag. Xeen can currently support up to 107 different monsters or flags on the map at once.
abstract
  • The scripting command IfMapFlag has the opcode (0x2A).
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software