Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: ItemDrill

A drill item that the player can carry. It allows the player to dig through collision upon shaking the Wiimote. The player can get rid of it by taking damage or by picking up another power-up item.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0BooleanSMG2False

Against Collision Normal?: If set, it will always dig against the normal of the collision triangle below.

    Obj_arg1FloatSMG2False

    Air Dig Distance: How far the object checks for collision to determine when to end drilling. Greater values can allow "digging through air". Default is 300.

      Obj_arg2BooleanSMG2False

      Enable Reflection?: If set, an additional check for NoDig collision will be performed while the player is using the drill. This effectively enables the (angled) reflection behavior.

        Obj_arg3BooleanSMG2False

        Delay Gravity Update?: If set, the player's gravity from 15 frames earlier will be used to determine where to drill, giving the player more control over drilling while gravity changes.

          Switches

          NameGamesRequired?Description
          SW_APPEARSMG2False

          Appears when this switch is activated.

          SW_AWAKESMG2False

          Enables rendering and resumes updates when this switch is active.

          Setup

          NameGamesRequired?DescriptionValues
          GroupSMG2False

          If the player picks up one of the Drills in this group, all other Drills will temporarily disappear. They will all reappear if the player looses a Drill from this group.

            CameraSMG2False

            固有 is used while drilling. Uses 出現デモカメラ when it appears via SW_APPEAR.

              MarioFaceShipNpcRegisterSMG2False

              Can be registered to a Starship Mario object appearance event.