Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: BreakableCage

A destroyable obstacle that can be destroyed using Koopa Shells, Yoshi's projectiles or any enemy attack except enemy fire damage. Most of its variants can contain an item. Except for Star Bits and Power Stars, the items are only cosmetic. If the item is set to Power Star, the object also requires a proper setup in the galaxy's Scenario file. When BreakableCageL gets destroyed, it will always play the "riddle solved" jingle.

Arguments

NameTypeGamesRequired?DescriptionValuesExclusives?
Obj_arg0FloatBothFalse

Rotation Speed: The rate at which the cage rotates. Negative values invert the direction.

    • BreakableCageRotate
    Obj_arg1BooleanBothFalse

    Ignore Gravity?: If enabled, the rotation will not be affected by gravity.

      • BreakableCage
      • BreakableCageRotate
      • BreakableCageL
      • BreakableCapsuleCage
      • BreakableTrash
      Obj_arg2BooleanBothFalse

      Delay SW_DEAD Activation?: When enabled, SW_DEAD will be activated immediately instead of having to wait for the breaking animation to finish.

          Obj_arg3BooleanSMG2False

          Play Riddle SFX?: If enabled, it will play the "riddle solved" jingle when destroyed.

            • BreakableCage
            • BreakableCageRotate
            Obj_arg6IntegerBothFalse

            Toad/Luma Color: The color frame of the Toad or Luma contained inside the cage.

              • BreakableCage
              • BreakableCageRotate
              • BreakableCageL
              • BreakableCapsuleCage
              • BreakableTrash
              Obj_arg7IntegerBothFalse

              Item Type: The item that is displayed inside the cage. 5 Star Bits and Power Stars can be spawned directly.

              • -1: Nothing
              • 0: Coin
              • 1: Toad
              • 2: Sling Star
              • 3: Launch Star
              • 4: Star Bits
              • 5: Luma
              • 6: Key
              • 7: Power Star
              • 8: 1-Up Mushroom
              • 9: Goomba
              • 10: Blue Star Chip
              • 11: Yellow Star Chip
              • 12: Silver Star
              • 13: Grand Star
              • 14: Life Mushroom
              • BreakableCage
              • BreakableCageRotate
              • BreakableCageL
              • BreakableCapsuleCage
              • BreakableTrash

              Switches

              NameGamesRequired?Description
              SW_APPEARBothFalse

              Appears when this switch is activated.

              SW_DEADBothFalse

              Gets activated after destroying this object.

              SW_ABothFalse

              Registered to be set but never used.

              SW_BBothFalse

              Gets deactivated after destroying this object.

              SW_AWAKEBothFalse

              Enables rendering and resumes updates when this switch is active.

              Setup

              NameGamesRequired?DescriptionValuesExclusives?
              GroupBothFalse

              Used to group several trash piles for use with the Gearmo mini-game.

                • BreakableTrash
                ClippingGroupBothFalse

                Objects in this group are always clipped together.

                    AppearPowerStarBothFalse

                    Spawned after destroying it. Requires Obj_arg7 to be set to 7.

                      • BreakableCage
                      • BreakableCageRotate
                      • BreakableCageL
                      • BreakableCapsuleCage
                      • BreakableTrash
                      CameraBothFalse

                      Used when it gets destroyed.

                          DemoCastBothFalse

                          Can take part in a cutscene.

                              Properties

                              NameGamesDescription
                              SearchTurtleBoth

                              Red Koopa Shells and Gold Shells home in on this object.