water_wave.inc.c (349B)
1 // water_wave.inc.c 2 // TODO: Rename to avoid confusion with water_splashes_and_waves 3 4 void bhv_object_water_wave_init(void) { 5 o->oPosY = find_water_level(o->oPosX, o->oPosZ); 6 } 7 8 void bhv_object_water_wave_loop(void) { 9 s32 globalTimer = gGlobalTimer; 10 if (globalTimer % 16 == 0) { 11 o->activeFlags = ACTIVE_FLAG_DEACTIVATED; 12 } 13 }