File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ nmiReturnAddr: .res 1 ; $0010 ; used for crash
12
12
crashFlag: .res 1 ; $0011 ; used for crash
13
13
cycleCount: .res 2 ; $0012 ; 2 bytes ; used for crash
14
14
oneThirdPRNG: .res 1 ; $0013 ; used for crash
15
- .res 2
15
+ switchTmp1 .res 1
16
+ switchTmp2 .res 1
16
17
17
18
rng_seed: .res 2 ; $0017
18
19
spawnID: .res 1 ; $0019
Original file line number Diff line number Diff line change @@ -286,16 +286,16 @@ switch_s_plus_2a:
286
286
tay
287
287
iny
288
288
pla
289
- sta tmp1
289
+ sta switchTmp1
290
290
pla
291
- sta tmp2
292
- lda (tmp1 ),y
291
+ sta switchTmp2
292
+ lda (switchTmp1 ),y
293
293
tax
294
294
iny
295
- lda (tmp1 ),y
296
- sta tmp2
297
- stx tmp1
298
- jmp (tmp1 )
295
+ lda (switchTmp1 ),y
296
+ sta switchTmp2
297
+ stx switchTmp1
298
+ jmp (switchTmp1 )
299
299
300
300
sei
301
301
RESET_MMC1
You can’t perform that action at this time.
0 commit comments