Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

while playing through the public version i encountered this error whenever i choose the "Follow the notes." option after unlocking the bath

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/script.rpy", line 648, in script call

  File "game/bathroom.rpy", line 206, in script

  File "game/bathroom.rpy", line 206, in <module>

TypeError: 'float' object cannot be interpreted as an integer

-- Full Traceback ------------------------------------------------------------

Traceback (most recent call last):

  File "game/script.rpy", line 648, in script call

  File "game/bathroom.rpy", line 206, in script

  File "renpy/ast.py", line 1187, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/python.py", line 1273, in py_exec_bytecode

    exec(bytecode, globals, locals)

    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "game/bathroom.rpy", line 206, in <module>

  File "lib/python3.12/random.py", line 336, in randint

  File "lib/python3.12/random.py", line 301, in randrange

TypeError: 'float' object cannot be interpreted as an integer

Windows-11-10.0.26100-SP0 AMD64

Ren'Py 8.5.0.25111603

Under Your Spell 0.4.0p

Fri Dec 19 02:15:57 2025

[/code]

(1 edit)

Thank you. This has been fixed, and the fixed version have been uploaded 👍