Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: ArrowSwitch

A rotating switch object that can be activated using Spin Attacks.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Rotation Direction: Specifies the rotation when hit.

  • -1: 180° to right or left
  • 0: 90° to left
  • 1: 90° to right
  • 2: 180° to left
  • 3: 180° to right
Obj_arg1BooleanBothFalse

Activation Mode: If enabled, it cannot be hit again util the SW_A event deactivates again.

    Obj_arg2IntegerBothFalse

    Shadow Length: Sets the shadow drop length.

      Switches

      NameGamesRequired?Description
      SW_APPEARSMG2False

      The object will appear when this switch is activated.

      SW_ABothTrue

      Activated when hit, deactivated when hit again.