Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: SecretGate

A gate that can be passed through. If the player is "riding" another object, such as the Rock power-up's Rolling Rock, Star Balls or Tube Slides, the object sets that it has been passed through. This object is usually linked to a proper SecretGateCounter instance which checks whether all gates have been passed through.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatSMG2False

Useless: Read but never used for anything. Default is 500.

    Obj_arg1FloatSMG2False

    Vertical Particle Offset: How far up from the object's position to emit the particle effects. Default is 600.

      Obj_arg2BooleanSMG2False

      Disable Vertical Particle Offset?: If set, the particle effect won't be offset, which renders Obj_arg1 useless.

        Obj_arg3FloatSMG2False

        Shadow Length: Sets the shadow drop length. Default is 1000.

          Switches

          NameGamesRequired?Description
          SW_ASMG2False

          Gets activated when passing through the gate.