2019-08-25 04:46:40 +00:00
|
|
|
// water_wave.c.inc
|
2020-03-02 03:42:52 +00:00
|
|
|
// TODO: Rename to avoid confusion with water_splashes_and_waves
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
void bhv_object_water_wave_init(void) {
|
|
|
|
o->oPosY = find_water_level(o->oPosX, o->oPosZ);
|
|
|
|
}
|
|
|
|
|
|
|
|
void bhv_object_water_wave_loop(void) {
|
|
|
|
s32 globalTimer = gGlobalTimer;
|
|
|
|
if ((globalTimer % 16) == 0)
|
|
|
|
o->activeFlags = 0;
|
|
|
|
}
|