|
本帖最后由 yandagui 于 2017-3-2 22:17 编辑
o, O3 {2 c* V9 H+ v. t
, K% M; T; }% p4 c) r+ x[遗作][魂斗罗][自杀2017]% {, o. U5 P- Y$ i; ?( o
3 e5 l4 k9 |2 \时间:2017.3.2
* M+ E4 s/ A* t3 a8 H作者:FlameCyclone
; P8 Y2 z* o. G" f+ @内容:+ i, E! ]: L; t# \5 ]; n2 O" [
杀敌时除了过关必须的敌人,其他打中时我方角色一律死亡,喜欢挑战高难度的变态可以自己受虐了.
. G; _; U! \8 \' [1 R
$ h9 ^$ h( O9 ]0 Yflamecyclone.ys168.com
' {$ S+ {! }; iwww.nesbbs.com. n* i3 l( d$ O5 }2 Y' ^
- .ORG $FB504 A- I8 V1 T; c7 q
-
$ B2 g8 H5 w w% C+ s; N - KILL_DATA = $0780& _ l5 Y0 s" v5 P
- KILL_FLAG = $078F
8 f% Y) a7 ?/ K8 t9 b" ]3 z' z. _ -
' ?* w3 {0 I+ M( ~- V& a/ c - LDA $033E,Y" }. V' W* O5 v% C, |( c. s
- PHA2 y; J( {0 J: y: X3 Q# ]
- TXA
9 ?$ L4 m$ s! O, Q- o6 A9 ] - PHA
$ j# J+ _0 l Q9 \/ f' c* U6 r0 R -
0 g x3 X" W; [ - LDA $8000
' I: Q& i; g$ Z7 D+ k6 ^ - PHA7 s8 \* w; y7 q. V
- TYA
: I- m1 \# U0 R* K% M - PHA
) z+ E2 G4 u, G - LDY #$00
8 `9 ~- b& z3 {, C2 M6 b% K6 e( E - JSR $FB21
* v. N$ W/ D; n1 `; k - PLA# N. n7 n' A/ i
- TAY
" @. U0 H& A! Z0 t; _. V; T - JSR $A0002 I3 t/ Y d: Y# o4 w$ y5 D4 D7 [! T
- PLA: w: m( |3 S4 I! p4 I8 V; l) D
- ORA #$01
& `2 @6 z3 z0 n. R+ l* Y - TAY
9 P8 c7 D4 N% h B6 K+ O. R& m - JSR $FB21
0 p1 y6 [" j7 [6 x' l. ]0 @ -
0 ?; q* D0 K+ n - KILL_START:3 t$ y: \! Y7 S c
- LDA KILL_FLAG
7 q4 \: `* ?" X. T - CMP #$FF
9 F) y" D7 ~; ~9 |+ Y9 ~+ R) p3 N - BEQ BACK
- a$ F/ S9 I4 Y, I3 Z - P1_CMP: ]0 D5 j7 M( c' [) j
- LDA $0090
. O6 {, G3 L2 R& d( {& Y - CMP #$01" q9 y3 p D# Q8 Q# n! A# e
- BNE P2_CMP
( f+ D$ h& L' R6 m; a - LDX #$00
: s$ F E4 k& }0 O* L - JSR $D474% h. V4 }+ k; W7 X. h
- P2_CMP:& J- H- D+ _' H6 Y: }4 l4 s
- LDA $0091
2 X! W' U* `6 W0 m - CMP #$01# J% c# L5 O9 E% V0 y0 F6 F, K ^
- BNE BACK
# ^: ?; s% V) k/ ^' v0 X& u - LDX #$01
* H+ x6 ?1 F" b( L& y- u - JSR $D474
! H. t4 d7 f+ ^! Z; D
4 p( l! w2 p# r3 I# L- 0 l/ n1 h7 d. h# J7 ~; ]
- BACK:
1 k ?: ^' s% {" ^! i+ V4 P - PLA
/ V& F9 b- _2 R W- M# C3 n+ _ - TAX% C4 d ~' p% v- a m h
- PLA
. G) i" |2 Y- D6 ?* t O- U, { - RTS6 o; w- q# Q7 ^9 m+ F
$ u8 s& B5 F: c4 _# B& H: L
( B, B- v( q% K, d, R- .ORG $A000
2 t0 h$ _3 a) L - . y$ p% l$ D0 i. |
- KILL_DATA = $0780
( H/ p. w/ X" A - KILL_FLAG = $078F; t4 K* b, N( \
-
+ m9 y- U! k3 k9 e( {8 t - STAGE_1_CMP:) z9 @/ ~8 M4 @; n5 D0 c
- LDA $30
2 L- f/ W9 Q# D+ b! b - CMP #$00, |1 `9 G- j, C% e5 t5 J/ U- }% W
- BNE STAGE_2_CMP) W; g7 R# Q, g# O- N0 G
- LDX #$00
( v; g. }; M3 F) x6 G - STAGE_1:3 O. S/ r4 m, W
- LDA ENEMY_DATA_1,X
5 |8 O/ R5 h, }- ?: e - STA KILL_DATA,X, u+ w/ W+ [1 @+ M, r
- INX
# T! x5 y' w1 U! b - CPX #$060 Z. ~! D+ _' H
- BCC STAGE_12 e2 z# q! | u$ A& r7 |6 i* i
- STAGE_2_CMP:
! l3 ^+ ~+ {& g( W; P - LDA $301 ?4 f1 {4 B% I7 c9 |
- CMP #$01+ ]: [0 {1 u: a
- BNE STAGE_3_CMP! ]& F. u0 t- E; o) f$ ` |' M* R
- LDX #$00
4 r/ M3 b- S9 @ - STAGE_2:
/ x- v( N$ I2 m0 P - LDA ENEMY_DATA_2,X$ e; S. M! ^6 y% b# `$ Q
- STA KILL_DATA,X
+ N5 U4 t# h1 H - INX
/ Z' E9 N: V3 Q: ? G - CPX #$06
) F( h% g3 ^5 t9 U - BCC STAGE_2. j6 z7 q) A' e7 j
- STAGE_3_CMP:' f7 D ?7 l+ u2 [2 [# Q m' P
- LDA $30
& \: A! B3 g1 y% ^# ]. R1 W - CMP #$020 M1 t9 r/ Z _& @' ~; r5 n
- BNE STAGE_4_CMP% ], W" o7 N$ k' [0 p
- LDX #$00
. k h% B- ?4 ~( S* b - STAGE_3:
% e# Z( G" Z1 c0 I0 D4 D - LDA ENEMY_DATA_3,X+ |4 h9 X' l, N0 }
- STA KILL_DATA,X% e# z* W" K: Q% s8 a
- INX0 ~, Q% G* J c% ]$ v5 m1 h% `
- CPX #$06
7 W+ ]8 D. D0 [0 q: I: X - BCC STAGE_3
6 |) h0 W- t' o2 ~! h9 D0 @8 ~ - STAGE_4_CMP:7 u$ P% e, U! g' L+ g4 c% y2 k
- LDA $30
" T! O, L; E$ k- D5 { - CMP #$03
$ g W$ h# a) t; A! B! J - BNE STAGE_5_CMP& p5 K4 z4 \+ k$ P3 q J
- LDX #$002 ^6 y- s1 o+ U4 ?, l
- STAGE_4:/ l/ E+ Q& o+ G' p( l
- LDA ENEMY_DATA_4,X
3 x" I: u% u4 {& q4 ]& i5 K# J - STA KILL_DATA,X3 z& U4 O. Z. T. K( {
- INX8 i1 a1 B" }/ U P8 K5 O; n8 l" R" s) M
- CPX #$069 P5 v" k/ l* O, _0 a! d# ~- @
- BCC STAGE_4) j7 n& r+ v! c# U' d
- STAGE_5_CMP:
) G- f8 ~! D [ - LDA $30
6 @3 r7 Y7 J% h - CMP #$04; M; f8 A) }& E8 x8 {! d/ g0 R" h
- BNE STAGE_6_CMP& n2 R) i8 ^- e: ^; ?
- LDX #$00
# D; K, p4 l0 k/ C- V" v% O - STAGE_5:
- @! K) P/ R( R( R* F - LDA ENEMY_DATA_5,X
" r% S7 R7 y8 S- Z. |# {; M+ p2 H - STA KILL_DATA,X2 S; Y j1 ^6 y5 x: Y4 ^( y1 w
- INX
: S# p1 ]9 k5 D - CPX #$06 Y8 f- P7 p* I0 \9 r& j
- BCC STAGE_5
) v3 P8 }) R8 U7 h - STAGE_6_CMP:# @; j3 v3 h& g* U9 b
- LDA $30* X* @8 W9 F0 k1 D1 t9 q
- CMP #$05
+ E2 U8 f. } i0 @, u - BNE STAGE_7_CMP4 F/ P. k2 [( f$ ]0 k5 H7 `: ?
- LDX #$00; }, N4 @6 q" F- B- H
- STAGE_6:
' e) `4 A0 Z% q, j8 \ - LDA ENEMY_DATA_6,X3 j7 `- n9 \' m
- STA KILL_DATA,X) ?, M7 P# z/ w8 X1 v8 k: d
- INX
: w2 t' \1 {$ D - CPX #$06( C- j0 }. |( G' h
- BCC STAGE_6
$ X* X1 d+ f& U; e1 ?' X4 ^% [ - STAGE_7_CMP:' u2 u( L8 q2 e1 S: E; i, g5 E
- LDA $30
! H R% s+ |* M - CMP #$06
# e1 a$ V/ `, c1 r - BNE STAGE_8_CMP
[. I! N; k+ L% e' ` - LDX #$00+ P( c! @7 Q7 M% ?8 S
- STAGE_7:
9 [( m( E& q4 X: S6 C9 [/ y - LDA ENEMY_DATA_7,X
; c5 c, b' P5 [9 `- @ - STA KILL_DATA,X* p7 X. y* m8 D# Z S( ]1 d1 c& g ? T
- INX
; b) g; y5 K. v/ P! i5 H- K - CPX #$06
7 N, U& b1 y8 e - BCC STAGE_73 O' {/ ^, w) `/ R4 L: }
- STAGE_8_CMP:' U8 i" i1 Y5 [6 f" u1 w# M
- LDA $30) M7 J$ u- {4 I# |
- CMP #$07
/ w- b" j# ^+ n$ V4 b/ d+ A( p - BNE STAGE
i# F) R% C- _) e: | - LDX #$00
* `4 _& z# a* {3 h6 p' O, b - STAGE_8:
& Q. o4 `+ L( \/ y, X' L - LDA ENEMY_DATA_8,X' _/ F! Q* Z& T
- STA KILL_DATA,X
/ Q u' _5 v- O - INX8 K9 b ~; F& [7 k0 B0 S; L' [
- CPX #$06
; t2 Q4 w- O% b) g) `: _ - BCC STAGE_8
2 z: F" M% I6 P7 a - % z( m( N* j( }0 @$ u* K, Z6 Y( @& {
-
# d$ r6 M% p7 E -
0 r4 z+ ]# O# ~8 l' d4 g8 B5 |1 { - STAGE:
2 }" G6 I1 w4 l! u! J - LDA #$00
) u6 L; G3 u: y; k! D9 d - STA KILL_FLAG: Q: H3 z% ^) Y' _# G
- LDX #$00% p' q2 j; L. u, i
- ENEMY_CMP:( q0 s9 g; f! O; E0 B
- LDA $0528,Y
) T. n2 |6 F! v8 [ - CMP KILL_DATA,X$ z5 l: M% B9 S8 W5 d& f# m9 V
- BNE RE_CMP
/ g8 d% x& E( s; b$ I - LDA #$FF
* X% q% [- M; x' B4 p+ C' d6 J - STA KILL_FLAG
9 a2 c2 J+ ~$ j - RE_CMP:# w, H$ T6 t9 N3 j I
- INX
( Y3 P! s1 A! d4 p- S - CPX #$067 t8 A* `7 {, n
- BNE ENEMY_CMP# f# }( h } j2 ?0 Q
- * p$ }! e5 g# |% x# @5 d7 Y( o
- : R* l5 \, p% V% N. s+ y9 G/ C
- RETURN:
/ Q& p; D5 H ^1 i. \: k0 L8 ^ - RTS) P8 y/ w4 M, l& H! {2 D7 z! L3 Z
- 3 W0 k# `& P6 R* B3 M+ N# W- w" v
- . j. \9 z" |6 c( T. j/ @) O! E
-
0 d6 m7 N! s: Z5 v - ENEMY_DATA_1:% L' ~* N! a8 j9 l$ j7 }
- .BYTE $02, $03, $10, $11, $FF, $FF
" h6 R8 ~% [6 B) ^$ L/ Y( j - ENEMY_DATA_2:
8 M2 o4 h* h& J1 e) \" N7 A, J3 M - .BYTE $0A, $10, $11, $1B, $14, $16. r+ O1 U* S! L) N9 |
- ENEMY_DATA_3:# g2 J; v! p7 ~. ^+ j# i
- .BYTE $02, $03, $14, $FF, $FF, $FF
3 o2 R o* n* b& p5 s - ENEMY_DATA_4:5 r! s ~+ N8 I2 v2 f* J3 _, \0 [
- .BYTE $0A, $11, $14, $16, $1C, $1D
# }) i5 l0 x. h2 u9 z. q! f - ENEMY_DATA_5:8 ~% h2 h) \4 ?! J
- .BYTE $02, $03, $12, $14, $16, $FF
' b* C I2 W4 l0 ?2 I% b8 g - ENEMY_DATA_6:
3 j2 n/ m; p, ] - .BYTE $02, $03, $13, $FF, $FF, $FF
^( C7 V. W+ G/ a/ y' O - ENEMY_DATA_7:' } C8 D. K6 y/ V4 z& t
- .BYTE $02, $03, $11, $12, $16, $FF
5 U$ q# t7 U5 w - ENEMY_DATA_8:0 {. G6 s L, n7 V5 A
- .BYTE $02, $03, $10, $13, $14, $16
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|