-
Notifications
You must be signed in to change notification settings - Fork 1
/
gameMemory.asm
900 lines (715 loc) · 21.8 KB
/
gameMemory.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
;*************************************************************************
;* Game Working Variable Space *
;*************************************************************************
; Binary Fraction Format :-
; First Byte is Fraction = 1/128 -> 1/2
; Second Byte is Whole Number
LunaLanderXFrac
brk
LunaLanderXLo
brk
LunaLanderXHi
brk
LunaLanderYFrac
brk
LunaLanderY
brk
LunaLanderSpNo
BYTE 0
LunaLanderColour
brk
ThrustSpNo
BYTE 1
ThrustFrameNo
brk
ThrustColour
brk
ManuoverSpNo
BYTE 2
ManuoverFrameNo
brk
ManuoverColour
brk
VerticalVelocityFracLo
brk
VerticalVelocityFracHi
brk
VerticalVelocity
brk
GravityFracLo
brk
GravityFracHi
brk
Gravity
brk
ThrustFracLo
brk
ThrustFracHi
brk
Thrust
brk
HorizontalVelocityFrac
brk
HorizontalVelocity
brk
HorizontalVelocityHi
brk
HorizontalInertiaFrac
brk
HorizontalInertia
brk
GameLoopFrameTracker
brk
FrameSkipRate
BYTE 03
CollidedWithBackground
brk
VerticalBarValue
brk
FuelBarValueFrac
brk
FuelBarValue
brk
ThrustCostFrac
BYTE 64
ThrustCost
brk
GameStatus
brk
DemoMode
BYTE 0 ; 0 = Game Mode / 255 = Demo Mode
DemoColour
BYTE 7
DemoIncrement
BYTE 1
DemoIncrementHi
brk
GameLevel
byte 0
GameDifficulty
byte 0 ; 0 = Easy, 1 = Normal, 2 = Hard
FuelTankSize
byte 0
LandingPadOneXStart
word 0
LandingPadOneXFinish
word 0
LandingPadOneYStart
byte 0
LandingPadOneYFinish
byte 0
LandingPadTwoXStart
word 0
LandingPadTwoXFinish
word 0
LandingPadTwoYStart
byte 0
LandingPadTwoYFinish
byte 0
LandingPadThreeXStart
word 0
LandingPadThreeXFinish
word 0
LandingPadThreeYStart
byte 0
LandingPadThreeYFinish
byte 0
LandScapeLocation
word 0
LunaLanderWindowSpNo
byte 3
LunaLanderWindowCol
byte 1
ScoreMultiplierPad1
byte 0
ScoreMultiplierPad2
byte 0
ScoreMultiplierPad3
byte 0
ScoreBoard
byte 0
ScoreBoardThousands
byte 0
ScoreBoardHundredThousands
byte 0
LandingPadNumber
byte 0
SpriteShipNo
byte 0
SpriteWindowShipNo
byte 0
SpriteThrustNo
byte 0
SpriteThrustRightNo
byte 0
SpriteThrustLeftNo
byte 0
TitleMusicSet
byte 0
PlayMusicSet
byte 0
MaxSafeLandingSpeed
byte 0
NumberOfSuccessfulLandings
byte 0
DontResetFuel
byte 0
InputDevice
byte 0
;80 VV = 0 : G = 3/112 : T = 3/112 : HV = 0 : HI = 1/28
gmSetUpGameVariables
; X = Level, Y = Difficulty
; Get Level Data Location
stx GameLevel
txa
pha
sty GameDifficulty
tya
asl ; Multiply * 2
tax
lda gmDifficultyArray,x
sta ZeroPageLow2
lda gmDifficultyArray + 1,x
sta ZeroPageHigh2
ldy #0
lda (ZeroPageLow2),y ; Gravity FracLo
sta GravityFracLo
iny
lda (ZeroPageLow2),y ; Gravity FracHi
sta GravityFracHi
iny
lda (ZeroPageLow2),y ; Gravity
sta Gravity
iny
lda (ZeroPageLow2),y ; Thrust FracLo
sta ThrustFracLo
iny
lda (ZeroPageLow2),y ; Thrust FracHi
sta ThrustFracHi
iny
lda (ZeroPageLow2),y ; Thrust
sta Thrust
iny
lda (ZeroPageLow2),y ; Thrust Cost Frac
sta ThrustCostFrac
iny
lda (ZeroPageLow2),y ; Thrust Cost
sta ThrustCost
iny
lda (ZeroPageLow2),y ; Multiplier Pad 1
sta ScoreMultiplierPad1
iny
lda (ZeroPageLow2),y ; Multiplier Pad 2
sta ScoreMultiplierPad2
iny
lda (ZeroPageLow2),y ; Multiplier Pad 3
sta ScoreMultiplierPad3
iny
lda (ZeroPageLow2),y ; Horizontal Interia Frac
sta HorizontalInertiaFrac
iny
lda (ZeroPageLow2),y ; Horizontal Interia
sta HorizontalInertia
iny
lda (ZeroPageLow2),y ; Fuel Tank Size
sta FuelTankSize
iny
lda (ZeroPageLow2),y ; Ship Sprite No
sta SpriteShipNo
iny
lda (ZeroPageLow2),y ; Ship Window No
sta SpriteWindowShipNo
iny
lda (ZeroPageLow2),y ; Ship Thrust No
sta SpriteThrustNo
iny
lda (ZeroPageLow2),y ; Ship Thrust Left
sta SpriteThrustLeftNo
iny
lda (ZeroPageLow2),y ; ShipThrust Right
sta SpriteThrustRightNo
iny
lda (ZeroPageLow2),y ; Max Safe Landing Speed
sta MaxSafeLandingSpeed
pla
asl ; Multiply By 2
tax
lda gmLevelArray,x
sta ZeroPageLow2
lda gmLevelArray + 1,x
sta ZeroPageHigh2
ldy #0
;lda (ZeroPageLow2),y ; Pad 1 Landing X Start
;sta LandingPadOneXStart
;iny
;lda (ZeroPageLow2),y
;sta LandingPadOneXStart + 1
;iny
;lda (ZeroPageLow2),y ; Pad 1 Landing X Finish
;sta LandingPadOneXFinish
;iny
;lda (ZeroPageLow2),y
;sta LandingPadOneXFinish + 1
;iny
;lda (ZeroPageLow2),y ; Pad 1 Landing Y Start
;sta LandingPadOneYStart
;iny
;lda (ZeroPageLow2),y ; Pad 1 Landing Y Finish
;sta LandingPadOneYFinish
;iny
;lda (ZeroPageLow2),y
;sta LandingPadTwoXStart ; Pad 2 Landing X Start
;iny
;lda (ZeroPageLow2),y
;sta LandingPadTwoXStart + 1
;iny
;lda (ZeroPageLow2),y
;sta LandingPadTwoXFinish ; Pad 2 Landing X Finish
;iny
;lda (ZeroPageLow2),y
;sta LandingPadTwoXFinish + 1
;iny
;lda (ZeroPageLow2),y ; Pad 2 Landing Y Start
;sta LandingPadTwoYStart
;iny
;lda (ZeroPageLow2),y ; Pad 2 Landing Y Finish
;sta LandingPadTwoYFinish
;iny
;lda (ZeroPageLow2),y ; Pad 3 Landing X Start
;sta LandingPadThreeXStart
;iny
;lda (ZeroPageLow2),y
;sta LandingPadThreeXStart + 1
;iny
;lda (ZeroPageLow2),y ; Pad 3 Landing X Finish
;sta LandingPadThreeXFinish
;iny
;lda (ZeroPageLow2),y
;sta LandingPadThreeXFinish + 1
;iny
;lda (ZeroPageLow2),y ; Pad 3 Landing Y Start
;sta LandingPadThreeYStart
;iny
;lda (ZeroPageLow2),y ; Pad 3 Landing Y Finish
;sta LandingPadThreeYFinish
;iny
lda (ZeroPageLow2),y ; Level Landscape Lo Byte
sta LandScapeLocation
iny
lda (ZeroPageLow2),y ; Level Landscape Hi Byte
sta LandScapeLocation + 1
tya
pha
lda #$93
jsr krljmp_CHROUT$
;ldy LandScapeLocation + 1
;lda LandScapeLocation
;jsr libScreen_CopyMap
lda LandScapeLocation + 1
ldy LandScapeLocation
jsr libScreen_DecodeMap
pla
tay
iny
lda (ZeroPageLow2),y
sta ZeroPageParam5 ; X
iny
lda (ZeroPageLow2),y
sta ZeroPageParam6 ; Y
iny
lda (ZeroPageLow2),y
sta ZeroPageParam7 ; How Many
sta ZeroPageParam8
tya
pha
lda #Red
jsr libScreen_SetColour
lda ZeroPageParam5
sta LandingPadOneXStart
sta LandingPadOneXFinish
lda ZeroPageParam6
sta LandingPadOneXStart + 1
sta LandingPadOneXFinish + 1
; Adding X Offset to start and finish
lda LandingPadOneXStart
sec
sbc #9
sta LandingPadOneXStart
lda LandingPadOneXStart + 1
sbc #0
sta LandingPadOneXStart + 1
lda ZeroPageParam8
asl
asl
asl
clc
adc #9
clc
adc LandingPadOneXFinish
sta LandingPadOneXFinish
lda LandingPadOneXFinish + 1
adc #0
sta LandingPadOneXFinish + 1
lda ZeroPageParam7
sta LandingPadOneYStart
sta LandingPadOneYFinish
dec LandingPadOneYStart
pla
tay
iny
lda (ZeroPageLow2),y
sta ZeroPageParam5 ; X
iny
lda (ZeroPageLow2),y
sta ZeroPageParam6 ; Y
iny
lda (ZeroPageLow2),y
sta ZeroPageParam7 ; How Many
sta ZeroPageParam8
tya
pha
lda #Red
jsr libScreen_SetColour
lda ZeroPageParam5
sta LandingPadTwoXStart
sta LandingPadTwoXFinish
lda ZeroPageParam6
sta LandingPadTwoXStart + 1
sta LandingPadTwoXFinish + 1
; Adding X Offset to start and finish
lda LandingPadTwoXStart
sec
sbc #9
sta LandingPadTwoXStart
lda LandingPadTwoXStart + 1
sbc #0
sta LandingPadTwoXStart + 1
lda ZeroPageParam8
asl
asl
asl
clc
adc #9
clc
adc LandingPadTwoXFinish
sta LandingPadTwoXFinish
lda LandingPadTwoXFinish + 1
adc #0
sta LandingPadTwoXFinish + 1
lda ZeroPageParam7
sta LandingPadTwoYStart
sta LandingPadTwoYFinish
dec LandingPadTwoYStart
pla
tay
iny
lda (ZeroPageLow2),y
sta ZeroPageParam5 ; X
iny
lda (ZeroPageLow2),y
sta ZeroPageParam6 ; Y
iny
lda (ZeroPageLow2),y
sta ZeroPageParam7 ; How Many
sta ZeroPageParam8
tya
pha
lda #Red
jsr libScreen_SetColour
lda ZeroPageParam5
sta LandingPadThreeXStart
sta LandingPadThreeXFinish
lda ZeroPageParam6
sta LandingPadThreeXStart + 1
sta LandingPadThreeXFinish + 1
; Adding X Offset to start and finish
lda LandingPadThreeXStart
sec
sbc #9
sta LandingPadThreeXStart
lda LandingPadThreeXStart + 1
sbc #0
sta LandingPadThreeXStart + 1
lda ZeroPageParam8
asl
asl
asl
clc
adc #9
clc
adc LandingPadThreeXFinish
sta LandingPadThreeXFinish
lda LandingPadThreeXFinish + 1
adc #0
sta LandingPadThreeXFinish + 1
lda ZeroPageParam7
sta LandingPadThreeYStart
sta LandingPadThreeYFinish
dec LandingPadThreeYStart
pla
tay
iny
lda (ZeroPageLow2),y
sta LunaLanderXLo
iny
lda (ZeroPageLow2),y
sta LunaLanderXHi
iny
lda (ZeroPageLow2),y
sta LunaLanderY
;jsr libPrint_PrintString
;jsr $AB1E
;LIBPRINT_PRINTSTRING_A LandScapeLocation
; lda #0
; sta VerticalVelocity
; sta HorizontalVelocity
; sta Gravity
; sta Thrust
; sta HorizontalInertia
; lda #False
; sta CollidedWithBackground
; lda #2
; sta GravityFrac
; lda #4
; sta ThrustFrac
; lda #2
; sta HorizontalInertiaFrac
lda #0
sta LandingPadNumber
lda DontResetFuel
cmp #True
beq @ByPassFuel
lda #8
sta FuelBarValueFrac
lda #0
sta FuelBarValue
@ByPassFuel
lda #GF_InFlight
sta GameStatus
gmResetGameVelocityValues
lda #0
sta LunaLanderXFrac
sta LunaLanderYFrac
sta VerticalVelocityFracLo
sta VerticalVelocityFracHi
sta VerticalVelocity
sta HorizontalVelocityFrac
sta HorizontalVelocity
sta HorizontalVelocityHi
rts
gmAddFuelConsumption
LIBMATH_ADD16BIT_AAA FuelBarValueFrac, ThrustCostFrac, FuelBarValueFrac
rts
gmSetUpCustomCharacters
LIBSCREEN_SETCHARMEMORY 14
rts
gmSetUpScoringDisplay
ldy #>txtCurrentScore
lda #<txtCurrentScore
jsr libPrint_PrintString
;LIBSCORING_DISPLAYSCORE_AA ScoreBoard, scDisplayScoringLocation
LIBSCORING_DISPLAYSCORESET_AA ScoreBoard + 2, scDisplayScoringLocationH
LIBSCORING_DISPLAYSCORESET_AA ScoreBoard + 1, scDisplayScoringLocationM
LIBSCORING_DISPLAYSCORESET_AA ScoreBoard, scDisplayScoringLocationL
rts
gmLevelArray
word gmLevel1Array
word gmLevel2Array
word gmLevel3Array
word gmLevel4Array
gmDifficultyArray
word gmDifficultyEasy
word gmDifficultyNormal
word gmDifficultyHard
gmLevel1Array
; byte 57,0 ; Pad One Start X
; byte 70,0 ; Pad One Finish X
; byte 219 ; Pad One Start Y
; byte 220 ; Pad One Finish Y
; byte 135,0 ; Pad Two Start X
; byte 150,0 ; Pad Two Finish X
; byte 123 ; Pad Two Start Y
; byte 124 ; Pad Two Finish Y
; byte $01,$01 ; Pad Three Start X (257)
; byte $17,$01 ; Pad Three Finish X (279)
; byte 195 ; Pad Three Start Y
; byte 195 ; Pad Three Finish Y
word gmLevelOneLandscape
byte 5,23,3 ; Pad 1 X, Y, Length
byte 15,11,3 ; Pad 2 X, Y, Length
byte 30,20,4 ; Pad 3 X, Y, Length
byte 60,0 ; Start X
byte 60 ; Start Y
gmLevel2Array
; byte 68,0 ; Pad One Start X
; byte 87,0 ; Pad One Finish X
; byte 211 ; Pad One Start Y
; byte 212 ; Pad One Finish Y
; byte 145,0 ; Pad Two Start X
; byte 159,0 ; Pad Two Finish X
; byte 123 ; Pad Two Start Y
; byte 124 ; Pad Two Finish Y
; byte $11,$01 ; Pad Three Start X
; byte $28,$01 ; Pad Three Finish X
; byte 139 ; Pad Three Start Y
; byte 140 ; Pad Three Finish Y
word gmLevelTwoLandscape
byte 7,22,3 ; Pad 1 X, Y, Length
byte 16,11,3 ; Pad 2 X, Y, Length
byte 32,13,4 ; Pad 3 X, Y, Length
byte 60,0 ; Start X
byte 60 ; Start Y
gmLevel3Array
; byte 49,0 ; Pad One Start X
; byte 70,0 ; Pad One Finish X
; byte 219 ; Pad One Start Y
; byte 220 ; Pad One Finish Y
; byte 137,0 ; Pad Two Start X
; byte 151,0 ; Pad Two Finish X
; byte 123 ; Pad Two Start Y
; byte 124 ; Pad Two Finish Y
; byte 185,0 ; Pad Three Start X
; byte 205,0 ; Pad Three Finish X
; byte 203 ; Pad Three Start Y
; byte 204 ; Pad Three Finish Y
word gmLevelThreeLandscape
byte 4,23,4 ; Pad 1 X, Y, Length
byte 15,11,3 ; Pad 2 X, Y, Length
byte 21,21,4 ; Pad 3 X, Y, Length
byte 60,0 ; Start X
byte 60 ; Start Y
gmLevel4Array
; byte 49,0 ; Pad One Start X
; byte 61,0 ; Pad One Finish X
; byte 107 ; Pad One Start Y
; byte 108 ; Pad One Finish Y
; byte 43,0 ; Pad Two Start X
; byte 53,0 ; Pad Two Finish X
; byte 211 ; Pad Two Start Y
; byte 212 ; Pad Two Finish Y
; byte 121,0 ; Pad Three Start X
; byte 142,0 ; Pad Three Finish X
; byte 187 ; Pad Three Start Y
; byte 188 ; Pad Three Finish Y
word gmLevelFourLandscape
byte 4,9,3 ; Pad 1 X, Y, Length
byte 3,22,3 ; Pad 2 X, Y, Length
byte 13,19,4 ; Pad 3 X, Y, Length
byte 2,1 ; Start X
byte 161 ; Start Y
gmDifficultyEasy
byte 0,1,0 ; Gravity Frac, Gravity
byte 0,4,0 ; Thrust Frac, Thrust
byte 4,0 ; ThrustCost Frac, ThrustCost
byte 10,5,2 ; Landing Pad Multipliers
byte 2,0 ; Horizontal Inertia
byte 95 ; Fuel Tank Size
byte 19 ; Ship SpriteNo
byte 27 ; Ship Window No
byte 20 ; Thrust No
byte 22 ; Thrust Left
byte 21 ; Thrust Right
byte 16 ; Safe Landing Speed Max
gmDifficultyNormal
byte 0,2,0 ; Gravity Frac, Gravity
byte 0,4,0 ; Thrust Frac, Thrust
byte 32,0 ; ThrustCost Frac, ThrustCost
byte 10,5,2 ; Landing Pad Multipliers
byte 2,0 ; Horizontal Inertia
byte 95 ; Fuel Tank Size
byte 23 ; Ship SpriteNo
byte 28 ; Ship Window No
byte 24 ; Thrust No
byte 26 ; Thrust Left
byte 25 ; Thrust Right
byte 16 ; Safe Landing Speed Max
gmDifficultyHard
byte 0,2,0 ; Gravity Frac, Gravity
byte 0,4,0 ; Thrust Frac, Thrust
byte 64,0 ; ThrustCost Frac, ThrustCost
byte 10,5,2 ; Landing Pad Multipliers
byte 2,0 ; Horizontal Inertia
byte 95 ; Fuel Tank Size
byte 0 ; Ship SpriteNo
byte 18 ; Ship Window No
byte 2 ; Thrust No
byte 4 ; Thrust Left
byte 3 ; Thrust Right
byte 8 ; Safe Landing Speed Max
txtCurrentScore
text "{home}{down*24}{right*12}{white}score :{up}"
byte 0
txtPrepareToLandCaptain
text "{home}{down*23}{right*5}{yellow}prepare to land, not much fuel{white}"
byte 0
txtHoustonTheEagleHasLanded
text "{home}{down*23}{right*6}{yellow}huston, the eagle has landed{white}"
byte 0
txtCaptainImAfraidWeDidNotMakeIt
text "{home}{down*21}{right*6}{yellow}eagle, come in eagle, eagle!"
byte 0
txtPressSpaceToStart
text "{down*2}{left*27}press space to start again!"
byte 0
txtPressFiretoStart
text "{down*2}{left*27}press fire to start again!"
byte 0
txtNeptuneLanderTitle1
text "{home}{down*4}{right*4}n{down*2}{left}e{down*2}{left}p{down*2}{left}t{down*2}{left}u{down*2}{left}n{down*2}{left}e{down*2}{left}{white}"
byte 0
txtNeptuneLanderTitle2
text "{home}{down*5}{right*35}l{down*2}{left}a{down*2}{left}n{down*2}{left}d{down*2}{left}e{down*2}{left}r{down*2}{left}{white}"
byte 0
txtNeptuneLanderTitle3
text "{home}{down*23}{right*10}{yellow}press space to start{white}"
byte 0
txtNeptuneLanderTitle4
text "{home}{down*23}{right*10}{yellow}press fire to start{white}"
byte 0
txtWhichDifficultyLevel
text "{home}{down*10}"
text "{right*4} easy (e){return}{down}"
text "{right*4} normal (n){return}{down}"
text "{right*4} hard (h){return}{down}"
text "{right*4} please select difficulty e/n/h?"
byte 0
txtLevelNotification
text "{home}{down*5}{right*15}level : 00"
byte 0
txtLostInSpace
text "{home}{yellow}{down*5}{right*12}danger, danger,{return}{right*8}they are lost in space."
byte 0
txtWhichInputDevice
text "{clear}{down*3}"
text " please select ({red}k{white})eyboard or ({red}j{white})oystick"
byte 0
txtKeyboardDevice
text "{home}{down*5}"
text " '<' = left, space=thrust, '>' = right"
byte 0
txtJoystickDevice
text "{home}{down*5}"
text "{right*7}please use joystick port 2"
byte 0
;@LevelOneEasyLandscape
; TEXT "{white}{clear}{down*7}GG{down}{left*2}XXBC{down}{left*4}XXXXD{down}{left*5}{X*5}H{down}{left*6}{X*5}J{down}{left*6}{X*6}H"
; TEXT "{down}{left*7}{X*6}J{down}{left*7}{X*6}I{down}{left*7}{X*6}K{down}{left*7}{X*5}E{down}{left*6}XXX{sh asterisk}A"
; TEXT "{down}{left*5}XXE{down}{left*3}XE{down}{left*2}XD{down}{left*2}XXD{down}{left*3}XXXD"
; TEXT "{down}{left*4}XXXXD{red}LLL{white}{down}{left*8}{X*5}{red}WWW{white}{X*3}{up}{left*3}V{X*2}{up}{left*3}U{X*10}"
; TEXT "{up}{left*11}T{X*10}{up}{left*11}S{X*10}{up}{left*11}P{X*10}{up}{left*10}P{X*9}{up}{left*9}RQ{X*7}{up}{left*7}P{X*6}"
; TEXT "{up}{left*6}O{X*5}{up}{left*6}N{X*5}{up}{left*5}OXXXX{up}{left*5}N{red}WWW{white}{X*8}{up}{left*11}{red}LLL{white}O{X*7}"
; TEXT "{up}{left*8}N{X*7}{up}{left*8}M{X*7}{up}{left*9}M{X*8}{up}{left*9}RQ{X*7}{up}{left*7}P{X*5}{up}{left*5}OXXXX{up}{left*5}NX{up}{left}F"
; TEXT "{down}DGG{down}H{down}{left}J{down}H{down}{left}J{down}{left}I{down}{left}K{down}{left}H{down}{left}J{down}{left*8}{X*8}H{down}{left*9}{X*8}J"
; TEXT "{down}{left*9}{X*8}E{down}{left*9}{X*7}E{down}{left*8}{X*7}H{down}{left*8}{X*7}J{down}{left*8}{X*8}D{down}{left*9}{X*9}BC{red}LLLL{white}PBC"
; TEXT "{down}{left*18}{X*11}{red}WWWW{white}XXXBC{down}{left*20}{X*20}D{down}{left*13}{X*13}{left*13}{down}{X*12}"
; BYTE 0
;@LevelOneEasyLandscape
; TEXT "{white}{clear}{down*7}GG{down}BC{down}D{down}H{down}{left}J{down}H{down}{left}J{down}{left}I{down}{left}K{down}{left*2}E{down}{left*3}{sh asterisk}A{down}{left*3}E{down}{left*2}E{down}{left}D{down}D{down}D{down}DLLL{down}{left*3}WWW{up}V{up}{left}U"
; TEXT "{up}{left}T{up}{left}S{up}{left}P{up}P{up}RQ{up}P{up}O{up}{left}N{up}O{up}{left}NWWW{up}{left*3}LLLO{up}{left}N{up}{left}M{up}{left*2}M{up}{left}RQ{up}P{up}O{up}{left}N{up}F{down}DGG{down}H{down}{left}J{down}H{down}{left}J"
; TEXT "{down}{left}I{down}{left}K{down}{left}H{down}{left}J{down}H{down}{left}J{down}{left}E{down}{left*2}E{down}{left}H{down}{left}J{down}D{down}BCLLLL{down}{left*4}WWWW{up}PBC{down}BC{down}D"
; BYTE 0
;@LevelOneEasyLandscape
; TEXT "{white}{clear}{down*7}GG{down}BC{down}D{down}H{down}{left}J{down}H{down}{left}J{down}{left}I{down}{left}K{down}{left*2}E{down}{left*3}{sh asterisk}A{down}{left*3}E{down}{left*2}E{down}{left}D{down}D{down}D{down}DLLLK{up}{left}I"
; TEXT "{up}{left}J{up}{left}H{up}{left}E{up}E{up}{sh asterisk}A{up}E{up}K{up}{left}I{up}K{up}{left}I{up}LLLK{up}{left}I{up}{left}D{up}{left*2}D{up}{left}{sh asterisk}A{up}E{up}K{up}{left}I{up}F{down}DGG{down}H{down}{left}J{down}H{down}{left}J"
; TEXT "{down}{left}I{down}{left}K{down}{left}H{down}{left}J{down}H{down}{left}J{down}{left}E{down}{left*2}E{down}{left}H{down}{left}J{down}D{down}BCLLLLEBC{down}BC{down}D"
; BYTE 0