|
本帖最后由 yandagui 于 2017-3-2 22:17 编辑 3 E" ?6 {1 N: _/ J2 I: V* ^
( E! R5 ?5 s0 C& J$ d# Y: _4 ]
[遗作][魂斗罗][自杀2017]9 g, b6 \! Q, r6 W7 i' S! y# p5 _
; }' E/ k1 P2 a2 X4 i$ g9 t; |. `+ t时间:2017.3.2) Y$ i/ q' Z) ^5 |
作者:FlameCyclone! a8 l5 i5 U0 M! [ X# r! f
内容:1 o2 t+ x0 q* h! g# ]
杀敌时除了过关必须的敌人,其他打中时我方角色一律死亡,喜欢挑战高难度的变态可以自己受虐了.& S& f& n$ S% d! L& x5 X' [
9 h! g7 I: r) g8 ~& c( P! z. \
flamecyclone.ys168.com) a8 a' U' D$ v( e& j& v- ]
www.nesbbs.com
$ p' n! Z# c5 K& L% X- .ORG $FB50
$ i9 ]$ `: D! _2 U - % M6 A$ [2 `9 E- s7 r# N
- KILL_DATA = $0780: z0 k# R" ~7 L4 b5 J- i
- KILL_FLAG = $078F1 w- d0 o3 G v: V, P; I
- 0 I. g/ ?, z1 D1 `8 ~# T& f. }) Y* V9 ^" e
- LDA $033E,Y* ?1 B) l$ f. C
- PHA5 a' |) l0 u. |0 ?6 W* V \* S
- TXA
3 v4 l J9 `; `+ v* l; N2 Y) h - PHA( m% |. X4 M/ j* L( j/ [
- 6 q3 }! L* H H) r) V5 z. N* t
- LDA $8000
& g. [" h% W% K* ~# G+ P2 K - PHA
* {+ g: }; ~9 k! ~: [$ A- o - TYA
% c# i7 n# G8 q, x! G& A - PHA. d6 U( m8 C2 Q
- LDY #$006 }7 t/ r2 n W& }, k
- JSR $FB216 L2 M& v- i4 W) d, x
- PLA+ ], L0 P: \1 p H1 q: Z
- TAY
, D; D: H; i! x" X1 s1 |5 H - JSR $A000: U- ^$ F) y9 `4 u6 O
- PLA" }" ~4 L0 Y6 ?2 h f* Y
- ORA #$01; y2 f. P% W9 [' {5 R( B7 }1 k
- TAY! o7 [3 ?. G3 b8 o& u
- JSR $FB21
2 ^5 Y8 m& ?+ P: r! e* j: A- }+ A" D - ( T# I! ~6 O3 U
- KILL_START:9 D8 t }2 q; i" f
- LDA KILL_FLAG$ @. \/ V/ E5 O( F! l# Q+ @2 A
- CMP #$FF
- ]8 q2 P4 |1 r% h - BEQ BACK( r- R9 [& ^) a. F* I1 [0 Y7 w7 t
- P1_CMP:
* g/ P+ C& N2 U7 Q. ]( ]% B6 b - LDA $0090
" M8 x- m% }/ M" Z - CMP #$012 @! B) U9 t5 X$ g
- BNE P2_CMP" [- _: T8 z$ k9 u' U
- LDX #$00) ?, g0 t, o' M' n5 w0 P1 U6 ?
- JSR $D474
5 z; x% Z6 e' a - P2_CMP:
( D3 [% ] D) T# y2 n - LDA $0091# W4 [+ T* J0 I, C5 J
- CMP #$01
& y7 o1 P- M7 s- \. A. P9 P - BNE BACK
' K0 P7 m' h# Y: Q- t5 C - LDX #$01
. D+ I2 @ v, b9 V5 [' D - JSR $D4747 M! ?3 @7 F' B' b9 t9 e+ Z! q
- " k. Z# b i( @8 L
- 7 b4 H; N6 L7 c% S# _, @! o
- BACK:8 Q- I) d, V; o$ b4 f
- PLA
" H* H5 \- h3 W2 e8 c - TAX
/ \/ p, V0 m* l# E* A' W5 ~, w - PLA8 Z3 H- v1 t+ C# l
- RTS
# r) Y8 d5 O: |" k' N8 [- F* i - ) W# [5 }% ]7 L) f6 B" O+ v- B' ^
- - L$ F# v9 f1 m; ~& z& Y
- .ORG $A000
Z& `: l6 B' @# K -
. m( K" k* k) h; o p - KILL_DATA = $0780; ^ G4 X# B% A8 W
- KILL_FLAG = $078F" J3 a6 \+ _" Z; Y: \& J
- " a$ p9 ~4 _& r) R, w2 L
- STAGE_1_CMP:9 E# y. D4 R0 V
- LDA $30" o! I B) d5 L2 z' ], y
- CMP #$004 @: i( r X0 a% {$ O4 t. S0 Y4 w# {
- BNE STAGE_2_CMP$ K9 K3 x6 t' D
- LDX #$003 s" K& W o) B* v7 E4 x5 n" I2 R
- STAGE_1:
: b+ m5 s! _4 b' l - LDA ENEMY_DATA_1,X
2 E: F6 V/ o# y: b - STA KILL_DATA,X
' ^- D5 M2 `! t7 F- H1 ~% e - INX
6 V: o; v5 t6 i. F- O8 p - CPX #$06
. Z+ \- \( p- c" |9 H - BCC STAGE_16 v- J0 T! @# ^0 A: a( J7 i
- STAGE_2_CMP:. G. {/ W5 P$ X& z
- LDA $30
5 I I# Z" R5 T7 A( } - CMP #$01
# e h) L3 |7 Z3 G( I( g& p - BNE STAGE_3_CMP. e }; a2 C% {) d" @& M
- LDX #$00
- P, \! _9 [8 l0 d: d' x { M/ B - STAGE_2:
3 y+ z. z) |+ _ - LDA ENEMY_DATA_2,X
- O6 n, I1 O, L6 e8 h4 L1 n+ p0 g2 | - STA KILL_DATA,X7 D# g$ f9 p- H
- INX' X3 S8 y0 J" Q5 _+ d$ m+ A' E
- CPX #$06
8 p/ T' @, g2 h1 j - BCC STAGE_2
9 s/ ~+ u% Q% t" F$ u - STAGE_3_CMP:
( ~# N Y( L1 \" {! m$ b# h& v! j - LDA $30
z5 E0 V( x# o. E - CMP #$02
" M' J. H+ r! {. [1 \- k - BNE STAGE_4_CMP
3 x" L, U' [8 K; G& w - LDX #$00$ z9 j2 N6 c7 u
- STAGE_3:% L& n6 H: h% y/ \% C3 p
- LDA ENEMY_DATA_3,X
+ K7 c7 [* m" n& G) s - STA KILL_DATA,X# e9 c' A0 W2 _' D
- INX0 X/ Z5 `# D, w& i, u" U9 `
- CPX #$06' U3 V9 a/ u5 C; ~
- BCC STAGE_3
9 @" d) R" R1 N - STAGE_4_CMP:$ z( `0 y9 h" }
- LDA $30! \# R$ B D6 V* b- A" J
- CMP #$03
" ^3 |4 C0 p- [( C7 m - BNE STAGE_5_CMP
0 E1 j* V' n; H0 o - LDX #$00
6 q4 _' {5 z9 s( P8 y - STAGE_4:
2 Z/ j% `0 w' Q" i- x: f& _ - LDA ENEMY_DATA_4,X
- s; n3 k: y: G/ V4 O6 s3 J - STA KILL_DATA,X
4 k& [. u" y( z: f6 N' {" A/ G - INX
; H6 `+ i6 b9 R4 o- r; }- t7 v - CPX #$063 N: l5 C U6 o9 ]
- BCC STAGE_45 E, c) T6 Q0 x) D
- STAGE_5_CMP:
% r7 K8 \/ V, ] - LDA $30 U9 q5 h% l+ X5 Y1 i
- CMP #$04
- O- U' a0 ~, J$ i# C - BNE STAGE_6_CMP
' y" \7 ]- T1 n8 \ - LDX #$009 k# V2 j, W0 R# l
- STAGE_5:
% K0 O; o5 ^* d5 B - LDA ENEMY_DATA_5,X2 B, q4 O. A+ [3 _8 N$ u* t( R
- STA KILL_DATA,X
: N" |" s, C7 r4 F d - INX" `7 ~" P% |+ t; w
- CPX #$063 e9 i9 z/ J4 i' h5 y) s- E
- BCC STAGE_5
- w9 {) L# t/ C5 c" R - STAGE_6_CMP:* B- Z2 v. n( U w9 _
- LDA $30. `0 p1 U1 q0 t/ k* j
- CMP #$05: ]8 U; F% [ M& \2 {
- BNE STAGE_7_CMP
- i% r) t' ]/ s' ^' a! w7 T) p" [3 t - LDX #$00$ }4 B0 H$ e' y" |5 v& F
- STAGE_6:
' t/ a: {& k* V. a* n - LDA ENEMY_DATA_6,X% t3 t8 Z$ j8 Z' w8 f" c
- STA KILL_DATA,X8 _8 v% t% Y# x: K2 ?
- INX3 \! v" u' M6 T' M7 S8 T6 j2 M' }
- CPX #$06( X6 C; x1 k( d5 V: E
- BCC STAGE_6
* H) B% K2 z) E/ n x - STAGE_7_CMP:# M8 F/ T8 h. S5 i/ H8 W2 n2 @
- LDA $30
! N y3 n5 b3 O( E6 Y2 W/ C9 F - CMP #$062 y. R- m4 ~) ^% Y, N
- BNE STAGE_8_CMP
; X. G( a. E! q( Z! ~6 p - LDX #$00- E! }: L" O& t
- STAGE_7:8 O5 z" v% b; l4 f/ A
- LDA ENEMY_DATA_7,X: _- _# P7 q/ }7 X8 ]9 n* ]4 K& R
- STA KILL_DATA,X, x0 w) l& a; F7 l
- INX. c {5 H% s3 g T+ O A4 W/ {
- CPX #$06' u8 Y; E/ @; \! U
- BCC STAGE_7
8 t! [: ~- \9 I5 T% s) i - STAGE_8_CMP:
2 Q4 n5 ^$ Z' c& \ - LDA $30
# r/ F& R; w3 q7 r. X. s - CMP #$077 {/ @5 P1 t2 ~5 C) K
- BNE STAGE
" q2 P5 Z6 u' `1 q1 ~4 q; P* w \ - LDX #$00
" M8 m( N* \! r+ w1 i - STAGE_8:
2 N! \# ^/ j$ x- T3 n+ F - LDA ENEMY_DATA_8,X
/ V+ c* `2 E; ^, v; l- u - STA KILL_DATA,X2 k$ \( X, @* J+ s; w6 }" W
- INX
0 ?" \9 ]; C* d - CPX #$06# q' W1 d" s8 x: N8 f
- BCC STAGE_8
6 @, y! h- Z- u5 p8 O - $ U% Q$ J3 o& v$ {4 X
-
. P" w# N c9 l7 z; u3 b -
1 m. o. ^1 a- Q0 ]. ^$ s% k1 o - STAGE:
5 }) l( y4 M; F5 y* Y - LDA #$00
6 V. S1 d5 l4 w- {7 ~5 M - STA KILL_FLAG8 _! w3 e$ w- i* |3 d
- LDX #$00
+ Q5 q* ]0 n& g' s' q7 @. E1 R - ENEMY_CMP:
7 _* x2 d6 A& O; e - LDA $0528,Y/ O4 |; I( S% P/ L
- CMP KILL_DATA,X
# F M1 }' Q1 Z - BNE RE_CMP; j/ ?/ g1 z- s P" ?! P
- LDA #$FF
2 h4 ^3 `& g( O7 S0 n7 q4 w - STA KILL_FLAG
, ]. X5 a6 Y2 G - RE_CMP:
8 P) J# |" l- W; A+ A - INX7 x, A' }/ ?# g( c: q( X0 w
- CPX #$06
7 k% f8 ?6 l7 k" j0 l. j3 M - BNE ENEMY_CMP
9 l, m9 C' ^8 s - ) A/ n8 o: g( p' a* S7 S+ Z
% N- X& J D$ K( j! H9 b2 z- RETURN:
" A3 m% s7 j4 N2 u* }; S C6 Q - RTS/ I2 y, e, |# T: W- O6 \/ N; v
# d; ~6 \1 S. X9 J7 k- # l( U! r" q. E9 e; W5 K. h
- . U0 \4 R" T1 y7 q
- ENEMY_DATA_1:$ [8 ~6 c0 J! @) ]7 Z Q
- .BYTE $02, $03, $10, $11, $FF, $FF
. r: ?* M1 L! ] [5 y - ENEMY_DATA_2:
! ^4 W. m8 |6 T' @ - .BYTE $0A, $10, $11, $1B, $14, $16, |( D6 `) c" A9 R& J" Z
- ENEMY_DATA_3:
?1 m( w' ?% G! \ - .BYTE $02, $03, $14, $FF, $FF, $FF
4 Z; ?' z# i: \ - ENEMY_DATA_4:
- x( R1 k% e) H; S' p2 A - .BYTE $0A, $11, $14, $16, $1C, $1D
$ Y1 Q; G* ~- X+ `. S - ENEMY_DATA_5:# K4 l j5 G0 p3 A
- .BYTE $02, $03, $12, $14, $16, $FF; Y; [) o* g; q% y: T Y5 k
- ENEMY_DATA_6:
* n2 Y3 A4 |/ ~ - .BYTE $02, $03, $13, $FF, $FF, $FF+ `' h w. ~! V5 o
- ENEMY_DATA_7:
) Q( ~# O8 N. w" i, ~/ b; s - .BYTE $02, $03, $11, $12, $16, $FF2 M* E( k9 Q6 K( p& a
- ENEMY_DATA_8:+ H7 n Y! K$ q3 A7 @
- .BYTE $02, $03, $10, $13, $14, $16
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|