Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: WoodBox

A wooden box that can be destroyed through most of the player and enemy attacks. It can spawn various different items when destroyed.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Coin Count: The number of Coins to be spawned when destroyed. Default 1.

    Obj_arg1BooleanBothFalse

    Remnants Type: Can be used to hide the broken remnants when destroyed.

    • -1: Show broken remnants
    • 0: Hide broken remnants
    Obj_arg2IntegerBothFalse

    Star Bit Count: The number of Star Bits to be spawned when destroyed. Default 0.

      Obj_arg3IntegerBothFalse

      Riddle SFX Type: If enabled, will play a jingle when broken.

      • -1: No special sound effect
      • 1: SE_SY_READ_RIDDLE_S
      Obj_arg4BooleanBothFalse

      1-Up Type: Can be used to specify whether a 1-Up Mushroom should be spawned or not.

      • -1: Spawns no 1-Up Mushroom
      • 1: Spawns 1-Up Mushroom
      Obj_arg7IntegerBothFalse

      Power Star ID: The scenario ID of the Power Star to be spawned. -1 does not register a Power Star.

        Switches

        NameGamesRequired?Description
        SW_DEADBothFalse

        Gets activated when destroyed.

        SW_AWAKEBothFalse

        Enables rendering and resumes updates when this switch is active.

        Setup

        NameGamesRequired?DescriptionValues
        ClippingGroupBothFalse

        Objects in this group are always clipped together. The limit of objects is 32 in SMG1 and 96 in SMG2.

          AppearPowerStarBothFalse

          Spawned after destroying it. Requires Obj_arg7 to be set to a proper Power Star ID.

            Properties

            NameGamesDescription
            Player2TargetableSMG2

            Can be targeted and destroyed by player 2.