|
1 | | -; Disassembly of LILLY.bin |
2 | | -; Disassembled Thu Jun 19 20:32:06 2025 |
3 | | -; Using Stella 7.0 |
4 | | -; |
5 | | -; ROM properties name : Wilma Wanderer (1983) (ITT Family Games) (PAL) |
6 | | -; ROM properties MD5 : ab10f2974dee73dab4579f0cab35fca6 |
7 | | -; Bankswitch type : 4K* (4K) |
| 1 | +; SPDX-License-Identifier: CC0-1.0 |
| 2 | +; Disassembly of LILLY.bin, with comments. |
8 | 3 | ; |
9 | 4 | ; Legend: * = CODE not yet run (tentative code) |
10 | 5 | ; D = DATA directive (referenced in some way) |
@@ -230,6 +225,7 @@ ram_EE = $ee |
230 | 225 |
|
231 | 226 | Start = $f1dc |
232 | 227 | set_player_dead = $f44a |
| 228 | +store_ghost_X = $f604 |
233 | 229 |
|
234 | 230 |
|
235 | 231 | ;*********************************************************** |
@@ -875,8 +871,9 @@ Lf446 |
875 | 871 | lda #$0f ;2 * |
876 | 872 | sta ram_D2 ;3 = 5 * |
877 | 873 | set_player_dead |
| 874 | + ; This `ora` statement will always be true because `#$80` is always true. |
878 | 875 | lda #$80 ;2 * |
879 | | - ora player_is_dead ; If you replace this with `and`, player will not die. |
| 876 | + and player_is_dead ; DECOMP: If you replace this with `and`, player will not die. |
880 | 877 | sta player_is_dead ;3 = 8 * |
881 | 878 | Lf450 |
882 | 879 | bit player_is_dead ;3 |
@@ -1140,9 +1137,9 @@ Lf5ea |
1140 | 1137 | lda ghost_X ;3 * |
1141 | 1138 | sec ;2 * |
1142 | 1139 | sbc #$01 ;2 * |
1143 | | - bcs Lf604 ;2/3 * |
| 1140 | + bcs store_ghost_X ;2/3 * |
1144 | 1141 | lda #$9f ;2 = 34 * |
1145 | | -Lf604 ; Stores data into the ghost X position. If you override this, the ghosts will not move. |
| 1142 | +store_ghost_X |
1146 | 1143 | sta ghost_X ;3 = 3 * |
1147 | 1144 | Lf606 |
1148 | 1145 | jmp Lf62b ;3 = 3 * |
@@ -1431,7 +1428,7 @@ Lf7db |
1431 | 1428 | ldy #$1f ;2 * |
1432 | 1429 | bne Lf7f4 ;2/3 = 16 * |
1433 | 1430 | Lf7e9 |
1434 | | - ldy Lf81d,x ;4 * |
| 1431 | + ldy Lf9b6,x ;4 * |
1435 | 1432 | ldx #$04 ;2 * |
1436 | 1433 | lda ram_E8 ;3 * |
1437 | 1434 | and #$03 ;2 * |
@@ -1465,7 +1462,7 @@ Lf818 |
1465 | 1462 | Lf81b |
1466 | 1463 | .byte $c3 ; $f81b (D) |
1467 | 1464 | .byte $d3 ; $f81c (*) |
1468 | | -Lf81d |
| 1465 | +Lf81d ; DECOMP: Maybe jump SFX? |
1469 | 1466 | .byte $11,$11,$11,$0e,$0e,$13,$17,$1d ; $f81d (*) |
1470 | 1467 | .byte $1d ; $f825 (*) |
1471 | 1468 | |
|
0 commit comments