Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

does anyone know how the three armed bandit works?

(+1)

Nothing in the game is hidden or locked. The OBJ code for the three-armed bandit is in the following locations:

  • Render code for the reels and handles:
    • GFSOBJ\REEL.OBJ
    • GFSOBJ\HANDLE.OBJ
  • Input handling:
    • GFSOBJ\W9IMP.OBJ
  • Time tracking + Board change handling:
    • GFSOBJ\STBASIC.OBJ

Additionally, some onboard objects are present that handle various aspects of the bandit's function. These are all on the three-armed bandit board, titled "%Story% Week 9":

  • [9,13] @l4wild
    • Handles the random speeding up and slowing down of the reel.
  • [29,8] @L5capture
    • Displays the number that appears at the top right of the Bandit.
  • [2,3] @taunt1
    • Displays the quotations at the top left of the screen.
  • [9,14] [9,15] [9,16] @Handle1 @Handle2 @Handle3
    • Tracks the number of pulls of a given handle. After 18 pulls of any one handle, "GIVE UP" will appear as an option on screen.

Final notes:

There is some cheeky code in GFSOBJ\HANDLE.OBJ that is probably the code you're looking for. It's the critical code determining the value of the number in the top right of the bandit, and whether the reels stop. Local5 and Local7 are the primary variables involved.