|
本帖最后由 yandagui 于 2017-4-2 16:13 编辑 9 y; Q y0 D# m2 L) a0 W
P. J+ k0 b b. W6 y[FC][忍者神龟1][END选关]- ]+ }& X. X5 M9 w
6 o& \, R) |; N
时间:2017.4.2
; j7 t. t( U) q0 v; S4 C0 ?作者:FlameCyclone
' C- D6 I7 b3 ^内容:
V0 V9 g* s8 ]- D+ p' P 1.关卡选择: 标题时,左或B减,右或A加;
' U' C$ b+ C+ s6 G3 H& I8 X 2.一击必杀: 选择+B键切换;7 h- n- N8 _% s# @; d+ p; ?
3.无敌锁定: 选择+上键切换;% ?. k$ V4 b" V2 i$ ~+ }: z( \
4.血量锁满: 选择+下键切换;
* u- \) B) M9 {1 a/ a- l 5.水下时间: 选择+左键切换;
3 r9 f; i8 N6 j8 G0 u3 a2 s 6.武器切换: B+上键切换;
6 W% F/ G" D# H$ h& w 7.暗器数目: B+下键切换补满/空缺;$ G3 D. H7 @. [- F& E" p- }* u
8.强制移动: 在平面地图时,按住A不放,按方向键强制移动.0 Z% t* B A* X' G
: ` P& v1 u- E) w( G
. b' l- k$ V. s9 q, c* \/ PFlameCyclone.ys168.com
6 E/ r; ^* m' [7 e5 ^www.nesbbs.com
9 c8 |# l+ d/ n; ]9 D0 ~- .ORG $80E0& g J, s0 o% }, H- D" J* `9 U
- ora_data:; \# ~0 B9 C/ e( ^8 w
- .BYTE $08,$04,$02,$01,$80,$40,$20,$10' X5 y+ i, ]4 `" ~
- and_data:
3 f# W: r& z. [ - .BYTE $F7,$FB,$FD,$FE,$7F,$BF,$DF,$EF
; z6 |# c. z+ w - ) O( ~2 c8 L2 y
- button = $F5
$ @4 ?# y% R- P6 W: a' N* b - flag = $6000/ |, P# a: e* @; @( o+ v& g
- .org $8000
7 s4 C5 G! G& O% ? G - JMP $8400; [. ]5 V# h [8 l& H
-
: H1 n9 u8 ]. Z -
A0 f; g: H, b% g$ H# R - .org $8400. s) C( {( X- h; L4 v- k
- PHA1 n8 q- E* }% f$ j) j
- TXA
' |5 `( t7 a' P9 ~3 t/ g - PHA
: ^3 @$ S) e% D: h+ d/ ?# a: G9 @ - TYA+ x0 |: @$ k0 A9 o+ e
- PHA
( \& l C7 c' E( M - KJMP:, ]8 f" \/ d" S- j* i! X
- JSR $8100
/ q Z4 z# J, G - JSR KEY_OPERATE
# b" ?! Y4 ]/ e5 b6 [' } - JSR WEACH0 Z9 e, \1 V5 M$ _
- JSR INV
0 z. @) H' {+ Q! G5 E/ J: ^3 a - JSR TIME' l8 Y j. |# F. }/ J; K
- JSR TOOLS
/ n4 u) u5 J0 c/ g - JSR BLOOD
1 `. c9 Y# c* B) P$ m- E! J - JSR MOVE_FORCE
( a% ?; M% W; `* @( d+ T7 M9 _ - PLA
: Y1 f4 C4 M* J' L; W - TAY2 p2 o- J# b3 b& W; a
- PLA& N' v' t) Q4 C
- TAX, W0 d, @% h7 o, s; u
- PLA- h6 s! M9 k ?
- RTS8 w3 F. F3 A- p+ l
- ! y' l- L+ r2 z
- KEY_OPERATE:
3 S, a4 ~5 s# ^( e - data_protect:
. Z( W7 J8 u/ C+ |+ K) T - PHA4 {$ z) V; F# J7 U) w1 s
- TXA, ~9 |8 ]7 T5 Q; \
- PHA3 d% v, n, u9 g* `, p
- TYA7 W+ o1 ?- v8 g2 j. F
- PHA$ U4 l2 r* P. d# l
- 6 u+ u7 u" ^' C- _ [
- FLAG_CMP:# a! o3 k8 T3 e, o1 K2 z
- LDA $600F0 Q+ p: E% P& ^+ g
- CMP #$7F ;标志数据初始化条件判断
6 V8 ^# p+ ? d3 s9 s0 J+ G - BEQ pause_cmp- v" C4 L- h/ e6 r+ ~+ Q, ^5 c" l
- LDA #$00- h ?& S+ }& R, M/ y- _8 a$ y2 l
- STA $6000 ;数据初始化
# T6 H5 [* K R, u& K9 q# f - STA $6001 ;数据初始化
+ J0 }; V3 H, I, s' x6 Q - LDA #$7F# I8 j; u4 Q1 z9 F( t$ u+ e$ F
- STA $600F
. _2 H) J0 C+ [3 T: Q; ~; g9 v - pause_cmp:
% K" v7 w8 P$ A& H1 g# P - LDA button+2,X
& W1 x( @2 i5 b: }& u4 Z8 f p4 F" l - AND #$20
- G3 V. d3 K$ t - BNE button_press
5 S% ]& F, ?: Z) C - PLA4 s( a0 G" ]3 l7 [' Z
- TAY
9 N6 {& j& J1 `6 l+ W: b - PLA; ^9 l* S' f5 V9 J* K+ Q
- TAX7 D, H. D/ Z3 r# n" y. s9 ?" n
- PLA. a1 @! y. p' p$ D: Q4 p% \8 T
- RTS
! p# x% b3 ]6 [# q - ( n7 B# |7 G) D# P& I3 ~# a o" b
- button_press:+ s. C! D3 d5 N0 y3 C+ ~) l
- ini_Y:9 j2 f0 S/ G0 B" k' J% m3 f
- LDY #$000 N/ a& G- o9 S! ?- T9 f3 R
- button_cmp:
( T- E9 _' z2 h V4 ~6 b2 U - LDA button,X" W9 u d* d% e9 q6 G
- CMP ora_data,Y
+ B# L# ~( J4 o/ _% T - BNE count_Y_cmp% j3 b( E! G& N% I& l
- flag_cmp:
% }! P% X: b G$ E/ B- N - LDA flag,X
3 B3 z: c9 b% m9 I/ Y E - AND ora_data,Y+ Q Z, i+ r+ e$ Y5 K
- BNE flag_and
- N& Z/ c* h+ m2 o - flag_ora:; H0 d' {) H. D3 l) s. e) \$ n' N5 }
- LDA flag,X% Z' p J9 V4 n; i, h2 s$ o* @
- ORA ora_data,Y8 K1 Z! z( R- n0 K6 `* Q2 @4 c
- STA flag,X0 z1 d2 H5 n& |/ \& v% W2 ]" q G8 B
- BNE count_Y_cmp& o. J0 F# U' k o: c. N" e# w
- flag_and:, y' }8 I+ t" R; Q: R5 b5 k* y4 r6 D
- LDA flag,X" q. j/ P; ~0 f4 C! `0 t
- AND and_data,Y
; b3 y1 i+ J6 r T( n+ P5 C/ ] - STA flag,X
# C6 M N/ M' N$ | - count_Y_cmp:! I. _/ Y, H1 @6 a t. e
- INY5 Z1 Q5 ~9 q; s% S* E/ G$ R2 |
- CPY #$08( [, n: [5 E; V: p/ J6 g
- BCC button_cmp8 p1 O0 ]$ `+ }9 G( w0 P; h* L3 Y
- : C `7 u) R7 t9 a; H/ c
- data_extract:" G; }1 E% v& i% g
- PLA
2 ^* A* f# e6 @0 `; r$ \/ b - TAY
. [+ `" _) [( `" t2 t! z! u - PLA5 B9 J! {9 p. M- ? R3 b
- TAX E4 \& ~5 r7 P& A9 V/ Z9 {' A0 `
- PLA
4 L8 u: _1 w1 n' w8 h2 {! p - - D! t/ V# Y. O n
- return:! u/ T& p7 Z/ \
- RTS
V+ L# N9 h$ c& X2 c4 h -
% j; l2 x5 V' [6 c" D -
1 }3 g2 G+ _$ e( k. P: D* H - INV: ;无敌
$ w- X& a* x* M) c) } - LDA $6000,X. f$ ?3 z/ u: x9 q6 F- |0 ]" d1 h% G/ t
- AND #$08$ W: x5 D. c% U/ u, ~, j% U
- BEQ INV_RTS
' B5 @8 F& P! ~+ C$ @* ?2 M8 Y - LDA $0450
X' B3 @6 p$ Q8 _ - ORA #$04
/ J p. s" g# F5 _+ M2 d - STA $0450
, R, e4 h& u6 a# @2 ?1 N3 t - LDA #$05
) Q6 j$ X3 z" U; H - STA $0500,X8 |4 n: b: s. v9 D6 L
- INV_RTS:, B) o/ A* b/ V
- RTS2 Z: v; z# X9 k/ i1 G& X
- $ z) G" R3 {6 y
-
7 f2 s/ c1 `! s: w8 C' ~; Z1 J! q& ] - TIME: ;水下时间
4 ? t2 H) n% b: e - LDA $6000,X2 k% n5 L% i, e# L. A
- AND #$02
* A4 k, r; [; t$ M% C e) n - BEQ TIME_RTS
( L& Z$ f6 g( H1 [, ~ - LDA #$1E% c4 _3 O1 {+ `; w
- STA $BA
2 \3 h1 G0 R8 o5 o4 b - LDA #$8C* O) G/ x7 T" p( E. W; T$ O6 L
- STA $BB
1 Z# ~2 a6 ?2 h f& S K - TIME_RTS:
0 b- f$ }1 ^6 Y1 Y4 j( K - RTS
: _3 m, N7 e( w -
. w" _+ Q1 S) A. ^; n - BLOOD: ;血量
# i% u4 }7 M+ c" o& ` - LDA $6000,X
0 n z4 `/ D. z% c' z - AND #$04
( w. j( [* d @2 N - BEQ BLOOD_RTS% d& S, { V( ]# u' u. A& V1 e9 O
- LDA #$80
* g7 t3 k! d( F& }: K - STA $77
- \8 @( R4 D+ H5 t5 _) { - STA $786 H7 D# v0 M9 M r6 e
- STA $79
+ }! w6 f& u6 f- J* g - STA $7A
/ ^6 F! Z/ [6 }, C" {0 d# U - BLOOD_RTS:7 S' s( V5 g) [0 a9 n+ H
- RTS
& h ?, f4 N) ~5 Q2 J/ } -
. u: V. K& Z. p5 d& ]7 G9 p# C - TOOLS: ;工具4 i; b8 @1 U( g g
- LDA button+2,X+ Z# c) z0 S" S
- CMP #$40
' h1 n/ K" }, l% _! b9 J$ d - BNE TOOLS_RTS
. r: a; c3 ^* m - LDA button,X
: F2 t6 F' _9 G+ l3 _. j( r - CMP #$04/ H. ~$ f& D& d3 F: ]1 @
- BNE TOOLS_RTS
. f3 A+ y# l7 p1 f' l: m- ? - LDA $A8
! f/ Q9 a0 W2 \, y* g. L9 j - CMP #$00
+ i, o( s$ a9 S9 g/ d4 \ - BEQ FULLTOOL( S( D! ~/ m3 e8 Q" g7 q
- LDA #$003 S3 m/ Z, o2 h& x4 e
- STA $BF
' e: Y+ F0 W+ L: i4 X( H$ O - STA $A70 E% q4 L& b( @6 |- q. Y
- STA $A8
; |7 O. q' P* a3 ~ - STA $A9/ _5 e& H* @' l* i1 m$ u+ T
- STA $AA
; f9 ^" l* P* s7 g. k - STA $AB* ?' {2 \1 m# ^- Z
- STA $5B0 S6 Y3 G! I5 g# q. W2 b
- BEQ TOOLS_RTS
/ h3 D% b( ~: i - FULLTOOL:
+ I" H4 [: k, K& o - LDA #$0A# w* k7 P7 A: I; i" j" S6 @
- STA $BF8 H) s6 W& Z6 c6 @7 |' W
- LDA #$0F
0 O7 h* j B' X% I8 L/ _5 ]& q$ Q - STA $A7
" [9 `4 R' ]9 _8 T0 u! L+ j - LDA #$63
: Y5 W% t8 Y3 ]9 I- V0 R: N6 G; D - STA $A8
& q" m6 B' G' Q; [- Z - STA $A9
) M; B& C; i4 } - STA $AA/ h8 Y8 r# X( W. i
- STA $AB
+ r, O( g8 h- \: x! u+ s6 }% l9 ? - TOOLS_RTS:! Z V, j+ f: G. k, P
- RTS$ S% L4 n5 j( ^- I' ~
- 5 r a( C3 K* s) H
- WEACH:0 k4 o8 h7 {& K! a6 g. w# J- U, U
- LDA button+2,X z" b K/ J9 a7 j8 ~
- CMP #$40
; ?6 h* w5 k( p9 P/ l% L/ m' L( R7 ^ - BNE WEARTS( j y$ ~) m c+ o
- LDA button,X( I& b* a- Z+ E2 x1 Y
- CMP #$08
% L5 v" R$ T+ [; c3 h - BNE WEARTS8 ]& i( x/ L* ~4 w8 D' w- \5 k6 N
- LDA $73. e" x# G& l' v3 E
- CMP #$04
; Q& @. U5 Y" l - BNE WEAINC: F& Y1 {, N# c Q
- LDA #$FF8 o+ @- V% w& g' V
- STA $73- C$ [! D7 }( @2 |4 ]+ r
- WEAINC:
& @; W) j$ i! l9 J- T$ Y - LDA $73
% @$ z, a4 T! v1 K. t, F! L - CLC3 F5 S9 p+ }/ E0 Y( B2 O( {3 p
- ADC #$012 t& I k* }- c" x$ c, V: _3 D9 ]
- STA $73
) k. g9 Q% ]7 o9 K. A# j - STA $74% n }" E& q5 U; f# H0 b* K$ c& _
- STA $75
0 q! y. E( J' A; [ - STA $76
w: o2 \5 w5 q B) ~. c6 \ - WEARTS:3 ?( U4 D! F4 U% l" U
- RTS0 j, _$ Q3 K# y4 X' y
- + q) w2 R& r3 F' y& M0 N
- " v' @6 Y4 l7 W3 N, e
- MOVE_FORCE:
% a+ b6 c( a( S. a - LDA $35& C+ A+ J6 b; F* L
- BNE MOVE_FORCE_RTS9 d9 x5 e9 x+ ~2 ]5 S; s: F
- LDA $5C
- ?( r) P- u s& V3 D - BNE MOVE_FORCE_RTS
* R0 [, `: W# H+ I7 Y1 k B - LDA button+2,X
/ r7 ], @6 P9 f N# i* t5 I - CMP #$807 S7 J) L* j! F1 _3 [
- BNE MOVE_FORCE_RTS
# D/ }7 {: H8 v) P! V - L1:1 N) V, e) u3 n+ ]
- LDA button,X) g' r: X+ ~: Y8 z3 Z: x
- CMP #$08+ U4 o) T! N$ i2 N* A* y
- BNE L2
9 i( Y0 Y+ Y' Y7 k6 q# f" m - LDA $0460' J& y: L) Z9 D1 i
- SEC
% z5 Z' R9 b7 T8 o% Q3 d% {" T - SBC #$10
1 F8 v: h0 Q/ }' E( K% s - STA $0460
: h( h6 z v* i& E - L2:! j2 \9 i, M# [- [+ E
- LDA button,X
* g* Z ~# i; s2 o; \: \ - CMP #$04
" E! e) @0 s$ T& V% i# W - BNE L3) _* z! |; F+ p: X2 {6 S( K, z& t
- LDA $0460
+ c4 _3 g2 q# r* ]1 J - CLC
. Q; j0 n4 s( t( T" |, q - ADC #$10- Y3 f3 g2 j( k0 q3 U; _
- STA $0460
) q7 j4 F5 D" L4 x3 @4 J9 z1 t3 t - L3:
+ L& j- b4 O8 m2 F; \$ R; L - LDA button,X9 z9 T/ p* D% r. l+ {; a6 `; F# e
- CMP #$02) S5 R6 [, a g9 d
- BNE L4
+ [2 H: V a1 B2 L0 |; s$ V - LDA $0480; z( F5 v+ K( Y- B" p1 a. b, w, N5 p: p
- SEC ' ^. t0 u( G: q; q9 Y6 R5 {# A
- SBC #$10! V, W0 l. L9 l; r' `6 b( e
- STA $04803 J7 A, {; X0 l# f
- L4:/ M |. s3 H4 }+ d6 B2 g, `
- LDA button,X
, v0 k1 G" f3 ?& m, g4 B - CMP #$01
) l& O" e- p( ~' G5 {5 R - BNE L5/ W' e4 I4 {! a, ~8 P
- LDA $0480
) V. b8 {& c8 b/ H+ [& m8 J3 B - CLC
& M# O) R+ t" a5 {4 j6 T, p# { - ADC #$106 g. {! \7 V' ^& ]
- STA $04807 O3 g$ ?5 r$ L. L% l% K* X
- L5:, g# E: r' H/ q6 X, t1 _ L
- MOVE_FORCE_RTS:( W) ]8 i$ v% N% W# T$ C3 S: |! B
- RTS7 a9 L' j4 p% s2 _1 B6 [& P
- 9 c+ |. C ^- t" f; U
- ;[FC][忍者神龟PPU][END] @, T$ o; ?- P6 t$ x
- + ^0 M& f/ ]4 g4 F; ]$ {: W
- 2 Z1 g& Y$ L4 r f/ b
- KEY_ADDR = $F5( k% ?; E( i& v( Z1 \+ o8 Z3 _
- STAGE_TEMP = $60108 C# P/ B1 f( r+ n+ c
- TITLE_A = $219 j4 l# B c+ g
- TITLE_A_ON = $01
& I' L# X# N* z# { - TITLE_B = $59( C' X5 r# \3 S7 m0 k
- TITLE_B_ON = $01 b- T# U* ?1 q$ Z7 T' S
- PPU_END = $FF8 P. X! Y# ~ d# Q4 a. ?1 P$ I
- TIME_LAY = $3A2 L8 L" z/ F( ?! {. G- N D( w0 h
- BUTTON_DEC = $421 h- o( W+ s- l) T+ t
- BUTTON_INC = $81
' f! M$ D4 ?( U! O) R - 9 z1 x2 F. c' g1 O) V/ a5 N; j' g$ _
- .ORG $7000
: c- ^5 B, _- l) p0 V$ [+ @% X - : j( \$ X' o8 B# ]1 b7 p+ s1 U1 a0 x0 \
-
, ^! l9 ] P0 j' D' f4 Q. `
- C/ _( k h. W4 |- PHA2 z- P: H; Q9 t7 E9 z5 U
- TXA
! L) ~% n9 `- N- \( O - PHA
3 h4 L2 R0 z; w& g4 p. H - TYA/ h8 }* Z! F [- v, ]+ e8 O/ r2 A% l
- PHA6 y+ x+ I( p% g
- LDA TITLE_A
5 j5 y+ S7 q! R: ] - CMP #TITLE_A_ON ;比较是否为标题画面
: v6 n& o9 i4 K - BNE RET* @- Q' d* f/ T# l k2 c
- LDA TITLE_B
; N; T5 D5 ?( Y( A/ Q - CMP #TITLE_A_ON ;比较是否为标题画面3 r f' M+ p. U; _# {5 S
- BEQ PPU_STAGE% d# K# f: R1 e& a5 y U
- RET:
4 X6 ]; ^7 f9 c% Z" }0 ]8 L - PLA/ ~2 \, q' b0 m* ?8 }& n, g$ ?
- TAY
- M& R- I8 E5 A0 v8 x" U - PLA
/ S4 R4 o( X% K. g3 o/ V" s; s7 r - TAX% G& U; c; l' @1 l; I
- PLA, D9 z \# s# J# N
- RTS
8 D3 h: H* u9 f - PPU_STAGE: ;STAGE显示程序
6 Y' Z" b& n; f. i2 R - LDA PPU_ADDR_DATA
8 n' s; E8 V* y/ J l - STA $20065 s6 s3 C7 F8 @1 U+ c* D
- LDA PPU_ADDR_DATA+1, {4 V9 S& d; R# ^0 e$ }
- STA $2006 ;坐标设置
* @ g& x6 L& X1 v6 | - LDX #$00
; X! a% {( s4 y* C, j - PPU_STAGE_WROTE: ;写入STAGE字模7 G5 e, V; t, U
- LDA STAGE_DATA,X
# {/ v( q$ V. q. H# ]4 k P7 C - CMP #PPU_END
& v9 m, e) i( R - BEQ STAGE_CMP
: }) }7 y& {6 x( U) U, h - STA $20075 A' D( s6 b- G1 A8 N' f4 G3 X! j
- INX4 S8 {" F6 {% T
- BCC PPU_STAGE_WROTE
) L7 o& z8 N y7 w9 B - STAGE_CMP:" |% K* h; L5 U
- LDA STAGE_TEMP
" ^6 R; ~0 g0 ?( ^ - CMP #$FF ;关卡数据初始化条件判断
. L' ~, m O& c - BNE KEY_B6 f/ F: H# ^9 s0 U3 M9 z/ M6 m
- LDA #$00# ?, e. n& K& R$ |' s q
- STA STAGE_TEMP ;关卡数据初始化
- L0 e1 {1 H* Y - LDA #$57- G3 V2 S4 Q" x- D+ O
- JSR $DB52 ;按键音效
5 F& f. F. }$ F5 \6 z - KEY_B: ;关卡减少, t) N. q+ `( W* j
- LDA KEY_ADDR' H8 d# U5 ]. `- c2 f# s, W
- AND #BUTTON_DEC ;按键B或左减关
- ~# g6 B, p8 |6 d - BEQ KEY_A
7 c% l5 q% c/ o - LDA #$FF ;重设标题延时0 h. Y; Q5 P; o; }, b$ O( q
- STA TIME_LAY% S" q. T" e8 s3 Z' ]! Q5 m& M
- LDA STAGE_TEMP
3 ?: ]( G& m4 u9 T - CMP #$00 ;关卡比较
# t6 K- y, ]) A6 \; Q6 X( j - BEQ KEY_A
|" v$ f; T4 _ - DEC STAGE_TEMP ;减关- v2 s8 x) k# Q. X
- JSR MUSIC ;按键音效8 Y$ n* g4 Z" |% ^+ j( C' M
- KEY_A: ;关卡增加
: c$ O) W! n) M - LDA KEY_ADDR
( \1 k5 J% i# `% x4 | - AND #BUTTON_INC ;按键A或右加关( X5 [4 C$ Q5 L$ i" |5 t2 P
- BEQ PPU_NUM_WRITE
! O: \/ t/ [. L1 h6 B - LDA #$FF$ ]5 P' S [0 |' o$ }
- STA TIME_LAY ;重设标题延时
; |+ @+ `$ k" c% T/ V) E- M- i1 z - LDA STAGE_TEMP- {3 N' e6 H) {9 J, }0 Z6 N$ l9 Y
- CMP #$04 ;关卡比较" x! _# N+ g' Q% u! d' |- m* X) U
- BEQ PPU_NUM_WRITE8 i) A6 {4 y- o2 u
- INC STAGE_TEMP ;加关
, p: r7 v8 j+ d0 q+ g# ]) F - JSR MUSIC ;按键音效
* d7 q7 |% b* L; I: ~* @0 J u* R* e - PPU_NUM_WRITE:
& t: w6 V. k+ Q. d - LDA PPU_ADDR_DATA. j; Q' a+ y; v6 m0 W4 P' b
- STA $2006
- c, A0 y3 K) ~1 g$ U* M; j - LDA PPU_ADDR_DATA+1' c; Y+ ^5 m8 w7 }' e l4 ]
- CLC
3 E: \; c; `- y% U' S' @/ k - ADC #$06
8 v: Q2 G1 Z/ N& t3 V7 K - STA $2006 ;坐标设置1 A. c. D- N$ Q8 E+ p& t) g5 e
- LDA STAGE_TEMP9 f$ z* g! p+ W, G. _
- TAX3 |" H" m5 p1 ~0 ^' J
- LDA STAGE_D1,X ;写入数字
! k0 _4 @! k" L, t2 M$ P - STA $20076 h: n) p. s1 K, W- l* B
- STAHE_WRITE:
7 w) `9 H5 @; ~% O; Y! h - LDA STAGE_TEMP
4 n% e9 }8 L6 ~- C5 Q - STA $42 ;初始关卡写入9 y* L. x6 f4 V
- PPU_RTS:: L# v* Z/ V$ U2 ?% r/ Z# u4 O
- PLA
7 Q# ?. H e& I - TAY& K( Z9 I4 }5 p: f& S; u' H+ B
- PLA
9 k: G5 v. J2 b - TAX5 l" D& i" k" m9 u+ J
- PLA
9 z* i! G: n& `5 S) F - RTS
. }& U: ~% O3 R# m) M$ B -
' D/ Q! O* M0 S) H/ U. y - 1 R. ~/ {! X) A( r
- STAGE_DATA: ;关卡文字S,T,A,G,E,X,-,X字模数据6 R& g7 r: V3 m" u# y
- .BYTE $22,$23,$10,$16,$14,$00,$FF
# f& X* R' y6 h8 o; @ - 0 x+ l6 ?' E: f7 ~9 ~9 M
- STAGE_D1: ;关卡数字: F M8 M9 ^2 H$ Q) `4 {' {; K
- .BYTE $01,$02,$03,$04,$05" e6 T" @9 q& R+ x2 J
2 o8 J. O* h( J# P: d-
% ]+ H8 I" ~& I; T8 [4 b - PPU_ADDR_DATA:
4 ]/ U8 p' E; @# j) k - .BYTE $23,$0C
+ d# V* @$ Q) f% e. S - / V" f0 ]9 z' {
- MUSIC:
6 r5 c D9 Z: ^+ P$ h$ g( g - LDA $8000
1 l% {8 ^' k2 ^1 L" ` - PHA5 M3 `" n* z) r8 _. ^
- LDA #$002 G- l2 O' n d* l9 G
- JSR $CEA7& q; K7 ^; T6 e- V6 [
- LDA #$3C
3 f3 ]$ x3 _8 `( W0 f - JSR $9057- _% n; D' v, h( l) u# D7 s% m
- PLA
6 {: M2 \/ ?4 H- X - JSR $CEA7
3 [7 I3 a) L8 d1 F. u - RTS( T3 W8 t2 s! ^$ z% m1 u
" p7 Y; E8 C1 h$ k/ x7 i% Z5 j+ l
6 b% W4 S# |. ^! T) ?, n. M1 Y8 D- S, ^-
h2 j ^& x, p; I
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
评分
-
1
查看全部评分
-
|