PeahatEntity struct

Public variables

Entity base
u8 unused1
u8 directionDelta
While flying around the Peahat will gradually change direction using this value.
bool8 moveUpAnDown
Controls if the Peahat will move up and down while flying.
bool8 flying
The Peahat is currently flying.
u8 flyTimer
The Peahat will continue flying around for this period before considering to charge again.

Variable documentation

u8 PeahatEntity::directionDelta

While flying around the Peahat will gradually change direction using this value.

Changes between 2 and -2 at random intervals.