Prelude Manual / Peahat and Larva Open the editor →

Peahat and Larva

Peahat and Larva is an enemy actor in Ocarina of Time.

← All actors

Placement

A daytime enemy: at night it folds into the ground and sits inert. It also stays dormant until Link comes within range of its spawn point (about 740 units grounded, 2800 flying).

Type variants (3)

This actor is placed in one of these forms. Pick it from the editor's Type dropdown. The value is what the actor's parameters store. The editor draws every one of these identically, so this list has no pictures. They differ in behaviour, or in something the preview doesn't model.

ValueType
65535Grounded (rises when neared)
0Flying (adult)
1Larva
BrokenOnly three params values are valid — 0xFFFF (grounded Peahat), 0 (flying Peahat), 1 (larva). Anything else assigns no behavior function and crashes on the first frame.

Parameters

Beyond the type above, the parameters hold these fields. The editor shows each as a labelled control.

15141312111098765432100000000000000000Type

Shown: 0x0000, the value a newly placed copy starts with.

Appears in (1)

Hyrule FieldHyrule Field

Model

What this actor draws, and where each piece lives in the archive. A mod replaces a piece by writing a file at the same path.

Skeletonobjects/object_peehat/gPeehatSkel
Animationobjects/object_peehat/gPeehatRisingAnim

Objects loaded

Enemy actors