Removed dot generation.

Fixed swapped labels in `city00`.
Added values for unknown triggers, likely to do with game progression.
This commit is contained in:
Filipe Rodrigues 2021-08-07 17:54:51 +01:00
parent da0ab8b8db
commit b5434499dc
3 changed files with 8 additions and 4 deletions

View File

@ -27,9 +27,7 @@ use std::{
collections::{BTreeMap, HashMap},
convert::TryInto,
fs,
io::Write,
};
use zutil::Void;
fn main() -> Result<(), anyhow::Error> {
@ -121,6 +119,7 @@ fn main() -> Result<(), anyhow::Error> {
.map(|(idx, addr)| (addr, format!("jump_{idx}")));
labels.extend(heuristic_labels);
/*
#[derive(Clone, Debug)]
enum CallCond {
None,
@ -244,6 +243,7 @@ fn main() -> Result<(), anyhow::Error> {
}
}
writeln!(dot_file, "}}").context("Unable to write to dot file")?;
*/
let mut state = State::Start;
for (pos, command) in commands {

View File

@ -101,8 +101,8 @@
0x0000fb60: "arena_3_leave_menu"
0x0000fbd4: "arena_3_leave_menu_no"
0x0000fbdc: "arena_3_leave_menu_yes"
0x0000fc04: "arena_4_check_open"
0x0000fbf0: "arena_4_closed"
0x0000fbf0: "arena_4_check_open"
0x0000fc04: "arena_4_closed"
0x0000fc68: "arena_4_enter_menu"
0x0000fce0: "arena_4_enter_menu_no"
0x0000fce8: "arena_4_enter_menu_yes"

View File

@ -55,3 +55,7 @@
0x0167: "can_battle_apokarimon"
0x016c: "battles_done"
0x016d: "battle_cafe_special_consecutive_wins"
0x0168: "city00_arena_4_unknown"
0x00bb: "city00_arena_3_unknown"
0x00a0: "city00_arena_2_unknown"