Game Boy Wars 3/RAM map

From Data Crystal
Jump to navigation Jump to search

Map stats

  • C634 - Red Star's current Gold (3 bytes)
  • C637 - White Moon's current Gold (3 bytes)
  • C63A - Red Star's current Materials (2 bytes)
  • C63C - White Moon's current Materials (2 bytes)
  • C63E - Red Star's current Gold Income / 10 (2 bytes)
  • C640 - White Moon's current Gold Income / 10 (2 bytes)
  • C642 - Red Star's current Materials Income (2 bytes)
  • C644 - White Moon's current Materials Income (2 bytes)
  • C646 - Red Star HQ coordinates
  • C648 - White Moon HQ coordinates
  • C64B~C669 - Property counts
  • C8B3 - Red Star's built units count (2 bytes)
  • C8B5 - White Moon's built units count (2 bytes)
  • C8B7 - Red Star's lost units count (2 bytes)
  • C8B9 - White Moon's lost units count (2 bytes)
  • C942 - unit's distance from opponent's HQ
  • C989 - map's horizontal measure
  • C98A - map's vertical measure
  • C98B - columns to left of view
  • C98C - rows above view
  • C98E - 1 = property can be used for building
  • C98F - cursor X within view coordinate (0~8)
  • C990 - cursor Y within view coordinate (0~8)
  • C991 - cursor X coordinate
  • C992 - cursor X coordinate
  • C993~C994 - Red Star HQ location
  • C995~C996 - White Moon HQ location
  • C9A7 - displayed property type (HQ, City, Ruined City, Factory, Ruined Factory, Airport, Ruined Airport, Simple Airport*, Harbor, Ruined Harbor, Communications Tower)
  • C9A8 - displayed property Strength
  • CA99 - unit scroll current ID #
  • CCDD~CCEC - selected unit's stats (Type, Coordinates, Status (End Turn, ?, ?, ?, ?, Supplied, ?, Loaded), HP, Load Count, Loading Unit's #, Fuel, Ammo 1, Ammo 2, EXP (2 bytes; maxes at 400), ?, ?, ?, ?)
  • CD41 - Unit #
  • CD42 - Unit Type
  • DD80 - property count
  • DD81~DEAC - each property's stats (3 bytes per property: Strength, Coordinates)