aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-09-13 04:50:28 -0400
committerB. Watson <yalhcru@gmail.com>2016-09-13 04:50:28 -0400
commitbafd1a1b22e5b07638046331feb7fb13053315b4 (patch)
tree91c8cfc37463822480678b7a71a224a9a5e5f5cb
parent15ac1a8086971cb500bd09dd97bf62e111c2be90 (diff)
downloadjumpmanjr-bafd1a1b22e5b07638046331feb7fb13053315b4.tar.gz
regenerate jumpmanjr.html
-rw-r--r--jumpmanjr.html188
1 files changed, 101 insertions, 87 deletions
diff --git a/jumpmanjr.html b/jumpmanjr.html
index d5c9718..0c0b18a 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-07 16:39:55</font>
+<font color="#8080ff">; Created: 2016-09-13 04:49:17</font>
<font color="#8080ff">; Input file: jumpmanjr.rom</font>
<font color="#8080ff">; Page: 1</font>
@@ -40,6 +40,8 @@
<font color="#00ffff">dm_delta_x</font> :=<font color="#ff40ff"> $00C9 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_delta_y</font> :=<font color="#ff40ff"> $00CA </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">zp_temp1</font> :=<font color="#ff40ff"> $00CB </font> <font color="#8080ff">; used for (zp,y) addressing, also for checking console keys in vblank_imm_isr</font>
+<font color="#00ffff">tmp_sprite</font> :=<font color="#ff40ff"> $00CD </font> <font color="#8080ff">; ZP pointer to player/missile data (e.g. jumpman's 10-byte animation frames)</font>
+<font color="#00ffff">tmp_sprite_height</font>:=<font color="#ff40ff"> $00CF </font> <font color="#8080ff">; length of data pointed to by tmp_sprite</font>
<font color="#00ffff">num_in</font> :=<font color="#ff40ff"> $00D0 </font> <font color="#8080ff">; print_number input. 3-byte number (LSB first as usual) to be printed</font>
<font color="#00ffff">num_out</font> :=<font color="#ff40ff"> $00D3 </font> <font color="#8080ff">; area of (screen) memory where print_number stores its output</font>
<font color="#00ffff">num_color</font> :=<font color="#ff40ff"> $00D5 </font> <font color="#8080ff">; print_number adds this to numeric screencode output. normally 0, set to $80 on the end-of-game screen.</font>
@@ -67,7 +69,8 @@
<font color="#00ffff">jiffy_timer_2</font> :=<font color="#ff40ff"> $061B </font> <font color="#8080ff">; gets incremented every frame</font>
<font color="#00ffff">odd_frame_flag</font> :=<font color="#ff40ff"> $061C </font> <font color="#8080ff">; a 1-bit frame counter (toggles every frame). possibly unused.</font>
<font color="#00ffff">speed_jiffy_timer</font>:=<font color="#ff40ff"> $061E </font> <font color="#8080ff">; counts 0..initial_speed</font>
-<font color="#00ffff">falling_flag</font> :=<font color="#ff40ff"> $0621 </font> <font color="#8080ff">; 1 = falling, reset to 0 when jumpman hits the ground</font>
+<font color="#00ffff">start_falling_flag</font>:=<font color="#ff40ff"> $0621 </font> <font color="#8080ff">; reset to 0 every frame, set to 1 when starting to fall</font>
+<font color="#00ffff">falling_flag</font> :=<font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 0 = ok, 1 = falling, 2 = on ground.</font>
<font color="#00ffff">current_speed</font> :=<font color="#ff40ff"> $0624 </font> <font color="#8080ff">; can be modified, e.g. set to $08 when being electrocuted</font>
<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>
@@ -88,8 +91,14 @@
<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_enabled</font> :=<font color="#ff40ff"> $0668 </font> <font color="#8080ff">; 1 = draw this player, 0 = no. actually $0669 thru $066e</font>
+<font color="#00ffff">player_height</font> :=<font color="#ff40ff"> $0677 </font> <font color="#8080ff">; actually $0677 thru $067b</font>
+<font color="#00ffff">player_new_x</font> :=<font color="#ff40ff"> $067C </font> <font color="#8080ff">; HPOSxx, 1-indexed, $067d thru $0681 are p5, p3..p0</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>
+<font color="#00ffff">player_new_y</font> :=<font color="#ff40ff"> $0686 </font> <font color="#8080ff">; $0687 thru $069b</font>
+<font color="#00ffff">player_x</font> :=<font color="#ff40ff"> $068B </font> <font color="#8080ff">; HPOSxx, $068c thru $06c0</font>
+<font color="#00ffff">player_y</font> :=<font color="#ff40ff"> $0695 </font> <font color="#8080ff">; vertical positions, actually $0696 thru $069a</font>
<font color="#00ffff">bullet_x_pos</font> :=<font color="#ff40ff"> $069B </font> <font color="#8080ff">; 4 bytes, meaning we can never have &gt;4 bullets on screen at once (makes sense, GTIA only has 4 missiles)</font>
<font color="#00ffff">bullet_y_pos_minus_one</font>:=<font color="#ff40ff"> $069E</font>
<font color="#00ffff">bullet_y_pos</font> :=<font color="#ff40ff"> $069F </font> <font color="#8080ff">; another 4 bytes</font>
@@ -165,7 +174,7 @@
<font color="#00ffff">work_level_sub6</font> :=<font color="#ff40ff"> $07A4 </font> <font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">work_level_sub_eol</font>:=<font color="#ff40ff"> $07A6 </font> <font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level08</font>
<font color="#00ffff">work_level_offs_40</font>:=<font color="#ff40ff"> $07A8 </font> <font color="#8080ff">; all zeroes</font>
-<font color="#00ffff">work_level_colpf3</font>:=<font color="#ff40ff"> $07AE </font> <font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#00ffff">work_level_colpf3</font>:=<font color="#ff40ff"> $07AE </font> <font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">work_level_colpf0</font>:=<font color="#ff40ff"> $07AF </font> <font color="#8080ff">; color for girders and up-ropes</font>
<font color="#00ffff">work_level_colpf1</font>:=<font color="#ff40ff"> $07B0 </font> <font color="#8080ff">; color for ladders and down-ropes</font>
<font color="#00ffff">work_level_colpf2</font>:=<font color="#ff40ff"> $07B1 </font> <font color="#8080ff">; color for bombs</font>
@@ -198,7 +207,7 @@
<font color="#00ffff">cur_level_sub6</font> :=<font color="#ff40ff"> $07E4 </font> <font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">cur_level_sub_eol</font>:=<font color="#ff40ff"> $07E6 </font> <font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level08</font>
<font color="#00ffff">cur_level_offs_40</font>:=<font color="#ff40ff"> $07E8 </font> <font color="#8080ff">; all zeroes</font>
-<font color="#00ffff">cur_level_colpf3</font>:=<font color="#ff40ff"> $07EE </font> <font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#00ffff">cur_level_colpf3</font>:=<font color="#ff40ff"> $07EE </font> <font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">cur_level_colpf0</font>:=<font color="#ff40ff"> $07EF </font> <font color="#8080ff">; color for girders and up-ropes</font>
<font color="#00ffff">cur_level_colpf1</font>:=<font color="#ff40ff"> $07F0 </font> <font color="#8080ff">; color for ladders and down-ropes</font>
<font color="#00ffff">cur_level_colpf2</font>:=<font color="#ff40ff"> $07F1 </font> <font color="#8080ff">; color for bombs</font>
@@ -824,12 +833,12 @@
<font color="#00ff00">dec</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 82F3 C6 CC ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 82F5 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">position_done</font> <font color="#8080ff">; 82F6 F0 F0 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0668,x </font> <font color="#8080ff">; 82F8 BD 68 06 .h.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">player_enabled</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82F8 BD 68 06 .h.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">next_plr</font> <font color="#8080ff">; 82FB F0 F6 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $067C,x </font> <font color="#8080ff">; 82FD BD 7C 06 .|.</font>
- <font color="#00ff00">cmp</font> <font color="#ff40ff"> $068B,x </font> <font color="#8080ff">; 8300 DD 8B 06 ...</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">player_new_x</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82FD BD 7C 06 .|.</font>
+ <font color="#00ff00">cmp</font> <font color="#00ffff">player_x</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8300 DD 8B 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">position_pm_vert</font> <font color="#8080ff">; 8303 F0 1D ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $068B,x </font> <font color="#8080ff">; 8305 9D 8B 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_x</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8305 9D 8B 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">HPOSP0_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8308 9D FE CF ...</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 830B E0 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">position_pm_vert</font> <font color="#8080ff">; 830D D0 13 ..</font>
@@ -850,48 +859,51 @@
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 8322 BD 90 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8325 DD 81 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">skip_vert</font> <font color="#8080ff">; 8328 D0 0E ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0686,x </font> <font color="#8080ff">; 832A BD 86 06 ...</font>
- <font color="#00ff00">cmp</font> <font color="#ff40ff"> $0695,x </font> <font color="#8080ff">; 832D DD 95 06 ...</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">player_new_y</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 832A BD 86 06 ...</font>
+ <font color="#00ff00">cmp</font> <font color="#00ffff">player_y</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 832D DD 95 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">next_plr</font> <font color="#8080ff">; 8330 F0 C1 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0695,x </font> <font color="#8080ff">; 8332 9D 95 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_y</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8332 9D 95 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 8335 BD 90 06 ...</font>
<font color="#00ffff">skip_vert</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8338 85 CB ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0677,x </font> <font color="#8080ff">; 833A BD 77 06 .w.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 833D 85 CF ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">player_height</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 833A BD 77 06 .w.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite_height</font> <font color="#8080ff">; 833D 85 CF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 833F A9 00 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8341 A8 .</font>
<font color="#8080ff">; write zeroes to unused portion of this player/missile</font>
<font color="#00ffff">clear_pm</font>:
<font color="#00ff00">sta</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8342 91 CB ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8344 C8 .</font>
- <font color="#00ff00">cpy</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8345 C4 CF ..</font>
+ <font color="#00ff00">cpy</font> <font color="#00ffff">tmp_sprite_height</font> <font color="#8080ff">; 8345 C4 CF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">clear_pm</font> <font color="#8080ff">; 8347 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8349 BD 81 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 834C 9D 90 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 834F 85 CB ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $066D,x </font> <font color="#8080ff">; 8351 BD 6D 06 .m.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8354 85 CD ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite</font> <font color="#8080ff">; 8354 85 CD ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0672,x </font> <font color="#8080ff">; 8356 BD 72 06 .r.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CE </font> <font color="#8080ff">; 8359 85 CE ..</font>
- <font color="#00ff00">ldy</font> <font color="#ff40ff"> $0686,x </font> <font color="#8080ff">; 835B BC 86 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8359 85 CE ..</font>
+ <font color="#00ff00">ldy</font> <font color="#00ffff">player_new_y</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 835B BC 86 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 835E 18 .</font>
-<font color="#00ffff">L835F</font>: <font color="#00ff00">dey</font> <font color="#8080ff">; 835F 88 .</font>
- <font color="#00ff00">beq</font> <font color="#00ffff">L8370</font> <font color="#8080ff">; 8360 F0 0E ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8362 A5 CF ..</font>
- <font color="#00ff00">adc</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8364 65 CD e.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8366 85 CD ..</font>
- <font color="#00ff00">bcc</font> <font color="#00ffff">L835F</font> <font color="#8080ff">; 8368 90 F5 ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $CE </font> <font color="#8080ff">; 836A E6 CE ..</font>
+<font color="#8080ff">; adjust pointer if Y wraps around</font>
+<font color="#00ffff">adj_ptr</font>:<font color="#00ff00">dey</font> <font color="#8080ff">; 835F 88 .</font>
+ <font color="#00ff00">beq</font> <font color="#00ffff">copy_pm_data</font> <font color="#8080ff">; 8360 F0 0E ..</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">tmp_sprite_height</font> <font color="#8080ff">; 8362 A5 CF ..</font>
+ <font color="#00ff00">adc</font> <font color="#00ffff">tmp_sprite</font> <font color="#8080ff">; 8364 65 CD e.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite</font> <font color="#8080ff">; 8366 85 CD ..</font>
+ <font color="#00ff00">bcc</font> <font color="#00ffff">adj_ptr</font> <font color="#8080ff">; 8368 90 F5 ..</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">tmp_sprite</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 836A E6 CE ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 836C 18 .</font>
- <font color="#00ff00">jmp</font> <font color="#00ffff">L835F</font> <font color="#8080ff">; 836D 4C 5F 83 L_.</font>
+ <font color="#00ff00">jmp</font> <font color="#00ffff">adj_ptr</font> <font color="#8080ff">; 836D 4C 5F 83 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">L8370</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($CD),y </font> <font color="#8080ff">; 8370 B1 CD ..</font>
+<font color="#8080ff">; write to P/M memory</font>
+<font color="#00ffff">copy_pm_data</font>:
+ <font color="#00ff00">lda</font> (<font color="#00ffff">tmp_sprite</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8370 B1 CD ..</font>
<font color="#00ff00">sta</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8372 91 CB ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8374 C8 .</font>
- <font color="#00ff00">dec</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8375 C6 CF ..</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">L8370</font> <font color="#8080ff">; 8377 D0 F7 ..</font>
+ <font color="#00ff00">dec</font> <font color="#00ffff">tmp_sprite_height</font> <font color="#8080ff">; 8375 C6 CF ..</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">copy_pm_data</font> <font color="#8080ff">; 8377 D0 F7 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">next_plr</font> <font color="#8080ff">; 8379 4C F3 82 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -997,7 +1009,7 @@
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 842B 29 01 ).</font>
<font color="#00ff00">sta</font> <font color="#00ffff">odd_frame_flag</font> <font color="#8080ff">; 842D 8D 1C 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8430 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8432 8D 21 06 .!.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; 8432 8D 21 06 .!.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; 8435 8D 22 06 .&quot;.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06FD </font> <font color="#8080ff">; 8438 8D FD 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $061D </font> <font color="#8080ff">; 843B EE 1D 06 ...</font>
@@ -1010,7 +1022,7 @@
<font color="#00ff00">bcc</font> <font color="#00ffff">check_speed_timer</font> <font color="#8080ff">; 844E 90 1E ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8450 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $061D </font> <font color="#8080ff">; 8452 8D 1D 06 ...</font>
- <font color="#00ff00">inc</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8455 EE 21 06 .!.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; 8455 EE 21 06 .!.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8458 EE 1F 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 845B EE 20 06 . .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 845E AD 1F 06 ...</font>
@@ -1242,7 +1254,7 @@
.<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>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85FE 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#8080ff">; convert the 3-byte integer stored at num_in to screen codes, store into memory pointed to by num_out</font>
+<font color="#8080ff">; convert the 3-byte integer stored at num_in to screen codes, store into memory pointed to by num_out. num_in is modified.</font>
<font color="#00ffff">print_number</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8600 A2 00 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8602 A0 00 ..</font>
@@ -1312,7 +1324,7 @@
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8670 A2 03 ..</font>
<font color="#8080ff">; number_of_users should be score-1 here.</font>
<font color="#00ffff">ps_loop</font>:<font color="#00ff00">lda</font> <font color="#00ffff">number_of_users</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8672 BD FF 06 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 8675 95 CF ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite_height</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8675 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8677 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">ps_loop</font> <font color="#8080ff">; 8678 D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">print_number</font> <font color="#8080ff">; 867A 20 00 86 ..</font>
@@ -1327,7 +1339,7 @@
<font color="#00ff00">sta</font> <font color="#00ffff">num_out</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8684 85 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8686 A2 03 ..</font>
<font color="#00ffff">pb_loop</font>:<font color="#00ff00">lda</font> <font color="#00ffff">work_level_points_per_bomb</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8688 BD 90 07 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 868B 95 CF ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite_height</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 868B 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 868D CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">pb_loop</font> <font color="#8080ff">; 868E D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">print_number</font> <font color="#8080ff">; 8690 20 00 86 ..</font>
@@ -1411,7 +1423,7 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8731 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 8733 8D 27 06 .'.</font>
<font color="#00ffff">L8736</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8736 9D 81 06 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0668,x </font> <font color="#8080ff">; 8739 9D 68 06 .h.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_enabled</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8739 9D 68 06 .h.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; 873C 9D 9A 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">hide_player</font> <font color="#8080ff">; 873F 20 B8 8D ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8742 CA .</font>
@@ -1681,9 +1693,9 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called via vector in page 6</font>
<font color="#00ffff">check_falling_2</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8900 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; 8900 AD 21 06 .!.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L890F</font> <font color="#8080ff">; 8903 F0 0A ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8905 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8905 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8908 C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8910</font> <font color="#8080ff">; 890A F0 04 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L89F3</font> <font color="#8080ff">; 890C 4C F3 89 L..</font>
@@ -1720,7 +1732,7 @@
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 894E 8D 00 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8951 8D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EF </font> <font color="#8080ff">; 8954 8D EF 06 ...</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8957 EE 23 06 .#.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8957 EE 23 06 .#.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L89F3</font> <font color="#8080ff">; 895A 4C F3 89 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -1796,7 +1808,7 @@
<font color="#00ff00">rts</font> <font color="#8080ff">; 89F2 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">L89F3</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 89F3 AD 23 06 .#.</font>
+<font color="#00ffff">L89F3</font>: <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 89F3 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 89F6 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L89FB</font> <font color="#8080ff">; 89F8 F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 89FA 60 `</font>
@@ -1827,7 +1839,7 @@
<font color="#00ffff">L8A25</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 8A25 A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_speed</font> <font color="#8080ff">; 8A27 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8A2A A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8A2C 8D 23 06 .#.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8A2C 8D 23 06 .#.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_x_pos</font> <font color="#8080ff">; 8A2F 8D 7E 06 .~.</font>
<font color="#00ff00">dec</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 8A32 CE 0A 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EE </font> <font color="#8080ff">; 8A35 8D EE 06 ...</font>
@@ -2054,7 +2066,7 @@
<font color="#00ff00">sta</font> <font color="#00ffff">num_out</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8BF6 85 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8BF8 A2 03 ..</font>
<font color="#00ffff">L8BFA</font>: <font color="#00ff00">lda</font> <font color="#00ffff">struct_user_1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8BFA B9 0B 07 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 8BFD 95 CF ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite_height</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8BFD 95 CF ..</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; 8BFF 88 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8C00 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8BFA</font> <font color="#8080ff">; 8C01 D0 F7 ..</font>
@@ -2317,7 +2329,7 @@
<font color="#00ffff">hide_player</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8DB8 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HPOSM3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8DBA 9D 07 D0 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $067C,x </font> <font color="#8080ff">; 8DBD 9D 7C 06 .|.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_new_x</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8DBD 9D 7C 06 .|.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8DC0 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA,x </font> <font color="#8080ff">; 8DC2 9D EA 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8DC5 60 `</font>
@@ -2419,7 +2431,7 @@
<font color="#00ffff">bullet_logic</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; 8E69 AD 22 06 .&quot;.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">no_bullet</font> <font color="#8080ff">; 8E6C F0 07 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8E6E AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8E6E AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8E71 C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">want_bullet</font> <font color="#8080ff">; 8E73 D0 01 ..</font>
<font color="#00ffff">no_bullet</font>:
@@ -2571,9 +2583,9 @@
<font color="#00ff00">ora</font> <font color="#00ffff">sav_m3pl</font> <font color="#8080ff">; 8F82 0D BB 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8F85 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8F91</font> <font color="#8080ff">; 8F87 F0 08 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8F89 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8F89 AD 23 06 .#.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8F91</font> <font color="#8080ff">; 8F8C D0 03 ..</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8F8E EE 23 06 .#.</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 8F8E EE 23 06 .#.</font>
<font color="#00ffff">L8F91</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8F91 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -3473,10 +3485,10 @@
<font color="#00ffff">L9743</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">check_bomb_coll_jv</font> <font color="#8080ff">; 9743 20 33 80 3.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_num_bombs</font> <font color="#8080ff">; 9746 AD 8A 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">got_all_bombs</font> <font color="#8080ff">; 9749 F0 1B ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 974B AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 974B AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 974E C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9743</font> <font color="#8080ff">; 9750 D0 F1 ..</font>
-<font color="#00ffff">L9752</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 9752 AD 23 06 .#.</font>
+<font color="#00ffff">L9752</font>: <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 9752 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9755 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9752</font> <font color="#8080ff">; 9757 F0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 9759 AD 0A 07 ...</font>
@@ -3553,7 +3565,7 @@
<font color="#00ffff">mj_done</font>:<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 97DB A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 97DD 8D 06 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC4</font> <font color="#8080ff">; 97E0 8D 07 D2 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 97E3 8D 23 06 .#.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 97E3 8D 23 06 .#.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">initial_speed</font> <font color="#8080ff">; 97E6 AD 25 06 .%.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_speed</font> <font color="#8080ff">; 97E9 8D 24 06 .$.</font>
<font color="#00ff00">inc</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 97EC EE 27 06 .'.</font>
@@ -3566,14 +3578,16 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called via vector in page 6</font>
<font color="#00ffff">check_falling_1</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 9800 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; 9800 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9806</font> <font color="#8080ff">; 9803 D0 01 ..</font>
-<font color="#00ffff">L9805</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 9805 60 `</font>
+<font color="#00ffff">cf_done</font>:<font color="#00ff00">rts</font> <font color="#8080ff">; 9805 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">L9806</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 9806 AD 23 06 .#.</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">L9805</font> <font color="#8080ff">; 9809 D0 FA ..</font>
+<font color="#00ffff">L9806</font>: <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 9806 AD 23 06 .#.</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">cf_done</font> <font color="#8080ff">; 9809 D0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; 980B AD 83 06 ...</font>
+<font color="#8080ff">; we're falling, have we hit the ground yet?</font>
+<font color="#00ffff">check_ground</font>:
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; 980E C9 C6 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L982E</font> <font color="#8080ff">; 9810 B0 1C ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 9812 AD EB 06 ...</font>
@@ -3591,7 +3605,7 @@
<font color="#00ff00">ora</font> <font color="#00ffff">sav_p1pf</font> <font color="#8080ff">; 9827 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 982A 29 03 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_collisions_3</font> <font color="#8080ff">; 982C D0 04 ..</font>
-<font color="#00ffff">L982E</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 982E EE 23 06 .#.</font>
+<font color="#00ffff">L982E</font>: <font color="#00ff00">inc</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; 982E EE 23 06 .#.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9831 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -4435,7 +4449,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level01_offs_40</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="#8080ff">; A028 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level01_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $CA </font> <font color="#8080ff">; A02E CA .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -4542,7 +4556,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level02_offs_40</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="#8080ff">; A068 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level02_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $6A </font> <font color="#8080ff">; A06E 6A j</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -4649,7 +4663,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level03_offs_40</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="#8080ff">; A0A8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level03_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $1A </font> <font color="#8080ff">; A0AE 1A .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -4756,7 +4770,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level04_offs_40</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="#8080ff">; A0E8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level04_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $CA </font> <font color="#8080ff">; A0EE CA .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -4863,7 +4877,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level05_offs_40</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="#8080ff">; A128 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level05_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $6A </font> <font color="#8080ff">; A12E 6A j</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -4970,7 +4984,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level06_offs_40</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="#8080ff">; A168 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level06_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $56 </font> <font color="#8080ff">; A16E 56 V</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5077,7 +5091,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level07_offs_40</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="#8080ff">; A1A8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level07_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $CA </font> <font color="#8080ff">; A1AE CA .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5184,7 +5198,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level08_offs_40</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="#8080ff">; A1E8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level08_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $6A </font> <font color="#8080ff">; A1EE 6A j</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5291,7 +5305,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level09_offs_40</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="#8080ff">; A228 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level09_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $1A </font> <font color="#8080ff">; A22E 1A .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5398,7 +5412,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level10_offs_40</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="#8080ff">; A268 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level10_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $CA </font> <font color="#8080ff">; A26E CA .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5505,7 +5519,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level11_offs_40</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="#8080ff">; A2A8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level11_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $6A </font> <font color="#8080ff">; A2AE 6A j</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5612,7 +5626,7 @@
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level12_offs_40</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="#8080ff">; A2E8 00 00 00 00 00 00 ......</font>
-<font color="#8080ff">; color (not sure what gets drawn in this color yet)</font>
+<font color="#8080ff">; color for missiles (aka 5th player)</font>
<font color="#00ffff">level12_colpf3</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $08 </font> <font color="#8080ff">; A2EE 08 .</font>
<font color="#8080ff">; color for girders and up-ropes</font>
@@ -5741,9 +5755,9 @@
<font color="#00ff00">lda</font> <font color="#00ffff">LA563</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4C1 B9 63 A5 .c.</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A4C4 0A .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; A4C5 69 20 i </font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; A4C7 8D 86 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_new_y</font> <font color="#8080ff">; A4C7 8D 86 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA5A2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4CA B9 A2 A5 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; A4CD 8D 8B 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_x</font> <font color="#8080ff">; A4CD 8D 8B 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA5A3</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4D0 B9 A3 A5 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR3</font> <font color="#8080ff">; A4D3 8D C3 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; A4D6 8D 6C 06 .l.</font>
@@ -5753,9 +5767,9 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; turn off electrocution effect (?)</font>
<font color="#00ffff">electrocution_done</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A4DD AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; A4DD AD 23 06 .#.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA4FF</font> <font color="#8080ff">; A4E0 D0 1D ..</font>
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; A4E2 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; A4E2 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA4E8</font> <font color="#8080ff">; A4E5 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A4E7 60 `</font>
@@ -5908,7 +5922,7 @@
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A6D4 8D 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; A6D7 A9 FF ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; A6D9 8D 71 07 .q.</font>
-<font color="#00ffff">LA6DC</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A6DC AD 23 06 .#.</font>
+<font color="#00ffff">LA6DC</font>: <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; A6DC AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A6DF C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA6BC</font> <font color="#8080ff">; A6E1 F0 D9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A6E3 AD 22 06 .&quot;.</font>
@@ -5946,7 +5960,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called every frame</font>
<font color="#00ffff">dumbwaiter_sub3</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A724 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; A724 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A727 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA778</font> <font color="#8080ff">; A729 F0 4D .M</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A72B AD 22 06 .&quot;.</font>
@@ -6032,7 +6046,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hellstones_sub0</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A836 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; A836 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A839 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA842</font> <font color="#8080ff">; A83B F0 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A83D AD 22 06 .&quot;.</font>
@@ -6606,7 +6620,7 @@
<font color="#8080ff">; per letter</font>
<font color="#00ffff">bonus_250_pts</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF96 AD 70 07 .p.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; AF99 8D 86 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_new_y</font> <font color="#8080ff">; AF99 8D 86 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$86</font> <font color="#8080ff">; AF9C A9 86 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; AF9E 8D 81 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; AFA1 18 .</font>
@@ -6747,7 +6761,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; copies pixels from rendered real map at $1000 to visible screen memory at $3000, centered around jumpman's location</font>
<font color="#00ffff">blackout_sub0</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; B140 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; B140 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB146</font> <font color="#8080ff">; B143 D0 01 ..</font>
<font color="#00ffff">LB145</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B145 60 `</font>
@@ -7001,7 +7015,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hatch_sub0</font>:
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; B457 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; B457 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B45A C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB46A</font> <font color="#8080ff">; B45C D0 0C ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B45E A9 00 ..</font>
@@ -7042,22 +7056,22 @@
<font color="#00ff00">beq</font> <font color="#00ffff">LB4C1</font> <font color="#8080ff">; B4A6 F0 19 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B4A8 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B4A9 69 04 i.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4AB 8D 8B 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_x</font> <font color="#8080ff">; B4AB 8D 8B 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B4AE EE 71 07 .q.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B4B1 AD 80 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B4B4 8D 81 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B4B7 AD 85 06 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B4BA 8D 86 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_new_y</font> <font color="#8080ff">; B4BA 8D 86 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; B4BD 8D 6D 06 .m.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B4C0 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#00ffff">LB4C1</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4C1 AD 8B 06 ...</font>
+<font color="#00ffff">LB4C1</font>: <font color="#00ff00">lda</font> <font color="#00ffff">player_x</font> <font color="#8080ff">; B4C1 AD 8B 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B4C4 29 03 ).</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B4C6 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B4C7 69 04 i.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4C9 8D 8B 06 ...</font>
- <font color="#00ff00">inc</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4CC EE 8B 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_x</font> <font color="#8080ff">; B4C9 8D 8B 06 ...</font>
+ <font color="#00ff00">inc</font> <font color="#00ffff">player_x</font> <font color="#8080ff">; B4CC EE 8B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B4CF C9 07 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB4E2</font> <font color="#8080ff">; B4D1 D0 0F ..</font>
<font color="#00ffff">cue_woop_sound</font>:
@@ -7077,14 +7091,14 @@
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B4F1 65 A0 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B4F3 8D 81 06 ...</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B4F6 A0 01 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B4F8 AD 86 06 ...</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">player_new_y</font> <font color="#8080ff">; B4F8 AD 86 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; B4FB CD 83 06 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB502</font> <font color="#8080ff">; B4FE 90 02 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; B500 A0 FF ..</font>
<font color="#00ffff">LB502</font>: <font color="#00ff00">sty</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B502 84 A0 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B504 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B505 65 A0 e.</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B507 8D 86 06 ...</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">player_new_y</font> <font color="#8080ff">; B507 8D 86 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B50A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
@@ -7163,7 +7177,7 @@
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $05 </font> <font color="#8080ff">; B690 05 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hurr_sub0</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; B691 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; B691 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">falling_wind</font> <font color="#8080ff">; B694 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B696 60 `</font>
@@ -7179,7 +7193,7 @@
<font color="#00ff00">lda</font> <font color="#00ffff">current_speed</font> <font color="#8080ff">; B69B AD 24 06 .$.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; B69E C9 09 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB6A9</font> <font color="#8080ff">; B6A0 B0 07 ..</font>
- <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; B6A2 AD 23 06 .#.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; B6A2 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B6A5 C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB6BA</font> <font color="#8080ff">; B6A7 D0 11 ..</font>
<font color="#00ffff">LB6A9</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0768 </font> <font color="#8080ff">; B6A9 AD 68 07 .h.</font>
@@ -7715,7 +7729,7 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; BC79 A9 0D ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; BC7B 8D 32 06 .2.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BC7E A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; BC80 8D 23 06 .#.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; BC80 8D 23 06 .#.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$52</font> <font color="#8080ff">; BC83 A9 52 .R</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub1</font> <font color="#8080ff">; BC85 8D 84 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BD</font> <font color="#8080ff">; BC88 A9 BD ..</font>
@@ -7744,7 +7758,7 @@
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; BCB4 A2 03 ..</font>
<font color="#8080ff">; display current user's score, number_of_users should be score-1 here.</font>
<font color="#00ffff">wd_xxx</font>: <font color="#00ff00">lda</font> <font color="#00ffff">number_of_users</font>,<font color="#00ffff">x</font> <font color="#8080ff">; BCB6 BD FF 06 ...</font>
- <font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; BCB9 95 CF ..</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">tmp_sprite_height</font>,<font color="#00ffff">x</font> <font color="#8080ff">; BCB9 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; BCBB CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wd_xxx</font> <font color="#8080ff">; BCBC D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">print_number_jv</font> <font color="#8080ff">; BCBE 20 09 80 ..</font>
@@ -7787,7 +7801,7 @@
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used in work_level_sub1 slot during well_doneused in work_level_sub1 slot during well_done</font>
<font color="#00ffff">well_done_sub1</font>:
- <font color="#00ff00">lda</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; BD52 AD 21 06 .!.</font>
+ <font color="#00ff00">lda</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; BD52 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wds1_cont</font> <font color="#8080ff">; BD55 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BD57 60 `</font>
@@ -7824,7 +7838,7 @@
<font color="#00ff00">lda</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; BD90 A9 C6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_y_pos</font> <font color="#8080ff">; BD92 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BD95 A9 00 ..</font>
- <font color="#00ff00">sta</font> <font color="#00ffff">falling_flag</font> <font color="#8080ff">; BD97 8D 21 06 .!.</font>
+ <font color="#00ff00">sta</font> <font color="#00ffff">start_falling_flag</font> <font color="#8080ff">; BD97 8D 21 06 .!.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; BD9A A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; BD9C 8D 88 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BD9F 60 `</font>