Commit d7deb75 1 parent 6c9f9b1 commit d7deb75 Copy full SHA for d7deb75
File tree 2 files changed +14
-8
lines changed
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -303,12 +303,23 @@ scope MSU_Stop: {
303
303
}
304
304
305
305
scope Stop_SPC: {
306
+ // Stop SPC music
306
307
lda # $ F1
307
308
sta SPC_COMM_0
308
309
Handshake:
309
310
cmp SPC_COMM_0
310
311
bne Handshake
311
312
313
+ lda # $ 00
314
+ sta SPC_COMM_0
315
+
316
+ // Stop looping SFX
317
+ lda # $ F2
318
+ sta SPC_COMM_0
319
+ Handshake2:
320
+ cmp SPC_COMM_0
321
+ bne Handshake2
322
+
312
323
lda # $ 00
313
324
sta SPC_COMM_0
314
325
rts
Original file line number Diff line number Diff line change @@ -55,17 +55,12 @@ $1E00 = Command to do
55
55
$00 = Do nothing
56
56
$01 = Play Music
57
57
$02 = Play SFX
58
- $80 = Fade out ?
59
- $F1 = Stop
60
- $F2 = ?????
58
+ $80 = Fade out
59
+ $F1 = Stop music
60
+ $F2 = Stop FX
61
61
62
62
$1E01 = Requested song
63
63
$1E05 = Previous song
64
-
65
- $80 = Fade
66
- $01 == $8F = Fade in ?
67
- $01 == $80 = Fade out ?
68
- The game checks if the song was already playing
69
64
70
65
; Squaresoft SFX
71
66
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:012D X:0B2D Y:02DE P:envMxdizC
You can’t perform that action at this time.
0 commit comments