diff --git a/res/Pitch Dark.master games collection.do.not.edit.2mg b/res/Pitch Dark.master games collection.do.not.edit.2mg index 91d620e..d93680f 100644 Binary files a/res/Pitch Dark.master games collection.do.not.edit.2mg and b/res/Pitch Dark.master games collection.do.not.edit.2mg differ diff --git a/src/action.a b/src/action.a index c0d9478..cc0a047 100644 --- a/src/action.a +++ b/src/action.a @@ -134,7 +134,6 @@ HandleKey lda #0 .xyzzyStoreAndExit sta .xyzzy -.nope jmp SoftBell .xyzzy !byte $00 @@ -148,19 +147,21 @@ HandleKey jsr AddToPath jsr SetPrefix !word gPathname - bcs .nope + bcs .xyzzyError jsr ResetPath lda #<.dhrslideFilename ldy #>.dhrslideFilename jsr AddToPath jsr LoadFile !word gPathname - !word $2000 + !word kSystemAddress !word $2000 !word kProDOSFileBuffer - bcs .nope + bcs .xyzzyError jsr ExitWeeGUI - jmp $2000 + jmp kSystemAddress +.xyzzyError + jmp MainScreen .dhrslideFilename !byte 15 !raw "DHRSLIDE.SYSTEM" @@ -220,7 +221,7 @@ callback_boxart + jsr LoadDHRFile ; load artwork from file !word gPathname !word kProDOSFileBuffer - bcs .nope + bcs .boxartError sta $C000 ; display double hi-res page 1 sta $C00D @@ -238,7 +239,7 @@ callback_boxart sta $C001 ; back to text sta $C051 rts -.nope +.boxartError jmp SoftBell } @@ -246,7 +247,7 @@ callback_boxart callback_clues jsr SaveGlobalPreferences jsr LoadInterpreter - bcs .nope + bcs .cluesError ; change prefix to folder of file we want the interpreter to open jsr ResetPath lda #