|
本帖最后由 yandagui 于 2016-12-16 20:10 编辑
0 \$ j) J, [% _( q
8 ]: q/ {5 O( Y[FC][超级魂斗罗][互相伤害版][旋风修改][方案1] . v* n: r- c- c4 I5 D2 ?: }, y
+ m, p) i; E: C+ F' Y
时间:2016.12.160 d; _7 L; y) k) n
作者:FlameCyclone
7 r# [3 z3 |; u内容:
$ Q: C C! {3 v% P
! \( w o( x2 S. ]) C$ S. }互相伤害: P1与P2可以互相伤害了,玩了这么多年超级魂斗罗,看队友不爽就开枪打死他吧(笑抽).
6 F" {, S3 q' J: m$ B' j' f. c
& }, K7 h8 U2 _' W& G/ ~备注: `7 c* h; N8 S) p& N
S弹有4发子弹P1与P2共用,因此共享部分鄙人将其设置为无害,否则自己被自己打死可不好玩了.9 U) G I( A8 Y8 C2 N; }$ H8 ]3 }
( e( C3 `# h% b# e4 \
% w. f A6 G& o, T e% ?
0 i( R) A1 J, B欢迎转载,但必须注明出处 o4 @! S5 _& r: H2 u P' Q. F
FlameCyclone.ys168.com
8 g; V# E' |; F+ F9 m" H: V- .ORG $FF20
9 X( x* W; S7 _ y, `; q2 n2 W - , N1 K& s* K- M& q% H
- STA $F5,X% V, f- n8 D# h+ a' b; h
- STY $F3,X( k% \8 M- g( E" @' }
- PHA
; m! ^% d' Z: T$ i7 K$ r6 b - TXA4 M& h& \6 {2 Y6 K+ `* Y3 }
- PHA
1 U8 L% W; q y- A) ~! G8 {: j - TYA
+ i' x8 t3 \: K- [1 h - PHA
3 A7 V. B' \$ I - LDY #$03- H8 H9 Y5 C- l6 S' x
- JSR $FD7B, j2 j" U* }8 w- V. V
- JSR $BE00
: X$ y1 {. V6 C5 E1 L9 [! i& A4 E - PLA+ H& z$ V9 _0 [2 D, g- @
- TAY* z: P" w. z- Q8 S3 e3 m
- PLA
( |: \, C0 b; K5 @ - TAX* [0 s: \. X* m- G
- PLA2 b9 j5 V/ C x
- RTS
复制代码- , s, A7 @6 {* W# _7 l
- .ORG $BE00
& M# Z: U6 J5 W. Y8 |4 e5 N% v - 6 T! k' l: x' N
- CPX #$01
f. t, l, n, E6 ~+ r: { - BEQ P1_ATTACK" D: M: N7 _# M+ H V. @
- JSR P2_ATTACK
! q" l4 h6 P5 y* u. p' W/ s - P1_ATTACK:1 V$ K- U8 m6 F8 n0 O, P4 ^
- P1_DATA_PROTECT:
5 R" D, D% h: o - LDX #$00
' `- K! K ^3 ]. X+ m - LDA $054C
9 k; N* {( a8 \5 v: b8 J - STA $07D7; M7 }: l$ X- ~; Z; F W. x
- LDA $0532
: V ^ e" ]6 C; E4 q - STA $07D8* Z( b& g6 g4 `
- LDA $0518/ S0 ]3 V9 h4 n& I4 t# E
- CMP #$16! s) D+ T0 r- x4 w, F
- BNE P1_V_W
' N" F7 h! P: I2 f+ P - LDA $07D8
+ w/ V, R2 A0 t - CLC
* q7 G$ r b, L T6 R* y, c9 Y2 m3 j* t - ADC #$081 R1 ]/ D% L! u! H
- STA $07D8+ R" t ~2 r* D5 u, Q1 n
- P1_V_W:
$ @" Q& m- Q( ?& l - LDA $0592,X
, z3 r0 d4 {& Z! D* D; B+ n - SEC, n, V( ~% u# q6 v% I+ @
- SBC $07D73 E: r- `- n+ n/ a
- STA $07D0' p/ q6 V B& H2 p9 P k' W1 c1 n! T
- LDA $07D02 n% d2 k# w1 F- i- e' [( R
- BPL P1_H_W! b4 }$ J! ~1 g+ D* f1 h8 a" l
- LDA $07D7) p2 M, Y$ e: Q$ ?
- SEC4 @ x: C8 z8 G/ g
- SBC $0592,X5 Y3 F' T, b% A5 N4 R' ^- _& O$ K
- STA $07D0; v, k w' e3 L) B; w& n$ {
3 j0 v3 R6 r4 }9 F1 n: M- P1_H_W:5 S( X( E, j+ T* a* j6 C! |- m
- LDA $0582,X6 y1 y" s) L. b' Q; ^
- SEC6 w2 v& G# s/ n2 {; T
- SBC $07D8
6 B9 Z' C8 K$ P$ A/ @ - STA $07D1. d! Y% W% M$ L& \
- LDA $07D1
9 j* p$ E m. c' h! X - BPL P1_V_CMP) a1 o2 v f4 s7 i! [9 u
- LDA $07D8
; ^/ H1 c" o8 D& f) {7 d! h! B - SEC. g1 P4 Z9 I6 y4 f( j# \9 @! q2 x
- SBC $0582,X
/ q; x. m8 H- q - STA $07D1
% H( N, n1 V, x# P6 [( B# d. S" Z9 d -
3 U1 W" V) K4 R1 f; c* q# v" E( f - P1_V_CMP:
( ~' _8 [, F: L" R. @3 ^( t9 @, O - LDA $0518
" u" X. C/ r( P- O - CMP #$16/ F( Y8 q3 U' I/ o* J _' c) m4 S
- BNE P1_STD_V
$ d4 W1 i$ X; ^- A" } - LDA $07D0
9 u7 `# _. @) ]6 D: q% \" s - CMP #$127 {, M( i& X5 `
- BCC P1_H_CMP
$ u8 h7 O; F0 @5 [5 p/ d' y1 P - JMP P1_ADDX
3 d! L" w* V, j' _$ V. y# i6 v' B - P1_STD_V:
2 |" z0 `' D0 G6 V" g) l6 J. V2 i - LDA $07D0
1 c9 A7 F2 g. Z$ y( Y( T( k( N% e$ J - CMP #$08) }9 Y7 M" E0 x/ K) h9 Z' s3 r
- BCS P1_ADDX
, Y7 I( n- R+ |' S4 b! ^ - P1_H_CMP:
& l7 \0 Q2 w. b. [- D4 D* S - LDA $05182 @9 r! l# E7 [" ], d- u* P3 K
- CMP #$16
; d% J- y2 {8 m% r - BNE P1_STD
: ~( _- w4 x O - LDA $07D1
* T- r( V) [' J' V6 l4 f9 w - CMP #$08
4 L/ v: b. L2 u1 h0 g d' v. p - BCC P1_DIE
( K' j$ [4 [4 R4 N/ e, a0 s' B - JMP P1_ADDX. L) y4 {7 f+ c, `8 U3 c$ E
-
3 Q0 z7 X, D- @# a5 B8 M* r( K- M - P1_STD:
& N; f% i5 ?0 I- K: W* j - LDA $07D18 [2 a A' ^9 u i9 O# `, |
- CMP #$108 H" x) z4 F0 K4 X& G& Y1 j7 p
- BCC P1_DIE
4 o1 |3 X) Z9 l
8 [# m7 k. x1 |& \; ?8 Z- K- P1_ADDX:
* s1 Q) k% W4 U( v$ Q - INX" v) |4 g, v) `1 o& e
- CPX #$06
9 t- m4 K Z8 D* I' _; l9 Q$ { - BCC P1_V_W
+ J* p* l7 E9 M4 x5 W - RTS; Q( J3 v3 e7 P/ O
-
. p+ ^$ c2 g; s+ p - 9 _/ K$ h5 Y2 v% ~1 [1 D) x. t5 s
- ; s6 O9 v. ]2 t
- P1_DIE:9 i$ R$ Z- S- ^' F2 Z. i
- PHA' u9 U" C' e7 ]" @3 ?" M( ?
- TXA
( C$ C+ i8 Z, M3 H - PHA
! V9 v& ]' f! t1 m" ]1 a - LDA $05B2,X. {7 b3 N. A# I% Q: g, J7 ?) y8 A
- CMP #$01
/ j4 K" S8 s/ j. ? - BNE P1_NO_DIE& ~) j- I+ i, U
- LDX #$00
! B+ f! l# ?$ I: a% i5 R+ l - STX $07ED
* p# E1 c3 l& t1 ]4 L$ U8 | - LDA $D40 k6 d6 ^& I; e% P6 g( G
- BNE P1_NO_DIE* }) p/ T, e. D. w8 [
- LDA $C49 i2 l. o& }( j/ w; P
- BNE P1_NO_DIE, R& T5 M) }# ~$ w9 |) ?
- LDA $A01 U; y! C5 n1 u/ A* F) h
- CMP #$02
+ K8 z$ Y* A; {" ~- j6 o - BNE P1_NO_DIE
& H* q9 j2 b$ `9 W ~& r - JSR P1_DIE_ACT
1 h: X6 }" W3 X* r& A - P1_NO_DIE:. c+ t9 u' s X% w! e. w" X+ }" g i
- PLA m/ ~/ {4 R) u3 o. @% ~3 V! O
- TAX) B& H3 i% {/ H+ Y8 h1 v
- PLA
5 _8 x5 J3 O* b0 R" I* @" P - JMP P1_ADDX# h8 ]" t% ~6 F# v) J
- $ p7 j" @% R: b
- P1_DIE_ACT:
! o5 Z+ t& w. K& Y$ ?4 } - JSR $F670" b0 G; i7 W! Z- |) k
- P1_R:# |8 H5 N/ ?/ `. \8 w1 e
- P1_RE:
0 C* W* g4 f. R; B* A& W. \ - RTS
0 {" c; Q/ ~* m1 I- |( D+ }3 g -
; o% b5 x. Q4 g1 m - $ g3 I d* G b$ `; X: \
- $ I) C# y# M% l6 r: v) A5 M! a
- .ORG $BF00
$ w: q4 Z( c* N - 5 f/ x( P5 x+ L* z o
- P2_ATTACK:
& ]# N: y: I& q) ?! z - P2_DATA_PROTECT:9 Z7 F1 X/ t4 H5 t9 j- ?3 q
- LDX #$00
4 y* D/ s1 O2 g' X! ?# g* c - LDA $054D
6 h' G+ @& `( S( e9 r, V: d, V7 f - STA $07D9( G1 @9 v- e% J& L
- LDA $0533# L6 q! O' [. Y; h
- STA $07DA# {! j& G% ~, x( P$ d
- LDA $0519
. z* ]* [) f4 M# f, z A$ L - CMP #$16
r9 a* o5 V7 q) W, x - BNE P2_V_W
4 F" E G, _0 P' U, a - LDA $07DA7 s' O- q5 L: s9 d- u! `4 y3 W
- CLC5 P. S4 X0 G/ |, s- S4 e9 y% I% k- J
- ADC #$085 a9 |# \' c* B
- STA $07DA; V- o% v R# D2 e6 o% C
- P2_V_W:
G: m/ d0 J- X7 c: ~' [ - LDA $0588,X
2 e2 A" b/ u: X* d" k: W0 f. n - SEC( F% \" P$ D) D7 U. h& p4 M3 h! a' h
- SBC $07D9
: C* c; N0 F) T' a - STA $07D24 ~. O: Y) h3 e5 O2 t/ s& d
- LDA $07D2
: f0 _5 a& c& n0 Z% n - BPL P2_H_W
7 E! o7 s, y, ] - LDA $07D9
' K7 b8 v0 }1 C1 j8 ?+ i& ? - SEC
2 O3 l& g. v; d - SBC $0588,X. g7 i: N/ x r; C
- STA $07D25 [, t, P0 {2 ]. U1 j( G
: {! v* y* J5 m% w- s+ b' I- P2_H_W:
% D4 R4 @, {$ f4 G4 m, N - LDA $0578,X7 W* T1 e# _3 q) ]$ w! E6 f
- SEC
& s, k- I6 h: J8 q- O - SBC $07DA
! @/ Q0 _% ~' O4 r: O; ]1 w - STA $07D3. `' ]& f, P5 _7 `
- LDA $07D3
3 Z! ~: G3 p7 c0 J$ v: { - BPL P2_V_CMP! q/ ~# H2 I1 p& ?/ E6 G
- LDA $07DA
9 _! |8 c4 j+ x/ q& ~ - SEC. D2 V$ J. g) E0 i
- SBC $0578,X* t. m* y1 H4 t9 z
- STA $07D30 L2 @+ t* Q1 A( s7 S, T8 ~# w+ g
- / g$ t: K* ]- p8 j
- P2_V_CMP:/ z3 a/ q6 s: _* _7 A
- LDA $0519
$ ?8 N2 W b b9 n, z% w' L1 W - CMP #$16
6 l! y. [* L0 M! Q! b, k - BNE P2_STD_V: B2 ], g" S. G( m( ~6 m
- LDA $07D25 P7 I, b0 u1 J$ t1 y* ^
- CMP #$12* Z5 _% w' |+ |# T8 U; a2 {8 {
- BCC P2_H_CMP
3 e% c: [3 D& E1 d: } - JMP P2_ADDX. {1 ^6 k+ J: S: x9 U7 q3 r' O
- P2_STD_V:
2 [5 r( V, i! a5 V' C" n! j - LDA $07D28 `* x1 Y* b2 l! e5 @& f
- CMP #$08$ u; c' y2 F. I) A ^: V
- BCS P2_ADDX
- I$ a, d7 j. x2 a - P2_H_CMP:
" n, I+ A, s7 } - LDA $05195 v: X0 e* j' D) f. x& t4 o
- CMP #$16
: d/ l7 }7 g3 b7 y+ ] - BNE P2_STD' A# u+ Q- L% _6 I+ d
- LDA $07D3
6 m* @. E& k) j6 [ - CMP #$08+ M" n4 X) Q; W: B; T. t
- BCC P2_DIE6 j; h) O; |( C6 z( N% f! g
- JMP P2_ADDX8 x! ~; {1 {! c: B1 R9 ~
-
, [$ ]0 b/ l. G- o: F - P2_STD:
) ?2 `$ ~* E" _ - LDA $07D3
6 B7 e$ D9 T9 e: g: y9 U- q+ v/ h F - CMP #$10' R. N3 E- B" R" o$ R; m& ^! N
- BCC P2_DIE
! I3 w, S- N# G4 M: A
p) Q/ {; v: L _6 r; E8 m- P2_ADDX:# P6 {/ ]! N, ^+ b8 b
- INX/ e* ]8 p2 Z; c( T7 K: W9 @+ R
- CPX #$06
! I+ \' ^: {# s4 t - BCC P2_V_W
7 ^3 F7 E% i* ^! j i; F5 K - RTS
5 R6 e$ Z, U3 J) ?& i, ~$ l! ~ ^ -
4 f; L- {+ y4 ` - ) M7 [4 n2 l* F
- g5 h8 g9 a' _9 O+ s8 Z& S+ Y% j. O
- P2_DIE:: L' _+ {, T5 o; b: p: B. u
- PHA( g, n4 t: q" H2 R# F$ Q
- TXA
- c2 c, M- o9 t+ ` - PHA, I: v g; ^2 U6 U6 k! P$ U8 V" D
- LDA $05A8,X$ J5 H7 j- N. O2 Y0 Y. o, t; e
- CMP #$01+ T+ E$ P, T# s# c- i
- BNE P2_NO_DIE* r1 Q! v- R6 f0 Q$ J1 t; k
- LDX #$01" z a1 e2 \( U1 o m
- STX $07ED# M: C8 _; u& N8 P7 O) u+ t, b
- LDA $D5
- N+ r* v+ q: s; t! \ - BNE P2_NO_DIE
" E/ K5 y8 t. n) F' _ Y4 X& X - LDA $C5
( v. P8 W% g- n. `+ b6 r - BNE P2_NO_DIE
: |/ v) U( n$ a" ^3 G - LDA $A1
4 l# E6 i+ W# k2 S/ N5 c% `' D# Y7 b - CMP #$021 f1 p, j1 f: Z! b
- BNE P2_NO_DIE6 r: ~. [+ b2 D& b6 L7 n% [
- JSR P2_DIE_ACT
+ G5 |# U& p; z; w9 x - P2_NO_DIE:
+ \6 ^- E r; v1 @ - PLA* _/ ~( D9 ?0 X% \9 ]
- TAX" T: f- Q# S A" F- G1 V" `
- PLA5 Z$ f6 f6 a; {3 ^
- JMP P2_ADDX" D: `, ?: L' y2 O
- : H- V0 z# C1 I) d: K
-
( a& K; j# s+ o9 @. B0 c- I - P2_DIE_ACT:
: D" i8 M9 |6 { } - JSR $F6705 O/ G$ `' e& D- ]5 c
- P2_R:
Q% @7 t; U2 B1 ?' _' q$ b - P2_RE:. |( A9 Q* j% U* f5 R6 N) L$ Q3 k
- RTS
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|