L'Empereur/RAM map

From Data Crystal
Revision as of 19:21, 9 January 2019 by Dugongue (talk | contribs)
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for L'Empereur.

RAM Function Details
0x007B Wait timer # of frames to wait
0x0098 - 0x009B Current PRG Bank pages Mirrors values stored to 0x5114 - 0x5117
0x0700 Palette flag Indicates that palettes are to be updated
0x0701 - 0x0720 Palette data
0x6005 - 0x6EF5 Officer data Start of officer stats = 0x6005 + 0x0F * (Officer ID)
  • + 0x00/0x01 = Next officer in list
  • + 0x02 = Nation
  • + 0x03 = City
  • + 0x04 = Civil Stats
  • + 0x05 = Cmbt Stats
  • + 0x06 = Experience
  • + 0x07 = Loyalty
  • + 0x08 = Age
  • + 0x09 = Men
  • + 0x0A = Horses
  • + 0x0B = Cannons
  • + 0x0C = Training
  • + 0x0D = Morale
  • + 0x0E = Status
0x6EF6 - 0x6FD6 Nations' Diplomatic Statuses
0x6FD7 - 0x6FE5 Nations' Aggression vs. France France is the only nation towards whom aggression is directly tracked in memory. If the aggression between two other nations is to be calculated, it is done by finding the difference between their aggression toward France.
0x6FE6 - 0x6FE7 Year
0x6FE8 Month
0x6FE9 Season
  • 00 = Spring (Mar-May)
  • 01 = Summer (Jun-Aug)
  • 02 = Fall (Sep-Nov)
  • 03 = Winter (Dec-Feb)
0x6FEA Scenario
0x6FEB Game State
0x6FEC Settings
  • 0x80 = Autoplay on
  • 0x10 = Hex War on
  • 0x08 = BGM
  • 0x04 = BGM
  • 0x02 = Graphics
0x6FED Speed Lower = faster
0x6FEF Phase
  • 01 = City Phase
  • 02 = National Phase
  • 03 = Between Months
0x6FF0 Nation Turn #
0x6FF1 City Turn #
0x6FF2 - 0x7001 Nation turns The 1-byte IDs of all nations are stored here in order of their randomized turn number
0x7002 - 0x7030 City turns The 1-byte IDs of all cities are stored here in order of their randomized turn number
0x7031 - 0x705E City used turn flag
0x705F # of National Actions left
0x7060 Nelson alive
0x7068 - 0x7175 Nation data
0x7176 - 0x767D City data
0x7CE8 - 0x7CE9 Text window x-position
0x7CEA - 0x7CEB Text window y-position