( 'vAllCommonCodeRegions':, [
( 0x2C8, 0x398 ), ( 0x39C, 0x498 ), ( 0x4E4, 0x598 ), ( 0x5CC, 0x698 ), # 0xD0, 0xFC, 0xB4, 0xCC = 0x34C
( 0x6CC, 0x798 ), ( 0x8CC, 0x998 ), ( 0x99C, 0xA98 ), ( 0xACC, 0xB98 ), # 0xCC, 0xCC, 0xFC, 0xCC = 0x360
( 0xBCC, 0xE98 ), ( 0xECC, 0xF98 ), ( 0xFCC, 0x1098 ), (0x10CC, 0x1198 ), # 0x2CC, 0xCC, 0xCC, 0xCC = 0x530
( 0x1220, 0x1298 ), ( 0x1308, 0x1398 ), ( 0x1408, 0x1498 ), ( 0x1508, 0x1598 ), # 0x78, 0x90, 0x90, 0x90 = 0x228
( 0x15F0, 0x1698 ), ( 0x16CC, 0x1898 ), ( 0x18CC, 0x1998 ), ( 0x19CC, 0x1E98 ), # 0xA8, 0x1CC, 0xCC, 0x4CC = 0x80C
( 0x1ECC, 0x1F98 ), ( 0x1FCC, 0x2098 ), ( 0x20CC, 0x2198 ) ] ), # 0xCC, 0xCC, 0xCC = 0x264
# Total space of above: 0x1874
# The following regions are used for the multiplayer tournament mode (which of course will no longer be functional if you use this space).
# If you use this space, you may want to add a code that prevents people from accessing this mode so that the game doesn't crash when someone tries to use it.
( 'v102TournamentModeRegion', [ ( 0x18DCC0, 0x197B2C ) ] ), # Total space: 0x9E6C
( 'v101TournamentModeRegion', [ ( 0x18D674, 0x1974E0 ) ] ), # Total space: 0x9E6C
( 'v100TournamentModeRegion', [ ( 0x18CDC0, 0x196DE0 ) ] ), # Total space: 0xA020
( 'vPALTournamentModeRegion', [ ( 0x18E804, 0x19869C ) ] ), # Total space: 0x9E98
# The tournament mode regions for versions other than 1.02 have not yet been tested. Please let me know the results if you test them.
# The regions below are for the unused 'USB Screenshot' feature, described here:
#
http://smashboards.com/threads/the-dol-mod-topic.326347/page-11#post-19130116
#
# If they are used for custom code, then the following changes also need to be made:
# 0x1a1b64 --> 60000000, 0x1a1c50 --> 60000000 (nops the branch links to these regions; DOL addresses are for v1.02)
# The program will handle the nops above for you if these regions are used, so these nop notes are really just in case you want to do something manually.
( 'v102ScreenshotRegions', [ ( 0x22545c, 0x225644 ), ( 0x329428, 0x329640 ), ( 0x32a890, 0x32a9a0 ), ( 0x32b96c, 0x32c208 ), ( 0x39063c, 0x3907f4 ) ] ),
( 'v101ScreenshotRegions', [ ( 0x224cd4, 0x224ebc ), ( 0x328750, 0x328968 ), ( 0x329bb8, 0x329cc8 ), ( 0x32ac94, 0x32B530 ), ( 0x38f95c, 0x38fb14 ) ] ),
( 'v100ScreenshotRegions', [ ( 0x22414c, 0x224334 ), ( 0x327b00, 0x327d18 ), ( 0x328f68, 0x329078 ), ( 0x32a044, 0x32A8E0 ), ( 0x38e778, 0x38e930 ) ] ),
( 'vPALScreenshotRegions', [ ( 0x2272cc, 0x2274b4 ), ( 0x329704, 0x32991c ), ( 0x32AB6C, 0x32AC7C ), ( 0x32BC48, 0x32C4E4 ), ( 0x390564, 0x39071c ) ] ),
# Space: 0x1e8 0x218 0x110 0x89c 0x1b8 = 0xF64
# The regions below are used for the game's vanilla Debug Menu, which of course will no longer be functional if you use this space.
# The Debug Mode itself (DbLevel) may still work to some extent, but at the very least you'd need a new method to enter it.
# This region is used automatically if you add Gecko Codes to your game/DOL, for the codeslist. Because of this,
# if you must modify the DebugModeRegion, it's recommended to not modify the first region (especially the first offset of the region).
( 'v102DebugModeRegion', [ ( 0x3f7124, 0x3fac20 ) ] ), # Total space: 0x3AFC (same for all game versions)
( 'v101DebugModeRegion', [ ( 0x3f6444, 0x3f9f40 ) ] ),
( 'v100DebugModeRegion', [ ( 0x3f5294, 0x3f8d90 ) ] ),
( 'vPALDebugModeRegion', [ ( 0x3f7ecc, 0x3fbae8 ) ] ),
# Recommended to not remove or comment out these regions for now; if you don't want them to be used, just disable them in the GUI.
# These are unused areas containing text likely used for debugging the game, and have been tested to be safe for overwriting.
# The first half of this region is used to store the Gecko codehandler if Gecko codes are enabled. So similarly to the above debug mode regions,
# it's recommended to avoid editing the first region here.
( 'v102AuxCodeRegions', [ ( 0x407950, 0x408f50 ) ] ), # Total space: 0x1600
( 'v101AuxCodeRegions', [ ( 0x406c70, 0x408270 ) ] ),
( 'v100AuxCodeRegions', [ ( 0x405990, 0x406f90 ) ] ),
( 'vPALAuxCodeRegions', [ ( 0x408810, 0x409e10 ) ] )
])