Site Map | Contact Info | Home  
  
 Home
 Products
 ROMHACK Toolbox
 Ordering Info
 Code Disassembly
  Bega's Battle
  Cliffhanger
  Thayer's Quest
 My Gameroom
 Links

 

 

Page1

Page2

Page3

Page4

Page5

Page6


;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 5
;----------------------------------------------------
L316A:   .DB  000h             ;         
L316B:   .DB  090h             ; Correct Move   = FEET
L316C:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L316D:   .DB  003h, 037h, 020h ; Move Start Frame:  033720
L3170:   .DB  003h, 037h, 050h ; Move End Frame:    033750
L3173:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3176:   .DB  003h, 075h, 011h ; Death End Frame:   037511
L3179:   .DB  01Fh             ; Restart 31 moves
L317A:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 6
;----------------------------------------------------
L317C:   .DB  000h             ;         
L317D:   .DB  060h             ; Correct Move   = HANDS
L317E:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L317F:   .DB  003h, 037h, 033h ; Move Start Frame:  033733
L3182:   .DB  003h, 037h, 063h ; Move End Frame:    033763
L3185:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3188:   .DB  003h, 075h, 011h ; Death End Frame:   037511             
L318B:   .DB  01Fh             ; Restart 31 moves
L318C:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 7
;----------------------------------------------------
L318E:   .DB  000h             ;         
L318F:   .DB  001h             ; Correct Move   = LEFT
L3190:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3191:   .DB  003h, 037h, 060h ; Move Start Frame:  033760
L3194:   .DB  003h, 037h, 090h ; Move End Frame:    033790
L3197:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L319A:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L319D:   .DB  01Fh             ; Restart 31 moves
L319E:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 8
;----------------------------------------------------
L31A0:   .DB  000h             ;         
L31A1:   .DB  060h             ; Correct Move   = HANDS
L31A2:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L31A3:   .DB  003h, 038h, 024h ; Move Start Frame:  033824
L31A6:   .DB  003h, 038h, 054h ; Move End Frame:    033854
L31A9:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L31AC:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L31AF:   .DB  01Fh             ; Restart 31 moves
L31B0:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 9
;----------------------------------------------------
L31B2:   .DB  000h             ;         
L31B3:   .DB  090h             ; Correct Move   = FEET
L31B4:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L31B5:   .DB  003h, 038h, 030h ; Move Start Frame:  033830
L31B8:   .DB  003h, 038h, 060h ; Move End Frame:    033860
L31BB:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L31BE:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L31C1:   .DB  01Fh             ; Restart 31 moves
L31C2:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 10
;----------------------------------------------------
L31C4:   .DB  000h             ;         
L31C5:   .DB  008h             ; Correct Move   = UP
L31C6:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L31C7:   .DB  003h, 038h, 040h ; Move Start Frame:  033840
L31CA:   .DB  003h, 038h, 070h ; Move End Frame:    033870
L31CD:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L31D0:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L31D3:   .DB  01Fh             ; Restart 31 moves
L31D4:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 11
;----------------------------------------------------
L31D6:   .DB  000h             ;         
L31D7:   .DB  090h             ; Correct Move   = FEET
L31D8:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L31D9:   .DB  003h, 039h, 022h ; Move Start Frame:  033922
L31DC:   .DB  003h, 039h, 052h ; Move End Frame:    033952
L31DF:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L31E2:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L31E5:   .DB  01Fh             ; Restart 31 moves
L31E6:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 12
;----------------------------------------------------
L31E8:   .DB  000h             ;         
L31E9:   .DB  001h             ; Correct Move   = LEFT
L31EA:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L31EB:   .DB  003h, 039h, 038h ; Move Start Frame:  033938
L31EE:   .DB  003h, 039h, 068h ; Move End Frame:    033968
L31F1:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L31F4:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L31F7:   .DB  01Fh             ; Restart 31 moves
L31F8:   .DW  03122h           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 13
;----------------------------------------------------
L31FA:   .DB  000h             ;         
L31FB:   .DB  000h             ; Correct Move   = NONE
L31FC:   .DB  000h             ; Incorrect Move = NONE
L31FD:   .DB  003h, 039h, 090h ; Move Start Frame:  033990
L3200:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L3203:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L3206:   .DB  000h, 000h, 000h ; Death End Frame:   000000
L3209:   .DB  000h             ; Restart
L320A:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 14
;----------------------------------------------------
L320C:   .DB  000h             ;         
L320D:   .DB  001h             ; Correct Move   = LEFT
L320E:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L320F:   .DB  003h, 040h, 030h ; Move Start Frame:  034030
L3212:   .DB  003h, 040h, 060h ; Move End Frame:    034060
L3215:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3218:   .DB  003h, 075h, 011h ; Death End Frame:   037511         
L321B:   .DB  013h             ; Restart 19 moves
L321C:   .DW  031FAh           ; Restart: Move 13

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 15
;----------------------------------------------------
L321E:   .DB  000h             ;         
L321F:   .DB  090h             ; Correct Move   = FEET
L3220:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3221:   .DB  003h, 041h, 000h ; Move Start Frame:  034100
L3224:   .DB  003h, 041h, 030h ; Move End Frame:    034130
L3227:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L322A:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L322D:   .DB  013h             ; Restart 19 moves
L322E:   .DW  031FAh           ; Restart: Move 13

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 16
;----------------------------------------------------
L3230:   .DB  000h             ;         
L3231:   .DB  008h             ; Correct Move   = UP
L3232:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3233:   .DB  003h, 041h, 030h ; Move Start Frame:  034130
L3236:   .DB  003h, 041h, 060h ; Move End Frame:    034160
L3239:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L323C:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L323F:   .DB  013h             ; Restart 19 moves
L3240:   .DW  031FAh           ; Restart: Move 13

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 17
;----------------------------------------------------
L3242:   .DB  000h             ;         
L3243:   .DB  060h             ; Correct Move   = HANDS
L3244:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3245:   .DB  003h, 042h, 086h ; Move Start Frame:  034286
L3248:   .DB  003h, 043h, 016h ; Move End Frame:    034316
L324B:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L324E:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3251:   .DB  013h             ; Restart 19 moves
L3252:   .DW  031FAh           ; Restart: Move 13

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 18
;----------------------------------------------------
L3254:   .DB  000h             ;         
L3255:   .DB  008h             ; Correct Move   = UP
L3256:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3257:   .DB  003h, 044h, 002h ; Move Start Frame:  034402
L325A:   .DB  003h, 044h, 032h ; Move End Frame:    034432
L325D:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3260:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3263:   .DB  013h             ; Restart 19 moves
L3264:   .DW  031FAh           ; Restart: Move 13

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 19
;----------------------------------------------------
L3266:   .DB  000h             ;         
L3267:   .DB  000h             ; Correct Move   = NONE
L3268:   .DB  000h             ; Incorrect Move = NONE
L3269:   .DB  003h, 046h, 020h ; Move Start Frame:  034620
L326C:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L326F:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L3272:   .DB  000h, 000h, 000h ; Death End Frame:   000000
L3275:   .DB  000h             ; Restart
L3276:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 20
;----------------------------------------------------
L3278:   .DB  000h             ;         
L3279:   .DB  060h             ; Correct Move   = HANDS
L327A:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L327B:   .DB  003h, 050h, 012h ; Move Start Frame:  035012
L327E:   .DB  003h, 050h, 042h ; Move End Frame:    035042
L3281:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3284:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3287:   .DB  00Dh             ; Restart 13 moves
L3288:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 21
;----------------------------------------------------
L328A:   .DB  000h             ;         
L328B:   .DB  002h             ; Correct Move   = DOWN
L328C:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L328D:   .DB  003h, 051h, 070h ; Move Start Frame:  035170
L3290:   .DB  003h, 052h, 000h ; Move End Frame:    035200
L3293:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3296:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3299:   .DB  00Dh             ; Restart 13 moves
L329A:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 22
;----------------------------------------------------
L329C:   .DB  000h             ;         
L329D:   .DB  060h             ; Correct Move   = HANDS
L329E:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L329F:   .DB  003h, 053h, 074h ; Move Start Frame:  035374
L32A2:   .DB  003h, 054h, 004h ; Move End Frame:    035404
L32A5:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L32A8:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L32AB:   .DB  00Dh             ; Restart 13 moves
L32AC:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 23
;----------------------------------------------------
L32AE:   .DB  000h             ;         
L32AF:   .DB  090h             ; Correct Move   = FEET
L32B0:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L32B1:   .DB  003h, 057h, 085h ; Move Start Frame:  035785
L32B4:   .DB  003h, 058h, 015h ; Move End Frame:    035815
L32B7:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L32BA:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L32BD:   .DB  00Dh             ; Restart 13 moves
L32BE:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 24
;----------------------------------------------------
L32C0:   .DB  000h             ;         
L32C1:   .DB  090h             ; Correct Move   = FEET
L32C2:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L32C3:   .DB  003h, 058h, 073h ; Move Start Frame:  035873
L32C6:   .DB  003h, 059h, 003h ; Move End Frame:    035903
L32C9:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L32CC:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L32CF:   .DB  00Dh             ; Restart 13 moves
L32D0:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 25
;----------------------------------------------------
L32D2:   .DB  000h             ;         
L32D3:   .DB  090h             ; Correct Move   = FEET
L32D4:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L32D5:   .DB  003h, 058h, 089h ; Move Start Frame:  035889
L32D8:   .DB  003h, 059h, 019h ; Move End Frame:    035919
L32DB:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L32DE:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L32E1:   .DB  00Dh             ; Restart 13 moves
L32E2:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 26
;----------------------------------------------------
L32E4:   .DB  000h             ;         
L32E5:   .DB  060h             ; Correct Move   = HANDS
L32E6:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L32E7:   .DB  003h, 059h, 055h ; Move Start Frame:  035955
L32EA:   .DB  003h, 059h, 085h ; Move End Frame:    035985
L32ED:   .DB  003h, 097h, 027h ; Death Start Frame: 039727
L32F0:   .DB  004h, 001h, 084h ; Death End Frame:   040184 
L32F3:   .DB  00Dh             ; Restart 13 moves
L32F4:   .DW  03266h           ; Restart: Move 19

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 27
;----------------------------------------------------
L32F6:   .DB  000h             ;         
L32F7:   .DB  000h             ; Correct Move   = NONE
L32F8:   .DB  000h             ; Incorrect Move = NONE
L32F9:   .DB  003h, 060h, 020h ; Move Start Frame:  036020
L32FC:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L32FF:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L3302:   .DB  000h, 000h, 000h ; Death End Frame:   000000
L3305:   .DB  000h             ; Restart
L3306:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 28
;----------------------------------------------------
L3308:   .DB  000h             ;         
L3309:   .DB  060h             ; Correct Move   = HANDS
L330A:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L330B:   .DB  003h, 061h, 064h ; Move Start Frame:  036164
L330E:   .DB  003h, 061h, 094h ; Move End Frame:    036194
L3311:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3314:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3317:   .DB  005h             ; Restart 5 moves
L3318:   .DW  032F6h           ; Restart: Move 27

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 29
;----------------------------------------------------
L331A:   .DB  000h             ;         
L331B:   .DB  008h             ; Correct Move   = UP
L331C:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L331D:   .DB  003h, 063h, 027h ; Move Start Frame:  036327
L3320:   .DB  003h, 063h, 057h ; Move End Frame:    036357
L3323:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3326:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L3329:   .DB  005h             ; Restart 5 moves
L332A:   .DW  032F6h           ; Restart: Move 27

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 30
;----------------------------------------------------
L332C:   .DB  000h             ;         
L332D:   .DB  060h             ; Correct Move   = HANDS
L332E:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L332F:   .DB  003h, 064h, 077h ; Move Start Frame:  036477
L3333:   .DB  003h, 065h, 007h ; Move End Frame:    036507
L3335:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L3338:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L333B:   .DB  005h             ; Restart 5 moves
L333C:   .DW  032F6h           ; Restart: Move 27

;----------------------------------------------------
;   Difficulty 1:Scene 7:Move 31
;----------------------------------------------------
L333E:   .DB  000h             ;         
L333F:   .DB  008h             ; Correct Move   = UP
L3340:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3341:   .DB  003h, 065h, 093h ; Move Start Frame:  036593
L3344:   .DB  003h, 066h, 023h ; Move End Frame:    036623
L3347:   .DB  003h, 071h, 092h ; Death Start Frame: 037192
L334A:   .DB  003h, 075h, 011h ; Death End Frame:   037511 
L334D:   .DB  005h             ; Restart 5 moves
L334E:   .DW  032F6h           ; Restart: Move 27












;----------------------------------------------------
;           Scene EIGHT - Ending
;----------------------------------------------------
L3350:   .DB  004h, 015h, 087h ; Frame 041587
L3353:   .DB  004h, 068h, 080h ; Frame 046880
L3356:   .DB  004h, 014h, 036h ; Frame 041436
L3359:   .DB  004h, 015h, 084h ; Frame 041584
L335C:   .DB  032h             ; 50 moves in scene

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 1
;----------------------------------------------------
L335D:   .DB  000h             ;         
L335E:   .DB  000h             ; Correct Move   = NONE
L335F:   .DB  000h             ; Incorrect Move = NONE
L3360:   .DB  004h, 015h, 087h ; Move Start Frame:  041587
L3363:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L3366:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L3369:   .DB  000h, 000h, 000h ; Death End Frame:   000000 
L336C:   .DB  000h             ; Restart
L336D:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 2
;---------------------------------------------------- 
L336F:   .DB  000h             ;         
L3370:   .DB  090h             ; Correct Move   = FEET
L3371:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3372:   .DB  004h, 015h, 074h ; Move Start Frame:  041574
L3375:   .DB  004h, 016h, 004h ; Move End Frame:    041604
L3378:   .DB  004h, 069h, 060h ; Death Start Frame: 046960
L337B:   .DB  004h, 072h, 056h ; Death End Frame:   047256 
L337E:   .DB  032h             ; Restart 50 moves
L337F:   .DW  0335Dh           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 3
;---------------------------------------------------- 
L3381:   .DB  000h             ;         
L3382:   .DB  060h             ; Correct Move   = HANDS
L3383:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3384:   .DB  004h, 016h, 062h ; Move Start Frame:  041662
L3387:   .DB  004h, 016h, 092h ; Move End Frame:    041692
L338A:   .DB  004h, 069h, 060h ; Death Start Frame: 046960
L338D:   .DB  004h, 072h, 056h ; Death End Frame:   047256 
L3390:   .DB  032h             ; Restart 50 moves
L3391:   .DW  0335Dh           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 4
;----------------------------------------------------
L3393:   .DB  000h             ;         
L3394:   .DB  060h             ; Correct Move   = HANDS
L3395:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3396:   .DB  004h, 017h, 013h ; Move Start Frame:  041713
L3399:   .DB  004h, 017h, 043h ; Move End Frame:    041743
L339C:   .DB  004h, 069h, 060h ; Death Start Frame: 046960
L339F:   .DB  004h, 072h, 056h ; Death End Frame:   047256 
L33A2:   .DB  032h             ; Restart 50 moves
L33A3:   .DW  0335Dh           ; Restart: Move 1

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 5
;----------------------------------------------------
L33A5:   .DB  000h             ;         
L33A6:   .DB  000h             ; Correct Move   = NONE
L33A7:   .DB  000h             ; Incorrect Move = NONE
L33A8:   .DB  004h, 025h, 050h ; Move Start Frame:  042550
L33AB:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L33AE:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L33B1:   .DB  000h, 000h, 000h ; Death End Frame:   000000 
L33B4:   .DB  000h             ; Restart
L33B5:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 6
;----------------------------------------------------
L33B7:   .DB  000h             ;         
L33B8:   .DB  008h             ; Correct Move   = UP
L33B9:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L33BA:   .DB  004h, 026h, 076h ; Move Start Frame:  042676
L33BD:   .DB  004h, 027h, 006h ; Move End Frame:    042706
L33C0:   .DB  004h, 072h, 089h ; Death Start Frame: 047289
L33C3:   .DB  004h, 075h, 078h ; Death End Frame:   047578 
L33C6:   .DB  02Eh             ; Restart 46 moves
L33C7:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 7
;----------------------------------------------------
L33C9:   .DB  000h             ;         
L33CA:   .DB  008h             ; Correct Move   = UP
L33CB:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L33CC:   .DB  004h, 028h, 027h ; Move Start Frame:  042827
L33CF:   .DB  004h, 028h, 057h ; Move End Frame:    042857
L33D2:   .DB  004h, 072h, 089h ; Death Start Frame: 047289
L33D5:   .DB  004h, 075h, 078h ; Death End Frame:   047578 
L33D8:   .DB  02Eh             ; Restart 46 moves
L33D9:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 8
;---------------------------------------------------- 
L33DB:   .DB  000h             ;         
L33DC:   .DB  090h             ; Correct Move   = FEET
L33DD:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L33DE:   .DB  004h, 028h, 060h ; Move Start Frame:  042860
L33E1:   .DB  004h, 028h, 090h ; Move End Frame:    042890
L33E4:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L33E7:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L33EA:   .DB  02Eh             ; Restart 46 moves
L33EB:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 9
;----------------------------------------------------
L33ED:   .DB  000h             ;         
L33EE:   .DB  090h             ; Correct Move   = FEET
L33EF:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L33F0:   .DB  004h, 029h, 002h ; Move Start Frame:  042902
L33F3:   .DB  004h, 029h, 032h ; Move End Frame:    042932
L33F6:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L33F9:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L33FC:   .DB  02Eh             ; Restart 46 moves
L33FD:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 10
;----------------------------------------------------
L33FF:   .DB  000h             ;         
L3400:   .DB  090h             ; Correct Move   = FEET
L3401:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3402:   .DB  004h, 030h, 068h ; Move Start Frame:  043068
L3405:   .DB  004h, 030h, 098h ; Move End Frame:    043098
L3408:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L340B:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L340E:   .DB  02Eh             ; Restart 46 moves
L340F:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 11
;----------------------------------------------------
L3411:   .DB  000h             ;         
L3412:   .DB  004h             ; Correct Move   = RIGHT
L3413:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3414:   .DB  004h, 030h, 092h ; Move Start Frame:  043092
L3417:   .DB  004h, 031h, 002h ; Move End Frame:    043102
L341A:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L341D:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3420:   .DB  02Eh             ; Restart 46 moves
L3421:   .DW  033A5h           ; Restart: Move 5

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 12
;----------------------------------------------------
L3423:   .DB  000h             ;         
L3424:   .DB  000h             ; Correct Move   = NONE
L3425:   .DB  000h             ; Incorrect Move = NONE
L3426:   .DB  004h, 031h, 063h ; Move Start Frame:  043163
L3429:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L342C:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L342F:   .DB  000h, 000h, 000h ; Death End Frame:   000000 
L3432:   .DB  000h             ; Restart
L3433:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 13
;----------------------------------------------------
L3435:   .DB  000h             ;         
L3436:   .DB  090h             ; Correct Move   = FEET
L3437:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3438:   .DB  004h, 032h, 061h ; Move Start Frame:  043261
L343B:   .DB  004h, 032h, 091h ; Move End Frame:    043291
L343E:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3441:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3444:   .DB  027h             ; Restart 39 moves
L3445:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 14
;----------------------------------------------------
L3447:   .DB  000h             ;         
L3448:   .DB  060h             ; Correct Move   = HANDS
L3449:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L344A:   .DB  004h, 032h, 086h ; Move Start Frame:  043286
L344D:   .DB  004h, 033h, 006h ; Move End Frame:    043306
L3450:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3453:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3456:   .DB  027h             ; Restart 39 moves
L3457:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 15
;----------------------------------------------------
L3459:   .DB  000h             ;         
L345A:   .DB  060h             ; Correct Move   = HANDS
L345B:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L345C:   .DB  004h, 032h, 095h ; Move Start Frame:  043295
L345F:   .DB  004h, 033h, 025h ; Move End Frame:    043325
L3462:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3465:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3468:   .DB  027h             ; Restart 39 moves
L3469:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 16
;---------------------------------------------------- 
L346B:   .DB  000h             ;         
L346C:   .DB  060h             ; Correct Move   = HANDS
L346D:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L346E:   .DB  004h, 033h, 007h ; Move Start Frame:  043307
L3471:   .DB  004h, 033h, 037h ; Move End Frame:    043337
L3474:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3477:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L347A:   .DB  027h             ; Restart 39 moves
L347B:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 17
;----------------------------------------------------
L347D:   .DB  000h             ;         
L347E:   .DB  060h             ; Correct Move   = HANDS
L347F:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3480:   .DB  004h, 033h, 020h ; Move Start Frame:  043320
L3483:   .DB  004h, 033h, 050h ; Move End Frame:    043350
L3486:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3489:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L348C:   .DB  027h             ; Restart 39 moves
L348D:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 18
;----------------------------------------------------
L348F:   .DB  000h             ;         
L3490:   .DB  060h             ; Correct Move   = HANDS
L3491:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3492:   .DB  004h, 033h, 045h ; Move Start Frame:  043345
L3495:   .DB  004h, 033h, 075h ; Move End Frame:    043375
L3498:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L349B:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L349E:   .DB  027h             ; Restart 39 moves
L349F:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 19
;----------------------------------------------------
L34A1:   .DB  000h             ;         
L34A2:   .DB  060h             ; Correct Move   = HANDS
L34A3:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34A4:   .DB  004h, 033h, 067h ; Move Start Frame:  043367
L34A7:   .DB  004h, 033h, 097h ; Move End Frame:    043397
L34AA:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L34AD:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L34B0:   .DB  027h             ; Restart 39 moves
L34B1:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 20
;----------------------------------------------------
L34B3:   .DB  000h             ;         
L34B4:   .DB  060h             ; Correct Move   = HANDS
L34B5:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34B6:   .DB  004h, 034h, 034h ; Move Start Frame:  043434
L34B9:   .DB  004h, 034h, 064h ; Move End Frame:    043464
L34BC:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L34BF:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L34C2:   .DB  027h             ; Restart 39 moves
L34C3:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 21
;----------------------------------------------------
L34C5:   .DB  000h             ;         
L34C6:   .DB  060h             ; Correct Move   = HANDS
L34C7:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34C8:   .DB  004h, 034h, 049h ; Move Start Frame:  043449
L34CB:   .DB  004h, 034h, 079h ; Move End Frame:    043479
L34CE:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L34D1:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L34D4:   .DB  027h             ; Restart 39 moves
L34D5:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 22
;----------------------------------------------------
L34D7:   .DB  000h             ;         
L34D8:   .DB  060h             ; Correct Move   = HANDS
L34D9:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34DA:   .DB  004h, 034h, 076h ; Move Start Frame:  043476
L34DD:   .DB  004h, 035h, 006h ; Move End Frame:    043506
L34E0:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L34E3:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L34E6:   .DB  027h             ; Restart 39 moves
L34E7:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 23
;----------------------------------------------------
L34E9:   .DB  000h             ;         
L34EA:   .DB  060h             ; Correct Move   = HANDS
L34EB:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34EC:   .DB  004h, 035h, 015h ; Move Start Frame:  043515
L34EF:   .DB  004h, 035h, 045h ; Move End Frame:    043545
L34F2:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L34F5:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L34F8:   .DB  027h             ; Restart 39 moves
L34F9:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 24
;---------------------------------------------------- 
L34FB:   .DB  000h             ;         
L34FC:   .DB  060h             ; Correct Move   = HANDS
L34FD:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L34FE:   .DB  004h, 035h, 031h ; Move Start Frame:  043531
L3501:   .DB  004h, 035h, 061h ; Move End Frame:    043561
L3504:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3507:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L350A:   .DB  027h             ; Restart 39 moves
L350B:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 25
;----------------------------------------------------
L350D:   .DB  000h             ;         
L350E:   .DB  060h             ; Correct Move   = HANDS
L350F:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3510:   .DB  004h, 035h, 041h ; Move Start Frame:  043541
L3513:   .DB  004h, 035h, 071h ; Move End Frame:    043571
L3516:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3519:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L351C:   .DB  027h             ; Restart 39 moves
L351D:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 26
;----------------------------------------------------
L351F:   .DB  000h             ;         
L3520:   .DB  060h             ; Correct Move   = HANDS
L3521:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3522:   .DB  004h, 035h, 056h ; Move Start Frame:  043556
L3525:   .DB  004h, 035h, 086h ; Move End Frame:    043586
L3528:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L352B:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L352E:   .DB  027h             ; Restart 39 moves
L352F:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 27
;----------------------------------------------------
L3531:   .DB  000h             ;         
L3532:   .DB  060h             ; Correct Move   = HANDS
L3533:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3534:   .DB  004h, 035h, 080h ; Move Start Frame:  043580
L3537:   .DB  004h, 036h, 010h ; Move End Frame:    043610
L353A:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L353D:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3540:   .DB  027h             ; Restart 39 moves
L3541:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 28
;----------------------------------------------------
L3543:   .DB  000h             ;         
L3544:   .DB  060h             ; Correct Move   = HANDS
L3545:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3546:   .DB  004h, 036h, 003h ; Move Start Frame:  043603
L3549:   .DB  004h, 036h, 033h ; Move End Frame:    043633
L354C:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L354F:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3552:   .DB  027h             ; Restart 39 moves
L3553:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 29
;----------------------------------------------------
L3555:   .DB  000h             ;         
L3556:   .DB  060h             ; Correct Move   = HANDS
L3557:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3558:   .DB  004h, 036h, 070h ; Move Start Frame:  043670
L355B:   .DB  004h, 037h, 000h ; Move End Frame:    043700
L355E:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3561:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3564:   .DB  027h             ; Restart 39 moves
L3565:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 30
;----------------------------------------------------
L3567:   .DB  000h             ;         
L3568:   .DB  060h             ; Correct Move   = HANDS
L3569:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L356A:   .DB  004h, 036h, 085h ; Move Start Frame:  043685
L356D:   .DB  004h, 037h, 015h ; Move End Frame:    043715
L3570:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3573:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3576:   .DB  027h             ; Restart 39 moves
L3577:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 31
;----------------------------------------------------
L3579:   .DB  000h             ;         
L357A:   .DB  060h             ; Correct Move   = HANDS
L357B:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L357C:   .DB  004h, 037h, 012h ; Move Start Frame:  043712
L357F:   .DB  004h, 037h, 042h ; Move End Frame:    043742
L3582:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3585:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3588:   .DB  027h             ; Restart 39 moves
L3589:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 32
;----------------------------------------------------
L358B:   .DB  000h             ;         
L358C:   .DB  060h             ; Correct Move   = HANDS
L358D:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L358E:   .DB  004h, 037h, 056h ; Move Start Frame:  043756
L3591:   .DB  004h, 037h, 086h ; Move End Frame:    043786
L3594:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3597:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L359A:   .DB  027h             ; Restart 39 moves
L359B:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 33
;----------------------------------------------------
L359D:   .DB  000h             ;         
L359E:   .DB  060h             ; Correct Move   = HANDS
L359F:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35A0:   .DB  004h, 037h, 071h ; Move Start Frame:  043771
L35A3:   .DB  004h, 038h, 001h ; Move End Frame:    043801
L35A6:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L35A9:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L35AC:   .DB  027h             ; Restart 39 moves
L35AD:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 34
;----------------------------------------------------
L35AF:   .DB  000h             ;         
L35B0:   .DB  060h             ; Correct Move   = HANDS
L35B1:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35B2:   .DB  004h, 037h, 089h ; Move Start Frame:  043789
L35B5:   .DB  004h, 038h, 019h ; Move End Frame:    043819
L35B8:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L35BB:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L35BE:   .DB  027h             ; Restart 39 moves
L35BF:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 35
;----------------------------------------------------
L35C1:   .DB  000h             ;         
L35C2:   .DB  060h             ; Correct Move   = HANDS
L35C3:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35C4:   .DB  004h, 038h, 016h ; Move Start Frame:  043816
L35C7:   .DB  004h, 038h, 046h ; Move End Frame:    043846
L35CA:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L35CD:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L35D0:   .DB  027h             ; Restart 39 moves
L35D1:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 36
;----------------------------------------------------
L35D3:   .DB  000h             ;         
L35D4:   .DB  060h             ; Correct Move   = HANDS
L35D5:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35D6:   .DB  004h, 038h, 063h ; Move Start Frame:  043863
L35D9:   .DB  004h, 038h, 093h ; Move End Frame:    043893
L35DC:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L35DF:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L35E2:   .DB  027h             ; Restart 39 moves
L35E3:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 37
;----------------------------------------------------
L35E5:   .DB  000h             ;         
L35E6:   .DB  060h             ; Correct Move   = HANDS
L35E7:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35E8:   .DB  004h, 038h, 088h ; Move Start Frame:  043888
L35EB:   .DB  004h, 039h, 008h ; Move End Frame:    043908
L35EE:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L35F1:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L35F4:   .DB  027h             ; Restart 39 moves
L35F5:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 38
;----------------------------------------------------
L35F7:   .DB  000h             ;         
L35F8:   .DB  060h             ; Correct Move   = HANDS
L35F9:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L35FA:   .DB  004h, 038h, 099h ; Move Start Frame:  043899
L35FD:   .DB  004h, 039h, 029h ; Move End Frame:    043929
L3600:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3603:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3606:   .DB  027h             ; Restart 39 moves
L3607:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 39
;----------------------------------------------------
L3609:   .DB  000h             ;         
L360A:   .DB  060h             ; Correct Move   = HANDS
L360B:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L360C:   .DB  004h, 039h, 026h ; Move Start Frame:  043926
L360F:   .DB  004h, 039h, 056h ; Move End Frame:    043956
L3612:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3615:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3618:   .DB  027h             ; Restart 39 moves
L3619:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 40
;----------------------------------------------------
L361B:   .DB  000h             ;         
L361C:   .DB  060h             ; Correct Move   = HANDS
L361D:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L361E:   .DB  004h, 041h, 051h ; Move Start Frame:  044151
L3621:   .DB  004h, 041h, 081h ; Move End Frame:    044181
L3624:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3627:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L362A:   .DB  027h             ; Restart 39 moves
L362B:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 41
;----------------------------------------------------
L362D:   .DB  000h             ;         
L362E:   .DB  060h             ; Correct Move   = HANDS
L362F:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3630:   .DB  004h, 043h, 004h ; Move Start Frame:  044304
L3633:   .DB  004h, 043h, 034h ; Move End Frame:    044334
L3636:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L3639:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L363C:   .DB  027h             ; Restart 39 moves
L363D:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 42
;----------------------------------------------------
L363F:   .DB  000h             ;         
L3640:   .DB  060h             ; Correct Move   = HANDS
L3641:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3642:   .DB  004h, 044h, 037h ; Move Start Frame:  044437
L3645:   .DB  004h, 044h, 067h ; Move End Frame:    044467
L3648:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L364B:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L364E:   .DB  027h             ; Restart 39 moves
L364F:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 43
;----------------------------------------------------
L3651:   .DB  000h             ;         
L3652:   .DB  060h             ; Correct Move   = HANDS
L3653:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L3654:   .DB  004h, 045h, 030h ; Move Start Frame:  044530
L3657:   .DB  004h, 045h, 060h ; Move End Frame:    044560
L365A:   .DB  004h, 076h, 007h ; Death Start Frame: 047607
L365D:   .DB  004h, 079h, 069h ; Death End Frame:   047969 
L3660:   .DB  027h             ; Restart 39 moves
L3661:   .DW  03423h           ; Restart: Move 12

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 44
;----------------------------------------------------
L3663:   .DB  000h             ;         
L3664:   .DB  000h             ; Correct Move   = NONE
L3665:   .DB  000h             ; Incorrect Move = NONE
L3666:   .DB  004h, 050h, 030h ; Move Start Frame:  045030
L3669:   .DB  000h, 000h, 000h ; Move End Frame:    000000
L366C:   .DB  000h, 000h, 000h ; Death Start Frame: 000000
L366F:   .DB  000h, 000h, 000h ; Death End Frame:   000000 
L3672:   .DB  000h             ; Restart
L3673:   .DW  00000h           ; Restart

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 45
;----------------------------------------------------
L3675:   .DB  000h             ;         
L3676:   .DB  001h             ; Correct Move   = LEFT
L3677:   .DB  0F0h             ; Incorrect Move = HANDS,FEET
L3678:   .DB  004h, 052h, 098h ; Move Start Frame:  045298
L367B:   .DB  004h, 053h, 028h ; Move End Frame:    045328
L367E:   .DB  004h, 087h, 068h ; Death Start Frame: 048768
L3681:   .DB  004h, 090h, 050h ; Death End Frame:   049050 
L3684:   .DB  007h             ; Restart 7 moves
L3685:   .DW  03663h           ; Restart: Move 44

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 46
;----------------------------------------------------
L3687:   .DB  000h             ;         
L3688:   .DB  090h             ; Correct Move   = FEET
L3689:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L368A:   .DB  004h, 053h, 094h ; Move Start Frame:  045394
L368D:   .DB  004h, 054h, 014h ; Move End Frame:    045414
L3690:   .DB  004h, 069h, 060h ; Death Start Frame: 046960
L3693:   .DB  004h, 072h, 056h ; Death End Frame:   047256 
L3696:   .DB  007h             ; Restart 7 moves
L3697:   .DW  03663h           ; Restart: Move 44

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 47
;----------------------------------------------------
L3699:   .DB  000h             ;         
L369A:   .DB  090h             ; Correct Move   = FEET
L369B:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L369C:   .DB  004h, 055h, 025h ; Move Start Frame:  045525
L369F:   .DB  004h, 055h, 055h ; Move End Frame:    045555
L36A2:   .DB  004h, 069h, 060h ; Death Start Frame: 046960
L36A5:   .DB  004h, 072h, 056h ; Death End Frame:   047256 
L36A8:   .DB  007h             ; Restart 7 moves
L36A9:   .DW  03663h           ; Restart: Move 44

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 48
;----------------------------------------------------
L36AB:   .DB  000h             ;         
L36AC:   .DB  090h             ; Correct Move   = FEET
L36AD:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L36AE:   .DB  004h, 055h, 091h ; Move Start Frame:  045591
L36B1:   .DB  004h, 056h, 021h ; Move End Frame:    045621
L36B4:   .DB  004h, 092h, 025h ; Death Start Frame: 049225
L36B7:   .DB  004h, 096h, 034h ; Death End Frame:   049634 
L36BA:   .DB  007h             ; Restart 7 moves
L36BB:   .DW  03663h           ; Restart: Move 44

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 49
;----------------------------------------------------
L36BD:   .DB  000h             ;         
L36BE:   .DB  0F0h             ; Correct Move   = HANDS,FEET
L36BF:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L36C0:   .DB  004h, 056h, 018h ; Move Start Frame:  045618
L36C3:   .DB  004h, 056h, 048h ; Move End Frame:    045648
L36C6:   .DB  004h, 092h, 025h ; Death Start Frame: 049225
L36C9:   .DB  004h, 096h, 034h ; Death End Frame:   049634 
L36CC:   .DB  007h             ; Restart 7 moves
L36CD:   .DW  03663h           ; Restart: Move 44

;----------------------------------------------------
;   Difficulty 1:Scene 8:Move 50
;----------------------------------------------------
L36CF:   .DB  000h             ;         
L36D0:   .DB  060h             ; Correct Move   = HANDS
L36D1:   .DB  00Fh             ; Incorrect Move = LEFT,RIGHT,UP,DOWN
L36D2:   .DB  004h, 056h, 085h ; Move Start Frame:  045685
L36D5:   .DB  004h, 057h, 015h ; Move End Frame:    045715
L36D8:   .DB  004h, 092h, 025h ; Death Start Frame: 049225
L36DB:   .DB  004h, 096h, 034h ; Death End Frame:   049634 
L36DE:   .DB  007h             ; Restart 7 moves
L36DF:   .DW  03663h           ; Restart: Move 44











;----------------------------------------------------
;                    unknown
;---------------------------------------------------- 
L36C8:  DEC     H
        INC     B
        SUB     (HL)
        INC     (HL)
        RLCA   
        LD      H,E
        LD      (HL),000
        LD      H,B
        RRCA   
        INC     B
        LD      D,(HL)
        ADD     A,L
        INC     B
        LD      D,A
        DEC     D
        INC     B
        SUB     D
        DEC     H
        INC     B
        SUB     (HL)
        INC     (HL)
        RLCA   
        LD      H,E
        LD      (HL),029
        LD      B,E
        LD      C,A
        LD      D,B
        LD      E,C
        LD      D,D
        LD      C,C
        LD      B,A
        LD      C,B
        LD      D,H
        LD      A,(05320)
        LD      D,H
        LD      B,L
        LD      D,D
        LD      C,(HL)
        JR      NZ,L3739               
        LD      C,H
        LD      B,L
        LD      B,E
        LD      D,H
        LD      D,D
        LD      C,A
        LD      C,(HL)
        LD      C,C
        LD      B,E
        LD      D,E
        INC     L
        JR      NZ,L374A               
        LD      C,(HL)
        LD      B,E
        LD      L,000
        NOP     
        LD      BC,01500
        LD      B,E
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     
        NOP     








;----------------------------------------------------
;            Perform Switch Test
;----------------------------------------------------
L3720:  CALL    L21FF           ; Clear Text Display
        LD      A,050h          ; Text = LT BLUE, Bkgnd = TRANS
        CALL    L20CA           ; Setup Graphics Chip for Text
        CALL    L2353           ; Wait for Comm Ready
        PUSH    HL              ; Save HL Register
        LD      HL,00007h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L3732:  .TEXT   "SWITCH TEST & DISPLAY"
        .DB     000h 
;----------------------------------------------------     
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
L374A:  LD      HL,00055h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3750:  .TEXT   "BITS = 7 6 5 4 3 2 1 0"
        .DB     000h 
;----------------------------------------------------     
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,000A1h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L376F:  .TEXT   "STROBE 0" 
        .DB     000h 
;----------------------------------------------------           
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,000F1h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L3780:  .TEXT   "STROBE 1" 
        .DB     000h 
;----------------------------------------------------           
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00141h       ; Cursor Position
L378E:  CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3791:  .TEXT   "STROBE 2"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00191h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37A2:  .TEXT   "STROBE 3" 
        .DB     000h 
;----------------------------------------------------           
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001E1h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37B3:  .TEXT   "STROBE 4" 
        .DB     000h 
;----------------------------------------------------           
        POP     HL              ; Restore HL Register
        CALL    L2353           ; Wait for Comm Ready
        PUSH    HL              ; Save HL Register 
        LD      HL,00231h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37C7:  .TEXT   "STROBE 5"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00281h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37D8:  .TEXT   "STROBE 6"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,002D1h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37E9:  .TEXT   "STROBE 7"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00321h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L37FA:  .TEXT   "STROBE 8"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3804:  PUSH    HL              ; Save HL Register
        LD      HL,00371h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L380B:  .TEXT   "STROBE 9" 
        .DB     000h 
;----------------------------------------------------           
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
L3816:  LD      HL,00251h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L381C:  .TEXT   "0 = OFF"     
        .DB     000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00279h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L382C:  .TEXT   "1 = ON "               
        .DB     000h 
;----------------------------------------------------
L3834:  POP     HL              ; Restore HL Register
L3835:  LD      B,001h          ; Loop = 1
L3837:  CALL    L2353           ; Wait for Comm Ready
L383A:  DJNZ    L3837           ; Loop for 1 Comm

        LD      A,00Fh
L383E:  OUT     (060h),A
        CALL    L23F0           ; Call Delay1
        LD      E,004h
        LD      B,000h
L3847:  LD      D,00Ch
        LD      A,B
        OUT     (060h),A
L384C:  CALL    L23F0
        IN      A,(062h)
        CPL     
        LD      H,A
        LD      A,00Fh
        OUT     (060h),A
        LD      A,H
        CALL    L3867
        INC     E
        INC     E
        INC     B
        LD      A,B
        CP      00Ah
        JP      C,L3847
        JP      L3835

L3867:  PUSH    AF
        PUSH    BC
        LD      B,008

L386B:  RLC     A
        PUSH    AF
        CALL    L3879
        INC     D
        INC     D
        POP     AF
        DJNZ    L386B                   
        POP     BC
        POP     AF
        RET     







L3879:  LD      A,030h
        JR      NC,L3888               
        LD      A,(0E111h)
L3880:  AND     008h
        LD      A,031h
        JR      Z,L3888                 
        LD      A,020h
L3888:  CALL    L2233           ; Print one Character to Text Display
        RET     




L388C:  .DB   006



DoIntroScreen:             
L388F:  CALL    SetAudio        ;
        LD      HL,0E174h       ;
        INC     (HL)            ;
        CALL    L2155           ; Clear Graphics Areas, Fill Screen with Characters

        LD      HL,06EB8h       ; HL = "CLIFF HANGER" Patterns
        LD      DE,00000h       ; Copy Patterns to 0000h
        LD      BC,00B00h       ; BC = 352 character x 8 bytes
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      A,01Fh          ; Column = 31
        CALL    L3960           ; Position Image at column 31
        LD      HL,0E130h       
        SET     6,(HL)          ;
        CALL    L22F5           ; Program Graphics Chip
;----------------------------------------------------
;        Scroll Graphics across screen 
;----------------------------------------------------
        LD      A,01Fh          ; Loop = 31 Columns
L38B4:  PUSH    AF              ; Save Loop 
        CALL    L3960           ; Do Image Positioning
        LD      B,003h          ; Loop = 3
L38BA:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L38BA           ; Loop for 3 Comm's
        POP     AF              ; Recall Loop
        DEC     A               ; Decrement Loop
        JP      NZ,L38B4        ; Loop until all columns scrolled


        LD      IY,0388Ch       ; Frame Number = 006 (Rainy Storm)
        CALL    L08B5           ; Search to Frame Number
        LD      A,065h          ; Text = LT_BLUE, Bkgnd = DK_RED
        CALL    L399E           ; Fill Pixel Color Table

        LD      B,002h          ; Loop = 2
L38D2:  CALL    L2353           ; Wait for Comm Ready           
        DJNZ    L38D2           ; Loop for 2 Comm's

        LD      A,0F5h          ; Text = WHITE, Bkgnd = DK_RED
        CALL    L399E           ; Fill Pixel Color Table

        LD      B,001h          ; Loop = 1
L38DE:  CALL    L2353           ; Wait for Comm Ready           
        DJNZ    L38DE           ; Loop for 1 Comm       

        LD      A,015h          ; Text = BLACK, Bkgnd = DK_RED
        CALL    L399E           ; Fill Pixel Color Table

        CALL    L3A7B           ; Display STERN Title Screen
        CALL    Delay100000     ; Call Delay 100000

        LD      B,014h          ; Loop = 20
L38F0:  CALL    L3AC2           ; Show Number of Credits
        CALL    Delay10000      ; Call Delay 10,000
        DJNZ    L38F0           ; Looping on delay 20 times
                           
        LD      E,007h          ; E = 7 Colors
        LD      HL,03959h       ; Point to color codes
L38FD:  LD      A,(HL)          ; Get color code
        CALL    L399E           ; Fill Pixel Color Table

        LD      B,003h          ; Loop = 3
L3903:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3903           ; Loop for 3 Comm's                         

        CALL    L3AC2           ; Show Number of Credits
        INC     HL              ; Point to next color code
        DEC     E               ; Decrement color count
        JR      NZ,L38FD        ; Loop until all colors used

        CALL    L236C           ;
        CALL    L22F5           ; Program Graphics Chip
        LD      IX,0388Ch       ; Target Frame Pointer 006
        LD      IY,0388Ch       ; Search Frame Pointer 006
        CALL    L0A33           ; Play until frame number is reached
        CALL    L39B8

L3923:  LD      B,001h          ; Loop = 1
L3925:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3925           ; Loop for 1 Comm       

        CALL    L3A35
        LD      IX,0E137h
        LD      A,(IX+000h)
        OR      A
        JR      NZ,L3923               
        LD      B,001h          ; Loop = 1
L3939:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3939           ; Loop for 1 Comm       
        LD      A,005h          ; Command = PLAY (05h)
        CALL    L207F           ; Send Message to LDPlayer DI
        LD      A,(0E126h)      ; Get Control Register
        RES     4,A
        LD      (0E126h),A
        LD      A,000h          ; Text = TRANSPARENT, Bkgnd = TRANSPARENT
        LD      (0E136h),A      ; Set Color
        LD      HL,0E130h
        RES     6,(HL)
        CALL    L22F5           ; Program Graphics Chip
        RET                     ; Return





;----------------------------------------------------
;              Colors
;----------------------------------------------------
    .DB   0F5h, 0B5h, 085h, 0A5h, 045h, 0C5h, 031h 

     





;----------------------------------------------------
;           Position Graphic Image
;----------------------------------------------------
;       A = Horizontal Position for Image (0-31)
;----------------------------------------------------
L3960:  PUSH    BC              ; Save BC Register
        PUSH    DE              ; Save DE Register
        PUSH    HL              ; Save HL Register
        AND     01Fh            ; Location must be < 31
        LD      D,A             ; D = X Location for Graphic
        CALL    L2353           ; Wait for Comm Ready
        LD      HL,3C00h        ; Graphics Addres 3C00h
        CALL    L2334           ; Set Graphics Address
        LD      B,00Bh          ; Loop = 11 Rows
        LD      H,000h          ;
L3973:  PUSH    BC              ; Save Row Counter
        LD      E,D             ;
        LD      A,E             ;
        OR      A               ;
        JP      Z,L398A         ;
        LD      B,020h          ; Loop = 32 Columns
L397C:  LD      A,000h          ; A = Blank space 
        OUT     (044h),A        ; Print leading spaces
        PUSH    AF              ; Small delay
        POP     AF              ; Small delay
        PUSH    AF              ; Small delay
        POP     AF              ; Small delay
        PUSH    AF              ; Small delay
        POP     AF              ; Small delay
        DEC     B               ; Subtract 1 Column
        DEC     E               ; Subtract Leading space
        JR      NZ,L397C        ; Leading spaces remain so loop back       
L398A:  LD      L,H             ;
L398B:  LD      A,L             ;
        OUT     (044h),A        ; Draw Character
        PUSH    AF              ; Small delay
        POP     AF              ; Small delay
        INC     L               ; Next character
        DJNZ    L398B           ; Loop for remaining number of columns       
        POP     BC              ; Get Row Counter
        LD      A,H             ;
        ADD     A,020h          ; Go to next row (add 32 characters)
        LD      H,A             ; Store in 
        DJNZ    L3973           ; Loop until all 11 Rows used       
        POP     HL              ; Restore HL Register
        POP     DE              ; Restore DE Register
        POP     BC              ; Restore BC Register
        RET                     ; Return








;----------------------------------------------------
;      Fill Graphics Area 2000h-37FFh with value
;         2000h-37FFh  Pixel Byte Color Table
;----------------------------------------------------
;        A = Text Color/Background Color
;----------------------------------------------------
L399E:  LD      BC,01800h       ; Setup loop BC = 1800h
        PUSH    HL              ; Save HL Register
        PUSH    DE              ; Save DE Register
        LD      E,A             ; Store Character temporarily
        CALL    L2353           ; Wait for Comm Ready
        LD      HL,02000h       ; Graphics Address = 2000h
        CALL    L2334           ; Set Graphics Address
L39AD:  LD      A,E             ; A = Character
        OUT     (044h),A        ; Write A to Graphics Address
        DEC     BC              ; Decrement loop
        LD      A,B             ; Get loop
        OR      C               ; Check if loop finished
        JR      NZ,L39AD        ; Loop until all finished
        POP     DE              ; Restore DE Register
        POP     HL              ; Restore HL Register
        RET                     ; Return








;----------------------------------------------------
;         Write Data Blocks to Graphics Address
;  Clear:  07F8h, 0FF8h, 17F8h, 27F8h, 2FF8h, 37F8h
;----------------------------------------------------
L39B8:  LD      IX,0E137h       ;
        LD      A,00Fh          ;
        LD      (IX+000h),A     ;
        LD      A,010h          ;
        LD      (IX+001h),A     ;

        LD      B,001h          ; Loop = 1
L39C8:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L39C8           ; Loop for 1 Comm       

        LD      HL,03A2Dh       ;
        LD      DE,027F8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      HL,03A24h       ;
        LD      DE,007F8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      B,001h          ; Loop = 1
L39E7:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L39E7           ; Loop for 1 Comm

        LD      HL,03A2Dh       ;
        LD      DE,02FF8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      HL,03A24h       ;
        LD      DE,00FF8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      B,001h          ; Loop = 1
L3A06:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3A06           ; Loop for 1 Comm

        LD      HL,03A2Dh       ;
        LD      DE,037F8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        LD      HL,03A24h       ;
        LD      DE,017F8h       ;
        LD      BC,00008h       ; 8 bytes to write
        CALL    L22D9           ; Write Data Block to Graphics Address

        RET                     ; Return



;----------------------------------------------------
;            Data to Write to Graphics Chip
;----------------------------------------------------
L3A24:  .DB   000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
L3A2C:  .DB   000h 
L3A2D:  .DB   000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h     






;----------------------------------------------------
;                unknown
;----------------------------------------------------
L3A35:  LD      IX,0E137h       ; IX = Index
        LD      E,(IX+000h)     ;
        LD      D,000h          ;
        LD      HL,03C00h       
        ADD     HL,DE           ;
        CALL    L3A5C           ;
        LD      HL,03C00h       ;
        LD      E,(IX+001h)     ;
        LD      D,000h          ;
        ADD     HL,DE           ;
        CALL    L3A5C           ;
        LD      IX,0E137h       ;
        DEC     (IX+000h)       ;
        INC     (IX+001h)       ;
        RET                     ; Return




;----------------------------------------------------
;                unknown
;      HL = Graphics Address      (24x32?)
;----------------------------------------------------
L3A5C:  LD      B,018h          ; Loop = 24
L3A5E:  LD      C,001h          ;
        CALL    L2334           ; Set Text Cursor Position 
L3A63:  PUSH    AF              ;
        POP     AF              ;
        LD      A,0FFh          ;
        OUT     (044h),A        ;
        PUSH    AF              ;
        POP     AF              ;
        PUSH    AF              ;
        POP     AF              ;
        PUSH    AF              ;
        POP     AF              ;
        PUSH    AF              ;
        POP     AF              ;
        DEC     C               ;
        JR      NZ,L3A63        ;       
        LD      DE,00020h       ; Add 32
        ADD     HL,DE           ;
        DJNZ    L3A5E           ;       
        RET                     ; Return








;----------------------------------------------------
;         Display STERN Title Screen
;----------------------------------------------------
L3A7B:  PUSH    HL              ; Save HL Register
        LD      HL,03E04h       ; Cursor Position (Bold)
        CALL    L22C3           ; Set Cursor and Print Text 
;----------------------------------------------------
L3A82:  .TEXT   "A Laser Disc Video Game"     
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        CALL    Delay100000     ; Call Delay 100,000
        PUSH    HL              ; Save HL Register
        LD      HL,03E43h       ; Cursor Position
        CALL    L22C3           ; Set Cursor and Print Text
;----------------------------------------------------
L3AA5:  .TEXT   "BY STERN ELECTRONICS, INC."
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        RET                     ; Return








;----------------------------------------------------
;            Show Number of Credits
;----------------------------------------------------
L3AC2:  PUSH    BC              ; Save BC Register
        PUSH    DE              ; Save DE Register
        PUSH    HL              ; Save HL Register
        LD      A,(0E18Ch)      ; Get DIP Switches 12-19
        BIT     2,A             ; Check FREE PLAY (sw 14)
        JP      NZ,L3B23        ; Set so print FREE PLAY
        LD      A,(0E1A8h)      ;
        CP      001h            ;
        JP      Z,L3B0E         ; Set so print 1 CREDIT
        LD      HL,0E137h       ;
        LD      (HL),A          ;
        RRC     A               ;
        RRC     A               ;
L3ADD:  RRC     A               ;
        RRC     A               ;
        AND     00Fh            ;
        JR      Z,L3AE7         ;       
        OR      010h            ;
L3AE7:  PUSH    AF              ;
        LD      HL,03EE9h       ;
        CALL    L2334           ;
        POP     AF              ;
        OUT     (044h),A        ;
        LD      HL,0E137h       ;
L3AF4:  LD      A,(HL)          ;
        AND     00Fh            ;
        OR      010h            ;
        OUT     (044h),A        ;
        PUSH    HL              ; Save HL Register 
L3AFC:  LD      HL,03EECh       ; Cursor Location
        CALL    L22C3           ; Set Cursor and Print Text
;----------------------------------------------------
L3B02:  .TEXT   "CREDITS"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        JP      L3B35           ; Goto end





;----------------------------------------------------
;             Print 1 CREDIT
;----------------------------------------------------
L3B0E:  PUSH    HL              ; Save HL Register
        LD      HL,03EE9h       ; Cursor Location
        CALL    L22C3           ; Set Cursor and Print Text
;----------------------------------------------------
L3B15: .TEXT   " 1 CREDIT"     
       .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        JP      L3B35           ; Goto end





;----------------------------------------------------
;               Print FREE PLAY
;----------------------------------------------------
L3B23:  PUSH    HL              ; Save HL Register
        LD      HL,03EEBh       ; Cursor Location
        CALL    L22C3           ; Set Cursor and Print Text
;----------------------------------------------------
L3B2A:  .TEXT   "FREE PLAY"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3B35:  POP     HL              ; Restore HL Register
        POP     DE              ; Restore DE Register
        POP     BC              ; Restore BC Register
        RET                     ; Return









;----------------------------------------------------
;               Flash GAME OVER
;----------------------------------------------------
L3B39:  CALL    L21FF           ; Clear Text Display
        LD      A,041h          ; Text = BLUE, Bkgnd = BLACK
        CALL    L20CA           ; Setup Graphics Chip for Text
        PUSH    HL              ; Save HL Register
        LD      HL,00174h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3B48:  .TEXT   "******************"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3B5C:  PUSH    HL              ; Save HL Register
        LD      HL,0019Ch       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3B63:  .TEXT   "*                *"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001C4h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3B7E:  .TEXT   "*  YOUR  GAME    *"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3B92:  PUSH    HL              ; Save HL Register
        LD      HL,001ECh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
 ;----------------------------------------------------
L3B99:  .TEXT   "*                *"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3BAD:  PUSH    HL              ; Save HL Register
        LD      HL,00214h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3BB4:  .TEXT   "* IS  NOW  OVER  *"             
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
L3BC8:  PUSH    HL              ; Save HL Register
        LD      HL,0023Ch       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3BCF:  .TEXT   "*                *"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00264h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3BEA:  .TEXT   "******************"
        .DB     000h
;----------------------------------------------------     
        POP     HL              ; Restore HL Register
L3BFE:  LD      B,012h          ; Loop = 18 colors
L3C00:  LD      HL,03C28h       ; Point to GAME OVER Color Table
L3C03:  LD      A,(HL)          ; Get Color from table
        INC     HL              ; Point to next color in table
        LD      (0E136h),A      ; Set Color 
        PUSH    HL              ; Save HL Register
        CALL    L22F5           ; Program Graphics Chip
        CALL    L2353           ; Wait for Comm Ready
        CALL    L2353           ; Wait for Comm Ready
        CALL    L2353           ; Wait for Comm Ready
        CALL    L2353           ; Wait for Comm Ready
        CALL    L2353           ; Wait for Comm Ready
        POP     HL              ; Restore HL Register
        DJNZ    L3C03           ; Loop until all colors used
        CALL    Delay100000     ; Delay 100,000
        CALL    Delay100000     ; Delay 100,000
        CALL    L21FF           ; Clear Text Display
        RET                     ; Return








;---------------------------------------------------- 
;         Color Table for GAME OVER
;---------------------------------------------------- 
L3C28:   .DB   011h  ; Text = BLACK,     Bkgnd = BLACK
L3C29:   .DB   021h  ; Text = MED GREEN, Bkgnd = BLACK
L3C2A:   .DB   031h  ; Text = LT GREEN,  Bkgnd = BLACK
L3C2B:   .DB   041h  ; Text = BLUE,      Bkgnd = BLACK
L3C2C:   .DB   051h  ; Text = LT BLUE,   Bkgnd = BLACK
L3C2D:   .DB   061h  ; Text = DK RED,    Bkgnd = BLACK
L3C2E:   .DB   071h  ; Text = CYAN,      Bkgnd = BLACK
L3C2F:   .DB   081h  ; Text = MED RED,   Bkgnd = BLACK
L3C30:   .DB   091h  ; Text = PINK,      Bkgnd = BLACK
L3C31:   .DB   0A4h  ; Text = DK YELLOW, Bkgnd = BLUE
L3C32:   .DB   0B6h  ; Text = LT YELLOW, Bkgnd = DK RED
L3C33:   .DB   0C4h  ; Text = DK GREEN,  Bkgnd = BLUE
L3C34:   .DB   0D6h  ; Text = PURPLE,    Bkgnd = DK RED
L3C35:   .DB   0E4h  ; Text = GRAY,      Bkgnd = BLUE
L3C36:   .DB   0F6h  ; Text = WHITE,     Bkgnd = DK RED
L3C37:   .DB   0F4h  ; Text = WHITE,     Bkgnd = BLUE
L3C38:   .DB   0F1h  ; Text = WHITE,     Bkgnd = BLACK
L3C39:   .DB   0F1h  ; Text = WHITE,     Bkgnd = BLACK








;---------------------------------------------------- 
;            Congratulation Celebration
;---------------------------------------------------- 
L3C3A:  LD      A,(0E126h)      ; Get Control Register      ;
        BIT     1,A             ;
        JR      NZ,L3C3A        ; Wait until LDPlayer not busy?
               
        LD      A,(0E126h)      ; Get Control Register
        BIT     4,A             ;
        JR      NZ,L3C55        ;       
;----------------------------------------------------
;             Send PAUSE Command
;----------------------------------------------------
        LD      A,00Ah          ; Command = PAUSE (0Ah)
        CALL    L207F           ; Send Message to LDPlayer DI
        LD      A,(0E126h)      ; Get Control Register
        SET     4,A             ; Set PAUSE Bit
        LD      (0E126h),A      ; Save Control Register
L3C55:  CALL    L21FF           ; Clear Text Display
        LD      A,059h          ; Text = LT BLUE, Bkgnd = PINK
        CALL    L20CA           ; Setup Graphics Chip for Text
;---------------------------------------------------- 
;       Print Congratulations and rotate asterisks
;----------------------------------------------------
        LD      B,040h          ; Loop = 64
L3C5F:  PUSH    BC              ; Save Rotate Loop Counter

        LD      B,003h          ; Loop = 3
L3C62:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3C62           ; Loop for 3 Comm's

        CALL    L3CBA           ; Print "CONGRATULATIONS" (1)

        LD      B,003h          ; Loop = 3
L3C6C:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3C6C           ; Loop for 3 Comm's

        CALL    L3DCB           ; Print "CONGRATULATIONS" (2)

        LD      B,003h          ; Loop = 3
L3C76:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3C76           ; Loop for 3 Comm's

        CALL    L3EDC           ; Print "CONGRATULATIONS" (3)
        POP     BC              ; Restore Rotate Loop Counter
        DJNZ    L3C5F           ; Continue Rotate Asterisk Loop

        CALL    L3FED           ; Print "CONGRATULATIONS" (4) final

;---------------------------------------------------- 
;          Flash background/text colors
;----------------------------------------------------
        LD      B,01Eh          ; Loop = 30 (should be 15?)
L3C86:  LD      HL,03CABh       ; Point to color data
        LD      E,B             ; Set index
        LD      D,000h          ; Set index
        ADD     HL,DE           ; Add index to color data table
        LD      A,(HL)          ; Get color 
        RLC     A               ; Swap text and background color
        RLC     A               ; Swap text and background color
        RLC     A               ; Swap text and background color
        RLC     A               ; Swap text and background color
        LD      (0E136h),A      ; Set Color
        CALL    L22F5           ; Program Graphics Chip
        CALL    L2353           ; Wait for Comm Ready
        DJNZ    L3C86           ; Loop until all 30 colors displayed
               
        CALL    L3FED           ; Print "CONGRATULATIONS" (4) final
        CALL    L244C           ; Delay 200,000
        CALL    L21FF           ; Clear Text Display
        RET                     ; Return






;----------------------------------------------------
;          Congratulations Color Flash Data
;----------------------------------------------------
L3CAB:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CAC:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CAD:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CAE:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CAF:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CB0:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CB1:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CB2:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CB3:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CB4:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CB5:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CB6:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CB7:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE
L3CB8:   .DB   0F6h  ; Text = WHITE, Bkgnd = DK_RED
L3CB9:   .DB   0F4h  ; Text = WHITE, Bkgnd = BLUE






;----------------------------------------------------
;             Print "CONGRATULATIONS" (1)
;              Alternate asterisks
;----------------------------------------------------
L3CBA:  PUSH    HL              ; Save HL Register
        LD      HL,0016Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
        .TEXT   "*  *  *  *  *  *  *  *  *"
        .DB     000h
;----------------------------------------------------
        PUSH    HL              ; Save HL Register
        LD      HL,00197h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3CE3:  .TEXT   "                         "               
        .DB     000h
;----------------------------------------------------
L3CFD:  POP     HL
        PUSH    HL              ; Save HL Register
        LD      HL,001BFh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3D05:  .TEXT   "*    CONGRATULATIONS     "               
        .DB     000h
;----------------------------------------------------
L3D1F:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001E7h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3D27:  .TEXT   "                        *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0020Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3D49:  .TEXT   "    YOU HAVE COMPLETED   "               
        .DB     000h
;----------------------------------------------------
L3D63:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00237h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3D6B:  .TEXT   "*     THIS CHALLENGE     "               
        .DB     000h
;----------------------------------------------------
L3D85:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0025Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3D8D:  .TEXT   "                        *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00287h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3DAF:  .TEXT   "  *  *  *  *  *  *  *  "     
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        RET                     ; Return







     
;----------------------------------------------------
;             Print "CONGRATULATIONS" (2)
;              Alternate asterisks
;----------------------------------------------------
L3DCB:  PUSH    HL              ; Save HL Register
        LD      HL,0016Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3DD2:  .TEXT   " *  *  *  *  *  *  *  *  "     
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00197h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3DF4:  .TEXT   "*                       *"     
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001BFh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3E16:  .TEXT   "     CONGRATULATIONS     "               
        .DB     000h     
;----------------------------------------------------
L3E30:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001E7h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3E38:  .TEXT   "                         "               
        .DB     000h     
;----------------------------------------------------
L3E52:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0020Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3E5A:  .TEXT   "*   YOU HAVE COMPLETED  *"
        .DB     000h     
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00237h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3E7C:  .TEXT   "      THIS CHALLENGE     "               
        .DB     000h     
;----------------------------------------------------
L3E96:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0025Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text   
;----------------------------------------------------
L3E9E:  .TEXT   "                         "               
        .DB     000h     
;----------------------------------------------------
L3EB8:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00287h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text     
;----------------------------------------------------
L3EC0:  .TEXT   "*  *  *  *  *  *  *  *  *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        RET                     ; Return










;----------------------------------------------------
;             Print "CONGRATULATIONS" (3)
;              Alternate asterisks
;----------------------------------------------------

L3EDC:  PUSH    HL              ; Save HL Register
        LD      HL,0016Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3EE3:  .TEXT   "  *  *  *  *  *  *  *  * "
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00197h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3F05:  .TEXT   "                         "               
        .DB     000h
;----------------------------------------------------
L3F1F:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001BFh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3F27:  .TEXT   "     CONGRATULATIONS    *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001E7h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3F49:  .TEXT   "*                        "     
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0020Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3F6B:  .TEXT   "    YOU HAVE COMPLETED   "               
        .DB     000h
;----------------------------------------------------
L3F85:  POP     HL
        PUSH    HL              ; Save HL Register
        LD      HL,00237h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3F8D:  .TEXT   "      THIS CHALLENGE    *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0025Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3FAF:  .TEXT   "*                        "     
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00287h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3FD3:  .TEXT   "*  *  *  *  *  *  *  * "
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        RET                     ; Return   









;----------------------------------------------------
;             Print "CONGRATULATIONS" (4)
;                 Full asterisks
;----------------------------------------------------
L3FED:  PUSH    HL              ; Save HL Register
        LD      HL,0016Fh       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L3FF4:  .TEXT   "*************************"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00197h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L4016:  .TEXT   "*                       *"P
        .DB     000h
;----------------------------------------------------             
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001BFh       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L4038:  .TEXT   "*    CONGRATULATIONS    *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001E7h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L405A:  .TEXT   "*                       *"     
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0020Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L407C:  .TEXT   "*   YOU HAVE COMPLETED  *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00237h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L409E:  .TEXT   "*     THIS CHALLENGE    *"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0025Fh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L40C0:  .TEXT   "*                       *"     
        .DB     000h
;----------------------------------------------------
L40DA:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,00287h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L40E2:  .TEXT   "*************************"
        .DB     000h
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        RET                     ; Return








;----------------------------------------------------
;          Start of SERVICE MODE
;----------------------------------------------------
L40FE:  CALL    L1627           ; Reset Bookkeeping Data
        CALL    L245B           ; Get ALL Input Data
        LD      SP,0F000h       ; Set Stack Pointer
L4107:  LD      A,(0E126h)      ; Get Control Register
        BIT     1,A
        JR      NZ,L4107               
        LD      A,(0E126h)      ; Get Control Register
        BIT     4,A
        JR      NZ,L4122               
;----------------------------------------------------
;             Send PAUSE Command
;----------------------------------------------------
        LD      A,00Ah          ; Command = PAUSE (0Ah)
        CALL    L207F           ; Send Message to LDPlayer DI
        LD      A,(0E126h)      ; Get Control Register
        SET     4,A             ; Set PAUSE Bit
        LD      (0E126h),A      ; Save Control Register

L4122:  CALL    L21FF           ; Clear Text Display
        LD      A,0E1h          ; Text = GRAY, Bkgnd = BLACK
        CALL    L20CA           ; Setup Graphics Chip for Text
L412A:  LD      A,005h          ; A = Rectangle starting row 
        LD      (0E1E6h),A      ; Save starting row
        CALL    L4389           ; Draw Rectangle
        LD      A,002h          ;
        LD      (0E1E5h),A      ;
        LD      A,(0E193h)      ; Get Button Data
        BIT     2,A             ; Is PLAYER1/FEET pressed?
        JP      NZ,L412A        ; No, loop until button pressed
        PUSH    HL              ; Save HL Register
        LD      HL,00031h       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L4146:  .TEXT   "SERVICE MODE MAIN MENU"
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,000CDh       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L4165:  .TEXT   "1. BOOKKEEPING"
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0011Dh       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L417C:  .TEXT   "2. GAME ADJUSTMENTS"     
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0016Dh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L4198:  .TEXT   "3. CREDIT/COIN SETTINGS"     
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,001BDh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L41B8:  .TEXT   "4. MONITOR TESTS"     
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0020Dh       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L41D1:  .TEXT   "5. SOUND TESTS" 
        .DB   000h 
;----------------------------------------------------   
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0025Dh       ; Cursor Position
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L41E8:  .TEXT   "6. GAME PLAY STATISTICS"
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        CALL    L4214           ; Print Control Instructions
L4204:  CALL    L4386           ; Draw Rectangle at Row (E1E6)
        CALL    L42B9           ; Process Service Mode User Input
        LD      B,004h          ; Loop = 4
L420C:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L420C           ; Loop for 4 Comm's
        JP      L4204           ; Continue Mode









;----------------------------------------------------
;           Print Control Instructions
;----------------------------------------------------
L4214:  PUSH    HL              ; Save HL Register
        LD      HL,002ACh       ; Cursor Location
L4218:  CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L421B:  .TEXT   "--------- controls: ------------"     
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,002FCh       ; Cursor Location
L4241:  CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L4244:  .TEXT   "joystick up/down to move cursor "   
        .DB   000h 
;----------------------------------------------------             
L4265:  POP     HL              ; Restore HL Register
        PUSH    HL              ; Save HL Register
        LD      HL,0034Ch       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L426D:  .TEXT   "    player 1 = select option    "   
        .DB   000h 
;---------------------------------------------------- 
        POP     HL              ; Restore HL Register
L428F:  PUSH    HL              ; Save HL Register
        LD      HL,0039Ch       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text
;----------------------------------------------------
L4296:  .TEXT   "    player 2 = exit back to here"   
        .DB   000h 
;---------------------------------------------------- 
        POP     HL              ; Restore HL Register
L42B8:  RET                     ; Return










;----------------------------------------------------
;         Process Service Mode User Input
;----------------------------------------------------
L42B9:  LD      B,001h          ; Loop = 1
L42BB:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L42BB           ; Loop for 1 Comm

        CALL    L245B           ; Get ALL Input Data
L42C3:  LD      A,(0E18Dh)      ; Get DIP Switches 12-19
L42C6:  BIT     0,A             ; Check Service Mode
        JP      Z,L000B         ; Leave Service Mode and start game

        LD      A,(0E196h)      ; Get Joystick Input
        BIT     0,A             ; Is Joystick UP pressed?
        JR      NZ,L42F6        ; Yes, so move up       
        BIT     2,A             ; Is Joystick DOWN pressed?
L42D4:  JR      NZ,L4311        ; Yes, so move down
        LD      A,(0E1E5h)      ;
        CP      002h            ;
        JR      NZ,L42E5        ;       
        LD      A,(0E193h)      ; Get Button Data
        BIT     2,A             ; Is PLAYER1/FEET pressed?
        JP      NZ,L43C3        ; Yes, so select category
L42E5:  LD      A,(0E193h)      ; Get Button Data
        BIT     3,A             ; Is PLAYER2/FEET pressed?
        RET     Z               ; No so return
;----------------------------------------------------
;       Player 2 Button pressed so Exit Category
;----------------------------------------------------
        LD      A,(0E192h)      ; Get Button Data
        RES     3,A             ; Clear out Player2 Button presses
L42F0:  LD      (0E192h),A      ; Save modified Button Data
L42F3:  JP      L40FE           ; Go to Service Mode

;----------------------------------------------------
;           Move UP one menu choice
;----------------------------------------------------
L42F6:  LD      A,(0E1E6h)      ; Get User Selection
        DEC     A               ; Decrement selection
        DEC     A               ; Decrement selection
        CALL    L4330           ; Is selection still valid?
        RET     Z               ; No, so stay put
        CALL    L4353           ; Erase old rectangle
        LD      A,(0E1E6h)      ; Get User Selection
        DEC     A               ; Decrement selection
        DEC     A               ; Decrement selection
        LD      (0E1E6h),A      ; Save new selection
        CALL    L4389           ; Draw new rectangle           
L430D:  CALL    L4328           ; Loop for 5 Comm's
        RET                     ; Return

;----------------------------------------------------
;           Move DOWN one menu choice
;----------------------------------------------------
L4311:  LD      A,(0E1E6h)      ; Get User Selection
        INC     A               ; Increment selection
        INC     A               ; Increment selection
        CALL    L4330           ; Is selection still valid?
        RET     Z               ; No, so stay put
        CALL    L4353           ; Erase old rectangle
        LD      A,(0E1E6h)      ; Get User Selection
        INC     A               ; Increment selection
        INC     A               ; Increment selection
        LD      (0E1E6h),A      ; Save new selection
        CALL    L4389           ; Draw new rectangle           

L4328:  LD      B,005h          ; Loop = 5
L432A:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L432A           ; Loop for 5 Comm's
        RET                     ; Return








;----------------------------------------------------
;        A = Number to Compare
;----------------------------------------------------
L4330:  PUSH    AF              ; Save AF Register
        LD      A,(0E1E5h)     
        LD      B,003h          ; B = 3
        LD      C,011h          ; C = 17
        BIT     1,A             ;
        JR      NZ,L4347        ;       
        LD      B,003h          ; B = 3
        LD      C,009h          ; C = 9
        BIT     6,A             ;
        JR      NZ,L4347        ;       
        POP     AF              ;
        JR      L4351           ;       
L4347:  POP     AF              ;
        CP      B               ;
        JR      C,L4351         ;       
        JR      Z,L4351         ;       
        CP      C               ;
        JR      NC,L4351        ;       
        RET                     ; Return

L4351:  XOR     A               
        RET                     ; Return







;----------------------------------------------------
;         Erase Rectangle from Display
;----------------------------------------------------
;      E1E6     Row to start rectangle
;
;        20h, 20h, 20h, 20h, 20h, 20h
;        20h                      20h
;        20h, 20h, 20h, 20h, 20h, 20h
;----------------------------------------------------
L4353:  LD      A,(0E1E6h)      ; Get Row Number
        LD      D,000h          ; Location X = 0
        LD      E,A             ; Location Y = Row Number
        LD      A,020h          ; A = Character space
        CALL    L2233           ; Print one Character to Text Display
        LD      D,027h          ; Location X = 39
        CALL    L2233           ; Print one Character to Text Display
        LD      D,000h          ; Location X = 0
        PUSH    DE              ; Save X,Y location
        DEC     E               ; Y = Y - 1
        LD      A,020h          ; A = Character space
        CALL    L2233           ; Print one Character to Text Display

        LD      B,027h          ; Loop = 39 Columns
L436E:  LD      A,020h          ; A = Character space
        CALL    L2256           ; Print A to Text Display
        DJNZ    L436E           ; Loop until line printed     

        POP     DE              ; Get row number
        INC     E               ; Y = Y + 1
        LD      A,020h          ; A = Character space
        CALL    L2233           ; Print one Character to Text Display

        LD      B,027h          ; Loop = 39 Columns
L437E:  LD      A,020h          ; A = Character space
        CALL    L2256           ; Print A to Text Display
        DJNZ    L437E           ; Loop until line printed       
        RET                     ; Return








;----------------------------------------------------
;            Draw Rectangle to Display
;----------------------------------------------------
;      E1E6     Row to start rectangle
;
;        83h, 80h, 80h, 80h, 80h, 82h
;        81h                      81h
;        85h, 80h, 80h, 80h, 80h, 84h
;----------------------------------------------------
L4386:  LD      A,(0E1E6h)      ; Get Row location
L4389:  LD      D,000h          ; Cursor X = 0
        LD      E,A             ; Cursor Y = Row
        LD      A,081h          ; A = Character Verticle Line
        CALL    L2233           ; Print one Character to Text Display
        LD      D,027h          ; Cursor X = 39  (upper right corner)
        CALL    L2233           ; Print one Character to Text Display

        LD      D,000h          ; Cursor X = 0   
        PUSH    DE              ; Save Cursor Position
;----------------------------------------------------
;              Print top line
;----------------------------------------------------
        DEC     E               ; Move up one row
        LD      A,083h          ; A = Character Upper Left Corner 
        CALL    L2233           ; Print one Character to Text Display
        LD      B,026h          ; Loop = 38 Columns
L43A1:  LD      A,080h          ; A = Character Horizontal Line
        CALL    L2256           ; Print A to Text Display
        DJNZ    L43A1           ; Loop until whole line is printed                         
        LD      A,082h          ; A = Character Upper Right Corner
        CALL    L2256           ; Print A to Text Display
        POP     DE              ; Save Cursor Position
;----------------------------------------------------
;            Print bottom line
;----------------------------------------------------
        INC     E               ; Jump down one row
        LD      A,085h          ; A = Character Lower Left Corner
        CALL    L2233           ; Print one Character to Text Display
        LD      B,026h          ; Loop = 38 Columns
L43B6:  LD      A,080h          ; A = Character Horizontal Line
        CALL    L2256           ; Print A to Text Display
        DJNZ    L43B6           ; Loop until whole line is printed             
        LD      A,084h          ; A = Character Lower Right Corner 
        CALL    L2256           ; Print A to Text Display
        RET                     ; Return






;----------------------------------------------------
;      Player1 Button pressed so select category
;----------------------------------------------------
L43C3:  CALL    L21FF           ; Clear Text Display
        LD      A,0E1h          ; Text = GRAY, Bkgnd = BLACK
        CALL    L20CA           ; Setup Graphics Chip for Text
        LD      A,(0E1E5h)
        CP      002h
        JP      NZ,L40FE        ; Go to Service Mode
        LD      A,(0E1E6h)      ; Get User Selection
        CP      010h            ; Is selection > 16?
        JP      NC,L40FE        ; Yes, so return to Service Mode
        SUB     005h            ;
        LD      E,A             ;
        LD      D,000h          ;
        LD      HL,043E9h       ;
        ADD     HL,DE           ;
        LD      A,(HL)          ;
        INC     HL              ;
        LD      H,(HL)          ;
        LD      L,A             ;
        JP      (HL)            ;



;----------------------------------------------------
;         Service Mode Routine Addresses
;----------------------------------------------------
L43E9:  .DW   049E2h    ; BOOKKEEPING
L43EB:  .DW   0465Bh    ; GAME ADJUSTMENTS
L43ED:  .DW   04CD2h    ; CREDIT/COIN SETTINGS         
L43EF:  .DW   043F5h    ; MONITOR TEST         
L43F1:  .DW   04BF0h    ; SOUND TEST 
L43F3:  .DW   04DEBh    ; GAME PLAY STATISTICS
;----------------------------------------------------








;----------------------------------------------------
;            Service Mode:  MONITOR TEST
;----------------------------------------------------
L43F5:  XOR     A               ; User Selection = 0
        LD      (0E1E6h),A      ; Reset User Selection 
        LD      A,020h          ;
        LD      (0E1E5h),A      ;

L43FE:  LD      B,001h          ; Loop = 1
L4400:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L4400           ; Loop for 1 Comm       

        CALL    L245B           ; Get ALL Input Data

        LD      B,001h          ; Loop = 1
L440A:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L440A           ; Loop for 1 Comm

        CALL    L21FF           ; Clear Text Display
        PUSH    HL              ; Save HL Register
        LD      HL,00057h       ; Cursor Location
        CALL    L2212           ; Set Cursor and Print Text 
;----------------------------------------------------
L4419:  .TEXT   "SERVICE MODE 04: CRT TESTS"     
        .DB   000h 
;----------------------------------------------------
        POP     HL              ; Restore HL Register
        LD      A,016h          ; Text = BLACK, Bkgnd = DK RED
        CALL    L20CA           ; Setup Graphics Chip for Text

L443A:  CALL    L4635
        JR      Z,L443A                 
        LD      A,013h          ; Text = BLACK, Bkgnd = LT_GREEN
        CALL    L20CA           ; Setup Graphics Chip for Text

L4444:  CALL    L4635
        JR      Z,L4444                 
        LD      A,015h          ; Text = BLACK, Bkgnd = LT_BLUE
        CALL    L20CA           ; Setup Graphics Chip for Text

L444E:  CALL    L4635
        JR      Z,L444E                 
        CALL    L21FF           ; Clear Text Display
        LD      A,0F1h          ; Text = WHITE, Bkgnd = BLACK
        CALL    L20CA           ; Setup Graphics Chip for Text
        LD      HL,045C9h       ; HL = Table Pointer (below)
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,L0000        ;
        LD      A,028h          ; 40 character to print
        CALL    L2224           ; Print to Text Display
        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00028h       ;
        LD      A,028h          ;
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00050h       ;
        LD      A,028h          ;
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00078h       ;
        LD      A,028h          ;
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,000A0h       ;
        LD      A,028h          ;
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,000C8h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE

        LD      B,001h          ; Loop = 1
L44B1:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L44B1           ; Loop for 1 Comm
                 
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,000F0h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00118h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00140h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00168h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ;

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00190h       ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh
        PUSH    DE
        EX      DE,HL
        LD      HL,001B8h
        LD      A,028h          ; 40 Characters to print
        CALL    L2224

        POP     DE

        LD      B,001h          ; Loop = 1
L450C:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L450C           ; Loop for 1 Comm                 

        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,001E0h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ;

        POP     DE
        LD      HL,045FFh
        PUSH    DE
        EX      DE,HL
        LD      HL,00208h
        LD      A,028h          ; 40 Characters to print
        CALL    L2224
        POP     DE
        LD      HL,045C9h
        PUSH    DE
        EX      DE,HL
        LD      HL,00230h
        LD      A,028h
        CALL    L2224
        POP     DE
        LD      HL,045FFh
        PUSH    DE
        EX      DE,HL
        LD      HL,00258h
        LD      A,028h          ; 40 Characters to print
        CALL    L2224
        POP     DE
        LD      HL,045C9h
        PUSH    DE
        EX      DE,HL
        LD      HL,00280h
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ;

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,002A8h       ;
        LD      A,028h          ; 40 Characters to print
        CALL    L2224           ;

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,002D0h       ;
        LD      A,028h          ;
        CALL    L2224           ; Print to Text Display

        POP     DE              ;

        LD      B,001h          ; Loop = 1
L4575:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L4575           ; Loop for 1 Comm

        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,002F8h       ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00320h       ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,L0348        ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045C9h       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00370h       ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
        LD      HL,045FFh       ;
        PUSH    DE              ;
        EX      DE,HL           ;
        LD      HL,00398h       ;
        LD      A,028h          ; 40 characters to print
        CALL    L2224           ; Print to Text Display

        POP     DE              ;
L45C0:  CALL    L4635           ;
        JP      Z,L45C0         ;
        JP      L43FE           ; Loop back to Monitor Test





;----------------------------------------------------
;       Data unknown
;----------------------------------------------------
L45C9:   .DB  080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h
         .DB  086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h
         .DB  080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h
         .DB  080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 080h, 080h, 086h, 020h, 020h
         .DB  081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h
         .DB  020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h
         .DB  020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h
         .DB  081h, 020h, 020h, 081h, 020h, 020h, 081h, 020h, 020h, 081h
 







;----------------------------------------------------
;
;----------------------------------------------------
L4635:  LD      A,(0E18Dh)      ; Get DIP Switches 12-19
        BIT     0,A             ; Check Service Index (sw 12)?
        JP      Z,L0604         ;

        LD      B,002h          ; Loop = 2
L463F:  CALL    L2353           ; Wait for Comm Ready
L4642:  DJNZ    L463F           ; Loop for 2 Comm's

        LD      A,(0E193h)      ; Get Button Data
        BIT     3,A             ; Is PLAYER2/FEET pressed?
        JP      NZ,L40FE        ; Yes, exit and return to Service Mode
        LD      A,(0E192h)      ; Get Button Data
        BIT     2,A             ; Is PLAYER1/FEET pressed?
L4651:  RET     Z               ; No, so return
        LD      A,(0E192h)      ; Get Button Data
        RES     2,A             ; Clear PLAYER1/FEET button
        LD      (0E192h),A      ; Save Button Data
        RET                     ; Return








;----------------------------------------------------
;                 Game Adjustments
;----------------------------------------------------
L465B:  LD      B,001h          ; Loop = 1
L465D:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L465D           ; Loop for 1 Comm
               
        XOR     A               ; A = 0
        LD      (0E1E6h),A      ;
        LD      A,008h          ;
        LD      (0E1E5h),A      ;

L466B:  LD      B,001h          ; Loop = 1
L466D:  CALL    L2353           ; Wait for Comm Ready
        DJNZ    L466D           ; Loop for 1 Comm
               
        CALL    L245B           ; Get ALL Input Data


NEXT PAGE
 


HOME  

  ROMHACK 2009