Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: PunchBox

A Brick Block that can be destroyed through all of the player's attacks. It may drop a Coin when destroyed. However, when destroyed through SW_A, it drops one Star Bit.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Number of Coins: The number of Coins to be dropped. Default is 1.

    Obj_arg1IntegerBothFalse

    Shadow Type: Specifies whether to use a shadow or not.

    • -1: Use shadow
    • 0: Disable shadow

    Switches

    NameGamesRequired?Description
    SW_DEADSMG2False

    Gets activated when destroyed.

    SW_ABothFalse

    Destroys the block once activated.

    SW_AWAKESMG2False

    The object will become visible and resume movement when this switch is activated.

    Setup

    NameGamesRequired?DescriptionExclusives?
    ClippingGroupBothFalse

    Objects in this group are always clipped together.

    • PunchBox

    Properties

    NameGamesDescription
    SearchTurtleBoth

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