Crystal Beans From Dungeon Explorer:Map ObjDef

From Data Crystal
Jump to: navigation, search
Map:ObjDef
Game Crystal Beans From Dungeon Explorer
Start Address 0x0359F7
End Address 0x038DA2
# of Entries  ?
Entry Length 5
Total Length 13228 (0x33AC)
Back to the ROM map

These structures describe the initial position and properties of objects in a map. Lists of Map:ObjDef are terminated by a 0xFFFF word.

Format

X

Initial X position of the object.

Y

Initial Y position of the object.

Flags

Object properties.

  • bit 0: don't add 8 to x pixel coord
  • bit 1: don't add 8 to y pixel coord
  • bit 3: face character when speaking
  • bit 4: walk around
  • bit 6-7: initial facing direction

SubType/DlgIndex

Object subtype, used as dialog index for NPCs.

Type

Object type.