aboutsummaryrefslogtreecommitdiff
path: root/mklevelinfo.pl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-09-03 16:07:45 -0400
committerB. Watson <yalhcru@gmail.com>2016-09-03 16:07:45 -0400
commit1a03f70443a28d5d67b48dcbf66485aba475ae58 (patch)
tree7ac932affedeae367fbfa8aa603373130ae5b57b /mklevelinfo.pl
parent54115331cb4013c71fc9b65dcaee20b7e00024e4 (diff)
downloadjumpmanjr-1a03f70443a28d5d67b48dcbf66485aba475ae58.tar.gz
print_num, all $8000 vectors now labelled
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';
}