DragonflySotS vor 7 Jahren
Ursprung
Commit
6eb7d44b32
3 geänderte Dateien mit 105 neuen und 1 gelöschten Zeilen
  1. 94
    0
      data/string/map_names.s
  2. 4
    0
      makefile
  3. 7
    1
      patches/maps.asm

+ 94
- 0
data/string/map_names.s Datei anzeigen

@@ -0,0 +1,94 @@
1
+.align 2
2
+.thumb
3
+.text
4
+
5
+.global map_name_table
6
+map_name_table:
7
+.word str_map_name_hesperia
8
+.word str_map_name_carun
9
+.word str_map_name_veternia
10
+.word str_map_name_urbania
11
+.word str_map_name_route_one
12
+.word str_map_name_route_two
13
+.word str_map_name_route_three
14
+.word str_map_name_invalid
15
+.word str_map_name_invalid
16
+.word str_map_name_invalid
17
+.word str_map_name_invalid
18
+.word str_map_name_invalid
19
+.word str_map_name_invalid
20
+.word str_map_name_invalid
21
+.word str_map_name_invalid
22
+.word str_map_name_invalid
23
+.word str_map_name_invalid
24
+.word str_map_name_invalid
25
+.word str_map_name_invalid
26
+.word str_map_name_invalid
27
+.word str_map_name_invalid
28
+.word str_map_name_invalid
29
+.word str_map_name_invalid
30
+.word str_map_name_invalid
31
+.word str_map_name_invalid
32
+.word str_map_name_invalid
33
+.word str_map_name_invalid
34
+.word str_map_name_invalid
35
+.word str_map_name_invalid
36
+.word str_map_name_invalid
37
+.word str_map_name_invalid
38
+.word str_map_name_invalid
39
+.word str_map_name_invalid
40
+.word str_map_name_invalid
41
+.word str_map_name_invalid
42
+.word str_map_name_invalid
43
+.word str_map_name_invalid
44
+.word str_map_name_invalid
45
+.word str_map_name_invalid
46
+.word str_map_name_invalid
47
+.word str_map_name_invalid
48
+.word str_map_name_invalid
49
+.word str_map_name_invalid
50
+.word str_map_name_invalid
51
+.word str_map_name_invalid
52
+.word str_map_name_invalid
53
+.word str_map_name_invalid
54
+.word str_map_name_invalid
55
+.word str_map_name_invalid
56
+.word str_map_name_invalid
57
+.word str_map_name_invalid
58
+.word str_map_name_invalid
59
+.word str_map_name_invalid
60
+.word str_map_name_invalid
61
+.word str_map_name_invalid
62
+.word str_map_name_invalid
63
+.word str_map_name_invalid
64
+.word str_map_name_invalid
65
+.word str_map_name_invalid
66
+.word str_map_name_invalid
67
+.word str_map_name_invalid
68
+.word str_map_name_invalid
69
+
70
+
71
+str_map_name_hesperia:
72
+.string LAN_DE "Hesperia"
73
+
74
+str_map_name_carun:
75
+.string LAN_DE "Carun City"
76
+
77
+str_map_name_veternia:
78
+.string LAN_DE "Veternia City"
79
+
80
+str_map_name_urbania:
81
+.string LAN_DE "Urbania City"
82
+
83
+str_map_name_route_one:
84
+.string LAN_DE "Route 1"
85
+
86
+str_map_name_route_two:
87
+.string LAN_DE "Route 2"
88
+
89
+str_map_name_route_three:
90
+.string LAN_DE "Route 3"
91
+
92
+str_map_name_invalid:
93
+.string LAN_DE "Invalider Name"
94
+.string LAN_EN "Invalid Name"

+ 4
- 0
makefile Datei anzeigen

@@ -205,5 +205,9 @@ $(CRY_AR):
205 205
 	@echo -e "\e[95mMaking Cries\e[0m"
206 206
 	$(MAKE) -C $(dir $@) all
207 207
 
208
+.PHONY: constants
209
+constants:
210
+	python ../tools/v_tools/constants.py src/include/
211
+
208 212
 run: rom
209 213
 	$(VBA) "build/pkmn_sots.gba"

+ 7
- 1
patches/maps.asm Datei anzeigen

@@ -4,4 +4,10 @@
4 4
 .word sovereign_banks
5 5
 
6 6
 .org 0x08055194
7
-.word sovereign_footer
7
+.word sovereign_footer
8
+
9
+.org 0x080C0C94
10
+.word map_name_table
11
+
12
+.org 0x080C4DB8
13
+.word map_name_table