|
本帖最后由 yandagui 于 2017-3-2 22:17 编辑 3 D5 H% m" x, H% A6 w- I
& z, v! W% m" |8 ^4 C4 O! D4 n6 n
[遗作][魂斗罗][自杀2017]4 f4 _/ O0 r. l" n& d
# w$ r; I7 h2 k时间:2017.3.2, J& }) P' @ x0 m% x: K8 }
作者:FlameCyclone2 T& _, S5 F4 w* p; [
内容:) G: K' d: S; n3 U q
杀敌时除了过关必须的敌人,其他打中时我方角色一律死亡,喜欢挑战高难度的变态可以自己受虐了./ y. y5 _) ?7 {
" c- e; I0 k: Z4 uflamecyclone.ys168.com# @4 Q% D& {! G m1 n1 ?# ^# n
www.nesbbs.com
. i* K4 G! J- J6 ^" R$ W( g4 h! s- .ORG $FB50
$ E7 X* h' t. G -
' L7 Y, {' d( s+ R( \$ j) O: T8 `. \ - KILL_DATA = $0780
- Z0 p4 Z- K: r1 S2 i+ b( z - KILL_FLAG = $078F
3 M: c6 P0 b) l- Y -
* X/ \3 I) |# K. D' Q; Z+ _ - LDA $033E,Y1 E+ G' p% N" `3 Y8 |
- PHA
. x' L$ O0 f/ }& A. ^ - TXA8 @! `9 _6 B6 S8 ~ |! d, o S
- PHA
$ x Y" J {& Y9 Q' u4 G5 V4 _4 W -
6 W% Q/ r' r: A) y% d9 k! T( v - LDA $80007 F+ o4 _( H$ J$ c, d: K
- PHA$ ~1 @8 U1 z8 I5 \0 K9 g7 W2 [
- TYA- c) M0 [) d" t/ A' y/ }5 S ]
- PHA t8 r5 q2 k* @3 Q
- LDY #$005 q M7 O3 k0 M
- JSR $FB215 l# O! j& D, I% i
- PLA/ e* p% M. l H# d" N- O2 c
- TAY9 N3 h# w5 {( P! m6 T8 n9 d" ~+ z0 Y
- JSR $A000
9 r. i0 M x2 A4 t! S* H5 s* u9 [ - PLA* E. R2 D% {1 |
- ORA #$01
* T, ?3 M4 D& Z* X - TAY
1 y f; _& r/ x5 p" S5 o E* A) Q- W - JSR $FB21
: D/ {4 }5 g, y7 `4 i - * ^9 e2 O' ~4 L+ L
- KILL_START:: V3 b' i _7 c2 D- q( V
- LDA KILL_FLAG+ \6 k7 |+ |; P4 I
- CMP #$FF7 h' H+ ~: l7 ^! p8 |
- BEQ BACK
( S$ c5 T" V! ^( |, G - P1_CMP:8 U n$ n$ Q$ P' `0 B
- LDA $0090
, A" E5 D! ]) ?0 a6 v - CMP #$018 B; J+ R. s T0 `
- BNE P2_CMP
9 d/ ~0 R3 u" ^0 o& J - LDX #$006 |8 e: z; [7 |" r+ W; P
- JSR $D474
1 z. |$ D/ k6 z7 B* i1 D+ _$ f; } - P2_CMP:
! b. v9 H1 y+ |% m- f - LDA $0091
7 X9 j. ?1 z; ~4 f5 v - CMP #$018 n# L% V1 j& Z- J+ M) P
- BNE BACK% X/ d& `, Q& L( L
- LDX #$01( g/ v4 v( s' G. j
- JSR $D474: w8 }4 m& `8 k
$ x3 u- O" e% Z* `4 _: g-
3 y* u U! t: p' g0 w) r8 F - BACK:3 B5 L5 m# B% P4 F3 J
- PLA
2 r+ D" _# e6 x0 t$ c7 T% _/ h - TAX" l( e% r3 a g
- PLA
% R- j b( T) H: `) F - RTS
& \2 ^+ w$ v) l9 W" a1 }- Z+ E0 |( [
7 S* P+ c% _' |0 C4 y- 7 Y6 b8 N) C) f- x7 h2 o. }
- .ORG $A0007 E- n r( }. ^: F
- # D* r8 v% K) A" e
- KILL_DATA = $0780
3 {( w. y% G; j# f8 w/ H - KILL_FLAG = $078F1 e/ w6 P* R O( O2 e7 u
-
) W7 r4 o# g0 u E0 Z) Y - STAGE_1_CMP:* b; i' w; I* F1 B ]
- LDA $30
. v* o7 S/ U! y+ Q2 |; _1 M - CMP #$00- {. Y @* @2 _( P' l5 \
- BNE STAGE_2_CMP
6 H$ H" M% G. I/ ^) E( Y - LDX #$00
' S% G# u4 @8 K - STAGE_1:2 I5 {! V" {! u2 x. y `7 B
- LDA ENEMY_DATA_1,X
6 o S: U! O$ }/ ?, } - STA KILL_DATA,X
0 ?% x5 g7 Y6 Z: A* y - INX6 w3 T, {$ V O% f- n" F& d
- CPX #$06
1 s6 R9 ]0 N, Z) L7 E9 X; K) ] - BCC STAGE_1' y( [2 Q/ z# h
- STAGE_2_CMP:: V( x3 }! c& l* y
- LDA $30" v% v) C, f& X/ \2 ^7 r" J1 Y
- CMP #$01
$ n( g0 m, S6 o; W1 F - BNE STAGE_3_CMP7 y6 _- a) R4 J- p
- LDX #$00( v2 {0 R4 N' G3 X) h' }
- STAGE_2:
. s" }- x6 p4 Z# E - LDA ENEMY_DATA_2,X
# U/ Z, }1 ~1 S* ` `) g+ v/ C# o- f# ` - STA KILL_DATA,X& U- G% d7 S6 J# k& A
- INX
. V: {% `1 Y2 Z: R6 f5 s7 \ - CPX #$06
) l, O* w% y6 }/ ? - BCC STAGE_26 f4 C& o: P. b: k8 i) l
- STAGE_3_CMP:# J/ \8 ^1 g. ?6 u1 E8 A0 ^
- LDA $306 [# b) g3 ^" S$ t* K; i
- CMP #$02
& ^( [: L0 J( Q4 b+ J - BNE STAGE_4_CMP. a6 e" }4 z! L5 ~( ?& O; E7 w W
- LDX #$00$ H6 S! N) C) s
- STAGE_3: W+ _& A6 }, Z0 g" R# K
- LDA ENEMY_DATA_3,X
: j6 T- r4 C" M: @% g - STA KILL_DATA,X. e2 Z% _6 q* ?# E$ a0 o7 W
- INX
" W. g/ R. e" K - CPX #$06
! h4 L" ?/ \' @/ t - BCC STAGE_32 F* V6 t8 N6 e+ h
- STAGE_4_CMP:
1 J& o: S; j ? - LDA $30
& u, t) T3 ?% J, f2 L# f- R - CMP #$031 f6 I) T$ }# K3 b c0 a
- BNE STAGE_5_CMP
- T2 @8 _3 f! Z* J - LDX #$00
+ L; i$ \: @6 q0 z W - STAGE_4:* `6 z3 M j7 B' h; O" y% M
- LDA ENEMY_DATA_4,X0 d4 B) E! K. Q( y
- STA KILL_DATA,X
+ F# U% Q2 V! Z) O( M - INX
/ |" p' d3 j! E. h - CPX #$06
* v/ }9 J3 y1 z6 r - BCC STAGE_4
6 U) H8 V2 n; q' _ - STAGE_5_CMP:: z' f# g$ @8 b
- LDA $30
) ^ W' n* o! s) ^ e0 h - CMP #$04" M& U( v: _' c. P5 H+ r g0 {
- BNE STAGE_6_CMP
; `+ `- Q1 t9 w, A! { - LDX #$00) P, E0 C" h9 K9 M9 e
- STAGE_5:: a. _2 r( ]7 b+ @) q
- LDA ENEMY_DATA_5,X
* j1 c/ [! V$ O9 x- g1 b - STA KILL_DATA,X
% \; b, Q' z7 a - INX* v5 i, G* S1 J
- CPX #$06+ {# e; \. V, V6 U# V0 G$ d3 s
- BCC STAGE_5/ i/ L. |! A6 `, i. j! G
- STAGE_6_CMP:
6 e- p9 R% D- u J2 W2 W# X - LDA $30
, T; j1 P. Q% r c$ }4 u; S - CMP #$05
( p9 S8 A0 n2 c' [3 ^ - BNE STAGE_7_CMP
5 m; |/ x: w' O5 u$ f2 Z2 I- [ - LDX #$00
: l1 [& }& \5 M - STAGE_6:
2 s# M6 s- D. H" X' C) a/ a f5 k - LDA ENEMY_DATA_6,X
8 Q/ ?+ {+ E& B8 l - STA KILL_DATA,X
" Z2 ~6 m% ]$ {8 ~$ J1 n - INX
& p f, \3 G$ {( I- V/ s: h - CPX #$06
& j/ k1 q0 v+ m7 Z0 q9 Q+ _ - BCC STAGE_6
' O* k0 Y) {9 P8 x0 r5 l; I, D - STAGE_7_CMP:* w$ o' R) D8 C0 j( G$ g" e
- LDA $30
! z/ I: k8 }; S - CMP #$06+ z8 v/ z; `! v, V. T: Q
- BNE STAGE_8_CMP2 ~' Z( t& E' F
- LDX #$00
1 @7 i; _/ x! ~( d - STAGE_7:
& h, z0 u* S; e# v' }+ ? - LDA ENEMY_DATA_7,X& a6 Y7 j2 E f$ z: M: k0 ]
- STA KILL_DATA,X
1 @7 a4 _: M; n; Y) V ?9 n - INX
7 l: ?. W; ]7 \) {. R - CPX #$06
8 X* Q- J0 ? X - BCC STAGE_73 W" r h( f* s# `5 q, X
- STAGE_8_CMP:( b' p2 L8 _3 L9 E% `* Y
- LDA $30
: D: H/ f( Q, V. M - CMP #$07
4 f' f" M G; j) R* z' b) L. q - BNE STAGE
, w( R" v/ q) l4 Q - LDX #$00
8 f3 ?) S9 ]" C( H/ y1 p - STAGE_8:
/ w9 T/ ] \' [' c* l$ g' G - LDA ENEMY_DATA_8,X
: v$ ?5 w! x4 d- e: M. _ - STA KILL_DATA,X
$ d+ Y9 a- H$ @, q - INX
2 t, f5 H. T+ y |9 E, F* a- I - CPX #$06
2 S1 b+ M k! T1 W9 ?$ h - BCC STAGE_8
% [, P, Z8 [% b -
" V4 \" q6 s; |% W9 {1 f$ ? -
6 T( A- o8 [) |+ | B - 1 K" g, \" \. h3 |" ?6 M# l2 s
- STAGE:( w* l+ m+ f) Q' j
- LDA #$00 U% z; Q. f- H" k7 ]: u. p
- STA KILL_FLAG
' A. J6 R2 }: M; e - LDX #$00! d; Z. x% |( I% ?& u' k8 g, {
- ENEMY_CMP:
: {3 Y& B9 A) O# v8 s# e4 K - LDA $0528,Y) z& U+ W5 W' }& P3 d O( m" u
- CMP KILL_DATA,X
3 ]& j. _1 c, s( O, a - BNE RE_CMP' X: R$ ]. W# r% @; r7 Y/ O
- LDA #$FF+ C+ M2 ?' [# D$ B$ a
- STA KILL_FLAG
1 Q. G2 z- U0 ~/ h2 L; K - RE_CMP:
: U+ I4 T- S b% A; V/ E - INX1 j4 `, G* y! s. ^7 G9 R
- CPX #$06
8 h8 O7 T* t j/ i - BNE ENEMY_CMP
; G: U7 N! Z7 P6 J - / R7 P* e) L: Q, l
) J' ?" A+ Z* N( H3 w# g- RETURN:
9 {. e3 \* @, n5 e4 r4 r - RTS* b/ w E6 W: r ]0 Y \( J& r
- * s% F; B0 t$ D. e. S8 O: U9 j- v& b
-
) T) O9 W' R1 A' T$ P* _5 d5 N - j0 c! W) O3 E
- ENEMY_DATA_1:
. \ z) a3 o h6 v% A# | - .BYTE $02, $03, $10, $11, $FF, $FF
, r& W! R0 }: c2 i6 N - ENEMY_DATA_2:
3 q5 x0 O- l6 {0 H3 B2 b/ a: ^ - .BYTE $0A, $10, $11, $1B, $14, $16
# U6 G# N, @- W - ENEMY_DATA_3:
- }) J6 ]7 b; L - .BYTE $02, $03, $14, $FF, $FF, $FF
1 |+ X( F0 K3 f( U) i: E5 O - ENEMY_DATA_4:
0 U# ^' u- O+ r) m- T5 K G& E - .BYTE $0A, $11, $14, $16, $1C, $1D/ H+ S7 Z6 H! @% H3 z4 l. w
- ENEMY_DATA_5:! {, ]& q) l) L+ ~
- .BYTE $02, $03, $12, $14, $16, $FF: p6 G# P6 J; }( ^0 h
- ENEMY_DATA_6:
i# L* \- n3 y( s k5 O' ~% | - .BYTE $02, $03, $13, $FF, $FF, $FF$ t/ n3 ~. S4 a# d
- ENEMY_DATA_7:0 x8 S& \. D/ M4 C
- .BYTE $02, $03, $11, $12, $16, $FF
+ B# e- H; D _7 ?" W - ENEMY_DATA_8:
" W% q2 a; f' _ - .BYTE $02, $03, $10, $13, $14, $16
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|