EverestAPI / SpringCollab2020

Code mod to be used for the 2020 Celeste Spring Community Collab.
MIT License
2 stars 0 forks source link

Static Puffer #188

Closed maddie480 closed 4 years ago

maddie480 commented 4 years ago

Just a puffer fish, except it doesn't wave around. Requested for a heart side.

The IL hook resets the sine wave just after it is randomized, because its value is used right after in the constructor. This way, the static position of the puffer is the one chosen in Ahorn. Then, the StaticPuffer constructor removes the SineWave component from the entity, so the wave stays at 0 all the time and the puffer doesn't move.