-
Notifications
You must be signed in to change notification settings - Fork 1
Character and Team IDs
Each character has a numeric ID. The game uses these in many places.
value | character |
---|---|
00 | Heidern |
01 | Ralf |
02 | Clark |
03 | Athena Asamiya |
04 | Sie Kensou |
05 | Chin Gentsai |
06 | Kyo Kusanagi |
07 | Benimaru N. |
08 | Goro Daimon |
09 | Heavy D! |
0a | Lucky Glauber |
0b | Brian Battler |
0c | Kim Kaphwan |
0d | Chang Koehan |
0e | Choi Bounge |
0f | Terry Bogard |
10 | Andy Bogard |
11 | Joe Higashi |
12 | Ryo Sakazki |
13 | Robert Garcia |
14 | Takuma Sakazaki |
15 | Yuri Sakazaki |
16 | Mai Shiranui |
17 | King |
18 | Rugal |
19 | Rugal, second form |
Each team has an ID as well.
value/bit | byte value | team |
---|---|---|
0 | 1 | Brazil |
1 | 2 | China |
2 | 4 | Japan |
3 | 8 | USA |
4 | 10 | Korea |
5 | 20 | Italy |
6 | 40 | Mexico |
7 | 80 | England |
8 | Rugal |
The value is the team ID, but sometimes the game sets the corresponding bit. So in that case, the byte value is what they will be when their bit is set.
Using the IDs as bits is mostly for the "defeated teams" byte at 1087df. As you beat teams in single player mode, this byte will get bits set. so 44
(00100100
) means you have beaten Japan and Mexico. When the byte is full (ff
), then you fight Rugal. Convenient that the game has eight teams.
The game has a team/character list at 534dc
0534DC: 0001 02FF 0304 05FF 0607 08FF 090A 0BFF ................
0534EC: 0C0D 0EFF 0F10 11FF 1213 14FF 1516 17FF ................
0534FC: 1819 19FF
This list is in order of team ID, then the characters within the team, then a FF
delimiter byte between teams.
For example, Italy is at 0F10 11FF
, which is Terry (F
), Andy (10
) and Joe (11
), and they are located at the 5th offset within the list, to match their team ID.