Pokey is an enemy appearing in Shifting Sand Land. It is composed of a head with a maximum of 4 body parts. To kill Pokey, the head must be killed. Pokey drops a blue coin upon defeat.
Behavior
Pokey begins in an uninitialized state. When Mario comes within 2000 units of Pokey, Pokey’s 5 body parts are spawned at y-offsets of 480, 360, 240, 120 and 0. If Mario’s distance from Pokey goes past 2500, Pokey returns to its home and goes back into the uninitialized state. If Pokey is missing a body part, a replacement part spawns after 100 frames. If Mario is more than 2000 units from Pokey, Pokey wanders around randomly. Specifically, Pokey moves with a forward speed of 5 units per frame with its movement angle being randomly increased or decreased by 45 degrees. The time between the movement angle being changed is a random number of frames from 30 to 80. If Mario is within 2000 units of Pokey, Pokey will approach Mario when he is far away, but begin to move away from him when he is close.
References
Pokey Behavior File
Objects |
---|
| Enemies | | Regular | | | Bosses | | | NPCs | | | | | Other Objects | | Common | | | Level Specific | | | Unused | |
|