Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: CrystalCageL

A large crystal with a Power Star trapped inside that requires two hits with a Spin Attack to be destroyed. The Power Star spawns once the crystal gets destroyed. This requires an edit to the galaxy's Scenario file.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Power Star ID: The scenario ID of the Power Star to be spawned. -1 will look for the first scenario entry.

    Switches

    NameGamesRequired?Description
    SW_DEADBothFalse

    Gets activated once it is destroyed.

    SW_AWAKESMG2False

    Enables rendering and resumes updates when this switch is active.

    Setup

    NameGamesRequired?DescriptionValues
    GroupBothFalse

    Registers crystals of the same object type, but the group is never used for anything.

      AppearPowerStarBothTrue

      Appears after it gets destroyed.

        DemoCastBothFalse

        Can take part in a cutscene.