Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: 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. 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. Default corresponds to setting it to 0.

        • 0: 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

          Appears 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

          Enables rendering and resumes updates when this switch is active.

          Setup

          NameGamesRequired?DescriptionValues
          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

              Can take part in a cutscene.

                Properties

                NameGamesDescription
                Player2TargetableSMG2

                The fireballs can be targeted and frozen by player 2.