470
edits
SuperHamster (talk | contribs) (Marking as empty section→Behavior) |
(Behavior) |
||
Line 22: | Line 22: | ||
==Behavior== | ==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== | ==References== |