Skip to content

Commit

Permalink
bug fixes to gamebook engine
Browse files Browse the repository at this point in the history
  • Loading branch information
daelsepara committed Aug 15, 2020
1 parent 3727f74 commit 01dab04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gamebook.zil
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<SET KEY <INPUT 1>>
<COND (<AND <G=? .KEY !\1> <L=? .KEY !\9>>
<SET CHOICE <- .KEY !\0>>
<COND (<AND <G=? .CHOICES 1> <L=? .CHOICE <GET .CHOICES 0>>>
<COND (<AND <G=? <GET .CHOICES 0> 1> <L=? .CHOICE <GET .CHOICES 0>>>
<COND (<AND <G=? .CHOICE 1> <L=? .CHOICE <GET .DESTINATIONS 0>> <L=? .CHOICE <GET .TYPES 0>>>
<SET TYPE <GET .TYPES .CHOICE>>
<COND (<EQUAL? .TYPE R-NONE>
Expand Down Expand Up @@ -1394,7 +1394,7 @@
>
<COND (<AND <G=? .KEY !\1> <L=? .KEY !\9>>
<SET CHOICE <- .KEY !\0>>
<COND (<AND <G=? CHARACTERS 1> <G=? .CHOICE 1> <L=? .CHOICE <GET CHARACTERS 0>>>
<COND (<AND <G=? <GET CHARACTERS 0> 1> <G=? .CHOICE 1> <L=? .CHOICE <GET CHARACTERS 0>>>
<SET CHARACTER <GET CHARACTERS .CHOICE>>
<CRLF>
<DESCRIBE-CHARACTER .CHARACTER>
Expand Down

0 comments on commit 01dab04

Please sign in to comment.