Skip to main content

Questions tagged [switch-statement]

Filter by
Sorted by
Tagged with
-2 votes
2 answers
65 views

The reason I wanted to ask is because of some code from Undertale that is responsible for choosing which dialogue set to use. It works something like this: switch (id) { case 0: msg[0] = &...
Bunabyte's user avatar
  • 647