aboutsummaryrefslogtreecommitdiff
path: root/mklevelinfo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mklevelinfo.pl')
-rw-r--r--mklevelinfo.pl4
1 files changed, 2 insertions, 2 deletions
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';
}