-
Notifications
You must be signed in to change notification settings - Fork 4
/
versions.py
51 lines (48 loc) · 1.85 KB
/
versions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import map_names
import charmap
emerald = {
'version': 'emerald',
'map_groups_address': 0x486578,
'baserom_path': 'baserom.gba',
'maps_paths': ['asm/emerald.s'],
'force_stop_addresses': [
0x209a99, # SlateportCityBattleTent waitstate
0x2c8381, # TrainerHill1F missing end
],
'map_names': map_names.emerald,
'field_object_constants_path': 'constants/field_object_constants.s',
'battle_frontier_constants_path': 'constants/battle_frontier_constants.s',
'charmap': charmap.emerald_decode,
'charmap_jp': charmap.emerald_jp_decode,
'mapfile': 'pokeemerald.map',
}
ruby = {
'version': 'ruby',
'map_groups_address': 0x308588,
'baserom_path': 'baserom.gba',
'maps_paths': [
'data/data1.s', 'data/data2.s', 'data/graphics.s', 'data/sound_data.s', 'asm/crt0.s', 'asm/rom1.s', 'asm/rom2.s', 'asm/rom3.s', 'asm/rom4.s', 'asm/rom5.s', 'asm/libgcnmultiboot.s', 'asm/m4a_1.s', 'asm/m4a_3.s', 'asm/libagbsyscall.s', 'asm/libc.s',
'data/event_scripts.s', 'data/battle_ai_scripts.s',
],
'force_stop_addresses': [],
'map_names': map_names.ruby,
'field_object_constants_path': 'constants/map_object_constants.s',
'charmap': charmap.ruby_decode,
'charmap_jp': charmap.ruby_jp_decode,
'mapfile': 'pokeruby.map',
}
sapphire = {
'version': 'sapphire',
'map_groups_address': 0x308518,
'baserom_path': 'baserom_sapphire.gba',
'maps_paths': [
'data/data1.s', 'data/data2.s', 'data/graphics.s', 'data/sound_data.s', 'asm/crt0.s', 'asm/rom1.s', 'asm/rom2.s', 'asm/rom3.s', 'asm/rom4.s', 'asm/rom5.s', 'asm/libgcnmultiboot.s', 'asm/m4a_1.s', 'asm/m4a_3.s', 'asm/libagbsyscall.s', 'asm/libc.s',
'data/event_scripts.s', 'data/battle_ai_scripts.s',
],
'force_stop_addresses': [],
'map_names': map_names.ruby,
'field_object_constants_path': 'constants/map_object_constants.s',
'charmap': charmap.ruby_decode,
'charmap_jp': charmap.ruby_jp_decode,
'mapfile': 'pokesapphire.map',
}