Crystal Beans from Dungeon Explorer/Map ObjDef: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 21:03, 28 January 2024

This is a sub-page of Crystal Beans from Dungeon Explorer.

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.