Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: YellowChipGroup

Controls a group of Yellow Star Chips (YellowChip) and activates SW_A once all of them have been collected. It is recommended to have five Yellow Star Chips per group. The group for this object and the individual Yellow Star Chips has to be specified using Obj_arg0. This controller is also responsible for displaying the counter layout at the top of the screen.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Yellow Chip Group ID: The group ID of this object and its Yellow Star Chips.

    Obj_arg1IntegerBothFalse

    Time Limit: Specifies how long it takes before the Yellow Star Chips will disappear after activating its SW_APPEAR. Default is -1, which makes the objects appear indefinitely.

      Obj_arg2FloatBothFalse

      Counter Display Range: Specifies the range from this object that the player has to be within for the counter layout to be displayed. Default is 2000.

        Obj_arg3IntegerBothFalse

        Reactivation Type: Specifies what to do with SW_A and the individual chips after reloading the scene, for example after a death.

        • -1: Player has to collect items again after reloading the scene
        • 1: Reactivates SW_A and destroys chips after reloading the scene

        Switches

        NameGamesRequired?Description
        SW_APPEARBothFalse

        The object will appear when this switch is activated.

        SW_ABothTrue

        Gets activated when all linked Yellow Star Chips have been collected.