From 1a03f70443a28d5d67b48dcbf66485aba475ae58 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 3 Sep 2016 16:07:45 -0400 Subject: print_num, all $8000 vectors now labelled --- mklevelinfo.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mklevelinfo.pl') diff --git a/mklevelinfo.pl b/mklevelinfo.pl index e3c1492..988606f 100644 --- a/mklevelinfo.pl +++ b/mklevelinfo.pl @@ -22,7 +22,7 @@ 28 => [ 2, 'map_changes', 'address of list of addresses of map data, used for changing the map when certain bombs are picked up' ], 30 => [ 2, 'indirect_subs', 'pointer to list of indirect subs, always $0000 in this game' ], 32 => [ 2, 'sub_bomb', 'called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine' ], - 34 => [ 2, 'sub_start', 'called at start of level, $06E6 for some levels, or else a ROM subroutine' ], + 34 => [ 2, 'init', 'called at start of level, $06E6 for some levels, or else a ROM subroutine' ], 36 => [ 2, 'sub6', 'always $9740 aka game_main_loop' ], 38 => [ 2, 'sub_eol', 'called at end of level (all bombs picked up). $06E6 for all but level08' ], 40 => [ 6, 'offs', 'all zeroes' ], @@ -94,7 +94,7 @@ for $level (-610,-609,0..11) { } $type = 'bytetable'; - if(($label eq 'bomblist') or ($label =~ /^sub/) or ($label =~ /^map/) or ($label =~ /^unkn_table/)) { + if(($label eq 'bomblist') or ($label eq 'init') or ($label =~ /^sub/) or ($label =~ /^map/) or ($label =~ /^unkn_table/)) { $type = 'addrtable'; } -- cgit v1.2.3