3.8 KiB
3.8 KiB
1 | struct | Character | |
---|---|---|---|
2 | u3 | character_id | # 0=Bartz, 1=Lenna, 2=Galuf, 3=Faris, 4=Krile, 5/6/7 unused |
3 | u1 | is_female | # 0=male, 1=female |
4 | u2 | unk0 | # Two unknown, possibly unused bits |
5 | u1 | is_absent | # 0=present, 1=absent |
6 | u1 | is_back_row | |
7 | u8 | current_job_id | |
8 | u8 | level | |
9 | u24 | experience | |
10 | u16 | hp_current | |
11 | u16 | hp_max | |
12 | u16 | mp_current | |
13 | u16 | mp_max | |
14 | u8 | equipped_head | |
15 | u8 | equipped_body | |
16 | u8 | equipped_acc | |
17 | u8 | equipped_rh_shield | |
18 | u8 | equipped_lh_shield | |
19 | u8 | equipped_rh_weapon | |
20 | u8 | equipped_lh_weapon | |
21 | u8 | caught_monster | |
22 | u8 | ability_1 | |
23 | u8 | ability_2 | |
24 | u8 | ability_3 | |
25 | u8 | ability_4 | |
26 | u8 | status_1 | |
27 | u8 | status_2 | |
28 | u8 | status_3 | |
29 | u8 | status_4 | |
30 | u8 | action_flags | |
31 | u8 | damage_mod | |
32 | u16 | innates | |
33 | u8 | magic_element_up | |
34 | u8 | equip_weight | |
35 | u8 | base_strength | |
36 | u8 | base_agility | |
37 | u8 | base_stamina | |
38 | u8 | base_magic | |
39 | u8 | current_strength | |
40 | u8 | current_agility | |
41 | u8 | current_stamina | |
42 | u8 | current_magic | |
43 | u8 | evasion | |
44 | u8 | defense | |
45 | u8 | magic_evasion | |
46 | u8 | magic_defense | |
47 | u8 | elemental_absorb | |
48 | u8 | elemental_evade | |
49 | u8 | elemental_immune | |
50 | u8 | elemental_half | |
51 | u8 | elemental_weakness | |
52 | u8 | resistance_status_1 | |
53 | u8 | resistance_status_2 | |
54 | u8 | resistance_status_3 | |
55 | u8 | specialty_weapon | |
56 | u8 | specialty_equipment | |
57 | u8 | current_job_level | |
58 | u16 | current_job_abp | |
59 | u8 | spell_level_1 | |
60 | u8 | spell_level_2 | |
61 | u8 | spell_level_3 | |
62 | u32 | equipment_category | |
63 | u16 | attack | |
64 | u8 | attack_id_reaction_unused | |
65 | u8 | unk1 | |
66 | u8 | unk2 | |
67 | u8 | unk3 | |
68 | u8 | freelancer_strength | |
69 | u8 | freelancer_agility | |
70 | u8 | freelancer_stamina | |
71 | u8 | freelancer_magic | |
72 | u16 | freelancer_innates | |
73 | |||
74 | struct | Job_progress | |
75 | u12 | abp | |
76 | u4 | level | |
77 | |||
78 | struct | Config | |
79 | u3 | battle_speed | # 0=1 in-game, ..., 5=6 in-game |
80 | u1 | is_wait_mode | # 0=active, 1=wait??? |
81 | u3 | message_speed | # 0=1 in-game, ..., 5=6 in-game |
82 | u1 | command_set | # 0=window, 1=shortcut |
83 | u5 | menu_color_r | |
84 | u5 | menu_color_g | |
85 | u5 | menu_color_b | |
86 | u1 | padding | |
87 | u1 | reequip_mode | # 0=optimum, 1=empty |
88 | u1 | is_mono | # 0=stereo, 1=mono |
89 | u1 | is_memory_cursor | # 0=reset, 1=memory |
90 | u4 | unk0 | |
91 | u1 | hide_atb_gauge | # 0=show, 1=hide |
92 | u6 | unk1 | |
93 | u1 | is_controller_custom | # 0=no, 1=yes |
94 | u1 | is_controller_2p | # 0=no, 1=yes |
95 | u8 | button_A | # Bit of action |
96 | u8 | button_B | # Bit of action |
97 | u8 | button_X | # Bit of action |
98 | u8 | button_Y | # Bit of action |
99 | u8 | button_L | # Bit of action |
100 | u8 | button_R | # Bit of action |
101 | u8 | button_Select | # Bit of action |
102 | 4 of u8 | character_player_nums | # 0=controller 1, 1=controller 2 |
103 | 4 of 4 of u8 | character_shortcut_commands | # 0=ability_1, 1=ability_2, 2=ability_3, 3=ability_4 |
104 | |||
105 | struct | Vehicle | |
106 | u2 | mode_switching | |
107 | u3 | movement_type | |
108 | u3 | map_id | |
109 | u7 | unk0 | |
110 | u1 | is_hidden | # 0=show, 1=hide |
111 | u8 | x | |
112 | u8 | y | |
113 | |||
114 | struct | Save_slot | |
115 | 4 of Character | characters | |
116 | 256 of u8 | inventory_item_ids | |
117 | 256 of u8 | inventory_item_qtys | |
118 | u24 | unlocked_jobs | |
119 | 4 of 22 of Job_progress | character_jobs_progress | |
120 | 4 of u8 | character_abilities_learned_count | |
121 | 4 of 20 of u8 | character_abilities_learned | |
122 | u24 | current_gil | |
123 | u32 | game_time_frames | |
124 | u16 | num_enemies_defeated | |
125 | 32 of u8 | magic_learned | |
126 | Config | config | |
127 | 5 of 6 of u8 | character_names | # Bartz, Lenna, Galuf, Faris, Krile. Dialog is hardcoded for everyone except Bartz's name anyway... |
128 | 6 of u8 | unk0 | |
129 | u8 | magic_lamp_next_summon | |
130 | u8 | num_battles_escaped | # Brave Blade vs Chicken Knife |
131 | u8 | wonder_rod_magic | |
132 | 9 of u8 | unk1 | |
133 | u16 | num_total_battles | |
134 | u16 | num_times_saved | |
135 | u8 | last_battle_results | # 0=victory, 1=game over, 2=escaped |
136 | 15 of u8 | flags_battle_events | |
137 | 32 of u8 | flags_treasure_opened | |
138 | 32 of u8 | unk_probably_still_flags_treasure_opened | |
139 | 96 of u8 | flags_events | # RAM map mentions $D8E000. This is likely critical to story progression and scripting. |
140 | 96 of u8 | unk_probably_still_flags_events | |
141 | u16 | map_id_inner | |
142 | u16 | map_id_world | |
143 | u8 | pos_x | |
144 | u8 | pos_y | |
145 | u8 | current_character_sprite | |
146 | u8 | current_character_facing | |
147 | u8 | current_vehicle | |
148 | Vehicle | veh_chocobo | |
149 | Vehicle | veh_black_chocobo | |
150 | Vehicle | veh_hiryuu | |
151 | Vehicle | veh_submarine | |
152 | Vehicle | veh_steamship | |
153 | Vehicle | veh_airship | |
154 | u16 | teleport_map_id | |
155 | u8 | teleport_map_x | |
156 | u8 | teleport_map_y | |
157 | u8 | initial_seed | |
158 | u8 | walking_speed | # 0=normal, 1=double (fast), 80=half (slow) |
159 | u8 | timed_event_active | |
160 | u16 | timed_event_timer | |
161 | u16 | timed_event_end |