; size constants
	define BANK_SIZE,    0x4000
	define BANKS,          0x80
	define ROM_SIZE,   0x200000
	define HASH_SIZE,        20
	define SAVE_SIZE,    0x8000

; SRAM pointers
	define sBuildNumber,                0x4bc
	define sStableRNGData,              0x4be
	define sRTCStatusFlags,             0xc60
	define sBackupValidCheck1,         0x1208
	define sBackupGameData,            0x1209
	define sBackupExtraData,           0x1d76
	define sBackupExtraChecksum,       0x1f06
	define sBackupChecksum,            0x1f0d
	define sBackupValidCheck2,         0x1f0f
	define sGBPrinter,                 0x2004
	define sValidCheck1,               0x2008
	define sGameData,                  0x2009
	define sExtraData,                 0x2b76
	define sExtraChecksum,             0x2d06
	define sChecksum,                  0x2d0d
	define sValidCheck2,               0x2d0f
	define sBTWinStreak,               0x3ec8
	define sBox1,                      0x4000
	define sBox8,                      0x6000

; SRAM sizes
	define GAME_DATA_SIZE,              0xb6d
	define EXTRA_DATA_SIZE,               400
	define BOX_SIZE,                    0x450

; game data offsets
	define STATUS_FLAGS_2_OFFSET,       0x3d2
	define TM_FLAGS_OFFSET,             0x3de
	define KEY_ITEMS_COUNT_OFFSET,      0x429
	define PC_ITEMS_COUNT_OFFSET,       0x475
	define EVENT_FLAGS_OFFSET,          0x5f7
	define PARTY_COUNT_OFFSET,          0x85c
	define DAYCARE_MAN_OFFSET,          0xa7a
	define DAYCARE_LADY_OFFSET,         0xab1

; event flags
	define EVENT_HAS_QR_READER,                           51
	define EVENT_POKEONLY_CATERPIE_IN_PARTY,              75
	define EVENT_POKEONLY_MOTHERBUTTERFREE_IN_PARTY,      81
	define EVENT_POKEONLY_FINISHED_CATERPIE_QUEST,        82
	define EVENT_FIRELIGHT_ITEMROOM_TM,                  777
	define EVENT_PHLOX_LAB_CEO,                         1225
	define EVENT_ROUTE_63_TM,                           1717

; Pokémon
	define ARON,        43
	define LAIRON,      44
	define AGGRON,      45
	define DRIFLOON,    84
	define DRIFBLIM,    85
	define SWABLU,     202
	define ALTARIA,    203
	define FEEBAS,     210
	define MILOTIC,    211

; items
	define QR_READER,    239

; experience curves
	define MEDIUM_FAST,  0
	define MEDIUM_SLOW,  3
	define FAST,         4
	define SLOW,         5
	define ERRATIC,      6
	define FLUCTUATING,  7

; miscellaneous
	define PARTYMON_STRUCT_LENGTH, 0x30
	define BOXMON_STRUCT_LENGTH, 0x20
	define NAME_LENGTH, 11
