Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

bitsy

a little engine for little games, worlds, and stories · By adam le doux

dialogue issue?

A topic by darkcry007 created Apr 19, 2023 Views: 136 Replies: 1
Viewing posts 1 to 2

Hello, I'm new to using bitsy and was wondering if I could get some help? Even with the items in the inventory, it skips to the sequence dialogue instead for reasons I don't understand. here's the code

{

  - {item "CURIOSITY"} == 1 ?

    WHO'S "HER"? {pg} SHE WAS MY DAUGHTER. {pg} MEWIA. SHE... SHE PASSED A FEW YEARS AGO...
  - else ?

}{

  - {item "EMPATHY"} == 1 ?

    YOU'RE SORRY?...{pg} THANK YOU. YOUR VOICE IS JUST LIKE HERS. {pg} SHE DIDN'T FEEL ABLE TO TELL US HER TRUE FEELINGS {pg} HER GENDER WAS GHOST... AND NOW I'M TALKING TO ONE... {pg}TALK ABOUT A COINCIDENCE

  - else ?

}{sequence

  - E-EEK! A GHOST! {pg}SORRY, I NEED TO WORK ON THAT.{pg}I HAVEN'T SEEN A GHOST FOR A WHILE.

  - YOU DON'T KNOW HOW YOU'RE A GHOST? {pg} MAYBE YOU HAVE SOME UNFINISHED BUSINESS?...{pg}YOU'D BE JUST LIKE HER IF...

}

Seems to be a nesting issue, I got it to work with this:

{

  - {item "CURIOSITY"} == 1 ?

    WHO'S "HER"? {pg} SHE WAS MY DAUGHTER. {pg} MEWIA. SHE... SHE PASSED A FEW YEARS AGO...

  - {item "EMPATHY"} == 1 ?

    YOU'RE SORRY?...{pg} THANK YOU. YOUR VOICE IS JUST LIKE HERS. {pg} SHE DIDN'T FEEL ABLE TO TELL US HER TRUE FEELINGS {pg} HER GENDER WAS GHOST... AND NOW I'M TALKING TO ONE... {pg}TALK ABOUT A COINCIDENCE

  - else ?

    {sequence

  - E-EEK! A GHOST! {pg}SORRY, I NEED TO WORK ON THAT.{pg}I HAVEN'T SEEN A GHOST FOR A WHILE.

  - YOU DON'T KNOW HOW YOU'RE A GHOST? {pg} MAYBE YOU HAVE SOME UNFINISHED BUSINESS?...{pg}YOU'D BE JUST LIKE HER IF...

}