|
本帖最后由 yandagui 于 2017-3-2 22:17 编辑
% {6 I. i4 E* Y3 h( J
* F/ t1 f% \ ~( _4 o! _; e* c. V[遗作][魂斗罗][自杀2017]1 l. q# \" o1 e
' T, ~( f% R* X( N
时间:2017.3.28 x" j+ w; e8 i4 L- @& ?
作者:FlameCyclone( m& X; J3 C2 S
内容:
( F/ `. o+ e. \. g+ B7 D7 I 杀敌时除了过关必须的敌人,其他打中时我方角色一律死亡,喜欢挑战高难度的变态可以自己受虐了.+ u0 F. T# Z: Y, U G# g' Q
. N* Z5 K2 ^; O5 z* sflamecyclone.ys168.com
* ^* X8 T7 y/ C, f$ E+ w' y- Fwww.nesbbs.com
. w( Y; v: @) K8 l- m Z- .ORG $FB50
4 o8 J7 c# i; X. l& I0 c% L% { -
i: W+ Q4 w4 V- g- o5 d - KILL_DATA = $0780
/ k- R. n3 V! i0 Z/ W3 g( M# F - KILL_FLAG = $078F
/ R+ I2 l' _* Z! E P -
3 W$ Z. [0 c" c6 z- v - LDA $033E,Y, |+ p3 y3 f/ E! S1 z2 ~
- PHA
4 v$ N9 T1 R4 _& X$ f" K - TXA) d$ s; y' p; A* d9 g1 a
- PHA
% V( v# }9 D4 I& t/ Q3 ^% } - ; Z$ ]! d$ g+ d0 _% m
- LDA $8000
# B8 N" s1 m) j4 w1 [ - PHA# I+ v( Z7 P! s0 Q7 t+ |7 U
- TYA
# ^: b8 @- ]( e5 P' } - PHA B9 P: s+ ^% Z% k# |
- LDY #$00
/ s$ ?9 R* o* q - JSR $FB21
+ T' S% c9 V K2 } - PLA7 l6 \% C. T8 n( r4 b
- TAY8 F" L2 w+ j2 \7 ? l1 Y, q
- JSR $A000
6 f% w2 M* Y; v6 f - PLA
5 ~# \ R: ^" |& E; e - ORA #$01
; F4 [' m# W+ ^: ]: H8 M - TAY& T6 J7 ]5 [/ D( {9 [' ?: ?, m2 U& l3 J
- JSR $FB21
( g" x# H; s, v* M% d6 h: | -
/ ^7 i) i- a: S! O) M" I - KILL_START:, I6 H b# j+ j; i4 ^! D
- LDA KILL_FLAG
- w4 F) F0 V1 x9 [3 J& A9 X- K - CMP #$FF
. k! M: m. C; u - BEQ BACK) k3 u% A4 n6 k w
- P1_CMP:
: z, @0 S1 D, L! d. o( Y& q - LDA $00905 |; `4 O; f8 R; _
- CMP #$01 z+ d; _$ q" r9 a* q4 @1 ~3 h4 H! g
- BNE P2_CMP
# d6 ~0 p5 \$ J% t, p5 B0 i) ` - LDX #$00
* Q! E3 D, J: H/ d- Q( L - JSR $D474
! M0 p# w3 H- r6 Q: A2 r: s - P2_CMP:
1 R! n/ v: K( P1 M' x - LDA $0091
+ S6 b& e8 b' [ - CMP #$01
# T: I9 C6 U9 [& t& M - BNE BACK, V5 V! U1 @2 Y$ a1 g; `
- LDX #$011 I) \+ V* f9 T, |2 b Q' g! T' x2 k5 L
- JSR $D474, [& J3 Z- M, j1 X
- - }& H. B0 h8 C V; g
- & Q/ y: v) A( p3 I! }. S6 _4 ?4 j$ r
- BACK:
1 x$ A7 g D9 N {0 P - PLA' R( q+ ]' v: Y4 D+ G: C( b5 }4 N/ Z. F
- TAX8 j( F. g1 F% C4 R9 ]5 t
- PLA* ~) t b0 {8 r' D. \. `" v
- RTS
0 b$ r+ a; X: S1 U4 D2 O - . U% _8 O) u$ N
- ( s/ Z4 o. k& I! t1 M& F
- .ORG $A0009 m7 r9 X X7 r5 e) s. k7 A+ L
-
: h! k8 Y) _, I% N) i: {; U - KILL_DATA = $07809 [/ m+ B- Z- r* O/ Y1 c8 d2 r% k
- KILL_FLAG = $078F3 e- q% G7 P* i( s7 h! S
-
; v/ U& M. ?3 o - STAGE_1_CMP:
2 q# M. c: Z: G, _; C: ? ], q6 \ - LDA $30
' z6 U9 q( q7 p) |6 Y - CMP #$00
' k& E' J! g! ?1 P! p: @ - BNE STAGE_2_CMP$ u) i! z! M2 z, ?& r
- LDX #$00! `$ F+ V; ]4 s
- STAGE_1:3 C3 ]! H# e3 T$ l
- LDA ENEMY_DATA_1,X
6 C2 u# ^5 m, ^# c4 S& w - STA KILL_DATA,X5 P& N4 z) H5 V+ p; J: |+ L% c
- INX/ d* e' q, c( Y6 t8 [( H
- CPX #$06
( z0 {" T$ i9 ? - BCC STAGE_1
0 L- l* {' w$ ~' x% [' p0 Y - STAGE_2_CMP:( L2 m0 V. `, n, c
- LDA $30
8 ? S" q5 g2 N6 c - CMP #$01- @+ x4 }8 s$ r8 ~) |
- BNE STAGE_3_CMP: u/ s! v5 O( h# E& [) x, L
- LDX #$00
: R1 j! `% @$ M/ x6 W - STAGE_2:
( C, c& F7 Q P0 o% N" u1 V2 R' p/ [ - LDA ENEMY_DATA_2,X& a1 D+ u. U& ]! {1 p% m ]
- STA KILL_DATA,X$ K3 L W! a9 S* v" a
- INX
! t1 \ j) W' o" ]' e - CPX #$06
, o# w3 [; T0 s# S+ L - BCC STAGE_2
5 [0 U4 M3 N' l! G v - STAGE_3_CMP:
1 L, J" |9 w# } - LDA $30+ M1 M3 o9 r2 K' t+ K
- CMP #$02
0 k. ^% Q/ {2 B1 ^1 O' f7 h" H1 ^" p8 | - BNE STAGE_4_CMP- L8 p. r8 e9 [% N, \- K8 E
- LDX #$00 e3 C9 J0 B8 m% I
- STAGE_3:
+ o1 n F6 P0 N& g' V& y* l - LDA ENEMY_DATA_3,X
& T7 u' Y' _" K+ s1 d - STA KILL_DATA,X! i0 _. z; v, Z9 V; l: S9 R4 f
- INX' B! F) K& _# t
- CPX #$06
$ ^2 W* c: s6 e( F1 D" N1 w - BCC STAGE_39 Z' w% N- U% ?1 M. G
- STAGE_4_CMP:
1 O, n; X5 O% P5 E9 N/ ? - LDA $30
: p- [, E' t# m5 Z - CMP #$03
( \# \" w$ Z) Z& f. t$ w# C7 y8 L - BNE STAGE_5_CMP# o8 w" c% E: [' i2 `1 H: {
- LDX #$00
; n& y! f- P4 W' d) ^ - STAGE_4:
3 E4 R0 q) d+ \$ ?. s8 u - LDA ENEMY_DATA_4,X
1 i, z+ }! x& _/ n - STA KILL_DATA,X
2 c, V+ ?9 O5 Z( H - INX
- T: u9 q5 c+ T& o" \) H% o* I - CPX #$06; B& J- a8 |6 {" J. S
- BCC STAGE_42 G' ]3 ?6 f- ]- ?, `
- STAGE_5_CMP:' X/ ~0 b1 s# Q K( n: n& U
- LDA $30: e7 m& {$ B& N5 g' P
- CMP #$04
8 B3 J4 z% D5 Y4 N* g! I - BNE STAGE_6_CMP
, }) T3 |9 R* ? C9 c7 m( E - LDX #$00( O; B( i. i! ^+ ?# d
- STAGE_5:% s% W4 g5 P7 s- @$ J9 d6 ]
- LDA ENEMY_DATA_5,X' Y" y( p$ h; w- @
- STA KILL_DATA,X
( T1 E% B4 F; ]' H3 p9 \/ r - INX
, z* r5 j0 m% ?2 L& {0 s3 {& T$ ?9 } - CPX #$06; \0 E9 v+ U; R0 f: Z/ F
- BCC STAGE_5
* d: j& D9 X% V; @+ W. A8 `2 f" ` - STAGE_6_CMP:9 v$ z) e3 v% I8 {# |5 P9 C Y+ F
- LDA $30
+ [, Q) [- _, A5 \ - CMP #$056 M6 j+ D2 X5 [$ C$ z, A
- BNE STAGE_7_CMP% \1 G# d9 Y* N* e# Z- X
- LDX #$00
) b& V4 a' Y8 s5 ]2 Z - STAGE_6:' N6 c: Y% l4 T! w0 W; ? o+ V
- LDA ENEMY_DATA_6,X- x& C) W1 }! ~4 D2 [
- STA KILL_DATA,X
: p' D5 ~# `- [. t9 ]: U4 W+ Q - INX0 E* U" m. Z% o' b' w8 X6 M
- CPX #$06
3 ?, b: A0 ^* C - BCC STAGE_6& v( _0 S6 C$ \3 o1 m
- STAGE_7_CMP:- x7 y; Q9 p0 X$ y! [/ G4 n0 T
- LDA $30
7 l5 { z2 _* F3 \/ w7 H# T, O - CMP #$06, x7 ^% a- ]! k R, P! K
- BNE STAGE_8_CMP6 j# ~; \8 k/ U% V; \
- LDX #$000 h6 v z3 n3 K$ s6 u1 Q1 V
- STAGE_7:
+ |; D% c4 S- \* x s* I' e - LDA ENEMY_DATA_7,X
J) s9 [, |' f. y4 P - STA KILL_DATA,X# S$ x+ U8 H4 J! s% D$ \( F
- INX
! k, N& E2 ?. z - CPX #$06
* r# |9 h& h; U2 K - BCC STAGE_7
t8 D% `$ L* m* ^6 w; q - STAGE_8_CMP:. {7 Z" B5 E3 {" t1 p3 Z" h; B
- LDA $30 }8 |8 ^) z. `5 W
- CMP #$078 y# D( A$ G) U6 b) W; @
- BNE STAGE
2 q4 \# {0 J5 W" Z; W' Y - LDX #$00/ ~9 o) B3 s" e5 A! ^. r
- STAGE_8:; A, F4 f3 ~0 v1 j
- LDA ENEMY_DATA_8,X( a% L5 J5 {" c+ L
- STA KILL_DATA,X& \; {# N3 M; E4 } @
- INX- a# F! u4 w7 p2 Z; ]
- CPX #$06
' @, s( d' w K+ e - BCC STAGE_8
( Y! }+ T+ d9 a3 ^ -
/ R* b. f8 M. ~3 Z& G" [6 \ - , C) G( ?# I& h; a% } H8 a: f% G
- 3 t& A/ @8 d( [8 l
- STAGE:* O1 k) S$ N; N6 z
- LDA #$00
* [& N% |! `+ ~) s5 N3 R! s0 K6 p - STA KILL_FLAG" L2 ]( E) Z/ U' H$ p' Q
- LDX #$00
8 m/ o; v" a4 c' c) o: _; @. A, h - ENEMY_CMP:" _4 _& u2 E, m) I0 a7 C
- LDA $0528,Y
9 [/ @, J1 W* h, }# H8 D' M - CMP KILL_DATA,X* t; F" s! m( y( A& P% v
- BNE RE_CMP* l# l, A. S( [2 m6 Q7 I
- LDA #$FF+ B; r* {5 H5 m* y
- STA KILL_FLAG* a% N9 |# ?; H% p
- RE_CMP:9 P3 r/ _3 s/ _) C! ]( x2 H
- INX
p6 G$ Q+ y9 @! m u: w - CPX #$06
' A; s4 f5 b0 e+ I# O7 _1 [" Y - BNE ENEMY_CMP
$ A5 j s4 c' r# i3 A. o# l
* P4 P! F& W/ y% h- p
8 U# g( t7 {' _- RETURN: X2 m0 d( j7 D: Y2 {$ e- U
- RTS
: [. k# R W3 P) S4 \ - ) h; X5 N9 Y3 R f
- $ ?/ e) ` V3 P% [ o* |9 n) r8 W" A$ I
-
& [# ?; }! ]) Q9 s' E - ENEMY_DATA_1:" Z; W, E2 \3 l2 Z8 |2 v
- .BYTE $02, $03, $10, $11, $FF, $FF9 Z6 i2 U2 W3 E9 { Z
- ENEMY_DATA_2:$ h; O! I1 `# X6 F/ O4 q
- .BYTE $0A, $10, $11, $1B, $14, $16
; e) O4 [" T/ r1 e* g - ENEMY_DATA_3:
$ X9 j. X1 M6 z. r5 X4 y" l- X - .BYTE $02, $03, $14, $FF, $FF, $FF" V1 ?1 K s1 m& ~+ L
- ENEMY_DATA_4:0 _! F- e% j- `5 K
- .BYTE $0A, $11, $14, $16, $1C, $1D
' B! T, Q9 r1 ]4 L6 e - ENEMY_DATA_5:
# b# y, c; G8 Z$ T* A" a0 | - .BYTE $02, $03, $12, $14, $16, $FF) ]3 Y; ?& y9 ?: S
- ENEMY_DATA_6:, Z5 J5 N$ E. U2 ~; V
- .BYTE $02, $03, $13, $FF, $FF, $FF
7 g1 z* P) C* C( n - ENEMY_DATA_7: B* I' |$ b' }5 o: C
- .BYTE $02, $03, $11, $12, $16, $FF
3 u0 j# u3 |* g& w2 m6 W: M - ENEMY_DATA_8:
( U7 k6 z# L( o6 ]% a0 @) \ - .BYTE $02, $03, $10, $13, $14, $16
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|