mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2024-06-19 11:29:35 +00:00
consistent hints filenames
This commit is contained in:
parent
a48ebc10c8
commit
ab07090b46
Binary file not shown.
10
src/action.a
10
src/action.a
|
@ -17,9 +17,6 @@ kGameRootDirectory ; length-prefixed pathname of where game su
|
|||
kHintsRootDirectory ; length-prefixed pathname of where game subdirectories are stored
|
||||
!byte 5
|
||||
!raw "PRIZM/"
|
||||
kHintsSuffix
|
||||
!byte 3
|
||||
!raw ".Z5"
|
||||
kArtworkRootDirectory ; length-prefixed pathname of DHGR box art
|
||||
!byte 8
|
||||
!raw "ARTWORK/"
|
||||
|
@ -255,18 +252,11 @@ callback_clues
|
|||
jsr SetPrefix
|
||||
!word gPathname
|
||||
; put just the filename at $2006
|
||||
jsr ResetPath
|
||||
lda gCurrentGame
|
||||
asl
|
||||
tax
|
||||
lda GAMES,x
|
||||
ldy GAMES+1,x
|
||||
jsr AddToPath ; hints filename = game filename + hints suffix
|
||||
lda #<kHintsSuffix
|
||||
ldy #>kHintsSuffix
|
||||
jsr AddToPath
|
||||
lda #<gPathname
|
||||
ldy #>gPathname
|
||||
jsr SetStartupPath
|
||||
; shutdown WeeGUI and transfer control to interpreter
|
||||
jsr ExitWeeGUI
|
||||
|
|
Loading…
Reference in New Issue
Block a user