Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: FirePressure

A red cannon that periodically shoots fireballs that damage the player and other compatible objects upon contact. It cannot be destroyed through any means. However, the Orange Luma can freeze the fireballs. It is also possible to make the fireballs follow the player. Furthermore, the cannon can be set to rotate towards the player.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatBothFalse

Cannon Rotation: The rotation of the cannon in degrees. Default is 0.

    Obj_arg1IntegerBothFalse

    Wait Time: The time in frames before it starts shooting again. Default is 300.

      Obj_arg2FloatBothFalse

      Ball Speed: The movement speed of an individual fireball. Default is 30.

        Obj_arg3IntegerBothFalse

        Shot Type: Specifies how the object shoots fireballs.

        • -1: Fixed rotation
        • 2: Fireballs follow the player
        • 3: Rotate towards the player
        Obj_arg7BooleanBothFalse

        Disable Collision Destruction?: If set, the fireball won't be destroyed when it collides with collision.

          Switches

          NameGamesRequired?Description
          SW_APPEARBothFalse

          The object will appear when this switch is activated.

          SW_ABothFalse

          If used, the cannon will be rotated into its shooting position once this switch gets activated. It will be able to shoot fireballs in this state. Once the switch deactivates again, it enters its resting position again.

          SW_BSMG2False

          If used, it will only be able to shoot fireballs while this switch is activated.

          SW_PARAMSMG2False

          Animations, velocity and update rates are adjusted with ParamScale while this switch is activated.

          SW_AWAKEBothFalse

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

          Properties

          NameGamesRequired?Description
          GroupBothFalse

          Groups several other FirePressure instances. The one with the longest wait time becomes the "group leader". All instances will start shooting a fireball once the group leader is ready.

          ClippingGroupBothFalse

          Objects in this group are always clipped together.

          DemoCastBothFalse

          The object takes part in the cutscene.