Fix some parts of the save schema
This commit is contained in:
parent
58c70b1acd
commit
30feb29526
|
@ -76,28 +76,31 @@ struct Job_progress
|
|||
4 level
|
||||
|
||||
struct Config
|
||||
1 command_set
|
||||
3 message_speed
|
||||
3 battle_speed # 0=1 in-game, ..., 5=6 in-game
|
||||
1 is_wait_mode # 0=active, 1=wait???
|
||||
3 battle_speed # Confirm order on this byte??
|
||||
16 menu_color # RGB555 - really? not BGR?
|
||||
1 reequip_mode # 0=optimum, 1=empty??
|
||||
1 is_stereo # 0=mono, 1=stereo??
|
||||
1 is_memory_cursor # 0=reset, 1=memory??
|
||||
3 message_speed # 0=1 in-game, ..., 5=6 in-game
|
||||
1 command_set # 0=window, 1=shortcut
|
||||
5 menu_color_r
|
||||
5 menu_color_g
|
||||
5 menu_color_b
|
||||
1 padding
|
||||
1 reequip_mode # 0=optimum, 1=empty
|
||||
1 is_mono # 0=stereo, 1=mono
|
||||
1 is_memory_cursor # 0=reset, 1=memory
|
||||
4 unk0
|
||||
1 show_atb_gauge
|
||||
1 hide_atb_gauge # 0=show, 1=hide
|
||||
6 unk1
|
||||
1 is_controller_custom
|
||||
1 is_controller_2p
|
||||
8 button_A
|
||||
8 button_B
|
||||
8 button_X
|
||||
8 button_Y
|
||||
8 button_L
|
||||
8 button_R
|
||||
8 button_Select
|
||||
8[4] character_player_nums
|
||||
8[4][4] character_shortcut_commands
|
||||
1 is_controller_custom # 0=no, 1=yes
|
||||
1 is_controller_2p # 0=no, 1=yes
|
||||
8 button_A # Bit of action
|
||||
8 button_B # Bit of action
|
||||
8 button_X # Bit of action
|
||||
8 button_Y # Bit of action
|
||||
8 button_L # Bit of action
|
||||
8 button_R # Bit of action
|
||||
8 button_Select # Bit of action
|
||||
8[4] character_player_nums # 0=controller 1, 1=controller 2
|
||||
8[4][4] character_shortcut_commands # 0=ability_1, 1=ability_2, 2=ability_3, 3=ability_4
|
||||
|
||||
struct Vehicle
|
||||
2 mode_switching
|
||||
|
@ -119,17 +122,22 @@ Job_progress[4][22] character_jobs_progress
|
|||
24 current_gil
|
||||
32 game_time_frames
|
||||
16 num_enemies_defeated
|
||||
8[20] magic_learned
|
||||
8[4][6] character_names # Bartz, Lenna, Galuf, Faris, Krile. Dialog is hardcoded for everyone except Bartz's name anyway...
|
||||
8[32] magic_learned
|
||||
Config config
|
||||
8[5][6] character_names # Bartz, Lenna, Galuf, Faris, Krile. Dialog is hardcoded for everyone except Bartz's name anyway...
|
||||
8[6] unk0
|
||||
8 magic_lamp_next_summon
|
||||
8 num_battles_escaped # Brave Blade vs Chicken Knife
|
||||
8 wonder_rod_magic
|
||||
8[9] unk1
|
||||
16 num_total_battles
|
||||
16 num_times_saved
|
||||
8 last_battle_results # 0=victory, 1=game over, 2=escaped
|
||||
8[15] flags_battle_events
|
||||
8[32] flags_treasure_opened
|
||||
8[32] unk_probably_still_flags_treasure_opened
|
||||
8[96] flags_events # RAM map mentions $D8E000. This is likely critical to story progression and scripting.
|
||||
8[96] unk_probably_still_flags_events
|
||||
16 map_id_inner
|
||||
16 map_id_world
|
||||
8 pos_x
|
||||
|
|
Loading…
Reference in New Issue