Commit Graph

5 Commits

Author SHA1 Message Date
Tsank35
33d3b080d4 Removed get_room_type() from CoinHeaven.gd
Godot craps it pants when running this script it export mode.
Removing the function fixes that.
2025-10-08 12:11:59 -07:00
Tsank35
27ae3d5612 Room variation types (#517)
* Global.gd now has an extra variable for current room type

* ResourceSetterNew.gd now has variation category for room types

The state variable also had to include the room type, since it wouldn't update properly when entering a bonus room from a level that's already underground

* LevelClass.gd sets room type on update_theme

A new function, get_room_type() allows for the level's room type to be detected, which can easily be overwritten by other level classes. Bonus Rooms are detected by comparing the level's scene path to a pre-defined list of bonus rooms.

* Added get_room_type() to CoinHeaven.gd

* Added get_room_type() to PipeCutscene.gd

Also updates the room type in _enter_tree() since update_theme() isn't called here.

* Added get_room_type() to TitleScreen.gd
2025-10-06 22:05:43 +01:00
JHDev2006
515673860f Fixed world 9-3 coin heaven 2025-09-21 21:29:59 +01:00
JHDev2006
e438354bf8 Fixed SMBS coin heavens, wrong warping you to SMB1, HOPEFULLY fixed some weird coin heaven deaths, and also added zip checking to the rom verifier, so that bad sprite rips dont happen (HOPEFULLY) 2025-09-16 10:41:31 +01:00
JHDev2006
3773bdaf64 added the game 2025-09-13 16:30:32 +01:00