Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: PichanRacer

A bird NPC intended for gliding races that moves in a predefined GST motion during the race. The GST motion data for it can be found in the gst folder of the Galaxy's Ghost archive. It can register a Power Star if Obj_arg0 is 0, however, this requires a properly configured Scenario entry. A complex dialogue with flow nodes should be set up in order to control the race.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Color Frame / Power Star: The color frame to be used. If 0, this also registers a Power Star to be spawned via event flow nodes. Default is 0.

  • 0: Black
  • 1: Red
  • 2: Purple
  • 3: Green
  • 4: Blue
Obj_arg7IntegerSMG2False

GST File ID: The ID of the GST file to be loaded. Default is -1.

    Switches

    NameGamesRequired?Description
    SW_APPEARSMG2False

    Very buggy so it shouldn't be used. The object will appear when this switch is activated, but it will always have appeared even if the switch is deactivated. Deactivating the switch again will fix this, though.

    SW_ASMG2False

    Activated or deactivated depending on the used event flow node.

    SW_BSMG2False

    Activated or deactivated depending on the used event flow node.

    SW_AWAKESMG2False

    Enables rendering and resumes updates when this switch is active.

    Talking

    NameGamesRequired?DescriptionValues
    MessageSMG2False

    The text dialogue's label format is PichanRacer%03d, where %03d is the text message ID.

      EventFuncSMG2False

      Object-specific behavior for EventFunc event flow nodes.

      • 0: Spawn Power Star
      • 3: Prepare race objects
      BranchFuncSMG2False

      Object-specific behavior for BranchFunc branch flow nodes.

      • 0: Race ended in time?
      • 1: Played gliding tutorial?
      • 2: First place?

      Setup

      NameGamesRequired?DescriptionValues
      AppearPowerStarSMG2False

      Gets spawned after triggering its EventFunc.

        LinkNamePosSMG2True

        Additional placements that need to be linked to the object.

        • ピーチャンレーサーレース終了後位置: Its position after the race
        MarioFaceShipNpcRegisterSMG2False

        Can be registered to a Starship Mario object appearance event.

          Properties

          NameGamesDescription
          YoshiTargetableSMG2

          Can be targeted and licked by Yoshi.