aboutsummaryrefslogtreecommitdiff
path: root/jumpmanjr.html
diff options
context:
space:
mode:
Diffstat (limited to 'jumpmanjr.html')
-rw-r--r--jumpmanjr.html379
1 files changed, 194 insertions, 185 deletions
diff --git a/jumpmanjr.html b/jumpmanjr.html
index d1625b5..d5c9718 100644
--- a/jumpmanjr.html
+++ b/jumpmanjr.html
@@ -7,7 +7,7 @@
<body bgcolor="#000000" text="#ffffff">
<pre>
<font color="#8080ff">; da65 V2.15 - Git 104f898</font>
-<font color="#8080ff">; Created: 2016-09-06 18:37:35</font>
+<font color="#8080ff">; Created: 2016-09-07 16:39:55</font>
<font color="#8080ff">; Input file: jumpmanjr.rom</font>
<font color="#8080ff">; Page: 1</font>
@@ -24,6 +24,10 @@
<font color="#00ffff">bomb_idx</font> :=<font color="#ff40ff"> $00B2 </font> <font color="#8080ff">; bomb that was just picked up (times 2, suitable for index into a table of words)</font>
<font color="#00ffff">blistptr</font> :=<font color="#ff40ff"> $00B4 </font> <font color="#8080ff">; bomb_pickup: points to current level's bomblist</font>
<font color="#00ffff">bombloc</font> :=<font color="#ff40ff"> $00B6 </font> <font color="#8080ff">; bomb_pickup: position of the bomb Jumpman just touched, on 8x8 coarse grid</font>
+<font color="#00ffff">zp_temp3</font> :=<font color="#ff40ff"> $00B7</font>
+<font color="#00ffff">zp_temp4</font> :=<font color="#ff40ff"> $00B8 </font> <font color="#8080ff">; number of players, used by ask_num_players and option_key_handler. used as a temp elsewhere.</font>
+<font color="#00ffff">zp_temp5</font> :=<font color="#ff40ff"> $00B9 </font> <font color="#8080ff">; among other things, used for jumpman's dance on title screen</font>
+<font color="#00ffff">zp_temp6</font> :=<font color="#ff40ff"> $00BA </font> <font color="#8080ff">; used for audio freq counter in materialize_jumpman. also used when setting number of players and player speeds.</font>
<font color="#00ffff">sa_tmp_1</font> :=<font color="#ff40ff"> $00BD </font> <font color="#8080ff">; used by calc_screen_addr</font>
<font color="#00ffff">dm_count</font> :=<font color="#ff40ff"> $00BE </font> <font color="#8080ff">; graphics object definition is this long</font>
<font color="#00ffff">dm_length</font> :=<font color="#ff40ff"> $00BF </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
@@ -68,20 +72,21 @@
<font color="#00ffff">initial_speed</font> :=<font color="#ff40ff"> $0625 </font> <font color="#8080ff">; current user's chosen speed, set at game start</font>
<font color="#00ffff">bonus_jiffy_timer</font>:=<font color="#ff40ff"> $0626 </font> <font color="#8080ff">; gets incremented every frame when playing a level, bonus-=100 when this wraps around to 0</font>
<font color="#00ffff">playing_level</font> :=<font color="#ff40ff"> $0627 </font> <font color="#8080ff">; 0 = not playing, non-0 = playing</font>
-<font color="#00ffff">sfx_lock</font> :=<font color="#ff40ff"> $062F </font> <font color="#8080ff">; lets other code know cue_sfx is still running? not 100% sure</font>
+<font color="#00ffff">rot_color</font> :=<font color="#ff40ff"> $062A </font> <font color="#8080ff">; see comment at rotating_colors</font>
+<font color="#00ffff">snd_lock</font> :=<font color="#ff40ff"> $062F </font> <font color="#8080ff">; lets other code know cue_sfx is still running? not 100% sure</font>
<font color="#00ffff">player_delta_x</font> :=<font color="#ff40ff"> $0630 </font> <font color="#8080ff">; amount to move jumpman this frame (1 or $FF aka -1)</font>
<font color="#00ffff">player_delta_y</font> :=<font color="#ff40ff"> $0631 </font> <font color="#8080ff">; amount to move jumpman this frame (1 or $FF aka -1)</font>
<font color="#00ffff">joystick_disabled</font>:=<font color="#ff40ff"> $0632 </font> <font color="#8080ff">; nonzero = jumpman can't move (title screen or materialization, etc)</font>
<font color="#00ffff">joystick_state</font> :=<font color="#ff40ff"> $0633 </font> <font color="#8080ff">; last PORTA read (bottom 4 bits), or 0 if joystick_disabled</font>
<font color="#00ffff">trigger_disabled</font>:=<font color="#ff40ff"> $0634 </font> <font color="#8080ff">; nonzero = jumpman can't jump (he's already jumping, or title screen or materialization, etc)</font>
<font color="#00ffff">trigger_state</font> :=<font color="#ff40ff"> $0635 </font> <font color="#8080ff">; last TRIG0 read (0 = pressed)</font>
-<font color="#00ffff">sfx_ptr</font> :=<font color="#ff40ff"> $063C</font>
-<font color="#00ffff">sfx_slot_priority</font>:=<font color="#ff40ff"> $063E </font> <font color="#8080ff">; priority of this sfx</font>
-<font color="#00ffff">sfx_slot_timer</font> :=<font color="#ff40ff"> $063F</font>
-<font color="#00ffff">sfx_slot_duration</font>:=<font color="#ff40ff"> $0646</font>
-<font color="#00ffff">sfx_slot_audc</font> :=<font color="#ff40ff"> $0647</font>
-<font color="#00ffff">sfx_slot_curpos</font> :=<font color="#ff40ff"> $064E </font> <font color="#8080ff">; address we've got to so far, playing this sfx</font>
-<font color="#00ffff">sfx_priority_tmp</font>:=<font color="#ff40ff"> $0661 </font> <font color="#8080ff">; ??</font>
+<font color="#00ffff">snd_ptr</font> :=<font color="#ff40ff"> $063C</font>
+<font color="#00ffff">snd_slot_priority</font>:=<font color="#ff40ff"> $063E </font> <font color="#8080ff">; priority of this sfx</font>
+<font color="#00ffff">snd_slot_timer</font> :=<font color="#ff40ff"> $063F</font>
+<font color="#00ffff">snd_slot_duration</font>:=<font color="#ff40ff"> $0646</font>
+<font color="#00ffff">snd_slot_audc</font> :=<font color="#ff40ff"> $0647</font>
+<font color="#00ffff">snd_slot_curpos</font> :=<font color="#ff40ff"> $064E </font> <font color="#8080ff">; address we've got to so far, playing this sfx</font>
+<font color="#00ffff">snd_priority_tmp</font>:=<font color="#ff40ff"> $0661 </font> <font color="#8080ff">; ??</font>
<font color="#00ffff">num_tmp</font> :=<font color="#ff40ff"> $0665 </font> <font color="#8080ff">; temp used by print_number</font>
<font color="#00ffff">player_x_pos</font> :=<font color="#ff40ff"> $067E </font> <font color="#8080ff">; stored in HPOSP0</font>
<font color="#00ffff">player_y_pos</font> :=<font color="#ff40ff"> $0683 </font> <font color="#8080ff">; $C6 is the bottom of the level (where you end up when you die)</font>
@@ -562,94 +567,94 @@
.<font color="#ffff00">byte</font> <font color="#ff6060">$3F</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$FC</font> <font color="#8080ff">; 8153 3F CF F3 FC ?...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; we have 4 slots (because POKEY has 4 voices), X counts down by 2 from 10 to 2 (at 0, the loop exits)</font>
-<font color="#00ffff">sfx_player_entry</font>:
+<font color="#00ffff">snd_player_entry</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 8157 A2 0A ..</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8159 AD 2F 06 ./.</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 815C F0 01 ..</font>
-<font color="#00ffff">sfx_exit</font>:
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_lock</font> <font color="#8080ff">; 8159 AD 2F 06 ./.</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">next_snd_slot</font> <font color="#8080ff">; 815C F0 01 ..</font>
+<font color="#00ffff">snd_exit</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 815E 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">next_sfx_slot</font>:
+<font color="#00ffff">next_snd_slot</font>:
<font color="#00ff00">dex</font> <font color="#8080ff">; 815F CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8160 CA .</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">sfx_exit</font> <font color="#8080ff">; 8161 F0 FB ..</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8163 BD 3E 06 .&gt;.</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 8166 F0 F7 ..</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">snd_exit</font> <font color="#8080ff">; 8161 F0 FB ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8163 BD 3E 06 .&gt;.</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">next_snd_slot</font> <font color="#8080ff">; 8166 F0 F7 ..</font>
<font color="#8080ff">; skip it, if slot is inactive</font>
<font color="#00ffff">is_slot_active</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8168 BD 3F 06 .?.</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 816B F0 10 ..</font>
- <font color="#00ff00">dec</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 816D DE 3F 06 .?.</font>
- <font color="#00ff00">cmp</font> <font color="#00ffff">sfx_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8170 DD 46 06 .F.</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 8173 D0 EA ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8168 BD 3F 06 .?.</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">snd_next_note</font> <font color="#8080ff">; 816B F0 10 ..</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">snd_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 816D DE 3F 06 .?.</font>
+ <font color="#00ff00">cmp</font> <font color="#00ffff">snd_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8170 DD 46 06 .F.</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">next_snd_slot</font> <font color="#8080ff">; 8173 D0 EA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8175 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDC1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8177 9D FF D1 ...</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 817A 4C 5F 81 L_.</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">next_snd_slot</font> <font color="#8080ff">; 817A 4C 5F 81 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">sfx_next_note</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 817D BD 4E 06 .N.</font>
+<font color="#00ffff">snd_next_note</font>:
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 817D BD 4E 06 .N.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8180 85 CB ..</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8182 BD 4F 06 .O.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8182 BD 4F 06 .O.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8185 85 CC ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8187 A0 00 ..</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8189 B1 CB ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 818B C9 04 ..</font>
- <font color="#00ff00">bcs</font> <font color="#00ffff">sfx_play_note</font> <font color="#8080ff">; 818D B0 77 .w</font>
+ <font color="#00ff00">bcs</font> <font color="#00ffff">snd_play_note</font> <font color="#8080ff">; 818D B0 77 .w</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 818F C9 01 ..</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">sfx_set_audc</font> <font color="#8080ff">; 8191 F0 1B ..</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">snd_set_audc</font> <font color="#8080ff">; 8191 F0 1B ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8193 C9 02 ..</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">sfx_jump_opcode</font> <font color="#8080ff">; 8195 F0 31 .1</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">snd_jump_opcode</font> <font color="#8080ff">; 8195 F0 31 .1</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8197 C9 03 ..</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">sfx_play_rest</font> <font color="#8080ff">; 8199 F0 03 ..</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">sfx_finished</font> <font color="#8080ff">; 819B 4C 26 82 L&amp;.</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">snd_play_rest</font> <font color="#8080ff">; 8199 F0 03 ..</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">snd_finished</font> <font color="#8080ff">; 819B 4C 26 82 L&amp;.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0 on entry</font>
-<font color="#00ffff">sfx_play_rest</font>:
+<font color="#00ffff">snd_play_rest</font>:
<font color="#00ff00">tya</font> <font color="#8080ff">; 819E 98 .</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDC1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 819F 9D FF D1 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81A2 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81A3 B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81A5 9D 3F 06 .?.</font>
- <font color="#00ff00">jsr</font> <font color="#00ffff">inc_sfx_pos</font> <font color="#8080ff">; 81A8 20 31 82 1.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81A5 9D 3F 06 .?.</font>
+ <font color="#00ff00">jsr</font> <font color="#00ffff">inc_snd_pos</font> <font color="#8080ff">; 81A8 20 31 82 1.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">is_slot_active</font> <font color="#8080ff">; 81AB 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0 on entry</font>
-<font color="#00ffff">sfx_set_audc</font>:
+<font color="#00ffff">snd_set_audc</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 81AE C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81AF B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_audc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B1 9D 47 06 .G.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_audc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B1 9D 47 06 .G.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81B4 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81B5 B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B7 9D 46 06 .F.</font>
- <font color="#00ff00">jsr</font> <font color="#00ffff">inc_sfx_pos</font> <font color="#8080ff">; 81BA 20 31 82 1.</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81BD FE 4E 06 .N.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B7 9D 46 06 .F.</font>
+ <font color="#00ff00">jsr</font> <font color="#00ffff">inc_snd_pos</font> <font color="#8080ff">; 81BA 20 31 82 1.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81BD FE 4E 06 .N.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">is_slot_active</font> <font color="#8080ff">; 81C0 D0 A6 ..</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81C2 FE 4F 06 .O.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81C2 FE 4F 06 .O.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">is_slot_active</font> <font color="#8080ff">; 81C5 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; I *think* this jumps to a different sfx address...</font>
-<font color="#00ffff">sfx_jump_opcode</font>:
+<font color="#00ffff">snd_jump_opcode</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 81C8 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81C9 B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81CB 9D 4E 06 .N.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81CB 9D 4E 06 .N.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81CE C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81CF B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81D1 9D 4F 06 .O.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81D1 9D 4F 06 .O.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81D4 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $065E,x </font> <font color="#8080ff">; 81D5 BD 5E 06 .^.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L81EE</font> <font color="#8080ff">; 81D8 F0 14 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $065E,x </font> <font color="#8080ff">; 81DA DE 5E 06 .^.</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 81DD D0 9E ..</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">snd_next_note</font> <font color="#8080ff">; 81DD D0 9E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0656,x </font> <font color="#8080ff">; 81DF BD 56 06 .V.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E2 9D 4E 06 .N.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E2 9D 4E 06 .N.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0657,x </font> <font color="#8080ff">; 81E5 BD 57 06 .W.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E8 9D 4F 06 .O.</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 81EB 4C 7D 81 L}.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E8 9D 4F 06 .O.</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">snd_next_note</font> <font color="#8080ff">; 81EB 4C 7D 81 L}.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L81EE</font>: <font color="#00ff00">nop</font> <font color="#8080ff">; 81EE EA .</font>
@@ -662,43 +667,43 @@
<font color="#00ff00">lda</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 81FC A5 CC ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 81FE 69 00 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0657,x </font> <font color="#8080ff">; 8200 9D 57 06 .W.</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 8203 4C 7D 81 L}.</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">snd_next_note</font> <font color="#8080ff">; 8203 4C 7D 81 L}.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0, a&gt;=4 on entry</font>
-<font color="#00ffff">sfx_play_note</font>:
+<font color="#00ffff">snd_play_note</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8206 9D FE D1 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8209 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 820A B1 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820C 9D 3F 06 .?.</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_audc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820F BD 47 06 .G.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820C 9D 3F 06 .?.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_audc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820F BD 47 06 .G.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDC1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8212 9D FF D1 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8215 18 .</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8216 BD 4E 06 .N.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8216 BD 4E 06 .N.</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8219 69 02 i.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 821B 9D 4E 06 .N.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 821B 9D 4E 06 .N.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">cpos_hi_ok</font> <font color="#8080ff">; 821E 90 03 ..</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8220 FE 4F 06 .O.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8220 FE 4F 06 .O.</font>
<font color="#00ffff">cpos_hi_ok</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">is_slot_active</font> <font color="#8080ff">; 8223 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; done playing this sfx, free up the slot, X-indexed</font>
-<font color="#00ffff">sfx_finished</font>:
+<font color="#00ffff">snd_finished</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8226 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8228 9D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8228 9D 3E 06 .&gt;.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDC1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 822B 9D FF D1 ...</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 822E 4C 5F 81 L_.</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">next_snd_slot</font> <font color="#8080ff">; 822E 4C 5F 81 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; point to next byte in current sfx slot indexed by X</font>
-<font color="#00ffff">inc_sfx_pos</font>:
+<font color="#00ffff">inc_snd_pos</font>:
<font color="#00ff00">clc</font> <font color="#8080ff">; 8231 18 .</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8232 BD 4E 06 .N.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8232 BD 4E 06 .N.</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8235 69 02 i.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8237 9D 4E 06 .N.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8237 9D 4E 06 .N.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">inc_done</font> <font color="#8080ff">; 823A 90 03 ..</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 823C FE 4F 06 .O.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 823C FE 4F 06 .O.</font>
<font color="#00ffff">inc_done</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 823F 60 `</font>
@@ -706,40 +711,40 @@
<font color="#8080ff">; if cue_sfx not already in progress, setup to play sfx at (sfx_slot_priority, sfx_lock), priority A</font>
<font color="#00ffff">cue_sfx_lowprior</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 8240 48 H</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8241 AD 3D 06 .=.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8241 AD 3D 06 .=.</font>
<font color="#00ffff">cue_ok</font>: <font color="#00ff00">beq</font> <font color="#00ffff">lp_ok</font> <font color="#8080ff">; 8244 F0 02 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8246 68 h</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8247 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; copy to sfx_ptr, fall thru to cue_sfx</font>
-<font color="#00ffff">lp_ok</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 8248 AD 3E 06 .&gt;.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 824B 8D 3C 06 .&lt;.</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 824E AD 3F 06 .?.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8251 8D 3D 06 .=.</font>
+<font color="#00ffff">lp_ok</font>: <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 8248 AD 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 824B 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 824E AD 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8251 8D 3D 06 .=.</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8254 68 h</font>
<font color="#8080ff">; setup to play sfx at *sfx_ptr, priority in A</font>
-<font color="#00ffff">cue_sfx</font>:<font color="#00ff00">sta</font> <font color="#00ffff">sfx_priority_tmp</font> <font color="#8080ff">; 8255 8D 61 06 .a.</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8258 EE 2F 06 ./.</font>
+<font color="#00ffff">cue_sfx</font>:<font color="#00ff00">sta</font> <font color="#00ffff">snd_priority_tmp</font> <font color="#8080ff">; 8255 8D 61 06 .a.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">snd_lock</font> <font color="#8080ff">; 8258 EE 2F 06 ./.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 825B A2 0A ..</font>
<font color="#00ffff">next_slot</font>:
<font color="#00ff00">dex</font> <font color="#8080ff">; 825D CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 825E CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">bump_slot</font> <font color="#8080ff">; 825F F0 20 . </font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8261 BD 3E 06 .&gt;.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8261 BD 3E 06 .&gt;.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">next_slot</font> <font color="#8080ff">; 8264 D0 F7 ..</font>
<font color="#8080ff">; found a free slot, use it</font>
<font color="#00ffff">load_slot</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8266 AD 3C 06 .&lt;.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8269 9D 4E 06 .N.</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 826C AD 3D 06 .=.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 826F 9D 4F 06 .O.</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_priority_tmp</font> <font color="#8080ff">; 8272 AD 61 06 .a.</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8275 9D 3E 06 .&gt;.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 8266 AD 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8269 9D 4E 06 .N.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 826C AD 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 826F 9D 4F 06 .O.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_priority_tmp</font> <font color="#8080ff">; 8272 AD 61 06 .a.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8275 9D 3E 06 .&gt;.</font>
<font color="#00ffff">cue_done</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8278 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 827A 8D 3D 06 .=.</font>
- <font color="#00ff00">dec</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 827D CE 2F 06 ./.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 827A 8D 3D 06 .=.</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">snd_lock</font> <font color="#8080ff">; 827D CE 2F 06 ./.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8280 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -753,8 +758,8 @@
<font color="#8080ff">; branch to cue_done (give up) if all slots are in use with higher priority than this sfx (which means it won't be heard)</font>
<font color="#00ffff">bump_fail</font>:
<font color="#00ff00">beq</font> <font color="#00ffff">cue_done</font> <font color="#8080ff">; 8285 F0 F1 ..</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8287 BD 3E 06 .&gt;.</font>
- <font color="#00ff00">cmp</font> <font color="#00ffff">sfx_priority_tmp</font> <font color="#8080ff">; 828A CD 61 06 .a.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_priority</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8287 BD 3E 06 .&gt;.</font>
+ <font color="#00ff00">cmp</font> <font color="#00ffff">snd_priority_tmp</font> <font color="#8080ff">; 828A CD 61 06 .a.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">load_slot</font> <font color="#8080ff">; 828D 90 D7 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">bump_try_next</font> <font color="#8080ff">; 828F 4C 83 82 L..</font>
@@ -1036,8 +1041,8 @@
<font color="#00ff00">and</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8498 29 07 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0628 </font> <font color="#8080ff">; 849A 8D 28 06 .(.</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 849D AA .</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">data_table_85b6</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 849E BD B6 85 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 84A1 8D 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rotating_colors</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 849E BD B6 85 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 84A1 8D 2A 06 .*.</font>
<font color="#8080ff">; read the joystick if not disabled</font>
<font color="#00ffff">check_joystick_enabled</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; 84A4 AD 32 06 .2.</font>
@@ -1091,7 +1096,7 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 84F2 AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 84F5 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 84F8 0D 44 06 .D.</font>
- <font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 84FB 0D 46 06 .F.</font>
+ <font color="#00ff00">ora</font> <font color="#00ffff">snd_slot_duration</font> <font color="#8080ff">; 84FB 0D 46 06 .F.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0663 </font> <font color="#8080ff">; 84FE 8D 63 06 .c.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 8501 A2 10 ..</font>
<font color="#8080ff">; save contents of GTIA collision regs (X ranges 1 to $10, dli_vec_shadow_hi should read collision_save-1)</font>
@@ -1204,8 +1209,8 @@
<font color="#00ff00">jmp</font> <font color="#00ffff">no_consol_pressed</font> <font color="#8080ff">; 85B3 4C 8D 85 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#8080ff">; used in vblank_imm_isr, not sure for what yet</font>
-<font color="#00ffff">data_table_85b6</font>:
+<font color="#8080ff">; used for color-shifting objects like electrocution, walls, and the bonus counter. every frame, the next one of these is stored in rot_color.</font>
+<font color="#00ffff">rotating_colors</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$56</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$F6</font> <font color="#8080ff">; 85B6 1A 96 28 66 C6 56 0E F6 ..(f.V..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; X/Y movement, indexed by joystick_state &lt;&lt; 1, each entry is XXYY, $FF is -1</font>
@@ -1231,7 +1236,7 @@
.<font color="#00ffff">addr</font> <font color="#00ffff">position_missiles</font> <font color="#8080ff">; 85EE 93 82 ..</font>
.<font color="#00ffff">addr</font> <font color="#00ffff">bullet_logic</font> <font color="#8080ff">; 85F0 69 8E i.</font>
.<font color="#00ffff">addr</font> <font color="#00ffff">check_falling_2</font> <font color="#8080ff">; 85F2 00 89 ..</font>
- .<font color="#00ffff">addr</font> <font color="#00ffff">sfx_player_entry</font> <font color="#8080ff">; 85F4 57 81 W.</font>
+ .<font color="#00ffff">addr</font> <font color="#00ffff">snd_player_entry</font> <font color="#8080ff">; 85F4 57 81 W.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_85f6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85F6 00 00 00 00 00 00 00 00 ........</font>
@@ -1412,15 +1417,15 @@
<font color="#00ff00">dex</font> <font color="#8080ff">; 8742 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8736</font> <font color="#8080ff">; 8743 D0 F1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$2B</font> <font color="#8080ff">; 8745 A9 2B .+</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 8747 85 B8 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 8747 85 B8 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8749 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 874B 85 B7 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 874B 85 B7 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 874D A8 .</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 874E A2 05 ..</font>
-<font color="#00ffff">L8750</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> ($B7),y </font> <font color="#8080ff">; 8750 91 B7 ..</font>
+<font color="#00ffff">L8750</font>: <font color="#00ff00">sta</font> (<font color="#00ffff">zp_temp3</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8750 91 B7 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8752 C8 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8750</font> <font color="#8080ff">; 8753 D0 FB ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 8755 E6 B8 ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 8755 E6 B8 ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8757 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8750</font> <font color="#8080ff">; 8758 D0 F6 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 875A 60 `</font>
@@ -1453,7 +1458,7 @@
<font color="#00ff00">dex</font> <font color="#8080ff">; 8782 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">ej_loop</font> <font color="#8080ff">; 8783 D0 F2 ..</font>
<font color="#00ff00">stx</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; 8785 8E 32 06 .2.</font>
- <font color="#00ff00">stx</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8788 8E 2F 06 ./.</font>
+ <font color="#00ff00">stx</font> <font color="#00ffff">snd_lock</font> <font color="#8080ff">; 8788 8E 2F 06 ./.</font>
<font color="#00ff00">stx</font> <font color="#00ffff">work_level_bullet_max</font> <font color="#8080ff">; 878B 8E 8B 07 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">prepare_level</font> <font color="#8080ff">; 878E 20 2A 87 *.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">silence_audio</font> <font color="#8080ff">; 8791 20 5B 87 [.</font>
@@ -1533,9 +1538,9 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 87F8 B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06DD </font> <font color="#8080ff">; 87FA 8D DD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$92</font> <font color="#8080ff">; 87FD A9 92 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 87FF 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 87FF 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$88</font> <font color="#8080ff">; 8802 A9 88 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8804 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8804 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 8807 A9 08 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8809 20 06 80 ..</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">bomb_idx</font> <font color="#8080ff">; 880C A4 B2 ..</font>
@@ -1703,9 +1708,9 @@
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8933 EE 88 06 ...</font>
<font color="#00ffff">play_sfx_death</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$60</font> <font color="#8080ff">; 8936 A9 60 .`</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 8938 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 8938 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 893B A9 8A ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 893D 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 893D 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8940 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8942 20 03 80 ..</font>
<font color="#00ffff">L8945</font>: <font color="#00ff00">lda</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; 8945 AD 83 06 ...</font>
@@ -1749,9 +1754,9 @@
<font color="#00ff00">sta</font> <font color="#00ffff">game_display_list</font> <font color="#8080ff">; 8997 8D 81 08 ...</font>
<font color="#00ffff">play_sfx_bounce_1</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$4B</font> <font color="#8080ff">; 899A A9 4B .K</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 899C 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 899C 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 899F A9 8A ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 89A1 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 89A1 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 89A4 A9 04 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 89A6 20 03 80 ..</font>
<font color="#00ffff">L89A9</font>: <font color="#00ff00">ldx</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 89A9 AE EA 06 ...</font>
@@ -1851,9 +1856,9 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8A80 AD 1F 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8A94</font> <font color="#8080ff">; 8A83 D0 0F ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$97</font> <font color="#8080ff">; 8A85 A9 97 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 8A87 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 8A87 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 8A8A A9 8A ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8A8C 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 8A8C 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8A8F A9 02 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8A91 20 03 80 ..</font>
<font color="#00ffff">L8A94</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 8A94 4C 25 99 L%.</font>
@@ -2085,7 +2090,7 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 8C39 AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 8C3C 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 8C3F 0D 44 06 .D.</font>
- <font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 8C42 0D 46 06 .F.</font>
+ <font color="#00ff00">ora</font> <font color="#00ffff">snd_slot_duration</font> <font color="#8080ff">; 8C42 0D 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">what_are_we_waiting_for</font> <font color="#8080ff">; 8C45 D0 F2 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8C47 8D 1A 06 ...</font>
<font color="#8080ff">; wait 192 jiffies: 3.2 sec (ntsc), 3.84 sec (pal)</font>
@@ -2133,7 +2138,7 @@
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 8C94 8D 0A D4 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8C97 C5 AB ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8CA4</font> <font color="#8080ff">; 8C99 D0 09 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 8C9B AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 8C9B AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF0</font> <font color="#8080ff">; 8C9E 8D 16 D0 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8CAA</font> <font color="#8080ff">; 8CA1 4C AA 8C L..</font>
@@ -2190,9 +2195,9 @@
<font color="#00ff00">plp</font> <font color="#8080ff">; 8CE4 28 (</font>
<font color="#00ff00">inc</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 8CE5 EE 0A 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$79</font> <font color="#8080ff">; 8CE8 A9 79 .y</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8CEA 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 8CEA 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BE</font> <font color="#8080ff">; 8CED A9 BE ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8CEF 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8CEF 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; 8CF2 A9 0C ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8CF4 20 06 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">show_lives_icons</font> <font color="#8080ff">; 8CF7 20 BB 86 ..</font>
@@ -2345,9 +2350,9 @@
<font color="#00ffff">bonus_lt_256</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">print_bonus_jv</font> <font color="#8080ff">; 8DE7 20 0F 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FA</font> <font color="#8080ff">; 8DEA A9 FA ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 8DEC 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 8DEC 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8D</font> <font color="#8080ff">; 8DEF A9 8D ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8DF1 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 8DF1 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8DF4 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8DF6 20 03 80 ..</font>
<font color="#00ffff">dec_done</font>:
@@ -2398,7 +2403,7 @@
<font color="#00ffff">L8E4C</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 8E4C AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 8E4F 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 8E52 0D 44 06 .D.</font>
- <font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 8E55 0D 46 06 .F.</font>
+ <font color="#00ff00">ora</font> <font color="#00ffff">snd_slot_duration</font> <font color="#8080ff">; 8E55 0D 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8E4C</font> <font color="#8080ff">; 8E58 D0 F2 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E5A 8D 1A 06 ...</font>
<font color="#00ffff">L8E5D</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E5D AD 1A 06 ...</font>
@@ -2499,9 +2504,9 @@
<font color="#8080ff">; let player hear report</font>
<font color="#00ffff">play_sfx_bullet</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$59</font> <font color="#8080ff">; 8EFB A9 59 .Y</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 8EFD 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 8EFD 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8F</font> <font color="#8080ff">; 8F00 A9 8F ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8F02 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 8F02 8D 3F 06 .?.</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; 8F05 8A .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 8F06 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8F07 A9 02 ..</font>
@@ -2583,16 +2588,16 @@
<font color="#8080ff">; y = a * 5; // offset into mus_struct_table</font>
<font color="#00ffff">set_y</font>: <font color="#00ff00">tay</font> <font color="#8080ff">; 8F9B A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8F9C B9 C3 8F ...</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8F9F 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 8F9F 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr1</font>+<font color="#ff6060">1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FA2 B9 C4 8F ...</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FA5 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FA5 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_priority</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FA8 B9 C7 8F ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8FAB 20 06 80 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $D6 </font> <font color="#8080ff">; 8FAE A4 D6 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FB0 B9 C5 8F ...</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8FB3 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 8FB3 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr2</font>+<font color="#ff6060">1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FB6 B9 C6 8F ...</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FB9 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FB9 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_priority</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FBC B9 C7 8F ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8FBF 20 06 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8FC2 60 `</font>
@@ -2769,30 +2774,30 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 9079 A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 907B 8D 83 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 907E A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 9080 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 9080 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 9083 A9 93 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9085 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9085 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9088 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$51</font> <font color="#8080ff">; 908B A9 51 .Q</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 908D 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 908D 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 9090 A9 93 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9092 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9092 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9095 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9C</font> <font color="#8080ff">; 9098 A9 9C ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 909A 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 909A 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 909D A9 93 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 909F 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 909F 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 90A2 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D7</font> <font color="#8080ff">; 90A5 A9 D7 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 90A7 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 90A7 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 90AA A9 93 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 90AC 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 90AC 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 90AF 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 90B2 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 90B4 85 9C ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 90B6 85 9D ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 90B8 A9 07 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 90BA 85 B9 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 90BA 85 B9 ..</font>
<font color="#8080ff">; set _sub0 to title_dancing</font>
<font color="#00ffff">start_dancing</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$72</font> <font color="#8080ff">; 90BC A9 72 .r</font>
@@ -2863,7 +2868,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; rotate colors and play the descending tone as each letter appears on the title screen. called once per frame, uses $9c to keep track of letter. caller stops this routine being called when $9c holds $0e (meaning the last letter is done).</font>
<font color="#00ffff">fade_in_letters</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 913C AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 913C AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 913F 8D C4 02 ...</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 9142 A4 9C ..</font>
<font color="#8080ff">; don't 'fade-in' the space in the title (offset 7)</font>
@@ -2903,7 +2908,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; make jumpmen dance on title screen, called once/frame</font>
<font color="#00ffff">title_dancing</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9172 AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 9172 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 9175 8D C4 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 9178 A5 9C ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 917A C9 04 ..</font>
@@ -2914,10 +2919,10 @@
<font color="#00ffff">L917F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0649 </font> <font color="#8080ff">; 917F AD 49 06 .I.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 9182 29 0F ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L917E</font> <font color="#8080ff">; 9184 D0 F8 ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9186 E6 B9 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9188 A5 B9 ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 9186 E6 B9 ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 9188 A5 B9 ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 918A 29 0F ).</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 918C 85 B9 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 918C 85 B9 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L917E</font> <font color="#8080ff">; 918E D0 EE ..</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9190 A6 9D ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9192 A0 FF ..</font>
@@ -3052,8 +3057,8 @@
<font color="#00ff00">bne</font> <font color="#00ffff">anp_copy_loop</font> <font color="#8080ff">; 941F D0 F7 ..</font>
<font color="#8080ff">; X is now 0</font>
<font color="#00ffff">anp_loop_done</font>:
- <font color="#00ff00">stx</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9421 86 B7 ..</font>
- <font color="#00ff00">stx</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 9423 86 B8 ..</font>
+ <font color="#00ff00">stx</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 9421 86 B7 ..</font>
+ <font color="#00ff00">stx</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 9423 86 B8 ..</font>
<font color="#00ff00">stx</font> <font color="#00ffff">randomizer_mode</font> <font color="#8080ff">; 9425 8E F3 06 ...</font>
<font color="#00ff00">stx</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; 9428 8E C8 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 942B A9 04 ..</font>
@@ -3094,13 +3099,13 @@
<font color="#8080ff">; play sfx_select_key at $95f1</font>
<font color="#00ffff">play_select_key_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$F1</font> <font color="#8080ff">; 946F A9 F1 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 9471 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 9471 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$95</font> <font color="#8080ff">; 9474 A9 95 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9476 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9476 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9479 20 06 80 ..</font>
<font color="#8080ff">; wait for sound to finish playing</font>
<font color="#00ffff">wait_sfx</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 947C AD 46 06 .F.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_duration</font> <font color="#8080ff">; 947C AD 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_sfx</font> <font color="#8080ff">; 947F D0 FB ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9481 A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 9483 8D C8 06 ...</font>
@@ -3113,11 +3118,11 @@
<font color="#00ffff">option_key_handler</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9489 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 948B 8D C6 06 ...</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 948E A5 B8 ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 948E A5 B8 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9490 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9491 69 01 i.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 9493 29 03 ).</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 9495 85 B8 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 9495 85 B8 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 9497 A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_0</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9498 B9 DD 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $381D </font> <font color="#8080ff">; 949B 8D 1D 38 ..8</font>
@@ -3133,9 +3138,9 @@
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; 94B9 8D 04 D4 ...</font>
<font color="#00ffff">play_opt_key_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$B0</font> <font color="#8080ff">; 94BC A9 B0 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 94BE 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; 94BE 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 94C1 A9 8A ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 94C3 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 94C3 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 94C6 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 94C9 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 94CB 8D 1A 06 ...</font>
@@ -3151,19 +3156,19 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; loop up to 4 times, ask PLAYER #n SPEED? and wait for number key press</font>
<font color="#00ffff">get_player_speeds</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 94DE A5 B8 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 94E0 85 B9 ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 94DE A5 B8 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 94E0 85 B9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">number_of_users</font> <font color="#8080ff">; 94E2 8D FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">users_still_alive</font> <font color="#8080ff">; 94E5 8D F4 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 94E8 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 94EA 85 B8 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 94EA 85 B8 ..</font>
<font color="#8080ff">; disable start and option keys</font>
<font color="#00ffff">disable_start_opt</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 94EC 8D C6 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 94EF 8D C8 06 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 94F2 85 BA ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 94F4 E6 B9 ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 94F6 E6 BA ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 94F2 85 BA ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 94F4 E6 B9 ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 94F6 E6 BA ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 94F8 A8 .</font>
<font color="#8080ff">; copy PLAYER #n SPEED? to screen RAM</font>
<font color="#00ffff">show_player_speed_prompt</font>:
@@ -3175,12 +3180,12 @@
<font color="#00ff00">iny</font> <font color="#8080ff">; 9502 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 9503 E0 14 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">psprompt_loop</font> <font color="#8080ff">; 9505 D0 F4 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 9507 A5 BA ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 9507 A5 BA ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_user</font> <font color="#8080ff">; 9509 8D FE 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$90</font> <font color="#8080ff">; 950C 09 90 ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 950E E6 BA ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 950E E6 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3821,y </font> <font color="#8080ff">; 9510 99 21 38 .!8</font>
- <font color="#00ff00">dec</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9513 C6 B9 ..</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 9513 C6 B9 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">show_player_speed_prompt</font> <font color="#8080ff">; 9515 D0 E2 ..</font>
<font color="#8080ff">; set select key vector to ask_num_players at $9400, enable select key</font>
<font color="#00ffff">setup_select_key_vec_again</font>:
@@ -3189,7 +3194,7 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$94</font> <font color="#8080ff">; 951C A9 94 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_vec</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 951E 8D C3 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_enabled</font> <font color="#8080ff">; 9521 8D C7 06 ...</font>
- <font color="#00ff00">dec</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 9524 C6 BA ..</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 9524 C6 BA ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$12</font> <font color="#8080ff">; 9526 A0 12 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9528 A2 00 ..</font>
<font color="#8080ff">; initialize speed to -1</font>
@@ -3220,8 +3225,8 @@
<font color="#00ff00">clc</font> <font color="#8080ff">; 9546 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 9547 69 14 i.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 9549 A8 .</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 954A E6 B8 ..</font>
- <font color="#00ff00">dec</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 954C C6 BA ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 954A E6 B8 ..</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 954C C6 BA ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">init_speed</font> <font color="#8080ff">; 954E D0 DA ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">number_of_users</font> <font color="#8080ff">; 9550 EE FF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_of_users</font> <font color="#8080ff">; 9553 AD FF 06 ...</font>
@@ -3240,16 +3245,16 @@
<font color="#8080ff">; DLI service routine, changes COLPF2, address gets stored in $6ae/$6af by code at $944e</font>
<font color="#00ffff">num_players_dli_service</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 9578 48 H</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9579 A5 B7 ..</font>
- <font color="#00ff00">cmp</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 957B C5 B8 ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 9579 A5 B7 ..</font>
+ <font color="#00ff00">cmp</font> <font color="#00ffff">zp_temp4</font> <font color="#8080ff">; 957B C5 B8 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 957D 8D 0A D4 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9592</font> <font color="#8080ff">; 9580 D0 10 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9582 AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 9582 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF2</font> <font color="#8080ff">; 9585 8D 18 D0 ...</font>
-<font color="#00ffff">L9588</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9588 E6 B7 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 958A A5 B7 ..</font>
+<font color="#00ffff">L9588</font>: <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 9588 E6 B7 ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 958A A5 B7 ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 958C 29 03 ).</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 958E 85 B7 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp3</font> <font color="#8080ff">; 958E 85 B7 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9590 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9591 40 @</font>
@@ -3294,7 +3299,10 @@
<font color="#8080ff">; played when select key pressed, 4 notes, descending</font>
<font color="#00ffff">sfx_select_key</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; 95F1 01 A4 00 1D 08 3C 08 79 .....&lt;.y</font>
- .<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95F9 08 F3 08 00 3C 02 00 ....&lt;..</font>
+ .<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95F9 08 F3 08 00 ....</font>
+<font color="#8080ff">; not sure what (if anything) reads this, it might be filler. it isn't valid 6502 code.</font>
+<font color="#00ffff">unknown_95fd</font>:
+ .<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95FD 3C 02 00 &lt;..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; multiple code paths jump here. replay level, load next level, or go back to ask_num_players</font>
<font color="#00ffff">afterlife</font>:
@@ -3330,7 +3338,7 @@
<font color="#00ff00">ora</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 963E 09 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $074A </font> <font color="#8080ff">; 9640 8D 4A 07 .J.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9643 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9645 85 B9 ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp5</font> <font color="#8080ff">; 9645 85 B9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 9647 8D 1B 06 ...</font>
<font color="#8080ff">; 06ac/06ad gets address of get_ready_dlist (why not SDLSTL/H?)</font>
<font color="#00ffff">setup_get_ready_dl</font>:
@@ -3505,7 +3513,7 @@
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0697 </font> <font color="#8080ff">; 9791 8D 97 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0698 </font> <font color="#8080ff">; 9794 8D 98 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR0</font> <font color="#8080ff">; 9797 8D C0 02 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 979A 85 BA ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 979A 85 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 979C 8D 06 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_y_start</font> <font color="#8080ff">; 979F AD 8C 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; 97A2 8D 83 06 ...</font>
@@ -3518,9 +3526,9 @@
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066A </font> <font color="#8080ff">; 97B5 EE 6A 06 .j.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066B </font> <font color="#8080ff">; 97B8 EE 6B 06 .k.</font>
<font color="#00ffff">mj_set_freq_and_color</font>:
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 97BB E6 BA ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 97BB E6 BA ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">mj_done</font> <font color="#8080ff">; 97BD F0 1C ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 97BF A5 BA ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">zp_temp6</font> <font color="#8080ff">; 97BF A5 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 97C1 8D 06 D2 ...</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C4 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C5 4A J</font>
@@ -3672,9 +3680,9 @@
<font color="#8080ff">; horizontal movement</font>
<font color="#00ffff">play_sfx_walk</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$73</font> <font color="#8080ff">; 98C1 A9 73 .s</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; 98C3 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; 98C3 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BE</font> <font color="#8080ff">; 98C6 A9 BE ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 98C8 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; 98C8 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 98CB A9 01 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 98CD 20 03 80 ..</font>
<font color="#00ffff">L98D0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sav_p0pf</font> <font color="#8080ff">; 98D0 AD B4 06 ...</font>
@@ -4080,7 +4088,7 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9B88 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 9B8A 8D 0A D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLBK</font> <font color="#8080ff">; 9B8D 8D 1A D0 ...</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9B90 AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; 9B90 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF0</font> <font color="#8080ff">; 9B93 8D 16 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 9B96 A9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF1</font> <font color="#8080ff">; 9B98 8D 17 D0 ...</font>
@@ -5784,9 +5792,9 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; A518 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_speed</font> <font color="#8080ff">; A51A 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$2D</font> <font color="#8080ff">; A51D A9 2D .-</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; A51F 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; A51F 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A5</font> <font color="#8080ff">; A522 A9 A5 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; A524 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; A524 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A527 A9 01 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; A529 20 03 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A52C 60 `</font>
@@ -6069,9 +6077,9 @@
<font color="#00ff00">pha</font> <font color="#8080ff">; A88C 48 H</font>
<font color="#00ffff">play_hellstone_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; A88D A9 0D ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; A88F 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; A88F 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A9</font> <font color="#8080ff">; A892 A9 A9 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; A894 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; A894 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A897 A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; A899 20 03 80 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; A89C 68 h</font>
@@ -6287,7 +6295,7 @@
.<font color="#ffff00">byte</font> <font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AAB6 C9 9C 50 08 0A FF ..P...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">walls_sub3</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; AABC AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; AABC AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; AABF 8D C7 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AAC2 60 `</font>
@@ -6503,7 +6511,9 @@
<font color="#00ffff">epyx_jumpman</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$29</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; AEAF 40 29 21 11 19 11 09 01 @)!.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$49</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$31</font> <font color="#8080ff">; AEB7 49 41 39 19 31 IA9.1</font>
-<font color="#00ffff">LAEBC</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; AEBC 03 03 03 03 03 C3 C3 7E .......~</font>
+<font color="#8080ff">; player graphics for letters. each letter is 8x8 (8 bytes, 8px/byte), takes up the whole 8x8 cell (no blanks at edges like a normal font would have). no duplicate letters, so this spells 'JUMPANEYX ' (space at the end)</font>
+<font color="#00ffff">letter_bitmap</font>:
+ .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; AEBC 03 03 03 03 03 C3 C3 7E .......~</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; AEC4 C3 C3 C3 C3 C3 C3 C3 7E .......~</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$E7</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$DB</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AECC C3 C3 E7 FF DB C3 C3 C3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font> <font color="#8080ff">; AED4 FE C3 C3 C3 FE C0 C0 C0 ........</font>
@@ -6513,13 +6523,12 @@
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; AEF4 C3 66 3C 18 18 18 18 18 .f&lt;.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AEFC C3 C3 66 3C 3C 66 C3 C3 ..f&lt;&lt;f..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AF04 00 00 00 00 00 00 00 00 ........</font>
- .<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; AF0C 40 A0 20 40 @. @</font>
-<font color="#8080ff">; looks almost like code but it's bogus</font>
-<font color="#00ffff">data_af10</font>:
- .<font color="#ffff00">byte</font> <font color="#ff6060">$E0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AF10 E0 00 38 20 30 08 30 04 ..8 0.0.</font>
- .<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AF18 0A 0A 0A 04 ....</font>
+<font color="#8080ff">; the little 250 that gets displayed at end of level, for each letter</font>
+<font color="#00ffff">bonus_250</font>:
+ .<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$E0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; AF0C 40 A0 20 40 E0 00 38 20 @. @..8 </font>
+ .<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AF14 30 08 30 04 0A 0A 0A 04 0.0.....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">LAF1C</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; AF1C AD 2A 06 .*.</font>
+<font color="#00ffff">LAF1C</font>: <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; AF1C AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR2</font> <font color="#8080ff">; AF1F 8D C2 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AF22 60 `</font>
@@ -6537,7 +6546,7 @@
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF33 AE 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; AF36 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0772 </font> <font color="#8080ff">; AF38 8D 72 07 .r.</font>
-<font color="#00ffff">LAF3B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">LAEBC</font>,<font color="#00ffff">y</font> <font color="#8080ff">; AF3B B9 BC AE ...</font>
+<font color="#00ffff">LAF3B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">letter_bitmap</font>,<font color="#00ffff">y</font> <font color="#8080ff">; AF3B B9 BC AE ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2E00,x </font> <font color="#8080ff">; AF3E 9D 00 2E ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; AF41 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; AF42 C8 .</font>
@@ -6615,9 +6624,9 @@
<font color="#8080ff">; play sfx_letter_bonus</font>
<font color="#00ffff">cue_letter_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$CB</font> <font color="#8080ff">; AFB9 A9 CB ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; AFBB 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; AFBB 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$AF</font> <font color="#8080ff">; AFBE A9 AF ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; AFC0 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; AFC0 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; AFC3 20 06 80 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; AFC6 68 h</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; AFC7 AA .</font>
@@ -6916,7 +6925,7 @@
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B2EA 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B2EC 8D 8A 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B2EF EE 8A 06 ...</font>
-<font color="#00ffff">LB2F2</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; B2F2 AD 2A 06 .*.</font>
+<font color="#00ffff">LB2F2</font>: <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; B2F2 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR2</font> <font color="#8080ff">; B2F5 8D C2 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B2F8 A9 00 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">check_pl_coll_no_pl</font> <font color="#8080ff">; B2FA 4C 79 8F Ly.</font>
@@ -6928,9 +6937,9 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B303 AD 85 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; B306 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$19</font> <font color="#8080ff">; B309 A9 19 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; B30B 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; B30B 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B3</font> <font color="#8080ff">; B30E A9 B3 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B310 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B310 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B313 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; B315 20 06 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B318 60 `</font>
@@ -7053,9 +7062,9 @@
<font color="#00ff00">bne</font> <font color="#00ffff">LB4E2</font> <font color="#8080ff">; B4D1 D0 0F ..</font>
<font color="#00ffff">cue_woop_sound</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$64</font> <font color="#8080ff">; B4D3 A9 64 .d</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_priority</font> <font color="#8080ff">; B4D5 8D 3E 06 .&gt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_priority</font> <font color="#8080ff">; B4D5 8D 3E 06 .&gt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B5</font> <font color="#8080ff">; B4D8 A9 B5 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; B4DA 8D 3F 06 .?.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_slot_timer</font> <font color="#8080ff">; B4DA 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B4DD A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; B4DF 20 03 80 ..</font>
<font color="#00ffff">LB4E2</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B4E2 A0 01 ..</font>
@@ -7104,7 +7113,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hatch_sub1</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; B581 AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; B581 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR3</font> <font color="#8080ff">; B584 8D C3 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B587 60 `</font>
@@ -7358,13 +7367,13 @@
<font color="#8080ff">; play once per life</font>
<font color="#00ffff">play_life_bonus_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; B868 A9 96 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; B86A 8D 3C 06 .&lt;.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font> <font color="#8080ff">; B86A 8D 3C 06 .&lt;.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B8</font> <font color="#8080ff">; B86D A9 B8 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B86F 8D 3D 06 .=.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">snd_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B86F 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; B872 20 06 80 ..</font>
<font color="#8080ff">; wait for sfx to finish</font>
<font color="#00ffff">el_wait_sfx</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; B875 AD 46 06 .F.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">snd_slot_duration</font> <font color="#8080ff">; B875 AD 46 06 .F.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; B878 0D 44 06 .D.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">el_wait_sfx</font> <font color="#8080ff">; B87B D0 F8 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $A6 </font> <font color="#8080ff">; B87D C6 A6 ..</font>
@@ -7750,7 +7759,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used in work_level_sub0 slot during well_doneused in work_level_sub1 slot during well_done</font>
<font color="#00ffff">well_done_sub0</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; BCCD AD 2A 06 .*.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">rot_color</font> <font color="#8080ff">; BCCD AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; BCD0 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; BCD3 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sav_p0pf</font> <font color="#8080ff">; BCD5 8D B4 06 ...</font>