From 2187e7b4b3f26e310b0c0aebb08b8a553afa0157 Mon Sep 17 00:00:00 2001 From: MysterD Date: Wed, 6 Apr 2022 18:36:15 -0700 Subject: [PATCH] Added behavior actions for rom hacks --- autogen/convert_functions.py | 2 + autogen/lua_definitions/functions.lua | 2861 ++++++- docs/lua/functions.md | 10767 ++++++++++++++++++++++++ src/game/behavior_actions.h | 2 - src/pc/lua/smlua_functions_autogen.c | 5927 +++++++++++++ 5 files changed, 19556 insertions(+), 3 deletions(-) diff --git a/autogen/convert_functions.py b/autogen/convert_functions.py index e2f40991f..c6777c0b1 100644 --- a/autogen/convert_functions.py +++ b/autogen/convert_functions.py @@ -46,6 +46,7 @@ in_files = [ "src/game/spawn_sound.c", "src/engine/surface_load.h", "src/game/object_list_processor.h", + "src/game/behavior_actions.h", ] override_allowed_functions = { @@ -80,6 +81,7 @@ override_disallowed_functions = { "src/game/spawn_sound.c": [ "spawner" ], "src/pc/lua/utils/smlua_obj_utils.h": [ "spawn_object_remember_field" ], "src/game/camera.h": [ "update_camera", "init_camera", "stub_camera", "^reset_camera", "move_point_along_spline" ], + "src/game/behavior_actions.h": [ "bhv_dust_smoke_loop", "bhv_init_room" ] } lua_function_params = { diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua index b25b0ca90..1a5fb1b10 100644 --- a/autogen/lua_definitions/functions.lua +++ b/autogen/lua_definitions/functions.lua @@ -1,5 +1,2864 @@ -- AUTOGENERATED FOR CODE EDITORS -- +--- @param a0 Vec3f +--- @param a1 Vec3f +--- @param yVel number +--- @param gravity number +--- @return integer +function arc_to_goal_pos(a0, a1, yVel, gravity) + -- ... +end + +--- @return nil +function bhv_1up_common_init() + -- ... +end + +--- @return nil +function bhv_1up_hidden_in_pole_loop() + -- ... +end + +--- @return nil +function bhv_1up_hidden_in_pole_spawner_loop() + -- ... +end + +--- @return nil +function bhv_1up_hidden_in_pole_trigger_loop() + -- ... +end + +--- @return nil +function bhv_1up_hidden_loop() + -- ... +end + +--- @return nil +function bhv_1up_hidden_trigger_loop() + -- ... +end + +--- @return nil +function bhv_1up_init() + -- ... +end + +--- @return nil +function bhv_1up_jump_on_approach_loop() + -- ... +end + +--- @return nil +function bhv_1up_loop() + -- ... +end + +--- @return nil +function bhv_1up_running_away_loop() + -- ... +end + +--- @return nil +function bhv_1up_sliding_loop() + -- ... +end + +--- @return nil +function bhv_1up_walking_loop() + -- ... +end + +--- @return nil +function bhv_act_selector_init() + -- ... +end + +--- @return nil +function bhv_act_selector_loop() + -- ... +end + +--- @return nil +function bhv_act_selector_star_type_loop() + -- ... +end + +--- @return nil +function bhv_activated_back_and_forth_platform_init() + -- ... +end + +--- @return nil +function bhv_activated_back_and_forth_platform_update() + -- ... +end + +--- @return nil +function bhv_alpha_boo_key_loop() + -- ... +end + +--- @return nil +function bhv_ambient_sounds_init() + -- ... +end + +--- @return nil +function bhv_animated_texture_loop() + -- ... +end + +--- @return nil +function bhv_animates_on_floor_switch_press_init() + -- ... +end + +--- @return nil +function bhv_animates_on_floor_switch_press_loop() + -- ... +end + +--- @return nil +function bhv_arrow_lift_loop() + -- ... +end + +--- @return nil +function bhv_bbh_tilting_trap_platform_loop() + -- ... +end + +--- @return nil +function bhv_beta_boo_key_loop() + -- ... +end + +--- @return nil +function bhv_beta_bowser_anchor_loop() + -- ... +end + +--- @return nil +function bhv_beta_chest_bottom_init() + -- ... +end + +--- @return nil +function bhv_beta_chest_bottom_loop() + -- ... +end + +--- @return nil +function bhv_beta_chest_lid_loop() + -- ... +end + +--- @return nil +function bhv_beta_fish_splash_spawner_loop() + -- ... +end + +--- @return nil +function bhv_beta_holdable_object_init() + -- ... +end + +--- @return nil +function bhv_beta_holdable_object_loop() + -- ... +end + +--- @return nil +function bhv_beta_moving_flames_loop() + -- ... +end + +--- @return nil +function bhv_beta_moving_flames_spawn_loop() + -- ... +end + +--- @return nil +function bhv_beta_trampoline_spring_loop() + -- ... +end + +--- @return nil +function bhv_beta_trampoline_top_loop() + -- ... +end + +--- @return nil +function bhv_big_boo_loop() + -- ... +end + +--- @return nil +function bhv_big_boulder_generator_loop() + -- ... +end + +--- @return nil +function bhv_big_boulder_init() + -- ... +end + +--- @return nil +function bhv_big_boulder_loop() + -- ... +end + +--- @return nil +function bhv_big_bully_init() + -- ... +end + +--- @return nil +function bhv_big_bully_with_minions_init() + -- ... +end + +--- @return nil +function bhv_big_bully_with_minions_loop() + -- ... +end + +--- @return nil +function bhv_bird_update() + -- ... +end + +--- @return nil +function bhv_birds_sound_loop() + -- ... +end + +--- @return nil +function bhv_bitfs_sinking_cage_platform_loop() + -- ... +end + +--- @return nil +function bhv_bitfs_sinking_platform_loop() + -- ... +end + +--- @return nil +function bhv_black_smoke_bowser_loop() + -- ... +end + +--- @return nil +function bhv_black_smoke_mario_loop() + -- ... +end + +--- @return nil +function bhv_black_smoke_upward_loop() + -- ... +end + +--- @return nil +function bhv_blue_bowser_flame_init() + -- ... +end + +--- @return nil +function bhv_blue_bowser_flame_loop() + -- ... +end + +--- @return nil +function bhv_blue_coin_jumping_loop() + -- ... +end + +--- @return nil +function bhv_blue_coin_sliding_jumping_init() + -- ... +end + +--- @return nil +function bhv_blue_coin_sliding_loop() + -- ... +end + +--- @return nil +function bhv_blue_coin_switch_loop() + -- ... +end + +--- @return nil +function bhv_blue_fish_movement_loop() + -- ... +end + +--- @return nil +function bhv_blue_flames_group_loop() + -- ... +end + +--- @return nil +function bhv_bob_pit_bowling_ball_init() + -- ... +end + +--- @return nil +function bhv_bob_pit_bowling_ball_loop() + -- ... +end + +--- @return nil +function bhv_bobomb_anchor_mario_loop() + -- ... +end + +--- @return nil +function bhv_bobomb_buddy_init() + -- ... +end + +--- @return nil +function bhv_bobomb_buddy_loop() + -- ... +end + +--- @return nil +function bhv_bobomb_bully_death_smoke_init() + -- ... +end + +--- @return nil +function bhv_bobomb_explosion_bubble_init() + -- ... +end + +--- @return nil +function bhv_bobomb_explosion_bubble_loop() + -- ... +end + +--- @return nil +function bhv_bobomb_fuse_smoke_init() + -- ... +end + +--- @return nil +function bhv_bobomb_init() + -- ... +end + +--- @return nil +function bhv_bobomb_loop() + -- ... +end + +--- @return nil +function bhv_boo_boss_spawned_bridge_loop() + -- ... +end + +--- @return nil +function bhv_boo_cage_init() + -- ... +end + +--- @return nil +function bhv_boo_cage_loop() + -- ... +end + +--- @return nil +function bhv_boo_in_castle_loop() + -- ... +end + +--- @return nil +function bhv_boo_init() + -- ... +end + +--- @return nil +function bhv_boo_loop() + -- ... +end + +--- @return nil +function bhv_boo_with_cage_init() + -- ... +end + +--- @return nil +function bhv_boo_with_cage_loop() + -- ... +end + +--- @return nil +function bhv_book_switch_loop() + -- ... +end + +--- @return nil +function bhv_bookend_spawn_loop() + -- ... +end + +--- @return nil +function bhv_bouncing_fireball_flame_loop() + -- ... +end + +--- @return nil +function bhv_bouncing_fireball_loop() + -- ... +end + +--- @return nil +function bhv_bowling_ball_init() + -- ... +end + +--- @return nil +function bhv_bowling_ball_loop() + -- ... +end + +--- @return nil +function bhv_bowser_body_anchor_init() + -- ... +end + +--- @return nil +function bhv_bowser_body_anchor_loop() + -- ... +end + +--- @return nil +function bhv_bowser_bomb_explosion_loop() + -- ... +end + +--- @return nil +function bhv_bowser_bomb_loop() + -- ... +end + +--- @return nil +function bhv_bowser_bomb_smoke_loop() + -- ... +end + +--- @return nil +function bhv_bowser_course_red_coin_star_loop() + -- ... +end + +--- @return nil +function bhv_bowser_flame_spawn_loop() + -- ... +end + +--- @return nil +function bhv_bowser_init() + -- ... +end + +--- @return nil +function bhv_bowser_key_course_exit_loop() + -- ... +end + +--- @return nil +function bhv_bowser_key_init() + -- ... +end + +--- @return nil +function bhv_bowser_key_loop() + -- ... +end + +--- @return nil +function bhv_bowser_key_unlock_door_loop() + -- ... +end + +--- @return nil +function bhv_bowser_loop() + -- ... +end + +--- @return nil +function bhv_bowser_shock_wave_loop() + -- ... +end + +--- @return nil +function bhv_bowser_tail_anchor_init() + -- ... +end + +--- @return nil +function bhv_bowser_tail_anchor_loop() + -- ... +end + +--- @return nil +function bhv_bowsers_sub_loop() + -- ... +end + +--- @return nil +function bhv_breakable_box_loop() + -- ... +end + +--- @return nil +function bhv_breakable_box_small_init() + -- ... +end + +--- @return nil +function bhv_breakable_box_small_loop() + -- ... +end + +--- @return nil +function bhv_bub_loop() + -- ... +end + +--- @return nil +function bhv_bub_spawner_loop() + -- ... +end + +--- @return nil +function bhv_bubba_loop() + -- ... +end + +--- @return nil +function bhv_bubble_cannon_barrel_loop() + -- ... +end + +--- @return nil +function bhv_bubble_maybe_loop() + -- ... +end + +--- @return nil +function bhv_bubble_player_loop() + -- ... +end + +--- @return nil +function bhv_bubble_splash_init() + -- ... +end + +--- @return nil +function bhv_bubble_wave_init() + -- ... +end + +--- @return nil +function bhv_bullet_bill_init() + -- ... +end + +--- @return nil +function bhv_bullet_bill_loop() + -- ... +end + +--- @return nil +function bhv_bully_loop() + -- ... +end + +--- @return nil +function bhv_butterfly_init() + -- ... +end + +--- @return nil +function bhv_butterfly_loop() + -- ... +end + +--- @return nil +function bhv_camera_lakitu_init() + -- ... +end + +--- @return nil +function bhv_camera_lakitu_update() + -- ... +end + +--- @return nil +function bhv_cannon_barrel_loop() + -- ... +end + +--- @return nil +function bhv_cannon_base_loop() + -- ... +end + +--- @return nil +function bhv_cannon_base_unused_loop() + -- ... +end + +--- @return nil +function bhv_cannon_closed_init() + -- ... +end + +--- @return nil +function bhv_cannon_closed_loop() + -- ... +end + +--- @return nil +function bhv_cap_switch_loop() + -- ... +end + +--- @return nil +function bhv_castle_cannon_grate_init() + -- ... +end + +--- @return nil +function bhv_castle_flag_init() + -- ... +end + +--- @return nil +function bhv_castle_floor_trap_init() + -- ... +end + +--- @return nil +function bhv_castle_floor_trap_loop() + -- ... +end + +--- @return nil +function bhv_ccm_touched_star_spawn_loop() + -- ... +end + +--- @return nil +function bhv_celebration_star_init() + -- ... +end + +--- @return nil +function bhv_celebration_star_loop() + -- ... +end + +--- @return nil +function bhv_celebration_star_sparkle_loop() + -- ... +end + +--- @return nil +function bhv_chain_chomp_chain_part_update() + -- ... +end + +--- @return nil +function bhv_chain_chomp_gate_init() + -- ... +end + +--- @return nil +function bhv_chain_chomp_gate_update() + -- ... +end + +--- @return nil +function bhv_chain_chomp_update() + -- ... +end + +--- @return nil +function bhv_checkerboard_elevator_group_init() + -- ... +end + +--- @return nil +function bhv_checkerboard_elevator_group_loop() + -- ... +end + +--- @return nil +function bhv_checkerboard_platform_init() + -- ... +end + +--- @return nil +function bhv_checkerboard_platform_loop() + -- ... +end + +--- @return nil +function bhv_chuckya_anchor_mario_loop() + -- ... +end + +--- @return nil +function bhv_chuckya_loop() + -- ... +end + +--- @return nil +function bhv_circling_amp_init() + -- ... +end + +--- @return nil +function bhv_circling_amp_loop() + -- ... +end + +--- @return nil +function bhv_clam_loop() + -- ... +end + +--- @return nil +function bhv_cloud_part_update() + -- ... +end + +--- @return nil +function bhv_cloud_update() + -- ... +end + +--- @return nil +function bhv_coffin_loop() + -- ... +end + +--- @return nil +function bhv_coffin_spawner_loop() + -- ... +end + +--- @return nil +function bhv_coin_formation_init() + -- ... +end + +--- @return nil +function bhv_coin_formation_loop() + -- ... +end + +--- @return nil +function bhv_coin_formation_spawn_loop() + -- ... +end + +--- @return nil +function bhv_coin_init() + -- ... +end + +--- @return nil +function bhv_coin_inside_boo_loop() + -- ... +end + +--- @return nil +function bhv_coin_loop() + -- ... +end + +--- @return nil +function bhv_coin_sparkles_loop() + -- ... +end + +--- @return nil +function bhv_collect_star_init() + -- ... +end + +--- @return nil +function bhv_collect_star_loop() + -- ... +end + +--- @return nil +function bhv_controllable_platform_init() + -- ... +end + +--- @return nil +function bhv_controllable_platform_loop() + -- ... +end + +--- @return nil +function bhv_controllable_platform_sub_loop() + -- ... +end + +--- @return nil +function bhv_courtyard_boo_triplet_init() + -- ... +end + +--- @return nil +function bhv_ddd_moving_pole_loop() + -- ... +end + +--- @return nil +function bhv_ddd_pole_init() + -- ... +end + +--- @return nil +function bhv_ddd_pole_update() + -- ... +end + +--- @return nil +function bhv_ddd_warp_loop() + -- ... +end + +--- @return nil +function bhv_decorative_pendulum_init() + -- ... +end + +--- @return nil +function bhv_decorative_pendulum_loop() + -- ... +end + +--- @return nil +function bhv_donut_platform_spawner_update() + -- ... +end + +--- @return nil +function bhv_donut_platform_update() + -- ... +end + +--- @return nil +function bhv_door_init() + -- ... +end + +--- @return nil +function bhv_door_loop() + -- ... +end + +--- @return nil +function bhv_dorrie_update() + -- ... +end + +--- @return nil +function bhv_elevator_init() + -- ... +end + +--- @return nil +function bhv_elevator_loop() + -- ... +end + +--- @return nil +function bhv_end_birds_1_loop() + -- ... +end + +--- @return nil +function bhv_end_birds_2_loop() + -- ... +end + +--- @return nil +function bhv_enemy_lakitu_update() + -- ... +end + +--- @return nil +function bhv_exclamation_box_init() + -- ... +end + +--- @return nil +function bhv_exclamation_box_loop() + -- ... +end + +--- @return nil +function bhv_explosion_init() + -- ... +end + +--- @return nil +function bhv_explosion_loop() + -- ... +end + +--- @return nil +function bhv_eyerok_boss_init() + -- ... +end + +--- @return nil +function bhv_eyerok_boss_loop() + -- ... +end + +--- @return nil +function bhv_eyerok_hand_loop() + -- ... +end + +--- @return nil +function bhv_fading_warp_loop() + -- ... +end + +--- @return nil +function bhv_falling_bowser_platform_loop() + -- ... +end + +--- @return nil +function bhv_falling_pillar_hitbox_loop() + -- ... +end + +--- @return nil +function bhv_falling_pillar_init() + -- ... +end + +--- @return nil +function bhv_falling_pillar_loop() + -- ... +end + +--- @return nil +function bhv_ferris_wheel_axle_init() + -- ... +end + +--- @return nil +function bhv_ferris_wheel_platform_update() + -- ... +end + +--- @return nil +function bhv_fire_piranha_plant_init() + -- ... +end + +--- @return nil +function bhv_fire_piranha_plant_update() + -- ... +end + +--- @return nil +function bhv_fire_spitter_update() + -- ... +end + +--- @return nil +function bhv_fish_group_loop() + -- ... +end + +--- @return nil +function bhv_fish_loop() + -- ... +end + +--- @return nil +function bhv_fish_spawner_loop() + -- ... +end + +--- @return nil +function bhv_flame_bouncing_init() + -- ... +end + +--- @return nil +function bhv_flame_bouncing_loop() + -- ... +end + +--- @return nil +function bhv_flame_bowser_init() + -- ... +end + +--- @return nil +function bhv_flame_bowser_loop() + -- ... +end + +--- @return nil +function bhv_flame_floating_landing_init() + -- ... +end + +--- @return nil +function bhv_flame_floating_landing_loop() + -- ... +end + +--- @return nil +function bhv_flame_large_burning_out_init() + -- ... +end + +--- @return nil +function bhv_flame_mario_loop() + -- ... +end + +--- @return nil +function bhv_flame_moving_forward_growing_init() + -- ... +end + +--- @return nil +function bhv_flame_moving_forward_growing_loop() + -- ... +end + +--- @return nil +function bhv_flamethrower_flame_loop() + -- ... +end + +--- @return nil +function bhv_flamethrower_loop() + -- ... +end + +--- @return nil +function bhv_floating_platform_loop() + -- ... +end + +--- @return nil +function bhv_floor_trap_in_castle_loop() + -- ... +end + +--- @return nil +function bhv_fly_guy_flame_loop() + -- ... +end + +--- @return nil +function bhv_fly_guy_update() + -- ... +end + +--- @return nil +function bhv_flying_bookend_loop() + -- ... +end + +--- @return nil +function bhv_free_bowling_ball_init() + -- ... +end + +--- @return nil +function bhv_free_bowling_ball_loop() + -- ... +end + +--- @return nil +function bhv_generic_bowling_ball_spawner_init() + -- ... +end + +--- @return nil +function bhv_generic_bowling_ball_spawner_loop() + -- ... +end + +--- @return nil +function bhv_giant_pole_loop() + -- ... +end + +--- @return nil +function bhv_golden_coin_sparkles_loop() + -- ... +end + +--- @return nil +function bhv_goomba_init() + -- ... +end + +--- @return nil +function bhv_goomba_triplet_spawner_update() + -- ... +end + +--- @return nil +function bhv_goomba_update() + -- ... +end + +--- @return nil +function bhv_grand_star_init() + -- ... +end + +--- @return nil +function bhv_grand_star_loop() + -- ... +end + +--- @return nil +function bhv_grindel_thwomp_loop() + -- ... +end + +--- @return nil +function bhv_ground_sand_init() + -- ... +end + +--- @return nil +function bhv_ground_snow_init() + -- ... +end + +--- @return nil +function bhv_haunted_bookshelf_loop() + -- ... +end + +--- @return nil +function bhv_haunted_bookshelf_manager_loop() + -- ... +end + +--- @return nil +function bhv_haunted_chair_init() + -- ... +end + +--- @return nil +function bhv_haunted_chair_loop() + -- ... +end + +--- @return nil +function bhv_heave_ho_loop() + -- ... +end + +--- @return nil +function bhv_heave_ho_throw_mario_loop() + -- ... +end + +--- @return nil +function bhv_hidden_blue_coin_loop() + -- ... +end + +--- @return nil +function bhv_hidden_object_loop() + -- ... +end + +--- @return nil +function bhv_hidden_red_coin_star_init() + -- ... +end + +--- @return nil +function bhv_hidden_red_coin_star_loop() + -- ... +end + +--- @return nil +function bhv_hidden_star_init() + -- ... +end + +--- @return nil +function bhv_hidden_star_loop() + -- ... +end + +--- @return nil +function bhv_hidden_star_trigger_loop() + -- ... +end + +--- @return nil +function bhv_homing_amp_init() + -- ... +end + +--- @return nil +function bhv_homing_amp_loop() + -- ... +end + +--- @return nil +function bhv_hoot_init() + -- ... +end + +--- @return nil +function bhv_hoot_loop() + -- ... +end + +--- @return nil +function bhv_horizontal_grindel_init() + -- ... +end + +--- @return nil +function bhv_horizontal_grindel_update() + -- ... +end + +--- @return nil +function bhv_idle_water_wave_loop() + -- ... +end + +--- @return nil +function bhv_init_changing_water_level_loop() + -- ... +end + +--- @return nil +function bhv_intro_lakitu_loop() + -- ... +end + +--- @return nil +function bhv_intro_peach_loop() + -- ... +end + +--- @return nil +function bhv_intro_scene_loop() + -- ... +end + +--- @return nil +function bhv_invisible_objects_under_bridge_init() + -- ... +end + +--- @return nil +function bhv_invisible_objects_under_bridge_loop() + -- ... +end + +--- @return nil +function bhv_jet_stream_loop() + -- ... +end + +--- @return nil +function bhv_jet_stream_ring_spawner_loop() + -- ... +end + +--- @return nil +function bhv_jet_stream_water_ring_init() + -- ... +end + +--- @return nil +function bhv_jet_stream_water_ring_loop() + -- ... +end + +--- @return nil +function bhv_jrb_floating_box_loop() + -- ... +end + +--- @return nil +function bhv_jrb_sliding_box_loop() + -- ... +end + +--- @return nil +function bhv_jumping_box_loop() + -- ... +end + +--- @return nil +function bhv_kickable_board_loop() + -- ... +end + +--- @return nil +function bhv_king_bobomb_loop() + -- ... +end + +--- @return nil +function bhv_klepto_init() + -- ... +end + +--- @return nil +function bhv_klepto_update() + -- ... +end + +--- @return nil +function bhv_koopa_init() + -- ... +end + +--- @return nil +function bhv_koopa_race_endpoint_update() + -- ... +end + +--- @return nil +function bhv_koopa_shell_flame_loop() + -- ... +end + +--- @return nil +function bhv_koopa_shell_loop() + -- ... +end + +--- @return nil +function bhv_koopa_shell_underwater_loop() + -- ... +end + +--- @return nil +function bhv_koopa_update() + -- ... +end + +--- @return nil +function bhv_large_bomp_init() + -- ... +end + +--- @return nil +function bhv_large_bomp_loop() + -- ... +end + +--- @return nil +function bhv_lll_bowser_puzzle_loop() + -- ... +end + +--- @return nil +function bhv_lll_bowser_puzzle_piece_loop() + -- ... +end + +--- @return nil +function bhv_lll_drawbridge_loop() + -- ... +end + +--- @return nil +function bhv_lll_drawbridge_spawner_init() + -- ... +end + +--- @return nil +function bhv_lll_drawbridge_spawner_loop() + -- ... +end + +--- @return nil +function bhv_lll_floating_wood_bridge_loop() + -- ... +end + +--- @return nil +function bhv_lll_moving_octagonal_mesh_platform_loop() + -- ... +end + +--- @return nil +function bhv_lll_rolling_log_init() + -- ... +end + +--- @return nil +function bhv_lll_rotating_block_fire_bars_loop() + -- ... +end + +--- @return nil +function bhv_lll_rotating_hex_flame_loop() + -- ... +end + +--- @return nil +function bhv_lll_rotating_hexagonal_ring_loop() + -- ... +end + +--- @return nil +function bhv_lll_sinking_rectangular_platform_loop() + -- ... +end + +--- @return nil +function bhv_lll_sinking_rock_block_loop() + -- ... +end + +--- @return nil +function bhv_lll_sinking_square_platforms_loop() + -- ... +end + +--- @return nil +function bhv_lll_wood_piece_loop() + -- ... +end + +--- @return nil +function bhv_mad_piano_update() + -- ... +end + +--- @return nil +function bhv_manta_ray_init() + -- ... +end + +--- @return nil +function bhv_manta_ray_loop() + -- ... +end + +--- @return nil +function bhv_manta_ray_water_ring_init() + -- ... +end + +--- @return nil +function bhv_manta_ray_water_ring_loop() + -- ... +end + +--- @return nil +function bhv_menu_button_init() + -- ... +end + +--- @return nil +function bhv_menu_button_loop() + -- ... +end + +--- @return nil +function bhv_menu_button_manager_init() + -- ... +end + +--- @return nil +function bhv_menu_button_manager_loop() + -- ... +end + +--- @return nil +function bhv_merry_go_round_boo_manager_loop() + -- ... +end + +--- @return nil +function bhv_merry_go_round_loop() + -- ... +end + +--- @return nil +function bhv_metal_cap_init() + -- ... +end + +--- @return nil +function bhv_metal_cap_loop() + -- ... +end + +--- @return nil +function bhv_mips_init() + -- ... +end + +--- @return nil +function bhv_mips_loop() + -- ... +end + +--- @return nil +function bhv_moat_grills_loop() + -- ... +end + +--- @return nil +function bhv_moneybag_hidden_loop() + -- ... +end + +--- @return nil +function bhv_moneybag_init() + -- ... +end + +--- @return nil +function bhv_moneybag_loop() + -- ... +end + +--- @return nil +function bhv_monty_mole_hole_update() + -- ... +end + +--- @return nil +function bhv_monty_mole_init() + -- ... +end + +--- @return nil +function bhv_monty_mole_rock_update() + -- ... +end + +--- @return nil +function bhv_monty_mole_update() + -- ... +end + +--- @return nil +function bhv_moving_blue_coin_init() + -- ... +end + +--- @return nil +function bhv_moving_blue_coin_loop() + -- ... +end + +--- @return nil +function bhv_moving_yellow_coin_init() + -- ... +end + +--- @return nil +function bhv_moving_yellow_coin_loop() + -- ... +end + +--- @return nil +function bhv_mr_blizzard_init() + -- ... +end + +--- @return nil +function bhv_mr_blizzard_snowball() + -- ... +end + +--- @return nil +function bhv_mr_blizzard_update() + -- ... +end + +--- @return nil +function bhv_mr_i_body_loop() + -- ... +end + +--- @return nil +function bhv_mr_i_loop() + -- ... +end + +--- @return nil +function bhv_mr_i_particle_loop() + -- ... +end + +--- @return nil +function bhv_normal_cap_init() + -- ... +end + +--- @return nil +function bhv_normal_cap_loop() + -- ... +end + +--- @return nil +function bhv_object_bubble_init() + -- ... +end + +--- @return nil +function bhv_object_bubble_loop() + -- ... +end + +--- @return nil +function bhv_object_water_wave_init() + -- ... +end + +--- @return nil +function bhv_object_water_wave_loop() + -- ... +end + +--- @return nil +function bhv_openable_cage_door_loop() + -- ... +end + +--- @return nil +function bhv_openable_grill_loop() + -- ... +end + +--- @return nil +function bhv_orange_number_init() + -- ... +end + +--- @return nil +function bhv_orange_number_loop() + -- ... +end + +--- @return nil +function bhv_particle_init() + -- ... +end + +--- @return nil +function bhv_particle_loop() + -- ... +end + +--- @return nil +function bhv_penguin_race_finish_line_update() + -- ... +end + +--- @return nil +function bhv_penguin_race_shortcut_check_update() + -- ... +end + +--- @return nil +function bhv_piranha_particle_loop() + -- ... +end + +--- @return nil +function bhv_piranha_plant_bubble_loop() + -- ... +end + +--- @return nil +function bhv_piranha_plant_loop() + -- ... +end + +--- @return nil +function bhv_piranha_plant_waking_bubbles_loop() + -- ... +end + +--- @return nil +function bhv_platform_normals_init() + -- ... +end + +--- @return nil +function bhv_platform_on_track_init() + -- ... +end + +--- @return nil +function bhv_platform_on_track_update() + -- ... +end + +--- @return nil +function bhv_play_music_track_when_touched_loop() + -- ... +end + +--- @return nil +function bhv_pokey_body_part_update() + -- ... +end + +--- @return nil +function bhv_pokey_update() + -- ... +end + +--- @return nil +function bhv_pole_base_loop() + -- ... +end + +--- @return nil +function bhv_pole_init() + -- ... +end + +--- @return nil +function bhv_pound_tiny_star_particle_init() + -- ... +end + +--- @return nil +function bhv_pound_tiny_star_particle_loop() + -- ... +end + +--- @return nil +function bhv_pound_white_puffs_init() + -- ... +end + +--- @return nil +function bhv_punch_tiny_triangle_init() + -- ... +end + +--- @return nil +function bhv_punch_tiny_triangle_loop() + -- ... +end + +--- @return nil +function bhv_purple_switch_loop() + -- ... +end + +--- @return nil +function bhv_pushable_loop() + -- ... +end + +--- @return nil +function bhv_pyramid_elevator_init() + -- ... +end + +--- @return nil +function bhv_pyramid_elevator_loop() + -- ... +end + +--- @return nil +function bhv_pyramid_elevator_trajectory_marker_ball_loop() + -- ... +end + +--- @return nil +function bhv_pyramid_pillar_touch_detector_loop() + -- ... +end + +--- @return nil +function bhv_pyramid_top_fragment_init() + -- ... +end + +--- @return nil +function bhv_pyramid_top_fragment_loop() + -- ... +end + +--- @return nil +function bhv_pyramid_top_init() + -- ... +end + +--- @return nil +function bhv_pyramid_top_loop() + -- ... +end + +--- @return nil +function bhv_racing_penguin_init() + -- ... +end + +--- @return nil +function bhv_racing_penguin_update() + -- ... +end + +--- @return nil +function bhv_recovery_heart_loop() + -- ... +end + +--- @return nil +function bhv_red_coin_init() + -- ... +end + +--- @return nil +function bhv_red_coin_loop() + -- ... +end + +--- @return nil +function bhv_red_coin_star_marker_init() + -- ... +end + +--- @return nil +function bhv_respawner_loop() + -- ... +end + +--- @return nil +function bhv_rolling_log_loop() + -- ... +end + +--- @return nil +function bhv_rotating_clock_arm_loop() + -- ... +end + +--- @return nil +function bhv_rotating_exclamation_box_loop() + -- ... +end + +--- @return nil +function bhv_rotating_octagonal_plat_init() + -- ... +end + +--- @return nil +function bhv_rotating_octagonal_plat_loop() + -- ... +end + +--- @return nil +function bhv_rotating_platform_loop() + -- ... +end + +--- @return nil +function bhv_rr_cruiser_wing_init() + -- ... +end + +--- @return nil +function bhv_rr_cruiser_wing_loop() + -- ... +end + +--- @return nil +function bhv_rr_rotating_bridge_platform_loop() + -- ... +end + +--- @return nil +function bhv_sand_sound_loop() + -- ... +end + +--- @return nil +function bhv_scuttlebug_loop() + -- ... +end + +--- @return nil +function bhv_scuttlebug_spawn_loop() + -- ... +end + +--- @return nil +function bhv_seaweed_bundle_init() + -- ... +end + +--- @return nil +function bhv_seaweed_init() + -- ... +end + +--- @return nil +function bhv_seesaw_platform_init() + -- ... +end + +--- @return nil +function bhv_seesaw_platform_update() + -- ... +end + +--- @return nil +function bhv_shallow_water_splash_init() + -- ... +end + +--- @return nil +function bhv_ship_part_3_loop() + -- ... +end + +--- @return nil +function bhv_skeeter_update() + -- ... +end + +--- @return nil +function bhv_skeeter_wave_update() + -- ... +end + +--- @return nil +function bhv_sl_snowman_wind_loop() + -- ... +end + +--- @return nil +function bhv_sl_walking_penguin_loop() + -- ... +end + +--- @return nil +function bhv_sliding_plat_2_init() + -- ... +end + +--- @return nil +function bhv_sliding_plat_2_loop() + -- ... +end + +--- @return nil +function bhv_sliding_snow_mound_loop() + -- ... +end + +--- @return nil +function bhv_small_bomp_init() + -- ... +end + +--- @return nil +function bhv_small_bomp_loop() + -- ... +end + +--- @return nil +function bhv_small_bubbles_loop() + -- ... +end + +--- @return nil +function bhv_small_bully_init() + -- ... +end + +--- @return nil +function bhv_small_penguin_loop() + -- ... +end + +--- @return nil +function bhv_small_piranha_flame_loop() + -- ... +end + +--- @return nil +function bhv_small_water_wave_loop() + -- ... +end + +--- @return nil +function bhv_snow_leaf_particle_spawn_init() + -- ... +end + +--- @return nil +function bhv_snow_mound_spawn_loop() + -- ... +end + +--- @return nil +function bhv_snowmans_body_checkpoint_loop() + -- ... +end + +--- @return nil +function bhv_snowmans_bottom_init() + -- ... +end + +--- @return nil +function bhv_snowmans_bottom_loop() + -- ... +end + +--- @return nil +function bhv_snowmans_head_init() + -- ... +end + +--- @return nil +function bhv_snowmans_head_loop() + -- ... +end + +--- @return nil +function bhv_snufit_balls_loop() + -- ... +end + +--- @return nil +function bhv_snufit_loop() + -- ... +end + +--- @return nil +function bhv_sound_spawner_init() + -- ... +end + +--- @return nil +function bhv_sparkle_spawn_loop() + -- ... +end + +--- @param object Object +--- @param params integer +--- @param networkSendEvent integer +--- @return nil +function bhv_spawn_star_no_level_exit(object, params, networkSendEvent) + -- ... +end + +--- @return nil +function bhv_spawned_star_init() + -- ... +end + +--- @return nil +function bhv_spawned_star_loop() + -- ... +end + +--- @return nil +function bhv_spindel_init() + -- ... +end + +--- @return nil +function bhv_spindel_loop() + -- ... +end + +--- @return nil +function bhv_spindrift_loop() + -- ... +end + +--- @return nil +function bhv_spiny_update() + -- ... +end + +--- @return nil +function bhv_squarish_path_moving_loop() + -- ... +end + +--- @return nil +function bhv_squarish_path_parent_init() + -- ... +end + +--- @return nil +function bhv_squarish_path_parent_loop() + -- ... +end + +--- @return nil +function bhv_squishable_platform_loop() + -- ... +end + +--- @return nil +function bhv_ssl_moving_pyramid_wall_init() + -- ... +end + +--- @return nil +function bhv_ssl_moving_pyramid_wall_loop() + -- ... +end + +--- @return nil +function bhv_star_door_loop() + -- ... +end + +--- @return nil +function bhv_star_door_loop_2() + -- ... +end + +--- @return nil +function bhv_star_key_collection_puff_spawner_loop() + -- ... +end + +--- @return nil +function bhv_star_spawn_init() + -- ... +end + +--- @return nil +function bhv_star_spawn_loop() + -- ... +end + +--- @return nil +function bhv_static_checkered_platform_loop() + -- ... +end + +--- @return nil +function bhv_strong_wind_particle_loop() + -- ... +end + +--- @return nil +function bhv_sunken_ship_part_loop() + -- ... +end + +--- @return nil +function bhv_sushi_shark_collision_loop() + -- ... +end + +--- @return nil +function bhv_sushi_shark_loop() + -- ... +end + +--- @return nil +function bhv_swing_platform_init() + -- ... +end + +--- @return nil +function bhv_swing_platform_update() + -- ... +end + +--- @return nil +function bhv_swoop_update() + -- ... +end + +--- @return nil +function bhv_tank_fish_group_loop() + -- ... +end + +--- @return nil +function bhv_temp_coin_loop() + -- ... +end + +--- @return nil +function bhv_thi_bowling_ball_spawner_loop() + -- ... +end + +--- @return nil +function bhv_thi_huge_island_top_loop() + -- ... +end + +--- @return nil +function bhv_thi_tiny_island_top_loop() + -- ... +end + +--- @return nil +function bhv_tilting_bowser_lava_platform_init() + -- ... +end + +--- @return nil +function bhv_tilting_inverted_pyramid_loop() + -- ... +end + +--- @return nil +function bhv_tiny_star_particles_init() + -- ... +end + +--- @return nil +function bhv_tower_door_loop() + -- ... +end + +--- @return nil +function bhv_tower_platform_group_init() + -- ... +end + +--- @return nil +function bhv_tower_platform_group_loop() + -- ... +end + +--- @return nil +function bhv_tox_box_loop() + -- ... +end + +--- @return nil +function bhv_track_ball_update() + -- ... +end + +--- @return nil +function bhv_treasure_chest_bottom_init() + -- ... +end + +--- @return nil +function bhv_treasure_chest_bottom_loop() + -- ... +end + +--- @return nil +function bhv_treasure_chest_init() + -- ... +end + +--- @return nil +function bhv_treasure_chest_jrb_init() + -- ... +end + +--- @return nil +function bhv_treasure_chest_jrb_loop() + -- ... +end + +--- @return nil +function bhv_treasure_chest_loop() + -- ... +end + +--- @return nil +function bhv_treasure_chest_ship_init() + -- ... +end + +--- @return nil +function bhv_treasure_chest_ship_loop() + -- ... +end + +--- @return nil +function bhv_treasure_chest_top_loop() + -- ... +end + +--- @return nil +function bhv_tree_snow_or_leaf_loop() + -- ... +end + +--- @return nil +function bhv_triplet_butterfly_update() + -- ... +end + +--- @return nil +function bhv_ttc_2d_rotator_init() + -- ... +end + +--- @return nil +function bhv_ttc_2d_rotator_update() + -- ... +end + +--- @return nil +function bhv_ttc_cog_init() + -- ... +end + +--- @return nil +function bhv_ttc_cog_update() + -- ... +end + +--- @return nil +function bhv_ttc_elevator_init() + -- ... +end + +--- @return nil +function bhv_ttc_elevator_update() + -- ... +end + +--- @return nil +function bhv_ttc_moving_bar_init() + -- ... +end + +--- @return nil +function bhv_ttc_moving_bar_update() + -- ... +end + +--- @return nil +function bhv_ttc_pendulum_init() + -- ... +end + +--- @return nil +function bhv_ttc_pendulum_update() + -- ... +end + +--- @return nil +function bhv_ttc_pit_block_init() + -- ... +end + +--- @return nil +function bhv_ttc_pit_block_update() + -- ... +end + +--- @return nil +function bhv_ttc_rotating_solid_init() + -- ... +end + +--- @return nil +function bhv_ttc_rotating_solid_update() + -- ... +end + +--- @return nil +function bhv_ttc_spinner_update() + -- ... +end + +--- @return nil +function bhv_ttc_treadmill_init() + -- ... +end + +--- @return nil +function bhv_ttc_treadmill_update() + -- ... +end + +--- @return nil +function bhv_ttm_rolling_log_init() + -- ... +end + +--- @return nil +function bhv_tumbling_bridge_loop() + -- ... +end + +--- @return nil +function bhv_tumbling_bridge_platform_loop() + -- ... +end + +--- @return nil +function bhv_tuxies_mother_loop() + -- ... +end + +--- @return nil +function bhv_tweester_loop() + -- ... +end + +--- @return nil +function bhv_tweester_sand_particle_loop() + -- ... +end + +--- @return nil +function bhv_ukiki_cage_loop() + -- ... +end + +--- @return nil +function bhv_ukiki_cage_star_loop() + -- ... +end + +--- @return nil +function bhv_ukiki_init() + -- ... +end + +--- @return nil +function bhv_ukiki_loop() + -- ... +end + +--- @return nil +function bhv_unagi_init() + -- ... +end + +--- @return nil +function bhv_unagi_loop() + -- ... +end + +--- @return nil +function bhv_unagi_subobject_loop() + -- ... +end + +--- @return nil +function bhv_unused_particle_spawn_loop() + -- ... +end + +--- @return nil +function bhv_unused_poundable_platform() + -- ... +end + +--- @return nil +function bhv_vanish_cap_init() + -- ... +end + +--- @return nil +function bhv_volcano_flames_loop() + -- ... +end + +--- @return nil +function bhv_volcano_sound_loop() + -- ... +end + +--- @return nil +function bhv_volcano_trap_loop() + -- ... +end + +--- @return nil +function bhv_wall_tiny_star_particle_loop() + -- ... +end + +--- @return nil +function bhv_warp_loop() + -- ... +end + +--- @return nil +function bhv_water_air_bubble_init() + -- ... +end + +--- @return nil +function bhv_water_air_bubble_loop() + -- ... +end + +--- @return nil +function bhv_water_bomb_cannon_loop() + -- ... +end + +--- @return nil +function bhv_water_bomb_shadow_update() + -- ... +end + +--- @return nil +function bhv_water_bomb_spawner_update() + -- ... +end + +--- @return nil +function bhv_water_bomb_update() + -- ... +end + +--- @return nil +function bhv_water_droplet_loop() + -- ... +end + +--- @return nil +function bhv_water_droplet_splash_init() + -- ... +end + +--- @return nil +function bhv_water_level_diamond_loop() + -- ... +end + +--- @return nil +function bhv_water_level_pillar_init() + -- ... +end + +--- @return nil +function bhv_water_level_pillar_loop() + -- ... +end + +--- @return nil +function bhv_water_mist_2_loop() + -- ... +end + +--- @return nil +function bhv_water_mist_loop() + -- ... +end + +--- @return nil +function bhv_water_mist_spawn_loop() + -- ... +end + +--- @return nil +function bhv_water_splash_spawn_droplets() + -- ... +end + +--- @return nil +function bhv_water_waves_init() + -- ... +end + +--- @return nil +function bhv_waterfall_sound_loop() + -- ... +end + +--- @return nil +function bhv_wave_trail_shrink() + -- ... +end + +--- @return nil +function bhv_wdw_express_elevator_loop() + -- ... +end + +--- @return nil +function bhv_wf_breakable_wall_loop() + -- ... +end + +--- @return nil +function bhv_wf_elevator_tower_platform_loop() + -- ... +end + +--- @return nil +function bhv_wf_rotating_wooden_platform_init() + -- ... +end + +--- @return nil +function bhv_wf_rotating_wooden_platform_loop() + -- ... +end + +--- @return nil +function bhv_wf_sliding_platform_init() + -- ... +end + +--- @return nil +function bhv_wf_sliding_platform_loop() + -- ... +end + +--- @return nil +function bhv_wf_sliding_tower_platform_loop() + -- ... +end + +--- @return nil +function bhv_wf_solid_tower_platform_loop() + -- ... +end + +--- @return nil +function bhv_whirlpool_init() + -- ... +end + +--- @return nil +function bhv_whirlpool_loop() + -- ... +end + +--- @return nil +function bhv_white_puff_1_loop() + -- ... +end + +--- @return nil +function bhv_white_puff_2_loop() + -- ... +end + +--- @return nil +function bhv_white_puff_exploding_loop() + -- ... +end + +--- @return nil +function bhv_white_puff_smoke_init() + -- ... +end + +--- @return nil +function bhv_whomp_loop() + -- ... +end + +--- @return nil +function bhv_wiggler_body_part_update() + -- ... +end + +--- @return nil +function bhv_wiggler_update() + -- ... +end + +--- @return nil +function bhv_wind_loop() + -- ... +end + +--- @return nil +function bhv_wing_cap_init() + -- ... +end + +--- @return nil +function bhv_wing_vanish_cap_loop() + -- ... +end + +--- @return nil +function bhv_wooden_post_update() + -- ... +end + +--- @return nil +function bhv_yellow_coin_init() + -- ... +end + +--- @return nil +function bhv_yellow_coin_loop() + -- ... +end + +--- @return nil +function bhv_yoshi_init() + -- ... +end + +--- @return nil +function bhv_yoshi_loop() + -- ... +end + +--- @param a0 number +--- @param a1 number +--- @return integer +function check_if_moving_over_floor(a0, a1) + -- ... +end + +--- @param flags integer +--- @return nil +function clear_particle_flags(flags) + -- ... +end + +--- @param sp28 number +--- @param sp2C number +--- @param sp30 integer +--- @return nil +function common_anchor_mario_behavior(sp28, sp2C, sp30) + -- ... +end + +--- @param windSpread integer +--- @param scale number +--- @param relPosX number +--- @param relPosY number +--- @param relPosZ number +--- @return nil +function cur_obj_spawn_strong_wind_particles(windSpread, scale, relPosX, relPosY, relPosZ) + -- ... +end + +--- @return integer +function mario_moving_fast_enough_to_make_piranha_plant_bite() + -- ... +end + +--- @return nil +function obj_set_secondary_camera_focus() + -- ... +end + +--- @param walk integer +--- @return nil +function play_penguin_walking_sound(walk) + -- ... +end + +--- @param x number +--- @param y number +--- @param z number +--- @return Object +function spawn_default_star(x, y, z) + -- ... +end + +--- @return nil +function spawn_mist_from_global() + -- ... +end + +--- @param count integer +--- @param offsetY integer +--- @param size number +--- @return nil +function spawn_mist_particles_variable(count, offsetY, size) + -- ... +end + +--- @param x number +--- @param y number +--- @param z number +--- @return Object +function spawn_no_exit_star(x, y, z) + -- ... +end + +--- @param x number +--- @param y number +--- @param z number +--- @return Object +function spawn_red_coin_cutscene_star(x, y, z) + -- ... +end + +--- @param numTris integer +--- @param triModel integer +--- @param triSize number +--- @param triAnimState integer +--- @return nil +function spawn_triangle_break_particles(numTris, triModel, triSize, triAnimState) + -- ... +end + +--- @param pitch integer +--- @param yaw integer +--- @return nil +function spawn_wind_particles(pitch, yaw) + -- ... +end + +--- @param forwardVel number +--- @param a1 number +--- @param deltaPitch integer +--- @param deltaRoll integer +--- @return nil +function tox_box_move(forwardVel, a1, deltaPitch, deltaRoll) + -- ... +end + +--- @param angle Pointer_integer +--- @return integer +function update_angle_from_move_flags(angle) + -- ... +end + +--- @param dest Vec3f +--- @param src Vec3f +--- @return nil +function vec3f_copy_2(dest, src) + -- ... +end + --- @param id BehaviorId --- @return Pointer_BehaviorScript function get_behavior_from_id(id) @@ -4559,8 +7418,8 @@ function load_object_collision_model() -- ... end +--- @class Pointer_integer --- @class Pointer_BehaviorScript --- @class Pointer_number ---- @class Pointer_integer --- @class Pointer_Collision --- @class Pointer_LevelScript diff --git a/docs/lua/functions.md b/docs/lua/functions.md index 5e3db2cbb..ff97eab44 100644 --- a/docs/lua/functions.md +++ b/docs/lua/functions.md @@ -9,6 +9,573 @@
+- behavior_actions.h + - [arc_to_goal_pos](#arc_to_goal_pos) + - [bhv_1up_common_init](#bhv_1up_common_init) + - [bhv_1up_hidden_in_pole_loop](#bhv_1up_hidden_in_pole_loop) + - [bhv_1up_hidden_in_pole_spawner_loop](#bhv_1up_hidden_in_pole_spawner_loop) + - [bhv_1up_hidden_in_pole_trigger_loop](#bhv_1up_hidden_in_pole_trigger_loop) + - [bhv_1up_hidden_loop](#bhv_1up_hidden_loop) + - [bhv_1up_hidden_trigger_loop](#bhv_1up_hidden_trigger_loop) + - [bhv_1up_init](#bhv_1up_init) + - [bhv_1up_jump_on_approach_loop](#bhv_1up_jump_on_approach_loop) + - [bhv_1up_loop](#bhv_1up_loop) + - [bhv_1up_running_away_loop](#bhv_1up_running_away_loop) + - [bhv_1up_sliding_loop](#bhv_1up_sliding_loop) + - [bhv_1up_walking_loop](#bhv_1up_walking_loop) + - [bhv_act_selector_init](#bhv_act_selector_init) + - [bhv_act_selector_loop](#bhv_act_selector_loop) + - [bhv_act_selector_star_type_loop](#bhv_act_selector_star_type_loop) + - [bhv_activated_back_and_forth_platform_init](#bhv_activated_back_and_forth_platform_init) + - [bhv_activated_back_and_forth_platform_update](#bhv_activated_back_and_forth_platform_update) + - [bhv_alpha_boo_key_loop](#bhv_alpha_boo_key_loop) + - [bhv_ambient_sounds_init](#bhv_ambient_sounds_init) + - [bhv_animated_texture_loop](#bhv_animated_texture_loop) + - [bhv_animates_on_floor_switch_press_init](#bhv_animates_on_floor_switch_press_init) + - [bhv_animates_on_floor_switch_press_loop](#bhv_animates_on_floor_switch_press_loop) + - [bhv_arrow_lift_loop](#bhv_arrow_lift_loop) + - [bhv_bbh_tilting_trap_platform_loop](#bhv_bbh_tilting_trap_platform_loop) + - [bhv_beta_boo_key_loop](#bhv_beta_boo_key_loop) + - [bhv_beta_bowser_anchor_loop](#bhv_beta_bowser_anchor_loop) + - [bhv_beta_chest_bottom_init](#bhv_beta_chest_bottom_init) + - [bhv_beta_chest_bottom_loop](#bhv_beta_chest_bottom_loop) + - [bhv_beta_chest_lid_loop](#bhv_beta_chest_lid_loop) + - [bhv_beta_fish_splash_spawner_loop](#bhv_beta_fish_splash_spawner_loop) + - [bhv_beta_holdable_object_init](#bhv_beta_holdable_object_init) + - [bhv_beta_holdable_object_loop](#bhv_beta_holdable_object_loop) + - [bhv_beta_moving_flames_loop](#bhv_beta_moving_flames_loop) + - [bhv_beta_moving_flames_spawn_loop](#bhv_beta_moving_flames_spawn_loop) + - [bhv_beta_trampoline_spring_loop](#bhv_beta_trampoline_spring_loop) + - [bhv_beta_trampoline_top_loop](#bhv_beta_trampoline_top_loop) + - [bhv_big_boo_loop](#bhv_big_boo_loop) + - [bhv_big_boulder_generator_loop](#bhv_big_boulder_generator_loop) + - [bhv_big_boulder_init](#bhv_big_boulder_init) + - [bhv_big_boulder_loop](#bhv_big_boulder_loop) + - [bhv_big_bully_init](#bhv_big_bully_init) + - [bhv_big_bully_with_minions_init](#bhv_big_bully_with_minions_init) + - [bhv_big_bully_with_minions_loop](#bhv_big_bully_with_minions_loop) + - [bhv_bird_update](#bhv_bird_update) + - [bhv_birds_sound_loop](#bhv_birds_sound_loop) + - [bhv_bitfs_sinking_cage_platform_loop](#bhv_bitfs_sinking_cage_platform_loop) + - [bhv_bitfs_sinking_platform_loop](#bhv_bitfs_sinking_platform_loop) + - [bhv_black_smoke_bowser_loop](#bhv_black_smoke_bowser_loop) + - [bhv_black_smoke_mario_loop](#bhv_black_smoke_mario_loop) + - [bhv_black_smoke_upward_loop](#bhv_black_smoke_upward_loop) + - [bhv_blue_bowser_flame_init](#bhv_blue_bowser_flame_init) + - [bhv_blue_bowser_flame_loop](#bhv_blue_bowser_flame_loop) + - [bhv_blue_coin_jumping_loop](#bhv_blue_coin_jumping_loop) + - [bhv_blue_coin_sliding_jumping_init](#bhv_blue_coin_sliding_jumping_init) + - [bhv_blue_coin_sliding_loop](#bhv_blue_coin_sliding_loop) + - [bhv_blue_coin_switch_loop](#bhv_blue_coin_switch_loop) + - [bhv_blue_fish_movement_loop](#bhv_blue_fish_movement_loop) + - [bhv_blue_flames_group_loop](#bhv_blue_flames_group_loop) + - [bhv_bob_pit_bowling_ball_init](#bhv_bob_pit_bowling_ball_init) + - [bhv_bob_pit_bowling_ball_loop](#bhv_bob_pit_bowling_ball_loop) + - [bhv_bobomb_anchor_mario_loop](#bhv_bobomb_anchor_mario_loop) + - [bhv_bobomb_buddy_init](#bhv_bobomb_buddy_init) + - [bhv_bobomb_buddy_loop](#bhv_bobomb_buddy_loop) + - [bhv_bobomb_bully_death_smoke_init](#bhv_bobomb_bully_death_smoke_init) + - [bhv_bobomb_explosion_bubble_init](#bhv_bobomb_explosion_bubble_init) + - [bhv_bobomb_explosion_bubble_loop](#bhv_bobomb_explosion_bubble_loop) + - [bhv_bobomb_fuse_smoke_init](#bhv_bobomb_fuse_smoke_init) + - [bhv_bobomb_init](#bhv_bobomb_init) + - [bhv_bobomb_loop](#bhv_bobomb_loop) + - [bhv_boo_boss_spawned_bridge_loop](#bhv_boo_boss_spawned_bridge_loop) + - [bhv_boo_cage_init](#bhv_boo_cage_init) + - [bhv_boo_cage_loop](#bhv_boo_cage_loop) + - [bhv_boo_in_castle_loop](#bhv_boo_in_castle_loop) + - [bhv_boo_init](#bhv_boo_init) + - [bhv_boo_loop](#bhv_boo_loop) + - [bhv_boo_with_cage_init](#bhv_boo_with_cage_init) + - [bhv_boo_with_cage_loop](#bhv_boo_with_cage_loop) + - [bhv_book_switch_loop](#bhv_book_switch_loop) + - [bhv_bookend_spawn_loop](#bhv_bookend_spawn_loop) + - [bhv_bouncing_fireball_flame_loop](#bhv_bouncing_fireball_flame_loop) + - [bhv_bouncing_fireball_loop](#bhv_bouncing_fireball_loop) + - [bhv_bowling_ball_init](#bhv_bowling_ball_init) + - [bhv_bowling_ball_loop](#bhv_bowling_ball_loop) + - [bhv_bowser_body_anchor_init](#bhv_bowser_body_anchor_init) + - [bhv_bowser_body_anchor_loop](#bhv_bowser_body_anchor_loop) + - [bhv_bowser_bomb_explosion_loop](#bhv_bowser_bomb_explosion_loop) + - [bhv_bowser_bomb_loop](#bhv_bowser_bomb_loop) + - [bhv_bowser_bomb_smoke_loop](#bhv_bowser_bomb_smoke_loop) + - [bhv_bowser_course_red_coin_star_loop](#bhv_bowser_course_red_coin_star_loop) + - [bhv_bowser_flame_spawn_loop](#bhv_bowser_flame_spawn_loop) + - [bhv_bowser_init](#bhv_bowser_init) + - [bhv_bowser_key_course_exit_loop](#bhv_bowser_key_course_exit_loop) + - [bhv_bowser_key_init](#bhv_bowser_key_init) + - [bhv_bowser_key_loop](#bhv_bowser_key_loop) + - [bhv_bowser_key_unlock_door_loop](#bhv_bowser_key_unlock_door_loop) + - [bhv_bowser_loop](#bhv_bowser_loop) + - [bhv_bowser_shock_wave_loop](#bhv_bowser_shock_wave_loop) + - [bhv_bowser_tail_anchor_init](#bhv_bowser_tail_anchor_init) + - [bhv_bowser_tail_anchor_loop](#bhv_bowser_tail_anchor_loop) + - [bhv_bowsers_sub_loop](#bhv_bowsers_sub_loop) + - [bhv_breakable_box_loop](#bhv_breakable_box_loop) + - [bhv_breakable_box_small_init](#bhv_breakable_box_small_init) + - [bhv_breakable_box_small_loop](#bhv_breakable_box_small_loop) + - [bhv_bub_loop](#bhv_bub_loop) + - [bhv_bub_spawner_loop](#bhv_bub_spawner_loop) + - [bhv_bubba_loop](#bhv_bubba_loop) + - [bhv_bubble_cannon_barrel_loop](#bhv_bubble_cannon_barrel_loop) + - [bhv_bubble_maybe_loop](#bhv_bubble_maybe_loop) + - [bhv_bubble_player_loop](#bhv_bubble_player_loop) + - [bhv_bubble_splash_init](#bhv_bubble_splash_init) + - [bhv_bubble_wave_init](#bhv_bubble_wave_init) + - [bhv_bullet_bill_init](#bhv_bullet_bill_init) + - [bhv_bullet_bill_loop](#bhv_bullet_bill_loop) + - [bhv_bully_loop](#bhv_bully_loop) + - [bhv_butterfly_init](#bhv_butterfly_init) + - [bhv_butterfly_loop](#bhv_butterfly_loop) + - [bhv_camera_lakitu_init](#bhv_camera_lakitu_init) + - [bhv_camera_lakitu_update](#bhv_camera_lakitu_update) + - [bhv_cannon_barrel_loop](#bhv_cannon_barrel_loop) + - [bhv_cannon_base_loop](#bhv_cannon_base_loop) + - [bhv_cannon_base_unused_loop](#bhv_cannon_base_unused_loop) + - [bhv_cannon_closed_init](#bhv_cannon_closed_init) + - [bhv_cannon_closed_loop](#bhv_cannon_closed_loop) + - [bhv_cap_switch_loop](#bhv_cap_switch_loop) + - [bhv_castle_cannon_grate_init](#bhv_castle_cannon_grate_init) + - [bhv_castle_flag_init](#bhv_castle_flag_init) + - [bhv_castle_floor_trap_init](#bhv_castle_floor_trap_init) + - [bhv_castle_floor_trap_loop](#bhv_castle_floor_trap_loop) + - [bhv_ccm_touched_star_spawn_loop](#bhv_ccm_touched_star_spawn_loop) + - [bhv_celebration_star_init](#bhv_celebration_star_init) + - [bhv_celebration_star_loop](#bhv_celebration_star_loop) + - [bhv_celebration_star_sparkle_loop](#bhv_celebration_star_sparkle_loop) + - [bhv_chain_chomp_chain_part_update](#bhv_chain_chomp_chain_part_update) + - [bhv_chain_chomp_gate_init](#bhv_chain_chomp_gate_init) + - [bhv_chain_chomp_gate_update](#bhv_chain_chomp_gate_update) + - [bhv_chain_chomp_update](#bhv_chain_chomp_update) + - [bhv_checkerboard_elevator_group_init](#bhv_checkerboard_elevator_group_init) + - [bhv_checkerboard_elevator_group_loop](#bhv_checkerboard_elevator_group_loop) + - [bhv_checkerboard_platform_init](#bhv_checkerboard_platform_init) + - [bhv_checkerboard_platform_loop](#bhv_checkerboard_platform_loop) + - [bhv_chuckya_anchor_mario_loop](#bhv_chuckya_anchor_mario_loop) + - [bhv_chuckya_loop](#bhv_chuckya_loop) + - [bhv_circling_amp_init](#bhv_circling_amp_init) + - [bhv_circling_amp_loop](#bhv_circling_amp_loop) + - [bhv_clam_loop](#bhv_clam_loop) + - [bhv_cloud_part_update](#bhv_cloud_part_update) + - [bhv_cloud_update](#bhv_cloud_update) + - [bhv_coffin_loop](#bhv_coffin_loop) + - [bhv_coffin_spawner_loop](#bhv_coffin_spawner_loop) + - [bhv_coin_formation_init](#bhv_coin_formation_init) + - [bhv_coin_formation_loop](#bhv_coin_formation_loop) + - [bhv_coin_formation_spawn_loop](#bhv_coin_formation_spawn_loop) + - [bhv_coin_init](#bhv_coin_init) + - [bhv_coin_inside_boo_loop](#bhv_coin_inside_boo_loop) + - [bhv_coin_loop](#bhv_coin_loop) + - [bhv_coin_sparkles_loop](#bhv_coin_sparkles_loop) + - [bhv_collect_star_init](#bhv_collect_star_init) + - [bhv_collect_star_loop](#bhv_collect_star_loop) + - [bhv_controllable_platform_init](#bhv_controllable_platform_init) + - [bhv_controllable_platform_loop](#bhv_controllable_platform_loop) + - [bhv_controllable_platform_sub_loop](#bhv_controllable_platform_sub_loop) + - [bhv_courtyard_boo_triplet_init](#bhv_courtyard_boo_triplet_init) + - [bhv_ddd_moving_pole_loop](#bhv_ddd_moving_pole_loop) + - [bhv_ddd_pole_init](#bhv_ddd_pole_init) + - [bhv_ddd_pole_update](#bhv_ddd_pole_update) + - [bhv_ddd_warp_loop](#bhv_ddd_warp_loop) + - [bhv_decorative_pendulum_init](#bhv_decorative_pendulum_init) + - [bhv_decorative_pendulum_loop](#bhv_decorative_pendulum_loop) + - [bhv_donut_platform_spawner_update](#bhv_donut_platform_spawner_update) + - [bhv_donut_platform_update](#bhv_donut_platform_update) + - [bhv_door_init](#bhv_door_init) + - [bhv_door_loop](#bhv_door_loop) + - [bhv_dorrie_update](#bhv_dorrie_update) + - [bhv_elevator_init](#bhv_elevator_init) + - [bhv_elevator_loop](#bhv_elevator_loop) + - [bhv_end_birds_1_loop](#bhv_end_birds_1_loop) + - [bhv_end_birds_2_loop](#bhv_end_birds_2_loop) + - [bhv_enemy_lakitu_update](#bhv_enemy_lakitu_update) + - [bhv_exclamation_box_init](#bhv_exclamation_box_init) + - [bhv_exclamation_box_loop](#bhv_exclamation_box_loop) + - [bhv_explosion_init](#bhv_explosion_init) + - [bhv_explosion_loop](#bhv_explosion_loop) + - [bhv_eyerok_boss_init](#bhv_eyerok_boss_init) + - [bhv_eyerok_boss_loop](#bhv_eyerok_boss_loop) + - [bhv_eyerok_hand_loop](#bhv_eyerok_hand_loop) + - [bhv_fading_warp_loop](#bhv_fading_warp_loop) + - [bhv_falling_bowser_platform_loop](#bhv_falling_bowser_platform_loop) + - [bhv_falling_pillar_hitbox_loop](#bhv_falling_pillar_hitbox_loop) + - [bhv_falling_pillar_init](#bhv_falling_pillar_init) + - [bhv_falling_pillar_loop](#bhv_falling_pillar_loop) + - [bhv_ferris_wheel_axle_init](#bhv_ferris_wheel_axle_init) + - [bhv_ferris_wheel_platform_update](#bhv_ferris_wheel_platform_update) + - [bhv_fire_piranha_plant_init](#bhv_fire_piranha_plant_init) + - [bhv_fire_piranha_plant_update](#bhv_fire_piranha_plant_update) + - [bhv_fire_spitter_update](#bhv_fire_spitter_update) + - [bhv_fish_group_loop](#bhv_fish_group_loop) + - [bhv_fish_loop](#bhv_fish_loop) + - [bhv_fish_spawner_loop](#bhv_fish_spawner_loop) + - [bhv_flame_bouncing_init](#bhv_flame_bouncing_init) + - [bhv_flame_bouncing_loop](#bhv_flame_bouncing_loop) + - [bhv_flame_bowser_init](#bhv_flame_bowser_init) + - [bhv_flame_bowser_loop](#bhv_flame_bowser_loop) + - [bhv_flame_floating_landing_init](#bhv_flame_floating_landing_init) + - [bhv_flame_floating_landing_loop](#bhv_flame_floating_landing_loop) + - [bhv_flame_large_burning_out_init](#bhv_flame_large_burning_out_init) + - [bhv_flame_mario_loop](#bhv_flame_mario_loop) + - [bhv_flame_moving_forward_growing_init](#bhv_flame_moving_forward_growing_init) + - [bhv_flame_moving_forward_growing_loop](#bhv_flame_moving_forward_growing_loop) + - [bhv_flamethrower_flame_loop](#bhv_flamethrower_flame_loop) + - [bhv_flamethrower_loop](#bhv_flamethrower_loop) + - [bhv_floating_platform_loop](#bhv_floating_platform_loop) + - [bhv_floor_trap_in_castle_loop](#bhv_floor_trap_in_castle_loop) + - [bhv_fly_guy_flame_loop](#bhv_fly_guy_flame_loop) + - [bhv_fly_guy_update](#bhv_fly_guy_update) + - [bhv_flying_bookend_loop](#bhv_flying_bookend_loop) + - [bhv_free_bowling_ball_init](#bhv_free_bowling_ball_init) + - [bhv_free_bowling_ball_loop](#bhv_free_bowling_ball_loop) + - [bhv_generic_bowling_ball_spawner_init](#bhv_generic_bowling_ball_spawner_init) + - [bhv_generic_bowling_ball_spawner_loop](#bhv_generic_bowling_ball_spawner_loop) + - [bhv_giant_pole_loop](#bhv_giant_pole_loop) + - [bhv_golden_coin_sparkles_loop](#bhv_golden_coin_sparkles_loop) + - [bhv_goomba_init](#bhv_goomba_init) + - [bhv_goomba_triplet_spawner_update](#bhv_goomba_triplet_spawner_update) + - [bhv_goomba_update](#bhv_goomba_update) + - [bhv_grand_star_init](#bhv_grand_star_init) + - [bhv_grand_star_loop](#bhv_grand_star_loop) + - [bhv_grindel_thwomp_loop](#bhv_grindel_thwomp_loop) + - [bhv_ground_sand_init](#bhv_ground_sand_init) + - [bhv_ground_snow_init](#bhv_ground_snow_init) + - [bhv_haunted_bookshelf_loop](#bhv_haunted_bookshelf_loop) + - [bhv_haunted_bookshelf_manager_loop](#bhv_haunted_bookshelf_manager_loop) + - [bhv_haunted_chair_init](#bhv_haunted_chair_init) + - [bhv_haunted_chair_loop](#bhv_haunted_chair_loop) + - [bhv_heave_ho_loop](#bhv_heave_ho_loop) + - [bhv_heave_ho_throw_mario_loop](#bhv_heave_ho_throw_mario_loop) + - [bhv_hidden_blue_coin_loop](#bhv_hidden_blue_coin_loop) + - [bhv_hidden_object_loop](#bhv_hidden_object_loop) + - [bhv_hidden_red_coin_star_init](#bhv_hidden_red_coin_star_init) + - [bhv_hidden_red_coin_star_loop](#bhv_hidden_red_coin_star_loop) + - [bhv_hidden_star_init](#bhv_hidden_star_init) + - [bhv_hidden_star_loop](#bhv_hidden_star_loop) + - [bhv_hidden_star_trigger_loop](#bhv_hidden_star_trigger_loop) + - [bhv_homing_amp_init](#bhv_homing_amp_init) + - [bhv_homing_amp_loop](#bhv_homing_amp_loop) + - [bhv_hoot_init](#bhv_hoot_init) + - [bhv_hoot_loop](#bhv_hoot_loop) + - [bhv_horizontal_grindel_init](#bhv_horizontal_grindel_init) + - [bhv_horizontal_grindel_update](#bhv_horizontal_grindel_update) + - [bhv_idle_water_wave_loop](#bhv_idle_water_wave_loop) + - [bhv_init_changing_water_level_loop](#bhv_init_changing_water_level_loop) + - [bhv_intro_lakitu_loop](#bhv_intro_lakitu_loop) + - [bhv_intro_peach_loop](#bhv_intro_peach_loop) + - [bhv_intro_scene_loop](#bhv_intro_scene_loop) + - [bhv_invisible_objects_under_bridge_init](#bhv_invisible_objects_under_bridge_init) + - [bhv_invisible_objects_under_bridge_loop](#bhv_invisible_objects_under_bridge_loop) + - [bhv_jet_stream_loop](#bhv_jet_stream_loop) + - [bhv_jet_stream_ring_spawner_loop](#bhv_jet_stream_ring_spawner_loop) + - [bhv_jet_stream_water_ring_init](#bhv_jet_stream_water_ring_init) + - [bhv_jet_stream_water_ring_loop](#bhv_jet_stream_water_ring_loop) + - [bhv_jrb_floating_box_loop](#bhv_jrb_floating_box_loop) + - [bhv_jrb_sliding_box_loop](#bhv_jrb_sliding_box_loop) + - [bhv_jumping_box_loop](#bhv_jumping_box_loop) + - [bhv_kickable_board_loop](#bhv_kickable_board_loop) + - [bhv_king_bobomb_loop](#bhv_king_bobomb_loop) + - [bhv_klepto_init](#bhv_klepto_init) + - [bhv_klepto_update](#bhv_klepto_update) + - [bhv_koopa_init](#bhv_koopa_init) + - [bhv_koopa_race_endpoint_update](#bhv_koopa_race_endpoint_update) + - [bhv_koopa_shell_flame_loop](#bhv_koopa_shell_flame_loop) + - [bhv_koopa_shell_loop](#bhv_koopa_shell_loop) + - [bhv_koopa_shell_underwater_loop](#bhv_koopa_shell_underwater_loop) + - [bhv_koopa_update](#bhv_koopa_update) + - [bhv_large_bomp_init](#bhv_large_bomp_init) + - [bhv_large_bomp_loop](#bhv_large_bomp_loop) + - [bhv_lll_bowser_puzzle_loop](#bhv_lll_bowser_puzzle_loop) + - [bhv_lll_bowser_puzzle_piece_loop](#bhv_lll_bowser_puzzle_piece_loop) + - [bhv_lll_drawbridge_loop](#bhv_lll_drawbridge_loop) + - [bhv_lll_drawbridge_spawner_init](#bhv_lll_drawbridge_spawner_init) + - [bhv_lll_drawbridge_spawner_loop](#bhv_lll_drawbridge_spawner_loop) + - [bhv_lll_floating_wood_bridge_loop](#bhv_lll_floating_wood_bridge_loop) + - [bhv_lll_moving_octagonal_mesh_platform_loop](#bhv_lll_moving_octagonal_mesh_platform_loop) + - [bhv_lll_rolling_log_init](#bhv_lll_rolling_log_init) + - [bhv_lll_rotating_block_fire_bars_loop](#bhv_lll_rotating_block_fire_bars_loop) + - [bhv_lll_rotating_hex_flame_loop](#bhv_lll_rotating_hex_flame_loop) + - [bhv_lll_rotating_hexagonal_ring_loop](#bhv_lll_rotating_hexagonal_ring_loop) + - [bhv_lll_sinking_rectangular_platform_loop](#bhv_lll_sinking_rectangular_platform_loop) + - [bhv_lll_sinking_rock_block_loop](#bhv_lll_sinking_rock_block_loop) + - [bhv_lll_sinking_square_platforms_loop](#bhv_lll_sinking_square_platforms_loop) + - [bhv_lll_wood_piece_loop](#bhv_lll_wood_piece_loop) + - [bhv_mad_piano_update](#bhv_mad_piano_update) + - [bhv_manta_ray_init](#bhv_manta_ray_init) + - [bhv_manta_ray_loop](#bhv_manta_ray_loop) + - [bhv_manta_ray_water_ring_init](#bhv_manta_ray_water_ring_init) + - [bhv_manta_ray_water_ring_loop](#bhv_manta_ray_water_ring_loop) + - [bhv_menu_button_init](#bhv_menu_button_init) + - [bhv_menu_button_loop](#bhv_menu_button_loop) + - [bhv_menu_button_manager_init](#bhv_menu_button_manager_init) + - [bhv_menu_button_manager_loop](#bhv_menu_button_manager_loop) + - [bhv_merry_go_round_boo_manager_loop](#bhv_merry_go_round_boo_manager_loop) + - [bhv_merry_go_round_loop](#bhv_merry_go_round_loop) + - [bhv_metal_cap_init](#bhv_metal_cap_init) + - [bhv_metal_cap_loop](#bhv_metal_cap_loop) + - [bhv_mips_init](#bhv_mips_init) + - [bhv_mips_loop](#bhv_mips_loop) + - [bhv_moat_grills_loop](#bhv_moat_grills_loop) + - [bhv_moneybag_hidden_loop](#bhv_moneybag_hidden_loop) + - [bhv_moneybag_init](#bhv_moneybag_init) + - [bhv_moneybag_loop](#bhv_moneybag_loop) + - [bhv_monty_mole_hole_update](#bhv_monty_mole_hole_update) + - [bhv_monty_mole_init](#bhv_monty_mole_init) + - [bhv_monty_mole_rock_update](#bhv_monty_mole_rock_update) + - [bhv_monty_mole_update](#bhv_monty_mole_update) + - [bhv_moving_blue_coin_init](#bhv_moving_blue_coin_init) + - [bhv_moving_blue_coin_loop](#bhv_moving_blue_coin_loop) + - [bhv_moving_yellow_coin_init](#bhv_moving_yellow_coin_init) + - [bhv_moving_yellow_coin_loop](#bhv_moving_yellow_coin_loop) + - [bhv_mr_blizzard_init](#bhv_mr_blizzard_init) + - [bhv_mr_blizzard_snowball](#bhv_mr_blizzard_snowball) + - [bhv_mr_blizzard_update](#bhv_mr_blizzard_update) + - [bhv_mr_i_body_loop](#bhv_mr_i_body_loop) + - [bhv_mr_i_loop](#bhv_mr_i_loop) + - [bhv_mr_i_particle_loop](#bhv_mr_i_particle_loop) + - [bhv_normal_cap_init](#bhv_normal_cap_init) + - [bhv_normal_cap_loop](#bhv_normal_cap_loop) + - [bhv_object_bubble_init](#bhv_object_bubble_init) + - [bhv_object_bubble_loop](#bhv_object_bubble_loop) + - [bhv_object_water_wave_init](#bhv_object_water_wave_init) + - [bhv_object_water_wave_loop](#bhv_object_water_wave_loop) + - [bhv_openable_cage_door_loop](#bhv_openable_cage_door_loop) + - [bhv_openable_grill_loop](#bhv_openable_grill_loop) + - [bhv_orange_number_init](#bhv_orange_number_init) + - [bhv_orange_number_loop](#bhv_orange_number_loop) + - [bhv_particle_init](#bhv_particle_init) + - [bhv_particle_loop](#bhv_particle_loop) + - [bhv_penguin_race_finish_line_update](#bhv_penguin_race_finish_line_update) + - [bhv_penguin_race_shortcut_check_update](#bhv_penguin_race_shortcut_check_update) + - [bhv_piranha_particle_loop](#bhv_piranha_particle_loop) + - [bhv_piranha_plant_bubble_loop](#bhv_piranha_plant_bubble_loop) + - [bhv_piranha_plant_loop](#bhv_piranha_plant_loop) + - [bhv_piranha_plant_waking_bubbles_loop](#bhv_piranha_plant_waking_bubbles_loop) + - [bhv_platform_normals_init](#bhv_platform_normals_init) + - [bhv_platform_on_track_init](#bhv_platform_on_track_init) + - [bhv_platform_on_track_update](#bhv_platform_on_track_update) + - [bhv_play_music_track_when_touched_loop](#bhv_play_music_track_when_touched_loop) + - [bhv_pokey_body_part_update](#bhv_pokey_body_part_update) + - [bhv_pokey_update](#bhv_pokey_update) + - [bhv_pole_base_loop](#bhv_pole_base_loop) + - [bhv_pole_init](#bhv_pole_init) + - [bhv_pound_tiny_star_particle_init](#bhv_pound_tiny_star_particle_init) + - [bhv_pound_tiny_star_particle_loop](#bhv_pound_tiny_star_particle_loop) + - [bhv_pound_white_puffs_init](#bhv_pound_white_puffs_init) + - [bhv_punch_tiny_triangle_init](#bhv_punch_tiny_triangle_init) + - [bhv_punch_tiny_triangle_loop](#bhv_punch_tiny_triangle_loop) + - [bhv_purple_switch_loop](#bhv_purple_switch_loop) + - [bhv_pushable_loop](#bhv_pushable_loop) + - [bhv_pyramid_elevator_init](#bhv_pyramid_elevator_init) + - [bhv_pyramid_elevator_loop](#bhv_pyramid_elevator_loop) + - [bhv_pyramid_elevator_trajectory_marker_ball_loop](#bhv_pyramid_elevator_trajectory_marker_ball_loop) + - [bhv_pyramid_pillar_touch_detector_loop](#bhv_pyramid_pillar_touch_detector_loop) + - [bhv_pyramid_top_fragment_init](#bhv_pyramid_top_fragment_init) + - [bhv_pyramid_top_fragment_loop](#bhv_pyramid_top_fragment_loop) + - [bhv_pyramid_top_init](#bhv_pyramid_top_init) + - [bhv_pyramid_top_loop](#bhv_pyramid_top_loop) + - [bhv_racing_penguin_init](#bhv_racing_penguin_init) + - [bhv_racing_penguin_update](#bhv_racing_penguin_update) + - [bhv_recovery_heart_loop](#bhv_recovery_heart_loop) + - [bhv_red_coin_init](#bhv_red_coin_init) + - [bhv_red_coin_loop](#bhv_red_coin_loop) + - [bhv_red_coin_star_marker_init](#bhv_red_coin_star_marker_init) + - [bhv_respawner_loop](#bhv_respawner_loop) + - [bhv_rolling_log_loop](#bhv_rolling_log_loop) + - [bhv_rotating_clock_arm_loop](#bhv_rotating_clock_arm_loop) + - [bhv_rotating_exclamation_box_loop](#bhv_rotating_exclamation_box_loop) + - [bhv_rotating_octagonal_plat_init](#bhv_rotating_octagonal_plat_init) + - [bhv_rotating_octagonal_plat_loop](#bhv_rotating_octagonal_plat_loop) + - [bhv_rotating_platform_loop](#bhv_rotating_platform_loop) + - [bhv_rr_cruiser_wing_init](#bhv_rr_cruiser_wing_init) + - [bhv_rr_cruiser_wing_loop](#bhv_rr_cruiser_wing_loop) + - [bhv_rr_rotating_bridge_platform_loop](#bhv_rr_rotating_bridge_platform_loop) + - [bhv_sand_sound_loop](#bhv_sand_sound_loop) + - [bhv_scuttlebug_loop](#bhv_scuttlebug_loop) + - [bhv_scuttlebug_spawn_loop](#bhv_scuttlebug_spawn_loop) + - [bhv_seaweed_bundle_init](#bhv_seaweed_bundle_init) + - [bhv_seaweed_init](#bhv_seaweed_init) + - [bhv_seesaw_platform_init](#bhv_seesaw_platform_init) + - [bhv_seesaw_platform_update](#bhv_seesaw_platform_update) + - [bhv_shallow_water_splash_init](#bhv_shallow_water_splash_init) + - [bhv_ship_part_3_loop](#bhv_ship_part_3_loop) + - [bhv_skeeter_update](#bhv_skeeter_update) + - [bhv_skeeter_wave_update](#bhv_skeeter_wave_update) + - [bhv_sl_snowman_wind_loop](#bhv_sl_snowman_wind_loop) + - [bhv_sl_walking_penguin_loop](#bhv_sl_walking_penguin_loop) + - [bhv_sliding_plat_2_init](#bhv_sliding_plat_2_init) + - [bhv_sliding_plat_2_loop](#bhv_sliding_plat_2_loop) + - [bhv_sliding_snow_mound_loop](#bhv_sliding_snow_mound_loop) + - [bhv_small_bomp_init](#bhv_small_bomp_init) + - [bhv_small_bomp_loop](#bhv_small_bomp_loop) + - [bhv_small_bubbles_loop](#bhv_small_bubbles_loop) + - [bhv_small_bully_init](#bhv_small_bully_init) + - [bhv_small_penguin_loop](#bhv_small_penguin_loop) + - [bhv_small_piranha_flame_loop](#bhv_small_piranha_flame_loop) + - [bhv_small_water_wave_loop](#bhv_small_water_wave_loop) + - [bhv_snow_leaf_particle_spawn_init](#bhv_snow_leaf_particle_spawn_init) + - [bhv_snow_mound_spawn_loop](#bhv_snow_mound_spawn_loop) + - [bhv_snowmans_body_checkpoint_loop](#bhv_snowmans_body_checkpoint_loop) + - [bhv_snowmans_bottom_init](#bhv_snowmans_bottom_init) + - [bhv_snowmans_bottom_loop](#bhv_snowmans_bottom_loop) + - [bhv_snowmans_head_init](#bhv_snowmans_head_init) + - [bhv_snowmans_head_loop](#bhv_snowmans_head_loop) + - [bhv_snufit_balls_loop](#bhv_snufit_balls_loop) + - [bhv_snufit_loop](#bhv_snufit_loop) + - [bhv_sound_spawner_init](#bhv_sound_spawner_init) + - [bhv_sparkle_spawn_loop](#bhv_sparkle_spawn_loop) + - [bhv_spawn_star_no_level_exit](#bhv_spawn_star_no_level_exit) + - [bhv_spawned_star_init](#bhv_spawned_star_init) + - [bhv_spawned_star_loop](#bhv_spawned_star_loop) + - [bhv_spindel_init](#bhv_spindel_init) + - [bhv_spindel_loop](#bhv_spindel_loop) + - [bhv_spindrift_loop](#bhv_spindrift_loop) + - [bhv_spiny_update](#bhv_spiny_update) + - [bhv_squarish_path_moving_loop](#bhv_squarish_path_moving_loop) + - [bhv_squarish_path_parent_init](#bhv_squarish_path_parent_init) + - [bhv_squarish_path_parent_loop](#bhv_squarish_path_parent_loop) + - [bhv_squishable_platform_loop](#bhv_squishable_platform_loop) + - [bhv_ssl_moving_pyramid_wall_init](#bhv_ssl_moving_pyramid_wall_init) + - [bhv_ssl_moving_pyramid_wall_loop](#bhv_ssl_moving_pyramid_wall_loop) + - [bhv_star_door_loop](#bhv_star_door_loop) + - [bhv_star_door_loop_2](#bhv_star_door_loop_2) + - [bhv_star_key_collection_puff_spawner_loop](#bhv_star_key_collection_puff_spawner_loop) + - [bhv_star_spawn_init](#bhv_star_spawn_init) + - [bhv_star_spawn_loop](#bhv_star_spawn_loop) + - [bhv_static_checkered_platform_loop](#bhv_static_checkered_platform_loop) + - [bhv_strong_wind_particle_loop](#bhv_strong_wind_particle_loop) + - [bhv_sunken_ship_part_loop](#bhv_sunken_ship_part_loop) + - [bhv_sushi_shark_collision_loop](#bhv_sushi_shark_collision_loop) + - [bhv_sushi_shark_loop](#bhv_sushi_shark_loop) + - [bhv_swing_platform_init](#bhv_swing_platform_init) + - [bhv_swing_platform_update](#bhv_swing_platform_update) + - [bhv_swoop_update](#bhv_swoop_update) + - [bhv_tank_fish_group_loop](#bhv_tank_fish_group_loop) + - [bhv_temp_coin_loop](#bhv_temp_coin_loop) + - [bhv_thi_bowling_ball_spawner_loop](#bhv_thi_bowling_ball_spawner_loop) + - [bhv_thi_huge_island_top_loop](#bhv_thi_huge_island_top_loop) + - [bhv_thi_tiny_island_top_loop](#bhv_thi_tiny_island_top_loop) + - [bhv_tilting_bowser_lava_platform_init](#bhv_tilting_bowser_lava_platform_init) + - [bhv_tilting_inverted_pyramid_loop](#bhv_tilting_inverted_pyramid_loop) + - [bhv_tiny_star_particles_init](#bhv_tiny_star_particles_init) + - [bhv_tower_door_loop](#bhv_tower_door_loop) + - [bhv_tower_platform_group_init](#bhv_tower_platform_group_init) + - [bhv_tower_platform_group_loop](#bhv_tower_platform_group_loop) + - [bhv_tox_box_loop](#bhv_tox_box_loop) + - [bhv_track_ball_update](#bhv_track_ball_update) + - [bhv_treasure_chest_bottom_init](#bhv_treasure_chest_bottom_init) + - [bhv_treasure_chest_bottom_loop](#bhv_treasure_chest_bottom_loop) + - [bhv_treasure_chest_init](#bhv_treasure_chest_init) + - [bhv_treasure_chest_jrb_init](#bhv_treasure_chest_jrb_init) + - [bhv_treasure_chest_jrb_loop](#bhv_treasure_chest_jrb_loop) + - [bhv_treasure_chest_loop](#bhv_treasure_chest_loop) + - [bhv_treasure_chest_ship_init](#bhv_treasure_chest_ship_init) + - [bhv_treasure_chest_ship_loop](#bhv_treasure_chest_ship_loop) + - [bhv_treasure_chest_top_loop](#bhv_treasure_chest_top_loop) + - [bhv_tree_snow_or_leaf_loop](#bhv_tree_snow_or_leaf_loop) + - [bhv_triplet_butterfly_update](#bhv_triplet_butterfly_update) + - [bhv_ttc_2d_rotator_init](#bhv_ttc_2d_rotator_init) + - [bhv_ttc_2d_rotator_update](#bhv_ttc_2d_rotator_update) + - [bhv_ttc_cog_init](#bhv_ttc_cog_init) + - [bhv_ttc_cog_update](#bhv_ttc_cog_update) + - [bhv_ttc_elevator_init](#bhv_ttc_elevator_init) + - [bhv_ttc_elevator_update](#bhv_ttc_elevator_update) + - [bhv_ttc_moving_bar_init](#bhv_ttc_moving_bar_init) + - [bhv_ttc_moving_bar_update](#bhv_ttc_moving_bar_update) + - [bhv_ttc_pendulum_init](#bhv_ttc_pendulum_init) + - [bhv_ttc_pendulum_update](#bhv_ttc_pendulum_update) + - [bhv_ttc_pit_block_init](#bhv_ttc_pit_block_init) + - [bhv_ttc_pit_block_update](#bhv_ttc_pit_block_update) + - [bhv_ttc_rotating_solid_init](#bhv_ttc_rotating_solid_init) + - [bhv_ttc_rotating_solid_update](#bhv_ttc_rotating_solid_update) + - [bhv_ttc_spinner_update](#bhv_ttc_spinner_update) + - [bhv_ttc_treadmill_init](#bhv_ttc_treadmill_init) + - [bhv_ttc_treadmill_update](#bhv_ttc_treadmill_update) + - [bhv_ttm_rolling_log_init](#bhv_ttm_rolling_log_init) + - [bhv_tumbling_bridge_loop](#bhv_tumbling_bridge_loop) + - [bhv_tumbling_bridge_platform_loop](#bhv_tumbling_bridge_platform_loop) + - [bhv_tuxies_mother_loop](#bhv_tuxies_mother_loop) + - [bhv_tweester_loop](#bhv_tweester_loop) + - [bhv_tweester_sand_particle_loop](#bhv_tweester_sand_particle_loop) + - [bhv_ukiki_cage_loop](#bhv_ukiki_cage_loop) + - [bhv_ukiki_cage_star_loop](#bhv_ukiki_cage_star_loop) + - [bhv_ukiki_init](#bhv_ukiki_init) + - [bhv_ukiki_loop](#bhv_ukiki_loop) + - [bhv_unagi_init](#bhv_unagi_init) + - [bhv_unagi_loop](#bhv_unagi_loop) + - [bhv_unagi_subobject_loop](#bhv_unagi_subobject_loop) + - [bhv_unused_particle_spawn_loop](#bhv_unused_particle_spawn_loop) + - [bhv_unused_poundable_platform](#bhv_unused_poundable_platform) + - [bhv_vanish_cap_init](#bhv_vanish_cap_init) + - [bhv_volcano_flames_loop](#bhv_volcano_flames_loop) + - [bhv_volcano_sound_loop](#bhv_volcano_sound_loop) + - [bhv_volcano_trap_loop](#bhv_volcano_trap_loop) + - [bhv_wall_tiny_star_particle_loop](#bhv_wall_tiny_star_particle_loop) + - [bhv_warp_loop](#bhv_warp_loop) + - [bhv_water_air_bubble_init](#bhv_water_air_bubble_init) + - [bhv_water_air_bubble_loop](#bhv_water_air_bubble_loop) + - [bhv_water_bomb_cannon_loop](#bhv_water_bomb_cannon_loop) + - [bhv_water_bomb_shadow_update](#bhv_water_bomb_shadow_update) + - [bhv_water_bomb_spawner_update](#bhv_water_bomb_spawner_update) + - [bhv_water_bomb_update](#bhv_water_bomb_update) + - [bhv_water_droplet_loop](#bhv_water_droplet_loop) + - [bhv_water_droplet_splash_init](#bhv_water_droplet_splash_init) + - [bhv_water_level_diamond_loop](#bhv_water_level_diamond_loop) + - [bhv_water_level_pillar_init](#bhv_water_level_pillar_init) + - [bhv_water_level_pillar_loop](#bhv_water_level_pillar_loop) + - [bhv_water_mist_2_loop](#bhv_water_mist_2_loop) + - [bhv_water_mist_loop](#bhv_water_mist_loop) + - [bhv_water_mist_spawn_loop](#bhv_water_mist_spawn_loop) + - [bhv_water_splash_spawn_droplets](#bhv_water_splash_spawn_droplets) + - [bhv_water_waves_init](#bhv_water_waves_init) + - [bhv_waterfall_sound_loop](#bhv_waterfall_sound_loop) + - [bhv_wave_trail_shrink](#bhv_wave_trail_shrink) + - [bhv_wdw_express_elevator_loop](#bhv_wdw_express_elevator_loop) + - [bhv_wf_breakable_wall_loop](#bhv_wf_breakable_wall_loop) + - [bhv_wf_elevator_tower_platform_loop](#bhv_wf_elevator_tower_platform_loop) + - [bhv_wf_rotating_wooden_platform_init](#bhv_wf_rotating_wooden_platform_init) + - [bhv_wf_rotating_wooden_platform_loop](#bhv_wf_rotating_wooden_platform_loop) + - [bhv_wf_sliding_platform_init](#bhv_wf_sliding_platform_init) + - [bhv_wf_sliding_platform_loop](#bhv_wf_sliding_platform_loop) + - [bhv_wf_sliding_tower_platform_loop](#bhv_wf_sliding_tower_platform_loop) + - [bhv_wf_solid_tower_platform_loop](#bhv_wf_solid_tower_platform_loop) + - [bhv_whirlpool_init](#bhv_whirlpool_init) + - [bhv_whirlpool_loop](#bhv_whirlpool_loop) + - [bhv_white_puff_1_loop](#bhv_white_puff_1_loop) + - [bhv_white_puff_2_loop](#bhv_white_puff_2_loop) + - [bhv_white_puff_exploding_loop](#bhv_white_puff_exploding_loop) + - [bhv_white_puff_smoke_init](#bhv_white_puff_smoke_init) + - [bhv_whomp_loop](#bhv_whomp_loop) + - [bhv_wiggler_body_part_update](#bhv_wiggler_body_part_update) + - [bhv_wiggler_update](#bhv_wiggler_update) + - [bhv_wind_loop](#bhv_wind_loop) + - [bhv_wing_cap_init](#bhv_wing_cap_init) + - [bhv_wing_vanish_cap_loop](#bhv_wing_vanish_cap_loop) + - [bhv_wooden_post_update](#bhv_wooden_post_update) + - [bhv_yellow_coin_init](#bhv_yellow_coin_init) + - [bhv_yellow_coin_loop](#bhv_yellow_coin_loop) + - [bhv_yoshi_init](#bhv_yoshi_init) + - [bhv_yoshi_loop](#bhv_yoshi_loop) + - [check_if_moving_over_floor](#check_if_moving_over_floor) + - [clear_particle_flags](#clear_particle_flags) + - [common_anchor_mario_behavior](#common_anchor_mario_behavior) + - [cur_obj_spawn_strong_wind_particles](#cur_obj_spawn_strong_wind_particles) + - [mario_moving_fast_enough_to_make_piranha_plant_bite](#mario_moving_fast_enough_to_make_piranha_plant_bite) + - [obj_set_secondary_camera_focus](#obj_set_secondary_camera_focus) + - [play_penguin_walking_sound](#play_penguin_walking_sound) + - [spawn_default_star](#spawn_default_star) + - [spawn_mist_from_global](#spawn_mist_from_global) + - [spawn_mist_particles_variable](#spawn_mist_particles_variable) + - [spawn_no_exit_star](#spawn_no_exit_star) + - [spawn_red_coin_cutscene_star](#spawn_red_coin_cutscene_star) + - [spawn_triangle_break_particles](#spawn_triangle_break_particles) + - [spawn_wind_particles](#spawn_wind_particles) + - [tox_box_move](#tox_box_move) + - [update_angle_from_move_flags](#update_angle_from_move_flags) + - [vec3f_copy_2](#vec3f_copy_2) + +
+ - behavior_table.h - [get_behavior_from_id](#get_behavior_from_id) - [get_behavior_name_from_id](#get_behavior_name_from_id) @@ -899,6 +1466,10206 @@ The `reliable` field will ensure that the packet arrives, but should be used spa
+--- +# functions from behavior_actions.h + +
+ + +## [arc_to_goal_pos](#arc_to_goal_pos) + +### Lua Example +`local integerValue = arc_to_goal_pos(a0, a1, yVel, gravity)` + +### Parameters +| Field | Type | +| ----- | ---- | +| a0 | [Vec3f](structs.md#Vec3f) | +| a1 | [Vec3f](structs.md#Vec3f) | +| yVel | `number` | +| gravity | `number` | + +### Returns +- `integer` + +### C Prototype +`s32 arc_to_goal_pos(Vec3f a0, Vec3f a1, f32 yVel, f32 gravity);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_common_init](#bhv_1up_common_init) + +### Lua Example +`bhv_1up_common_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_common_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_hidden_in_pole_loop](#bhv_1up_hidden_in_pole_loop) + +### Lua Example +`bhv_1up_hidden_in_pole_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_hidden_in_pole_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_hidden_in_pole_spawner_loop](#bhv_1up_hidden_in_pole_spawner_loop) + +### Lua Example +`bhv_1up_hidden_in_pole_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_hidden_in_pole_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_hidden_in_pole_trigger_loop](#bhv_1up_hidden_in_pole_trigger_loop) + +### Lua Example +`bhv_1up_hidden_in_pole_trigger_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_hidden_in_pole_trigger_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_hidden_loop](#bhv_1up_hidden_loop) + +### Lua Example +`bhv_1up_hidden_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_hidden_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_hidden_trigger_loop](#bhv_1up_hidden_trigger_loop) + +### Lua Example +`bhv_1up_hidden_trigger_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_hidden_trigger_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_init](#bhv_1up_init) + +### Lua Example +`bhv_1up_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_jump_on_approach_loop](#bhv_1up_jump_on_approach_loop) + +### Lua Example +`bhv_1up_jump_on_approach_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_jump_on_approach_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_loop](#bhv_1up_loop) + +### Lua Example +`bhv_1up_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_running_away_loop](#bhv_1up_running_away_loop) + +### Lua Example +`bhv_1up_running_away_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_running_away_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_sliding_loop](#bhv_1up_sliding_loop) + +### Lua Example +`bhv_1up_sliding_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_sliding_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_1up_walking_loop](#bhv_1up_walking_loop) + +### Lua Example +`bhv_1up_walking_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_1up_walking_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_act_selector_init](#bhv_act_selector_init) + +### Lua Example +`bhv_act_selector_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_act_selector_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_act_selector_loop](#bhv_act_selector_loop) + +### Lua Example +`bhv_act_selector_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_act_selector_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_act_selector_star_type_loop](#bhv_act_selector_star_type_loop) + +### Lua Example +`bhv_act_selector_star_type_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_act_selector_star_type_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_activated_back_and_forth_platform_init](#bhv_activated_back_and_forth_platform_init) + +### Lua Example +`bhv_activated_back_and_forth_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_activated_back_and_forth_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_activated_back_and_forth_platform_update](#bhv_activated_back_and_forth_platform_update) + +### Lua Example +`bhv_activated_back_and_forth_platform_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_activated_back_and_forth_platform_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_alpha_boo_key_loop](#bhv_alpha_boo_key_loop) + +### Lua Example +`bhv_alpha_boo_key_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_alpha_boo_key_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ambient_sounds_init](#bhv_ambient_sounds_init) + +### Lua Example +`bhv_ambient_sounds_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ambient_sounds_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_animated_texture_loop](#bhv_animated_texture_loop) + +### Lua Example +`bhv_animated_texture_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_animated_texture_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_animates_on_floor_switch_press_init](#bhv_animates_on_floor_switch_press_init) + +### Lua Example +`bhv_animates_on_floor_switch_press_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_animates_on_floor_switch_press_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_animates_on_floor_switch_press_loop](#bhv_animates_on_floor_switch_press_loop) + +### Lua Example +`bhv_animates_on_floor_switch_press_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_animates_on_floor_switch_press_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_arrow_lift_loop](#bhv_arrow_lift_loop) + +### Lua Example +`bhv_arrow_lift_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_arrow_lift_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bbh_tilting_trap_platform_loop](#bhv_bbh_tilting_trap_platform_loop) + +### Lua Example +`bhv_bbh_tilting_trap_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bbh_tilting_trap_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_boo_key_loop](#bhv_beta_boo_key_loop) + +### Lua Example +`bhv_beta_boo_key_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_boo_key_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_bowser_anchor_loop](#bhv_beta_bowser_anchor_loop) + +### Lua Example +`bhv_beta_bowser_anchor_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_bowser_anchor_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_chest_bottom_init](#bhv_beta_chest_bottom_init) + +### Lua Example +`bhv_beta_chest_bottom_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_chest_bottom_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_chest_bottom_loop](#bhv_beta_chest_bottom_loop) + +### Lua Example +`bhv_beta_chest_bottom_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_chest_bottom_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_chest_lid_loop](#bhv_beta_chest_lid_loop) + +### Lua Example +`bhv_beta_chest_lid_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_chest_lid_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_fish_splash_spawner_loop](#bhv_beta_fish_splash_spawner_loop) + +### Lua Example +`bhv_beta_fish_splash_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_fish_splash_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_holdable_object_init](#bhv_beta_holdable_object_init) + +### Lua Example +`bhv_beta_holdable_object_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_holdable_object_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_holdable_object_loop](#bhv_beta_holdable_object_loop) + +### Lua Example +`bhv_beta_holdable_object_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_holdable_object_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_moving_flames_loop](#bhv_beta_moving_flames_loop) + +### Lua Example +`bhv_beta_moving_flames_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_moving_flames_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_moving_flames_spawn_loop](#bhv_beta_moving_flames_spawn_loop) + +### Lua Example +`bhv_beta_moving_flames_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_moving_flames_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_trampoline_spring_loop](#bhv_beta_trampoline_spring_loop) + +### Lua Example +`bhv_beta_trampoline_spring_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_trampoline_spring_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_beta_trampoline_top_loop](#bhv_beta_trampoline_top_loop) + +### Lua Example +`bhv_beta_trampoline_top_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_beta_trampoline_top_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_boo_loop](#bhv_big_boo_loop) + +### Lua Example +`bhv_big_boo_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_boo_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_boulder_generator_loop](#bhv_big_boulder_generator_loop) + +### Lua Example +`bhv_big_boulder_generator_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_boulder_generator_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_boulder_init](#bhv_big_boulder_init) + +### Lua Example +`bhv_big_boulder_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_boulder_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_boulder_loop](#bhv_big_boulder_loop) + +### Lua Example +`bhv_big_boulder_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_boulder_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_bully_init](#bhv_big_bully_init) + +### Lua Example +`bhv_big_bully_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_bully_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_bully_with_minions_init](#bhv_big_bully_with_minions_init) + +### Lua Example +`bhv_big_bully_with_minions_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_bully_with_minions_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_big_bully_with_minions_loop](#bhv_big_bully_with_minions_loop) + +### Lua Example +`bhv_big_bully_with_minions_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_big_bully_with_minions_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bird_update](#bhv_bird_update) + +### Lua Example +`bhv_bird_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bird_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_birds_sound_loop](#bhv_birds_sound_loop) + +### Lua Example +`bhv_birds_sound_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_birds_sound_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bitfs_sinking_cage_platform_loop](#bhv_bitfs_sinking_cage_platform_loop) + +### Lua Example +`bhv_bitfs_sinking_cage_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bitfs_sinking_cage_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bitfs_sinking_platform_loop](#bhv_bitfs_sinking_platform_loop) + +### Lua Example +`bhv_bitfs_sinking_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bitfs_sinking_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_black_smoke_bowser_loop](#bhv_black_smoke_bowser_loop) + +### Lua Example +`bhv_black_smoke_bowser_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_black_smoke_bowser_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_black_smoke_mario_loop](#bhv_black_smoke_mario_loop) + +### Lua Example +`bhv_black_smoke_mario_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_black_smoke_mario_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_black_smoke_upward_loop](#bhv_black_smoke_upward_loop) + +### Lua Example +`bhv_black_smoke_upward_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_black_smoke_upward_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_bowser_flame_init](#bhv_blue_bowser_flame_init) + +### Lua Example +`bhv_blue_bowser_flame_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_bowser_flame_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_bowser_flame_loop](#bhv_blue_bowser_flame_loop) + +### Lua Example +`bhv_blue_bowser_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_bowser_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_coin_jumping_loop](#bhv_blue_coin_jumping_loop) + +### Lua Example +`bhv_blue_coin_jumping_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_coin_jumping_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_coin_sliding_jumping_init](#bhv_blue_coin_sliding_jumping_init) + +### Lua Example +`bhv_blue_coin_sliding_jumping_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_coin_sliding_jumping_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_coin_sliding_loop](#bhv_blue_coin_sliding_loop) + +### Lua Example +`bhv_blue_coin_sliding_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_coin_sliding_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_coin_switch_loop](#bhv_blue_coin_switch_loop) + +### Lua Example +`bhv_blue_coin_switch_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_coin_switch_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_fish_movement_loop](#bhv_blue_fish_movement_loop) + +### Lua Example +`bhv_blue_fish_movement_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_fish_movement_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_blue_flames_group_loop](#bhv_blue_flames_group_loop) + +### Lua Example +`bhv_blue_flames_group_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_blue_flames_group_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bob_pit_bowling_ball_init](#bhv_bob_pit_bowling_ball_init) + +### Lua Example +`bhv_bob_pit_bowling_ball_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bob_pit_bowling_ball_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bob_pit_bowling_ball_loop](#bhv_bob_pit_bowling_ball_loop) + +### Lua Example +`bhv_bob_pit_bowling_ball_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bob_pit_bowling_ball_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_anchor_mario_loop](#bhv_bobomb_anchor_mario_loop) + +### Lua Example +`bhv_bobomb_anchor_mario_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_anchor_mario_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_buddy_init](#bhv_bobomb_buddy_init) + +### Lua Example +`bhv_bobomb_buddy_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_buddy_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_buddy_loop](#bhv_bobomb_buddy_loop) + +### Lua Example +`bhv_bobomb_buddy_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_buddy_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_bully_death_smoke_init](#bhv_bobomb_bully_death_smoke_init) + +### Lua Example +`bhv_bobomb_bully_death_smoke_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_bully_death_smoke_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_explosion_bubble_init](#bhv_bobomb_explosion_bubble_init) + +### Lua Example +`bhv_bobomb_explosion_bubble_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_explosion_bubble_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_explosion_bubble_loop](#bhv_bobomb_explosion_bubble_loop) + +### Lua Example +`bhv_bobomb_explosion_bubble_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_explosion_bubble_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_fuse_smoke_init](#bhv_bobomb_fuse_smoke_init) + +### Lua Example +`bhv_bobomb_fuse_smoke_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_fuse_smoke_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_init](#bhv_bobomb_init) + +### Lua Example +`bhv_bobomb_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bobomb_loop](#bhv_bobomb_loop) + +### Lua Example +`bhv_bobomb_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bobomb_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_boss_spawned_bridge_loop](#bhv_boo_boss_spawned_bridge_loop) + +### Lua Example +`bhv_boo_boss_spawned_bridge_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_boss_spawned_bridge_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_cage_init](#bhv_boo_cage_init) + +### Lua Example +`bhv_boo_cage_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_cage_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_cage_loop](#bhv_boo_cage_loop) + +### Lua Example +`bhv_boo_cage_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_cage_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_in_castle_loop](#bhv_boo_in_castle_loop) + +### Lua Example +`bhv_boo_in_castle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_in_castle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_init](#bhv_boo_init) + +### Lua Example +`bhv_boo_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_loop](#bhv_boo_loop) + +### Lua Example +`bhv_boo_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_with_cage_init](#bhv_boo_with_cage_init) + +### Lua Example +`bhv_boo_with_cage_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_with_cage_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_boo_with_cage_loop](#bhv_boo_with_cage_loop) + +### Lua Example +`bhv_boo_with_cage_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_boo_with_cage_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_book_switch_loop](#bhv_book_switch_loop) + +### Lua Example +`bhv_book_switch_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_book_switch_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bookend_spawn_loop](#bhv_bookend_spawn_loop) + +### Lua Example +`bhv_bookend_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bookend_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bouncing_fireball_flame_loop](#bhv_bouncing_fireball_flame_loop) + +### Lua Example +`bhv_bouncing_fireball_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bouncing_fireball_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bouncing_fireball_loop](#bhv_bouncing_fireball_loop) + +### Lua Example +`bhv_bouncing_fireball_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bouncing_fireball_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowling_ball_init](#bhv_bowling_ball_init) + +### Lua Example +`bhv_bowling_ball_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowling_ball_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowling_ball_loop](#bhv_bowling_ball_loop) + +### Lua Example +`bhv_bowling_ball_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowling_ball_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_body_anchor_init](#bhv_bowser_body_anchor_init) + +### Lua Example +`bhv_bowser_body_anchor_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_body_anchor_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_body_anchor_loop](#bhv_bowser_body_anchor_loop) + +### Lua Example +`bhv_bowser_body_anchor_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_body_anchor_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_bomb_explosion_loop](#bhv_bowser_bomb_explosion_loop) + +### Lua Example +`bhv_bowser_bomb_explosion_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_bomb_explosion_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_bomb_loop](#bhv_bowser_bomb_loop) + +### Lua Example +`bhv_bowser_bomb_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_bomb_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_bomb_smoke_loop](#bhv_bowser_bomb_smoke_loop) + +### Lua Example +`bhv_bowser_bomb_smoke_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_bomb_smoke_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_course_red_coin_star_loop](#bhv_bowser_course_red_coin_star_loop) + +### Lua Example +`bhv_bowser_course_red_coin_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_course_red_coin_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_flame_spawn_loop](#bhv_bowser_flame_spawn_loop) + +### Lua Example +`bhv_bowser_flame_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_flame_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_init](#bhv_bowser_init) + +### Lua Example +`bhv_bowser_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_key_course_exit_loop](#bhv_bowser_key_course_exit_loop) + +### Lua Example +`bhv_bowser_key_course_exit_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_key_course_exit_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_key_init](#bhv_bowser_key_init) + +### Lua Example +`bhv_bowser_key_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_key_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_key_loop](#bhv_bowser_key_loop) + +### Lua Example +`bhv_bowser_key_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_key_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_key_unlock_door_loop](#bhv_bowser_key_unlock_door_loop) + +### Lua Example +`bhv_bowser_key_unlock_door_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_key_unlock_door_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_loop](#bhv_bowser_loop) + +### Lua Example +`bhv_bowser_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_shock_wave_loop](#bhv_bowser_shock_wave_loop) + +### Lua Example +`bhv_bowser_shock_wave_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_shock_wave_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_tail_anchor_init](#bhv_bowser_tail_anchor_init) + +### Lua Example +`bhv_bowser_tail_anchor_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_tail_anchor_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowser_tail_anchor_loop](#bhv_bowser_tail_anchor_loop) + +### Lua Example +`bhv_bowser_tail_anchor_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowser_tail_anchor_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bowsers_sub_loop](#bhv_bowsers_sub_loop) + +### Lua Example +`bhv_bowsers_sub_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bowsers_sub_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_breakable_box_loop](#bhv_breakable_box_loop) + +### Lua Example +`bhv_breakable_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_breakable_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_breakable_box_small_init](#bhv_breakable_box_small_init) + +### Lua Example +`bhv_breakable_box_small_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_breakable_box_small_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_breakable_box_small_loop](#bhv_breakable_box_small_loop) + +### Lua Example +`bhv_breakable_box_small_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_breakable_box_small_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bub_loop](#bhv_bub_loop) + +### Lua Example +`bhv_bub_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bub_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bub_spawner_loop](#bhv_bub_spawner_loop) + +### Lua Example +`bhv_bub_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bub_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubba_loop](#bhv_bubba_loop) + +### Lua Example +`bhv_bubba_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubba_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubble_cannon_barrel_loop](#bhv_bubble_cannon_barrel_loop) + +### Lua Example +`bhv_bubble_cannon_barrel_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubble_cannon_barrel_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubble_maybe_loop](#bhv_bubble_maybe_loop) + +### Lua Example +`bhv_bubble_maybe_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubble_maybe_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubble_player_loop](#bhv_bubble_player_loop) + +### Lua Example +`bhv_bubble_player_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubble_player_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubble_splash_init](#bhv_bubble_splash_init) + +### Lua Example +`bhv_bubble_splash_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubble_splash_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bubble_wave_init](#bhv_bubble_wave_init) + +### Lua Example +`bhv_bubble_wave_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bubble_wave_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bullet_bill_init](#bhv_bullet_bill_init) + +### Lua Example +`bhv_bullet_bill_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bullet_bill_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bullet_bill_loop](#bhv_bullet_bill_loop) + +### Lua Example +`bhv_bullet_bill_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bullet_bill_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_bully_loop](#bhv_bully_loop) + +### Lua Example +`bhv_bully_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_bully_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_butterfly_init](#bhv_butterfly_init) + +### Lua Example +`bhv_butterfly_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_butterfly_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_butterfly_loop](#bhv_butterfly_loop) + +### Lua Example +`bhv_butterfly_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_butterfly_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_camera_lakitu_init](#bhv_camera_lakitu_init) + +### Lua Example +`bhv_camera_lakitu_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_camera_lakitu_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_camera_lakitu_update](#bhv_camera_lakitu_update) + +### Lua Example +`bhv_camera_lakitu_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_camera_lakitu_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cannon_barrel_loop](#bhv_cannon_barrel_loop) + +### Lua Example +`bhv_cannon_barrel_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cannon_barrel_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cannon_base_loop](#bhv_cannon_base_loop) + +### Lua Example +`bhv_cannon_base_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cannon_base_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cannon_base_unused_loop](#bhv_cannon_base_unused_loop) + +### Lua Example +`bhv_cannon_base_unused_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cannon_base_unused_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cannon_closed_init](#bhv_cannon_closed_init) + +### Lua Example +`bhv_cannon_closed_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cannon_closed_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cannon_closed_loop](#bhv_cannon_closed_loop) + +### Lua Example +`bhv_cannon_closed_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cannon_closed_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cap_switch_loop](#bhv_cap_switch_loop) + +### Lua Example +`bhv_cap_switch_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cap_switch_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_castle_cannon_grate_init](#bhv_castle_cannon_grate_init) + +### Lua Example +`bhv_castle_cannon_grate_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_castle_cannon_grate_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_castle_flag_init](#bhv_castle_flag_init) + +### Lua Example +`bhv_castle_flag_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_castle_flag_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_castle_floor_trap_init](#bhv_castle_floor_trap_init) + +### Lua Example +`bhv_castle_floor_trap_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_castle_floor_trap_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_castle_floor_trap_loop](#bhv_castle_floor_trap_loop) + +### Lua Example +`bhv_castle_floor_trap_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_castle_floor_trap_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ccm_touched_star_spawn_loop](#bhv_ccm_touched_star_spawn_loop) + +### Lua Example +`bhv_ccm_touched_star_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ccm_touched_star_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_celebration_star_init](#bhv_celebration_star_init) + +### Lua Example +`bhv_celebration_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_celebration_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_celebration_star_loop](#bhv_celebration_star_loop) + +### Lua Example +`bhv_celebration_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_celebration_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_celebration_star_sparkle_loop](#bhv_celebration_star_sparkle_loop) + +### Lua Example +`bhv_celebration_star_sparkle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_celebration_star_sparkle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chain_chomp_chain_part_update](#bhv_chain_chomp_chain_part_update) + +### Lua Example +`bhv_chain_chomp_chain_part_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chain_chomp_chain_part_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chain_chomp_gate_init](#bhv_chain_chomp_gate_init) + +### Lua Example +`bhv_chain_chomp_gate_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chain_chomp_gate_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chain_chomp_gate_update](#bhv_chain_chomp_gate_update) + +### Lua Example +`bhv_chain_chomp_gate_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chain_chomp_gate_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chain_chomp_update](#bhv_chain_chomp_update) + +### Lua Example +`bhv_chain_chomp_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chain_chomp_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_checkerboard_elevator_group_init](#bhv_checkerboard_elevator_group_init) + +### Lua Example +`bhv_checkerboard_elevator_group_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_checkerboard_elevator_group_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_checkerboard_elevator_group_loop](#bhv_checkerboard_elevator_group_loop) + +### Lua Example +`bhv_checkerboard_elevator_group_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_checkerboard_elevator_group_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_checkerboard_platform_init](#bhv_checkerboard_platform_init) + +### Lua Example +`bhv_checkerboard_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_checkerboard_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_checkerboard_platform_loop](#bhv_checkerboard_platform_loop) + +### Lua Example +`bhv_checkerboard_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_checkerboard_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chuckya_anchor_mario_loop](#bhv_chuckya_anchor_mario_loop) + +### Lua Example +`bhv_chuckya_anchor_mario_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chuckya_anchor_mario_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_chuckya_loop](#bhv_chuckya_loop) + +### Lua Example +`bhv_chuckya_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_chuckya_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_circling_amp_init](#bhv_circling_amp_init) + +### Lua Example +`bhv_circling_amp_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_circling_amp_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_circling_amp_loop](#bhv_circling_amp_loop) + +### Lua Example +`bhv_circling_amp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_circling_amp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_clam_loop](#bhv_clam_loop) + +### Lua Example +`bhv_clam_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_clam_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cloud_part_update](#bhv_cloud_part_update) + +### Lua Example +`bhv_cloud_part_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cloud_part_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_cloud_update](#bhv_cloud_update) + +### Lua Example +`bhv_cloud_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_cloud_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coffin_loop](#bhv_coffin_loop) + +### Lua Example +`bhv_coffin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coffin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coffin_spawner_loop](#bhv_coffin_spawner_loop) + +### Lua Example +`bhv_coffin_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coffin_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_formation_init](#bhv_coin_formation_init) + +### Lua Example +`bhv_coin_formation_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_formation_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_formation_loop](#bhv_coin_formation_loop) + +### Lua Example +`bhv_coin_formation_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_formation_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_formation_spawn_loop](#bhv_coin_formation_spawn_loop) + +### Lua Example +`bhv_coin_formation_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_formation_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_init](#bhv_coin_init) + +### Lua Example +`bhv_coin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_inside_boo_loop](#bhv_coin_inside_boo_loop) + +### Lua Example +`bhv_coin_inside_boo_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_inside_boo_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_loop](#bhv_coin_loop) + +### Lua Example +`bhv_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_coin_sparkles_loop](#bhv_coin_sparkles_loop) + +### Lua Example +`bhv_coin_sparkles_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_coin_sparkles_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_collect_star_init](#bhv_collect_star_init) + +### Lua Example +`bhv_collect_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_collect_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_collect_star_loop](#bhv_collect_star_loop) + +### Lua Example +`bhv_collect_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_collect_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_controllable_platform_init](#bhv_controllable_platform_init) + +### Lua Example +`bhv_controllable_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_controllable_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_controllable_platform_loop](#bhv_controllable_platform_loop) + +### Lua Example +`bhv_controllable_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_controllable_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_controllable_platform_sub_loop](#bhv_controllable_platform_sub_loop) + +### Lua Example +`bhv_controllable_platform_sub_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_controllable_platform_sub_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_courtyard_boo_triplet_init](#bhv_courtyard_boo_triplet_init) + +### Lua Example +`bhv_courtyard_boo_triplet_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_courtyard_boo_triplet_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ddd_moving_pole_loop](#bhv_ddd_moving_pole_loop) + +### Lua Example +`bhv_ddd_moving_pole_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ddd_moving_pole_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ddd_pole_init](#bhv_ddd_pole_init) + +### Lua Example +`bhv_ddd_pole_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ddd_pole_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ddd_pole_update](#bhv_ddd_pole_update) + +### Lua Example +`bhv_ddd_pole_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ddd_pole_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ddd_warp_loop](#bhv_ddd_warp_loop) + +### Lua Example +`bhv_ddd_warp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ddd_warp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_decorative_pendulum_init](#bhv_decorative_pendulum_init) + +### Lua Example +`bhv_decorative_pendulum_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_decorative_pendulum_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_decorative_pendulum_loop](#bhv_decorative_pendulum_loop) + +### Lua Example +`bhv_decorative_pendulum_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_decorative_pendulum_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_donut_platform_spawner_update](#bhv_donut_platform_spawner_update) + +### Lua Example +`bhv_donut_platform_spawner_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_donut_platform_spawner_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_donut_platform_update](#bhv_donut_platform_update) + +### Lua Example +`bhv_donut_platform_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_donut_platform_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_door_init](#bhv_door_init) + +### Lua Example +`bhv_door_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_door_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_door_loop](#bhv_door_loop) + +### Lua Example +`bhv_door_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_door_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_dorrie_update](#bhv_dorrie_update) + +### Lua Example +`bhv_dorrie_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_dorrie_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_elevator_init](#bhv_elevator_init) + +### Lua Example +`bhv_elevator_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_elevator_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_elevator_loop](#bhv_elevator_loop) + +### Lua Example +`bhv_elevator_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_elevator_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_end_birds_1_loop](#bhv_end_birds_1_loop) + +### Lua Example +`bhv_end_birds_1_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_end_birds_1_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_end_birds_2_loop](#bhv_end_birds_2_loop) + +### Lua Example +`bhv_end_birds_2_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_end_birds_2_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_enemy_lakitu_update](#bhv_enemy_lakitu_update) + +### Lua Example +`bhv_enemy_lakitu_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_enemy_lakitu_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_exclamation_box_init](#bhv_exclamation_box_init) + +### Lua Example +`bhv_exclamation_box_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_exclamation_box_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_exclamation_box_loop](#bhv_exclamation_box_loop) + +### Lua Example +`bhv_exclamation_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_exclamation_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_explosion_init](#bhv_explosion_init) + +### Lua Example +`bhv_explosion_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_explosion_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_explosion_loop](#bhv_explosion_loop) + +### Lua Example +`bhv_explosion_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_explosion_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_eyerok_boss_init](#bhv_eyerok_boss_init) + +### Lua Example +`bhv_eyerok_boss_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_eyerok_boss_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_eyerok_boss_loop](#bhv_eyerok_boss_loop) + +### Lua Example +`bhv_eyerok_boss_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_eyerok_boss_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_eyerok_hand_loop](#bhv_eyerok_hand_loop) + +### Lua Example +`bhv_eyerok_hand_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_eyerok_hand_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fading_warp_loop](#bhv_fading_warp_loop) + +### Lua Example +`bhv_fading_warp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fading_warp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_falling_bowser_platform_loop](#bhv_falling_bowser_platform_loop) + +### Lua Example +`bhv_falling_bowser_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_falling_bowser_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_falling_pillar_hitbox_loop](#bhv_falling_pillar_hitbox_loop) + +### Lua Example +`bhv_falling_pillar_hitbox_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_falling_pillar_hitbox_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_falling_pillar_init](#bhv_falling_pillar_init) + +### Lua Example +`bhv_falling_pillar_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_falling_pillar_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_falling_pillar_loop](#bhv_falling_pillar_loop) + +### Lua Example +`bhv_falling_pillar_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_falling_pillar_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ferris_wheel_axle_init](#bhv_ferris_wheel_axle_init) + +### Lua Example +`bhv_ferris_wheel_axle_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ferris_wheel_axle_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ferris_wheel_platform_update](#bhv_ferris_wheel_platform_update) + +### Lua Example +`bhv_ferris_wheel_platform_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ferris_wheel_platform_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fire_piranha_plant_init](#bhv_fire_piranha_plant_init) + +### Lua Example +`bhv_fire_piranha_plant_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fire_piranha_plant_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fire_piranha_plant_update](#bhv_fire_piranha_plant_update) + +### Lua Example +`bhv_fire_piranha_plant_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fire_piranha_plant_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fire_spitter_update](#bhv_fire_spitter_update) + +### Lua Example +`bhv_fire_spitter_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fire_spitter_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fish_group_loop](#bhv_fish_group_loop) + +### Lua Example +`bhv_fish_group_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fish_group_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fish_loop](#bhv_fish_loop) + +### Lua Example +`bhv_fish_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fish_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fish_spawner_loop](#bhv_fish_spawner_loop) + +### Lua Example +`bhv_fish_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fish_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_bouncing_init](#bhv_flame_bouncing_init) + +### Lua Example +`bhv_flame_bouncing_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_bouncing_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_bouncing_loop](#bhv_flame_bouncing_loop) + +### Lua Example +`bhv_flame_bouncing_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_bouncing_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_bowser_init](#bhv_flame_bowser_init) + +### Lua Example +`bhv_flame_bowser_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_bowser_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_bowser_loop](#bhv_flame_bowser_loop) + +### Lua Example +`bhv_flame_bowser_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_bowser_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_floating_landing_init](#bhv_flame_floating_landing_init) + +### Lua Example +`bhv_flame_floating_landing_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_floating_landing_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_floating_landing_loop](#bhv_flame_floating_landing_loop) + +### Lua Example +`bhv_flame_floating_landing_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_floating_landing_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_large_burning_out_init](#bhv_flame_large_burning_out_init) + +### Lua Example +`bhv_flame_large_burning_out_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_large_burning_out_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_mario_loop](#bhv_flame_mario_loop) + +### Lua Example +`bhv_flame_mario_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_mario_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_moving_forward_growing_init](#bhv_flame_moving_forward_growing_init) + +### Lua Example +`bhv_flame_moving_forward_growing_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_moving_forward_growing_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flame_moving_forward_growing_loop](#bhv_flame_moving_forward_growing_loop) + +### Lua Example +`bhv_flame_moving_forward_growing_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flame_moving_forward_growing_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flamethrower_flame_loop](#bhv_flamethrower_flame_loop) + +### Lua Example +`bhv_flamethrower_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flamethrower_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flamethrower_loop](#bhv_flamethrower_loop) + +### Lua Example +`bhv_flamethrower_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flamethrower_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_floating_platform_loop](#bhv_floating_platform_loop) + +### Lua Example +`bhv_floating_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_floating_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_floor_trap_in_castle_loop](#bhv_floor_trap_in_castle_loop) + +### Lua Example +`bhv_floor_trap_in_castle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_floor_trap_in_castle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fly_guy_flame_loop](#bhv_fly_guy_flame_loop) + +### Lua Example +`bhv_fly_guy_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fly_guy_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_fly_guy_update](#bhv_fly_guy_update) + +### Lua Example +`bhv_fly_guy_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_fly_guy_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_flying_bookend_loop](#bhv_flying_bookend_loop) + +### Lua Example +`bhv_flying_bookend_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_flying_bookend_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_free_bowling_ball_init](#bhv_free_bowling_ball_init) + +### Lua Example +`bhv_free_bowling_ball_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_free_bowling_ball_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_free_bowling_ball_loop](#bhv_free_bowling_ball_loop) + +### Lua Example +`bhv_free_bowling_ball_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_free_bowling_ball_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_generic_bowling_ball_spawner_init](#bhv_generic_bowling_ball_spawner_init) + +### Lua Example +`bhv_generic_bowling_ball_spawner_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_generic_bowling_ball_spawner_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_generic_bowling_ball_spawner_loop](#bhv_generic_bowling_ball_spawner_loop) + +### Lua Example +`bhv_generic_bowling_ball_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_generic_bowling_ball_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_giant_pole_loop](#bhv_giant_pole_loop) + +### Lua Example +`bhv_giant_pole_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_giant_pole_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_golden_coin_sparkles_loop](#bhv_golden_coin_sparkles_loop) + +### Lua Example +`bhv_golden_coin_sparkles_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_golden_coin_sparkles_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_goomba_init](#bhv_goomba_init) + +### Lua Example +`bhv_goomba_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_goomba_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_goomba_triplet_spawner_update](#bhv_goomba_triplet_spawner_update) + +### Lua Example +`bhv_goomba_triplet_spawner_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_goomba_triplet_spawner_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_goomba_update](#bhv_goomba_update) + +### Lua Example +`bhv_goomba_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_goomba_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_grand_star_init](#bhv_grand_star_init) + +### Lua Example +`bhv_grand_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_grand_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_grand_star_loop](#bhv_grand_star_loop) + +### Lua Example +`bhv_grand_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_grand_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_grindel_thwomp_loop](#bhv_grindel_thwomp_loop) + +### Lua Example +`bhv_grindel_thwomp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_grindel_thwomp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ground_sand_init](#bhv_ground_sand_init) + +### Lua Example +`bhv_ground_sand_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ground_sand_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ground_snow_init](#bhv_ground_snow_init) + +### Lua Example +`bhv_ground_snow_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ground_snow_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_haunted_bookshelf_loop](#bhv_haunted_bookshelf_loop) + +### Lua Example +`bhv_haunted_bookshelf_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_haunted_bookshelf_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_haunted_bookshelf_manager_loop](#bhv_haunted_bookshelf_manager_loop) + +### Lua Example +`bhv_haunted_bookshelf_manager_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_haunted_bookshelf_manager_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_haunted_chair_init](#bhv_haunted_chair_init) + +### Lua Example +`bhv_haunted_chair_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_haunted_chair_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_haunted_chair_loop](#bhv_haunted_chair_loop) + +### Lua Example +`bhv_haunted_chair_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_haunted_chair_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_heave_ho_loop](#bhv_heave_ho_loop) + +### Lua Example +`bhv_heave_ho_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_heave_ho_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_heave_ho_throw_mario_loop](#bhv_heave_ho_throw_mario_loop) + +### Lua Example +`bhv_heave_ho_throw_mario_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_heave_ho_throw_mario_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_blue_coin_loop](#bhv_hidden_blue_coin_loop) + +### Lua Example +`bhv_hidden_blue_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_blue_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_object_loop](#bhv_hidden_object_loop) + +### Lua Example +`bhv_hidden_object_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_object_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_red_coin_star_init](#bhv_hidden_red_coin_star_init) + +### Lua Example +`bhv_hidden_red_coin_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_red_coin_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_red_coin_star_loop](#bhv_hidden_red_coin_star_loop) + +### Lua Example +`bhv_hidden_red_coin_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_red_coin_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_star_init](#bhv_hidden_star_init) + +### Lua Example +`bhv_hidden_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_star_loop](#bhv_hidden_star_loop) + +### Lua Example +`bhv_hidden_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hidden_star_trigger_loop](#bhv_hidden_star_trigger_loop) + +### Lua Example +`bhv_hidden_star_trigger_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hidden_star_trigger_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_homing_amp_init](#bhv_homing_amp_init) + +### Lua Example +`bhv_homing_amp_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_homing_amp_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_homing_amp_loop](#bhv_homing_amp_loop) + +### Lua Example +`bhv_homing_amp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_homing_amp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hoot_init](#bhv_hoot_init) + +### Lua Example +`bhv_hoot_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hoot_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_hoot_loop](#bhv_hoot_loop) + +### Lua Example +`bhv_hoot_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_hoot_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_horizontal_grindel_init](#bhv_horizontal_grindel_init) + +### Lua Example +`bhv_horizontal_grindel_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_horizontal_grindel_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_horizontal_grindel_update](#bhv_horizontal_grindel_update) + +### Lua Example +`bhv_horizontal_grindel_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_horizontal_grindel_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_idle_water_wave_loop](#bhv_idle_water_wave_loop) + +### Lua Example +`bhv_idle_water_wave_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_idle_water_wave_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_init_changing_water_level_loop](#bhv_init_changing_water_level_loop) + +### Lua Example +`bhv_init_changing_water_level_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_init_changing_water_level_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_intro_lakitu_loop](#bhv_intro_lakitu_loop) + +### Lua Example +`bhv_intro_lakitu_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_intro_lakitu_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_intro_peach_loop](#bhv_intro_peach_loop) + +### Lua Example +`bhv_intro_peach_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_intro_peach_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_intro_scene_loop](#bhv_intro_scene_loop) + +### Lua Example +`bhv_intro_scene_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_intro_scene_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_invisible_objects_under_bridge_init](#bhv_invisible_objects_under_bridge_init) + +### Lua Example +`bhv_invisible_objects_under_bridge_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_invisible_objects_under_bridge_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_invisible_objects_under_bridge_loop](#bhv_invisible_objects_under_bridge_loop) + +### Lua Example +`bhv_invisible_objects_under_bridge_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_invisible_objects_under_bridge_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jet_stream_loop](#bhv_jet_stream_loop) + +### Lua Example +`bhv_jet_stream_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jet_stream_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jet_stream_ring_spawner_loop](#bhv_jet_stream_ring_spawner_loop) + +### Lua Example +`bhv_jet_stream_ring_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jet_stream_ring_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jet_stream_water_ring_init](#bhv_jet_stream_water_ring_init) + +### Lua Example +`bhv_jet_stream_water_ring_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jet_stream_water_ring_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jet_stream_water_ring_loop](#bhv_jet_stream_water_ring_loop) + +### Lua Example +`bhv_jet_stream_water_ring_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jet_stream_water_ring_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jrb_floating_box_loop](#bhv_jrb_floating_box_loop) + +### Lua Example +`bhv_jrb_floating_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jrb_floating_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jrb_sliding_box_loop](#bhv_jrb_sliding_box_loop) + +### Lua Example +`bhv_jrb_sliding_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jrb_sliding_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_jumping_box_loop](#bhv_jumping_box_loop) + +### Lua Example +`bhv_jumping_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_jumping_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_kickable_board_loop](#bhv_kickable_board_loop) + +### Lua Example +`bhv_kickable_board_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_kickable_board_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_king_bobomb_loop](#bhv_king_bobomb_loop) + +### Lua Example +`bhv_king_bobomb_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_king_bobomb_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_klepto_init](#bhv_klepto_init) + +### Lua Example +`bhv_klepto_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_klepto_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_klepto_update](#bhv_klepto_update) + +### Lua Example +`bhv_klepto_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_klepto_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_init](#bhv_koopa_init) + +### Lua Example +`bhv_koopa_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_race_endpoint_update](#bhv_koopa_race_endpoint_update) + +### Lua Example +`bhv_koopa_race_endpoint_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_race_endpoint_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_shell_flame_loop](#bhv_koopa_shell_flame_loop) + +### Lua Example +`bhv_koopa_shell_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_shell_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_shell_loop](#bhv_koopa_shell_loop) + +### Lua Example +`bhv_koopa_shell_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_shell_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_shell_underwater_loop](#bhv_koopa_shell_underwater_loop) + +### Lua Example +`bhv_koopa_shell_underwater_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_shell_underwater_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_koopa_update](#bhv_koopa_update) + +### Lua Example +`bhv_koopa_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_koopa_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_large_bomp_init](#bhv_large_bomp_init) + +### Lua Example +`bhv_large_bomp_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_large_bomp_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_large_bomp_loop](#bhv_large_bomp_loop) + +### Lua Example +`bhv_large_bomp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_large_bomp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_bowser_puzzle_loop](#bhv_lll_bowser_puzzle_loop) + +### Lua Example +`bhv_lll_bowser_puzzle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_bowser_puzzle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_bowser_puzzle_piece_loop](#bhv_lll_bowser_puzzle_piece_loop) + +### Lua Example +`bhv_lll_bowser_puzzle_piece_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_bowser_puzzle_piece_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_drawbridge_loop](#bhv_lll_drawbridge_loop) + +### Lua Example +`bhv_lll_drawbridge_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_drawbridge_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_drawbridge_spawner_init](#bhv_lll_drawbridge_spawner_init) + +### Lua Example +`bhv_lll_drawbridge_spawner_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_drawbridge_spawner_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_drawbridge_spawner_loop](#bhv_lll_drawbridge_spawner_loop) + +### Lua Example +`bhv_lll_drawbridge_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_drawbridge_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_floating_wood_bridge_loop](#bhv_lll_floating_wood_bridge_loop) + +### Lua Example +`bhv_lll_floating_wood_bridge_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_floating_wood_bridge_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_moving_octagonal_mesh_platform_loop](#bhv_lll_moving_octagonal_mesh_platform_loop) + +### Lua Example +`bhv_lll_moving_octagonal_mesh_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_moving_octagonal_mesh_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_rolling_log_init](#bhv_lll_rolling_log_init) + +### Lua Example +`bhv_lll_rolling_log_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_rolling_log_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_rotating_block_fire_bars_loop](#bhv_lll_rotating_block_fire_bars_loop) + +### Lua Example +`bhv_lll_rotating_block_fire_bars_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_rotating_block_fire_bars_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_rotating_hex_flame_loop](#bhv_lll_rotating_hex_flame_loop) + +### Lua Example +`bhv_lll_rotating_hex_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_rotating_hex_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_rotating_hexagonal_ring_loop](#bhv_lll_rotating_hexagonal_ring_loop) + +### Lua Example +`bhv_lll_rotating_hexagonal_ring_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_rotating_hexagonal_ring_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_sinking_rectangular_platform_loop](#bhv_lll_sinking_rectangular_platform_loop) + +### Lua Example +`bhv_lll_sinking_rectangular_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_sinking_rectangular_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_sinking_rock_block_loop](#bhv_lll_sinking_rock_block_loop) + +### Lua Example +`bhv_lll_sinking_rock_block_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_sinking_rock_block_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_sinking_square_platforms_loop](#bhv_lll_sinking_square_platforms_loop) + +### Lua Example +`bhv_lll_sinking_square_platforms_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_sinking_square_platforms_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_lll_wood_piece_loop](#bhv_lll_wood_piece_loop) + +### Lua Example +`bhv_lll_wood_piece_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_lll_wood_piece_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mad_piano_update](#bhv_mad_piano_update) + +### Lua Example +`bhv_mad_piano_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mad_piano_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_manta_ray_init](#bhv_manta_ray_init) + +### Lua Example +`bhv_manta_ray_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_manta_ray_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_manta_ray_loop](#bhv_manta_ray_loop) + +### Lua Example +`bhv_manta_ray_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_manta_ray_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_manta_ray_water_ring_init](#bhv_manta_ray_water_ring_init) + +### Lua Example +`bhv_manta_ray_water_ring_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_manta_ray_water_ring_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_manta_ray_water_ring_loop](#bhv_manta_ray_water_ring_loop) + +### Lua Example +`bhv_manta_ray_water_ring_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_manta_ray_water_ring_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_menu_button_init](#bhv_menu_button_init) + +### Lua Example +`bhv_menu_button_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_menu_button_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_menu_button_loop](#bhv_menu_button_loop) + +### Lua Example +`bhv_menu_button_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_menu_button_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_menu_button_manager_init](#bhv_menu_button_manager_init) + +### Lua Example +`bhv_menu_button_manager_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_menu_button_manager_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_menu_button_manager_loop](#bhv_menu_button_manager_loop) + +### Lua Example +`bhv_menu_button_manager_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_menu_button_manager_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_merry_go_round_boo_manager_loop](#bhv_merry_go_round_boo_manager_loop) + +### Lua Example +`bhv_merry_go_round_boo_manager_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_merry_go_round_boo_manager_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_merry_go_round_loop](#bhv_merry_go_round_loop) + +### Lua Example +`bhv_merry_go_round_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_merry_go_round_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_metal_cap_init](#bhv_metal_cap_init) + +### Lua Example +`bhv_metal_cap_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_metal_cap_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_metal_cap_loop](#bhv_metal_cap_loop) + +### Lua Example +`bhv_metal_cap_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_metal_cap_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mips_init](#bhv_mips_init) + +### Lua Example +`bhv_mips_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mips_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mips_loop](#bhv_mips_loop) + +### Lua Example +`bhv_mips_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mips_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moat_grills_loop](#bhv_moat_grills_loop) + +### Lua Example +`bhv_moat_grills_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moat_grills_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moneybag_hidden_loop](#bhv_moneybag_hidden_loop) + +### Lua Example +`bhv_moneybag_hidden_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moneybag_hidden_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moneybag_init](#bhv_moneybag_init) + +### Lua Example +`bhv_moneybag_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moneybag_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moneybag_loop](#bhv_moneybag_loop) + +### Lua Example +`bhv_moneybag_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moneybag_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_monty_mole_hole_update](#bhv_monty_mole_hole_update) + +### Lua Example +`bhv_monty_mole_hole_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_monty_mole_hole_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_monty_mole_init](#bhv_monty_mole_init) + +### Lua Example +`bhv_monty_mole_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_monty_mole_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_monty_mole_rock_update](#bhv_monty_mole_rock_update) + +### Lua Example +`bhv_monty_mole_rock_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_monty_mole_rock_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_monty_mole_update](#bhv_monty_mole_update) + +### Lua Example +`bhv_monty_mole_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_monty_mole_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moving_blue_coin_init](#bhv_moving_blue_coin_init) + +### Lua Example +`bhv_moving_blue_coin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moving_blue_coin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moving_blue_coin_loop](#bhv_moving_blue_coin_loop) + +### Lua Example +`bhv_moving_blue_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moving_blue_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moving_yellow_coin_init](#bhv_moving_yellow_coin_init) + +### Lua Example +`bhv_moving_yellow_coin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moving_yellow_coin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_moving_yellow_coin_loop](#bhv_moving_yellow_coin_loop) + +### Lua Example +`bhv_moving_yellow_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_moving_yellow_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_blizzard_init](#bhv_mr_blizzard_init) + +### Lua Example +`bhv_mr_blizzard_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_blizzard_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_blizzard_snowball](#bhv_mr_blizzard_snowball) + +### Lua Example +`bhv_mr_blizzard_snowball()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_blizzard_snowball(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_blizzard_update](#bhv_mr_blizzard_update) + +### Lua Example +`bhv_mr_blizzard_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_blizzard_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_i_body_loop](#bhv_mr_i_body_loop) + +### Lua Example +`bhv_mr_i_body_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_i_body_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_i_loop](#bhv_mr_i_loop) + +### Lua Example +`bhv_mr_i_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_i_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_mr_i_particle_loop](#bhv_mr_i_particle_loop) + +### Lua Example +`bhv_mr_i_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_mr_i_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_normal_cap_init](#bhv_normal_cap_init) + +### Lua Example +`bhv_normal_cap_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_normal_cap_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_normal_cap_loop](#bhv_normal_cap_loop) + +### Lua Example +`bhv_normal_cap_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_normal_cap_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_object_bubble_init](#bhv_object_bubble_init) + +### Lua Example +`bhv_object_bubble_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_object_bubble_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_object_bubble_loop](#bhv_object_bubble_loop) + +### Lua Example +`bhv_object_bubble_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_object_bubble_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_object_water_wave_init](#bhv_object_water_wave_init) + +### Lua Example +`bhv_object_water_wave_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_object_water_wave_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_object_water_wave_loop](#bhv_object_water_wave_loop) + +### Lua Example +`bhv_object_water_wave_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_object_water_wave_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_openable_cage_door_loop](#bhv_openable_cage_door_loop) + +### Lua Example +`bhv_openable_cage_door_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_openable_cage_door_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_openable_grill_loop](#bhv_openable_grill_loop) + +### Lua Example +`bhv_openable_grill_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_openable_grill_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_orange_number_init](#bhv_orange_number_init) + +### Lua Example +`bhv_orange_number_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_orange_number_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_orange_number_loop](#bhv_orange_number_loop) + +### Lua Example +`bhv_orange_number_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_orange_number_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_particle_init](#bhv_particle_init) + +### Lua Example +`bhv_particle_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_particle_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_particle_loop](#bhv_particle_loop) + +### Lua Example +`bhv_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_penguin_race_finish_line_update](#bhv_penguin_race_finish_line_update) + +### Lua Example +`bhv_penguin_race_finish_line_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_penguin_race_finish_line_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_penguin_race_shortcut_check_update](#bhv_penguin_race_shortcut_check_update) + +### Lua Example +`bhv_penguin_race_shortcut_check_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_penguin_race_shortcut_check_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_piranha_particle_loop](#bhv_piranha_particle_loop) + +### Lua Example +`bhv_piranha_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_piranha_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_piranha_plant_bubble_loop](#bhv_piranha_plant_bubble_loop) + +### Lua Example +`bhv_piranha_plant_bubble_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_piranha_plant_bubble_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_piranha_plant_loop](#bhv_piranha_plant_loop) + +### Lua Example +`bhv_piranha_plant_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_piranha_plant_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_piranha_plant_waking_bubbles_loop](#bhv_piranha_plant_waking_bubbles_loop) + +### Lua Example +`bhv_piranha_plant_waking_bubbles_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_piranha_plant_waking_bubbles_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_platform_normals_init](#bhv_platform_normals_init) + +### Lua Example +`bhv_platform_normals_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_platform_normals_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_platform_on_track_init](#bhv_platform_on_track_init) + +### Lua Example +`bhv_platform_on_track_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_platform_on_track_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_platform_on_track_update](#bhv_platform_on_track_update) + +### Lua Example +`bhv_platform_on_track_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_platform_on_track_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_play_music_track_when_touched_loop](#bhv_play_music_track_when_touched_loop) + +### Lua Example +`bhv_play_music_track_when_touched_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_play_music_track_when_touched_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pokey_body_part_update](#bhv_pokey_body_part_update) + +### Lua Example +`bhv_pokey_body_part_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pokey_body_part_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pokey_update](#bhv_pokey_update) + +### Lua Example +`bhv_pokey_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pokey_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pole_base_loop](#bhv_pole_base_loop) + +### Lua Example +`bhv_pole_base_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pole_base_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pole_init](#bhv_pole_init) + +### Lua Example +`bhv_pole_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pole_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pound_tiny_star_particle_init](#bhv_pound_tiny_star_particle_init) + +### Lua Example +`bhv_pound_tiny_star_particle_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pound_tiny_star_particle_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pound_tiny_star_particle_loop](#bhv_pound_tiny_star_particle_loop) + +### Lua Example +`bhv_pound_tiny_star_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pound_tiny_star_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pound_white_puffs_init](#bhv_pound_white_puffs_init) + +### Lua Example +`bhv_pound_white_puffs_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pound_white_puffs_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_punch_tiny_triangle_init](#bhv_punch_tiny_triangle_init) + +### Lua Example +`bhv_punch_tiny_triangle_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_punch_tiny_triangle_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_punch_tiny_triangle_loop](#bhv_punch_tiny_triangle_loop) + +### Lua Example +`bhv_punch_tiny_triangle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_punch_tiny_triangle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_purple_switch_loop](#bhv_purple_switch_loop) + +### Lua Example +`bhv_purple_switch_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_purple_switch_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pushable_loop](#bhv_pushable_loop) + +### Lua Example +`bhv_pushable_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pushable_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_elevator_init](#bhv_pyramid_elevator_init) + +### Lua Example +`bhv_pyramid_elevator_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_elevator_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_elevator_loop](#bhv_pyramid_elevator_loop) + +### Lua Example +`bhv_pyramid_elevator_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_elevator_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_elevator_trajectory_marker_ball_loop](#bhv_pyramid_elevator_trajectory_marker_ball_loop) + +### Lua Example +`bhv_pyramid_elevator_trajectory_marker_ball_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_elevator_trajectory_marker_ball_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_pillar_touch_detector_loop](#bhv_pyramid_pillar_touch_detector_loop) + +### Lua Example +`bhv_pyramid_pillar_touch_detector_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_pillar_touch_detector_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_top_fragment_init](#bhv_pyramid_top_fragment_init) + +### Lua Example +`bhv_pyramid_top_fragment_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_top_fragment_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_top_fragment_loop](#bhv_pyramid_top_fragment_loop) + +### Lua Example +`bhv_pyramid_top_fragment_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_top_fragment_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_top_init](#bhv_pyramid_top_init) + +### Lua Example +`bhv_pyramid_top_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_top_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_pyramid_top_loop](#bhv_pyramid_top_loop) + +### Lua Example +`bhv_pyramid_top_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_pyramid_top_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_racing_penguin_init](#bhv_racing_penguin_init) + +### Lua Example +`bhv_racing_penguin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_racing_penguin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_racing_penguin_update](#bhv_racing_penguin_update) + +### Lua Example +`bhv_racing_penguin_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_racing_penguin_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_recovery_heart_loop](#bhv_recovery_heart_loop) + +### Lua Example +`bhv_recovery_heart_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_recovery_heart_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_red_coin_init](#bhv_red_coin_init) + +### Lua Example +`bhv_red_coin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_red_coin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_red_coin_loop](#bhv_red_coin_loop) + +### Lua Example +`bhv_red_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_red_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_red_coin_star_marker_init](#bhv_red_coin_star_marker_init) + +### Lua Example +`bhv_red_coin_star_marker_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_red_coin_star_marker_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_respawner_loop](#bhv_respawner_loop) + +### Lua Example +`bhv_respawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_respawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rolling_log_loop](#bhv_rolling_log_loop) + +### Lua Example +`bhv_rolling_log_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rolling_log_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rotating_clock_arm_loop](#bhv_rotating_clock_arm_loop) + +### Lua Example +`bhv_rotating_clock_arm_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rotating_clock_arm_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rotating_exclamation_box_loop](#bhv_rotating_exclamation_box_loop) + +### Lua Example +`bhv_rotating_exclamation_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rotating_exclamation_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rotating_octagonal_plat_init](#bhv_rotating_octagonal_plat_init) + +### Lua Example +`bhv_rotating_octagonal_plat_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rotating_octagonal_plat_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rotating_octagonal_plat_loop](#bhv_rotating_octagonal_plat_loop) + +### Lua Example +`bhv_rotating_octagonal_plat_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rotating_octagonal_plat_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rotating_platform_loop](#bhv_rotating_platform_loop) + +### Lua Example +`bhv_rotating_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rotating_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rr_cruiser_wing_init](#bhv_rr_cruiser_wing_init) + +### Lua Example +`bhv_rr_cruiser_wing_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rr_cruiser_wing_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rr_cruiser_wing_loop](#bhv_rr_cruiser_wing_loop) + +### Lua Example +`bhv_rr_cruiser_wing_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rr_cruiser_wing_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_rr_rotating_bridge_platform_loop](#bhv_rr_rotating_bridge_platform_loop) + +### Lua Example +`bhv_rr_rotating_bridge_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_rr_rotating_bridge_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sand_sound_loop](#bhv_sand_sound_loop) + +### Lua Example +`bhv_sand_sound_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sand_sound_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_scuttlebug_loop](#bhv_scuttlebug_loop) + +### Lua Example +`bhv_scuttlebug_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_scuttlebug_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_scuttlebug_spawn_loop](#bhv_scuttlebug_spawn_loop) + +### Lua Example +`bhv_scuttlebug_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_scuttlebug_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_seaweed_bundle_init](#bhv_seaweed_bundle_init) + +### Lua Example +`bhv_seaweed_bundle_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_seaweed_bundle_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_seaweed_init](#bhv_seaweed_init) + +### Lua Example +`bhv_seaweed_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_seaweed_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_seesaw_platform_init](#bhv_seesaw_platform_init) + +### Lua Example +`bhv_seesaw_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_seesaw_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_seesaw_platform_update](#bhv_seesaw_platform_update) + +### Lua Example +`bhv_seesaw_platform_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_seesaw_platform_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_shallow_water_splash_init](#bhv_shallow_water_splash_init) + +### Lua Example +`bhv_shallow_water_splash_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_shallow_water_splash_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ship_part_3_loop](#bhv_ship_part_3_loop) + +### Lua Example +`bhv_ship_part_3_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ship_part_3_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_skeeter_update](#bhv_skeeter_update) + +### Lua Example +`bhv_skeeter_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_skeeter_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_skeeter_wave_update](#bhv_skeeter_wave_update) + +### Lua Example +`bhv_skeeter_wave_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_skeeter_wave_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sl_snowman_wind_loop](#bhv_sl_snowman_wind_loop) + +### Lua Example +`bhv_sl_snowman_wind_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sl_snowman_wind_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sl_walking_penguin_loop](#bhv_sl_walking_penguin_loop) + +### Lua Example +`bhv_sl_walking_penguin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sl_walking_penguin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sliding_plat_2_init](#bhv_sliding_plat_2_init) + +### Lua Example +`bhv_sliding_plat_2_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sliding_plat_2_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sliding_plat_2_loop](#bhv_sliding_plat_2_loop) + +### Lua Example +`bhv_sliding_plat_2_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sliding_plat_2_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sliding_snow_mound_loop](#bhv_sliding_snow_mound_loop) + +### Lua Example +`bhv_sliding_snow_mound_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sliding_snow_mound_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_bomp_init](#bhv_small_bomp_init) + +### Lua Example +`bhv_small_bomp_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_bomp_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_bomp_loop](#bhv_small_bomp_loop) + +### Lua Example +`bhv_small_bomp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_bomp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_bubbles_loop](#bhv_small_bubbles_loop) + +### Lua Example +`bhv_small_bubbles_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_bubbles_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_bully_init](#bhv_small_bully_init) + +### Lua Example +`bhv_small_bully_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_bully_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_penguin_loop](#bhv_small_penguin_loop) + +### Lua Example +`bhv_small_penguin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_penguin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_piranha_flame_loop](#bhv_small_piranha_flame_loop) + +### Lua Example +`bhv_small_piranha_flame_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_piranha_flame_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_small_water_wave_loop](#bhv_small_water_wave_loop) + +### Lua Example +`bhv_small_water_wave_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_small_water_wave_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snow_leaf_particle_spawn_init](#bhv_snow_leaf_particle_spawn_init) + +### Lua Example +`bhv_snow_leaf_particle_spawn_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snow_leaf_particle_spawn_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snow_mound_spawn_loop](#bhv_snow_mound_spawn_loop) + +### Lua Example +`bhv_snow_mound_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snow_mound_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snowmans_body_checkpoint_loop](#bhv_snowmans_body_checkpoint_loop) + +### Lua Example +`bhv_snowmans_body_checkpoint_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snowmans_body_checkpoint_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snowmans_bottom_init](#bhv_snowmans_bottom_init) + +### Lua Example +`bhv_snowmans_bottom_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snowmans_bottom_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snowmans_bottom_loop](#bhv_snowmans_bottom_loop) + +### Lua Example +`bhv_snowmans_bottom_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snowmans_bottom_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snowmans_head_init](#bhv_snowmans_head_init) + +### Lua Example +`bhv_snowmans_head_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snowmans_head_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snowmans_head_loop](#bhv_snowmans_head_loop) + +### Lua Example +`bhv_snowmans_head_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snowmans_head_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snufit_balls_loop](#bhv_snufit_balls_loop) + +### Lua Example +`bhv_snufit_balls_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snufit_balls_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_snufit_loop](#bhv_snufit_loop) + +### Lua Example +`bhv_snufit_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_snufit_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sound_spawner_init](#bhv_sound_spawner_init) + +### Lua Example +`bhv_sound_spawner_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sound_spawner_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sparkle_spawn_loop](#bhv_sparkle_spawn_loop) + +### Lua Example +`bhv_sparkle_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sparkle_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spawn_star_no_level_exit](#bhv_spawn_star_no_level_exit) + +### Lua Example +`bhv_spawn_star_no_level_exit(object, params, networkSendEvent)` + +### Parameters +| Field | Type | +| ----- | ---- | +| object | [Object](structs.md#Object) | +| params | `integer` | +| networkSendEvent | `integer` | + +### Returns +- None + +### C Prototype +`void bhv_spawn_star_no_level_exit(struct Object* object, u32 params, u8 networkSendEvent);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spawned_star_init](#bhv_spawned_star_init) + +### Lua Example +`bhv_spawned_star_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spawned_star_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spawned_star_loop](#bhv_spawned_star_loop) + +### Lua Example +`bhv_spawned_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spawned_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spindel_init](#bhv_spindel_init) + +### Lua Example +`bhv_spindel_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spindel_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spindel_loop](#bhv_spindel_loop) + +### Lua Example +`bhv_spindel_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spindel_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spindrift_loop](#bhv_spindrift_loop) + +### Lua Example +`bhv_spindrift_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spindrift_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_spiny_update](#bhv_spiny_update) + +### Lua Example +`bhv_spiny_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_spiny_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_squarish_path_moving_loop](#bhv_squarish_path_moving_loop) + +### Lua Example +`bhv_squarish_path_moving_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_squarish_path_moving_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_squarish_path_parent_init](#bhv_squarish_path_parent_init) + +### Lua Example +`bhv_squarish_path_parent_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_squarish_path_parent_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_squarish_path_parent_loop](#bhv_squarish_path_parent_loop) + +### Lua Example +`bhv_squarish_path_parent_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_squarish_path_parent_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_squishable_platform_loop](#bhv_squishable_platform_loop) + +### Lua Example +`bhv_squishable_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_squishable_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ssl_moving_pyramid_wall_init](#bhv_ssl_moving_pyramid_wall_init) + +### Lua Example +`bhv_ssl_moving_pyramid_wall_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ssl_moving_pyramid_wall_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ssl_moving_pyramid_wall_loop](#bhv_ssl_moving_pyramid_wall_loop) + +### Lua Example +`bhv_ssl_moving_pyramid_wall_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ssl_moving_pyramid_wall_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_star_door_loop](#bhv_star_door_loop) + +### Lua Example +`bhv_star_door_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_star_door_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_star_door_loop_2](#bhv_star_door_loop_2) + +### Lua Example +`bhv_star_door_loop_2()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_star_door_loop_2(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_star_key_collection_puff_spawner_loop](#bhv_star_key_collection_puff_spawner_loop) + +### Lua Example +`bhv_star_key_collection_puff_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_star_key_collection_puff_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_star_spawn_init](#bhv_star_spawn_init) + +### Lua Example +`bhv_star_spawn_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_star_spawn_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_star_spawn_loop](#bhv_star_spawn_loop) + +### Lua Example +`bhv_star_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_star_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_static_checkered_platform_loop](#bhv_static_checkered_platform_loop) + +### Lua Example +`bhv_static_checkered_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_static_checkered_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_strong_wind_particle_loop](#bhv_strong_wind_particle_loop) + +### Lua Example +`bhv_strong_wind_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_strong_wind_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sunken_ship_part_loop](#bhv_sunken_ship_part_loop) + +### Lua Example +`bhv_sunken_ship_part_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sunken_ship_part_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sushi_shark_collision_loop](#bhv_sushi_shark_collision_loop) + +### Lua Example +`bhv_sushi_shark_collision_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sushi_shark_collision_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_sushi_shark_loop](#bhv_sushi_shark_loop) + +### Lua Example +`bhv_sushi_shark_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_sushi_shark_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_swing_platform_init](#bhv_swing_platform_init) + +### Lua Example +`bhv_swing_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_swing_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_swing_platform_update](#bhv_swing_platform_update) + +### Lua Example +`bhv_swing_platform_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_swing_platform_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_swoop_update](#bhv_swoop_update) + +### Lua Example +`bhv_swoop_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_swoop_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tank_fish_group_loop](#bhv_tank_fish_group_loop) + +### Lua Example +`bhv_tank_fish_group_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tank_fish_group_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_temp_coin_loop](#bhv_temp_coin_loop) + +### Lua Example +`bhv_temp_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_temp_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_thi_bowling_ball_spawner_loop](#bhv_thi_bowling_ball_spawner_loop) + +### Lua Example +`bhv_thi_bowling_ball_spawner_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_thi_bowling_ball_spawner_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_thi_huge_island_top_loop](#bhv_thi_huge_island_top_loop) + +### Lua Example +`bhv_thi_huge_island_top_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_thi_huge_island_top_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_thi_tiny_island_top_loop](#bhv_thi_tiny_island_top_loop) + +### Lua Example +`bhv_thi_tiny_island_top_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_thi_tiny_island_top_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tilting_bowser_lava_platform_init](#bhv_tilting_bowser_lava_platform_init) + +### Lua Example +`bhv_tilting_bowser_lava_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tilting_bowser_lava_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tilting_inverted_pyramid_loop](#bhv_tilting_inverted_pyramid_loop) + +### Lua Example +`bhv_tilting_inverted_pyramid_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tilting_inverted_pyramid_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tiny_star_particles_init](#bhv_tiny_star_particles_init) + +### Lua Example +`bhv_tiny_star_particles_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tiny_star_particles_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tower_door_loop](#bhv_tower_door_loop) + +### Lua Example +`bhv_tower_door_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tower_door_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tower_platform_group_init](#bhv_tower_platform_group_init) + +### Lua Example +`bhv_tower_platform_group_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tower_platform_group_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tower_platform_group_loop](#bhv_tower_platform_group_loop) + +### Lua Example +`bhv_tower_platform_group_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tower_platform_group_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tox_box_loop](#bhv_tox_box_loop) + +### Lua Example +`bhv_tox_box_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tox_box_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_track_ball_update](#bhv_track_ball_update) + +### Lua Example +`bhv_track_ball_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_track_ball_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_bottom_init](#bhv_treasure_chest_bottom_init) + +### Lua Example +`bhv_treasure_chest_bottom_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_bottom_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_bottom_loop](#bhv_treasure_chest_bottom_loop) + +### Lua Example +`bhv_treasure_chest_bottom_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_bottom_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_init](#bhv_treasure_chest_init) + +### Lua Example +`bhv_treasure_chest_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_jrb_init](#bhv_treasure_chest_jrb_init) + +### Lua Example +`bhv_treasure_chest_jrb_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_jrb_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_jrb_loop](#bhv_treasure_chest_jrb_loop) + +### Lua Example +`bhv_treasure_chest_jrb_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_jrb_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_loop](#bhv_treasure_chest_loop) + +### Lua Example +`bhv_treasure_chest_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_ship_init](#bhv_treasure_chest_ship_init) + +### Lua Example +`bhv_treasure_chest_ship_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_ship_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_ship_loop](#bhv_treasure_chest_ship_loop) + +### Lua Example +`bhv_treasure_chest_ship_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_ship_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_treasure_chest_top_loop](#bhv_treasure_chest_top_loop) + +### Lua Example +`bhv_treasure_chest_top_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_treasure_chest_top_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tree_snow_or_leaf_loop](#bhv_tree_snow_or_leaf_loop) + +### Lua Example +`bhv_tree_snow_or_leaf_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tree_snow_or_leaf_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_triplet_butterfly_update](#bhv_triplet_butterfly_update) + +### Lua Example +`bhv_triplet_butterfly_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_triplet_butterfly_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_2d_rotator_init](#bhv_ttc_2d_rotator_init) + +### Lua Example +`bhv_ttc_2d_rotator_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_2d_rotator_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_2d_rotator_update](#bhv_ttc_2d_rotator_update) + +### Lua Example +`bhv_ttc_2d_rotator_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_2d_rotator_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_cog_init](#bhv_ttc_cog_init) + +### Lua Example +`bhv_ttc_cog_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_cog_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_cog_update](#bhv_ttc_cog_update) + +### Lua Example +`bhv_ttc_cog_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_cog_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_elevator_init](#bhv_ttc_elevator_init) + +### Lua Example +`bhv_ttc_elevator_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_elevator_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_elevator_update](#bhv_ttc_elevator_update) + +### Lua Example +`bhv_ttc_elevator_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_elevator_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_moving_bar_init](#bhv_ttc_moving_bar_init) + +### Lua Example +`bhv_ttc_moving_bar_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_moving_bar_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_moving_bar_update](#bhv_ttc_moving_bar_update) + +### Lua Example +`bhv_ttc_moving_bar_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_moving_bar_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_pendulum_init](#bhv_ttc_pendulum_init) + +### Lua Example +`bhv_ttc_pendulum_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_pendulum_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_pendulum_update](#bhv_ttc_pendulum_update) + +### Lua Example +`bhv_ttc_pendulum_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_pendulum_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_pit_block_init](#bhv_ttc_pit_block_init) + +### Lua Example +`bhv_ttc_pit_block_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_pit_block_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_pit_block_update](#bhv_ttc_pit_block_update) + +### Lua Example +`bhv_ttc_pit_block_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_pit_block_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_rotating_solid_init](#bhv_ttc_rotating_solid_init) + +### Lua Example +`bhv_ttc_rotating_solid_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_rotating_solid_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_rotating_solid_update](#bhv_ttc_rotating_solid_update) + +### Lua Example +`bhv_ttc_rotating_solid_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_rotating_solid_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_spinner_update](#bhv_ttc_spinner_update) + +### Lua Example +`bhv_ttc_spinner_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_spinner_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_treadmill_init](#bhv_ttc_treadmill_init) + +### Lua Example +`bhv_ttc_treadmill_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_treadmill_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttc_treadmill_update](#bhv_ttc_treadmill_update) + +### Lua Example +`bhv_ttc_treadmill_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttc_treadmill_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ttm_rolling_log_init](#bhv_ttm_rolling_log_init) + +### Lua Example +`bhv_ttm_rolling_log_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ttm_rolling_log_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tumbling_bridge_loop](#bhv_tumbling_bridge_loop) + +### Lua Example +`bhv_tumbling_bridge_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tumbling_bridge_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tumbling_bridge_platform_loop](#bhv_tumbling_bridge_platform_loop) + +### Lua Example +`bhv_tumbling_bridge_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tumbling_bridge_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tuxies_mother_loop](#bhv_tuxies_mother_loop) + +### Lua Example +`bhv_tuxies_mother_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tuxies_mother_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tweester_loop](#bhv_tweester_loop) + +### Lua Example +`bhv_tweester_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tweester_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_tweester_sand_particle_loop](#bhv_tweester_sand_particle_loop) + +### Lua Example +`bhv_tweester_sand_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_tweester_sand_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ukiki_cage_loop](#bhv_ukiki_cage_loop) + +### Lua Example +`bhv_ukiki_cage_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ukiki_cage_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ukiki_cage_star_loop](#bhv_ukiki_cage_star_loop) + +### Lua Example +`bhv_ukiki_cage_star_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ukiki_cage_star_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ukiki_init](#bhv_ukiki_init) + +### Lua Example +`bhv_ukiki_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ukiki_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_ukiki_loop](#bhv_ukiki_loop) + +### Lua Example +`bhv_ukiki_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_ukiki_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_unagi_init](#bhv_unagi_init) + +### Lua Example +`bhv_unagi_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_unagi_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_unagi_loop](#bhv_unagi_loop) + +### Lua Example +`bhv_unagi_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_unagi_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_unagi_subobject_loop](#bhv_unagi_subobject_loop) + +### Lua Example +`bhv_unagi_subobject_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_unagi_subobject_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_unused_particle_spawn_loop](#bhv_unused_particle_spawn_loop) + +### Lua Example +`bhv_unused_particle_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_unused_particle_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_unused_poundable_platform](#bhv_unused_poundable_platform) + +### Lua Example +`bhv_unused_poundable_platform()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_unused_poundable_platform(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_vanish_cap_init](#bhv_vanish_cap_init) + +### Lua Example +`bhv_vanish_cap_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_vanish_cap_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_volcano_flames_loop](#bhv_volcano_flames_loop) + +### Lua Example +`bhv_volcano_flames_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_volcano_flames_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_volcano_sound_loop](#bhv_volcano_sound_loop) + +### Lua Example +`bhv_volcano_sound_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_volcano_sound_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_volcano_trap_loop](#bhv_volcano_trap_loop) + +### Lua Example +`bhv_volcano_trap_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_volcano_trap_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wall_tiny_star_particle_loop](#bhv_wall_tiny_star_particle_loop) + +### Lua Example +`bhv_wall_tiny_star_particle_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wall_tiny_star_particle_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_warp_loop](#bhv_warp_loop) + +### Lua Example +`bhv_warp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_warp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_air_bubble_init](#bhv_water_air_bubble_init) + +### Lua Example +`bhv_water_air_bubble_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_air_bubble_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_air_bubble_loop](#bhv_water_air_bubble_loop) + +### Lua Example +`bhv_water_air_bubble_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_air_bubble_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_bomb_cannon_loop](#bhv_water_bomb_cannon_loop) + +### Lua Example +`bhv_water_bomb_cannon_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_bomb_cannon_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_bomb_shadow_update](#bhv_water_bomb_shadow_update) + +### Lua Example +`bhv_water_bomb_shadow_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_bomb_shadow_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_bomb_spawner_update](#bhv_water_bomb_spawner_update) + +### Lua Example +`bhv_water_bomb_spawner_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_bomb_spawner_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_bomb_update](#bhv_water_bomb_update) + +### Lua Example +`bhv_water_bomb_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_bomb_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_droplet_loop](#bhv_water_droplet_loop) + +### Lua Example +`bhv_water_droplet_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_droplet_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_droplet_splash_init](#bhv_water_droplet_splash_init) + +### Lua Example +`bhv_water_droplet_splash_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_droplet_splash_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_level_diamond_loop](#bhv_water_level_diamond_loop) + +### Lua Example +`bhv_water_level_diamond_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_level_diamond_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_level_pillar_init](#bhv_water_level_pillar_init) + +### Lua Example +`bhv_water_level_pillar_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_level_pillar_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_level_pillar_loop](#bhv_water_level_pillar_loop) + +### Lua Example +`bhv_water_level_pillar_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_level_pillar_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_mist_2_loop](#bhv_water_mist_2_loop) + +### Lua Example +`bhv_water_mist_2_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_mist_2_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_mist_loop](#bhv_water_mist_loop) + +### Lua Example +`bhv_water_mist_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_mist_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_mist_spawn_loop](#bhv_water_mist_spawn_loop) + +### Lua Example +`bhv_water_mist_spawn_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_mist_spawn_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_splash_spawn_droplets](#bhv_water_splash_spawn_droplets) + +### Lua Example +`bhv_water_splash_spawn_droplets()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_splash_spawn_droplets(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_water_waves_init](#bhv_water_waves_init) + +### Lua Example +`bhv_water_waves_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_water_waves_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_waterfall_sound_loop](#bhv_waterfall_sound_loop) + +### Lua Example +`bhv_waterfall_sound_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_waterfall_sound_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wave_trail_shrink](#bhv_wave_trail_shrink) + +### Lua Example +`bhv_wave_trail_shrink()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wave_trail_shrink(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wdw_express_elevator_loop](#bhv_wdw_express_elevator_loop) + +### Lua Example +`bhv_wdw_express_elevator_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wdw_express_elevator_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_breakable_wall_loop](#bhv_wf_breakable_wall_loop) + +### Lua Example +`bhv_wf_breakable_wall_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_breakable_wall_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_elevator_tower_platform_loop](#bhv_wf_elevator_tower_platform_loop) + +### Lua Example +`bhv_wf_elevator_tower_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_elevator_tower_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_rotating_wooden_platform_init](#bhv_wf_rotating_wooden_platform_init) + +### Lua Example +`bhv_wf_rotating_wooden_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_rotating_wooden_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_rotating_wooden_platform_loop](#bhv_wf_rotating_wooden_platform_loop) + +### Lua Example +`bhv_wf_rotating_wooden_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_rotating_wooden_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_sliding_platform_init](#bhv_wf_sliding_platform_init) + +### Lua Example +`bhv_wf_sliding_platform_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_sliding_platform_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_sliding_platform_loop](#bhv_wf_sliding_platform_loop) + +### Lua Example +`bhv_wf_sliding_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_sliding_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_sliding_tower_platform_loop](#bhv_wf_sliding_tower_platform_loop) + +### Lua Example +`bhv_wf_sliding_tower_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_sliding_tower_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wf_solid_tower_platform_loop](#bhv_wf_solid_tower_platform_loop) + +### Lua Example +`bhv_wf_solid_tower_platform_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wf_solid_tower_platform_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_whirlpool_init](#bhv_whirlpool_init) + +### Lua Example +`bhv_whirlpool_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_whirlpool_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_whirlpool_loop](#bhv_whirlpool_loop) + +### Lua Example +`bhv_whirlpool_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_whirlpool_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_white_puff_1_loop](#bhv_white_puff_1_loop) + +### Lua Example +`bhv_white_puff_1_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_white_puff_1_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_white_puff_2_loop](#bhv_white_puff_2_loop) + +### Lua Example +`bhv_white_puff_2_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_white_puff_2_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_white_puff_exploding_loop](#bhv_white_puff_exploding_loop) + +### Lua Example +`bhv_white_puff_exploding_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_white_puff_exploding_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_white_puff_smoke_init](#bhv_white_puff_smoke_init) + +### Lua Example +`bhv_white_puff_smoke_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_white_puff_smoke_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_whomp_loop](#bhv_whomp_loop) + +### Lua Example +`bhv_whomp_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_whomp_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wiggler_body_part_update](#bhv_wiggler_body_part_update) + +### Lua Example +`bhv_wiggler_body_part_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wiggler_body_part_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wiggler_update](#bhv_wiggler_update) + +### Lua Example +`bhv_wiggler_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wiggler_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wind_loop](#bhv_wind_loop) + +### Lua Example +`bhv_wind_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wind_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wing_cap_init](#bhv_wing_cap_init) + +### Lua Example +`bhv_wing_cap_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wing_cap_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wing_vanish_cap_loop](#bhv_wing_vanish_cap_loop) + +### Lua Example +`bhv_wing_vanish_cap_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wing_vanish_cap_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_wooden_post_update](#bhv_wooden_post_update) + +### Lua Example +`bhv_wooden_post_update()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_wooden_post_update(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_yellow_coin_init](#bhv_yellow_coin_init) + +### Lua Example +`bhv_yellow_coin_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_yellow_coin_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_yellow_coin_loop](#bhv_yellow_coin_loop) + +### Lua Example +`bhv_yellow_coin_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_yellow_coin_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_yoshi_init](#bhv_yoshi_init) + +### Lua Example +`bhv_yoshi_init()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_yoshi_init(void);` + +[:arrow_up_small:](#) + +
+ +## [bhv_yoshi_loop](#bhv_yoshi_loop) + +### Lua Example +`bhv_yoshi_loop()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void bhv_yoshi_loop(void);` + +[:arrow_up_small:](#) + +
+ +## [check_if_moving_over_floor](#check_if_moving_over_floor) + +### Lua Example +`local integerValue = check_if_moving_over_floor(a0, a1)` + +### Parameters +| Field | Type | +| ----- | ---- | +| a0 | `number` | +| a1 | `number` | + +### Returns +- `integer` + +### C Prototype +`s32 check_if_moving_over_floor(f32 a0, f32 a1);` + +[:arrow_up_small:](#) + +
+ +## [clear_particle_flags](#clear_particle_flags) + +### Lua Example +`clear_particle_flags(flags)` + +### Parameters +| Field | Type | +| ----- | ---- | +| flags | `integer` | + +### Returns +- None + +### C Prototype +`void clear_particle_flags(u32 flags);` + +[:arrow_up_small:](#) + +
+ +## [common_anchor_mario_behavior](#common_anchor_mario_behavior) + +### Lua Example +`common_anchor_mario_behavior(sp28, sp2C, sp30)` + +### Parameters +| Field | Type | +| ----- | ---- | +| sp28 | `number` | +| sp2C | `number` | +| sp30 | `integer` | + +### Returns +- None + +### C Prototype +`void common_anchor_mario_behavior(f32 sp28, f32 sp2C, s32 sp30);` + +[:arrow_up_small:](#) + +
+ +## [cur_obj_spawn_strong_wind_particles](#cur_obj_spawn_strong_wind_particles) + +### Lua Example +`cur_obj_spawn_strong_wind_particles(windSpread, scale, relPosX, relPosY, relPosZ)` + +### Parameters +| Field | Type | +| ----- | ---- | +| windSpread | `integer` | +| scale | `number` | +| relPosX | `number` | +| relPosY | `number` | +| relPosZ | `number` | + +### Returns +- None + +### C Prototype +`void cur_obj_spawn_strong_wind_particles(s32 windSpread, f32 scale, f32 relPosX, f32 relPosY, f32 relPosZ);` + +[:arrow_up_small:](#) + +
+ +## [mario_moving_fast_enough_to_make_piranha_plant_bite](#mario_moving_fast_enough_to_make_piranha_plant_bite) + +### Lua Example +`local integerValue = mario_moving_fast_enough_to_make_piranha_plant_bite()` + +### Parameters +- None + +### Returns +- `integer` + +### C Prototype +`s32 mario_moving_fast_enough_to_make_piranha_plant_bite(void);` + +[:arrow_up_small:](#) + +
+ +## [obj_set_secondary_camera_focus](#obj_set_secondary_camera_focus) + +### Lua Example +`obj_set_secondary_camera_focus()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void obj_set_secondary_camera_focus(void);` + +[:arrow_up_small:](#) + +
+ +## [play_penguin_walking_sound](#play_penguin_walking_sound) + +### Lua Example +`play_penguin_walking_sound(walk)` + +### Parameters +| Field | Type | +| ----- | ---- | +| walk | `integer` | + +### Returns +- None + +### C Prototype +`void play_penguin_walking_sound(s32 walk);` + +[:arrow_up_small:](#) + +
+ +## [spawn_default_star](#spawn_default_star) + +### Lua Example +`local ObjectValue = spawn_default_star(x, y, z)` + +### Parameters +| Field | Type | +| ----- | ---- | +| x | `number` | +| y | `number` | +| z | `number` | + +### Returns +[Object](structs.md#Object) + +### C Prototype +`struct Object* spawn_default_star(f32 x, f32 y, f32 z);` + +[:arrow_up_small:](#) + +
+ +## [spawn_mist_from_global](#spawn_mist_from_global) + +### Lua Example +`spawn_mist_from_global()` + +### Parameters +- None + +### Returns +- None + +### C Prototype +`void spawn_mist_from_global(void);` + +[:arrow_up_small:](#) + +
+ +## [spawn_mist_particles_variable](#spawn_mist_particles_variable) + +### Lua Example +`spawn_mist_particles_variable(count, offsetY, size)` + +### Parameters +| Field | Type | +| ----- | ---- | +| count | `integer` | +| offsetY | `integer` | +| size | `number` | + +### Returns +- None + +### C Prototype +`void spawn_mist_particles_variable(s32 count, s32 offsetY, f32 size);` + +[:arrow_up_small:](#) + +
+ +## [spawn_no_exit_star](#spawn_no_exit_star) + +### Lua Example +`local ObjectValue = spawn_no_exit_star(x, y, z)` + +### Parameters +| Field | Type | +| ----- | ---- | +| x | `number` | +| y | `number` | +| z | `number` | + +### Returns +[Object](structs.md#Object) + +### C Prototype +`struct Object* spawn_no_exit_star(f32 x, f32 y, f32 z);` + +[:arrow_up_small:](#) + +
+ +## [spawn_red_coin_cutscene_star](#spawn_red_coin_cutscene_star) + +### Lua Example +`local ObjectValue = spawn_red_coin_cutscene_star(x, y, z)` + +### Parameters +| Field | Type | +| ----- | ---- | +| x | `number` | +| y | `number` | +| z | `number` | + +### Returns +[Object](structs.md#Object) + +### C Prototype +`struct Object* spawn_red_coin_cutscene_star(f32 x, f32 y, f32 z);` + +[:arrow_up_small:](#) + +
+ +## [spawn_triangle_break_particles](#spawn_triangle_break_particles) + +### Lua Example +`spawn_triangle_break_particles(numTris, triModel, triSize, triAnimState)` + +### Parameters +| Field | Type | +| ----- | ---- | +| numTris | `integer` | +| triModel | `integer` | +| triSize | `number` | +| triAnimState | `integer` | + +### Returns +- None + +### C Prototype +`void spawn_triangle_break_particles(s16 numTris, s16 triModel, f32 triSize, s16 triAnimState);` + +[:arrow_up_small:](#) + +
+ +## [spawn_wind_particles](#spawn_wind_particles) + +### Lua Example +`spawn_wind_particles(pitch, yaw)` + +### Parameters +| Field | Type | +| ----- | ---- | +| pitch | `integer` | +| yaw | `integer` | + +### Returns +- None + +### C Prototype +`void spawn_wind_particles(s16 pitch, s16 yaw);` + +[:arrow_up_small:](#) + +
+ +## [tox_box_move](#tox_box_move) + +### Lua Example +`tox_box_move(forwardVel, a1, deltaPitch, deltaRoll)` + +### Parameters +| Field | Type | +| ----- | ---- | +| forwardVel | `number` | +| a1 | `number` | +| deltaPitch | `integer` | +| deltaRoll | `integer` | + +### Returns +- None + +### C Prototype +`void tox_box_move(f32 forwardVel, f32 a1, s16 deltaPitch, s16 deltaRoll);` + +[:arrow_up_small:](#) + +
+ +## [update_angle_from_move_flags](#update_angle_from_move_flags) + +### Lua Example +`local integerValue = update_angle_from_move_flags(angle)` + +### Parameters +| Field | Type | +| ----- | ---- | +| angle | `Pointer` <`integer`> | + +### Returns +- `integer` + +### C Prototype +`s32 update_angle_from_move_flags(s32 *angle);` + +[:arrow_up_small:](#) + +
+ +## [vec3f_copy_2](#vec3f_copy_2) + +### Lua Example +`vec3f_copy_2(dest, src)` + +### Parameters +| Field | Type | +| ----- | ---- | +| dest | [Vec3f](structs.md#Vec3f) | +| src | [Vec3f](structs.md#Vec3f) | + +### Returns +- None + +### C Prototype +`void vec3f_copy_2(Vec3f dest, Vec3f src);` + +[:arrow_up_small:](#) + +
+ --- # functions from behavior_table.h diff --git a/src/game/behavior_actions.h b/src/game/behavior_actions.h index 8eeaf0e31..95f1899e9 100644 --- a/src/game/behavior_actions.h +++ b/src/game/behavior_actions.h @@ -41,7 +41,6 @@ void bhv_beta_chest_lid_loop(void); void bhv_bubble_wave_init(void); void bhv_bubble_maybe_loop(void); void bhv_bubble_player_loop(void); -void bhv_small_water_loop(void); void bhv_water_air_bubble_init(void); void bhv_water_air_bubble_loop(void); void bhv_particle_init(void); @@ -61,7 +60,6 @@ void bhv_kickable_board_loop(void); void bhv_tower_door_loop(void); void bhv_wf_rotating_wooden_platform_init(void); void bhv_wf_rotating_wooden_platform_loop(void); -void bhv_koopa_shell_underwater_loop(void); void bhv_fading_warp_loop(void); void bhv_warp_loop(void); void bhv_white_puff_exploding_loop(void); diff --git a/src/pc/lua/smlua_functions_autogen.c b/src/pc/lua/smlua_functions_autogen.c index 382e0adce..228942d6d 100644 --- a/src/pc/lua/smlua_functions_autogen.c +++ b/src/pc/lua/smlua_functions_autogen.c @@ -25,8 +25,5361 @@ #include "src/pc/lua/utils/smlua_model_utils.h" #include "src/engine/surface_load.h" #include "src/game/object_list_processor.h" +#include "src/game/behavior_actions.h" + //////////////////////// + // behavior_actions.h // +//////////////////////// + +int smlua_func_arc_to_goal_pos(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 4)) { return 0; } + + + f32* a0 = smlua_get_vec3f_from_buffer(); + a0[0] = smlua_get_number_field(1, "x"); + if (!gSmLuaConvertSuccess) { return 0; } + a0[1] = smlua_get_number_field(1, "y"); + if (!gSmLuaConvertSuccess) { return 0; } + a0[2] = smlua_get_number_field(1, "z"); + if (!gSmLuaConvertSuccess) { return 0; } + + f32* a1 = smlua_get_vec3f_from_buffer(); + a1[0] = smlua_get_number_field(2, "x"); + if (!gSmLuaConvertSuccess) { return 0; } + a1[1] = smlua_get_number_field(2, "y"); + if (!gSmLuaConvertSuccess) { return 0; } + a1[2] = smlua_get_number_field(2, "z"); + if (!gSmLuaConvertSuccess) { return 0; } + f32 yVel = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + f32 gravity = smlua_to_number(L, 4); + if (!gSmLuaConvertSuccess) { return 0; } + + lua_pushinteger(L, arc_to_goal_pos(a0, a1, yVel, gravity)); + + smlua_push_number_field(1, "x", a0[0]); + smlua_push_number_field(1, "y", a0[1]); + smlua_push_number_field(1, "z", a0[2]); + + smlua_push_number_field(2, "x", a1[0]); + smlua_push_number_field(2, "y", a1[1]); + smlua_push_number_field(2, "z", a1[2]); + + return 1; +} + +int smlua_func_bhv_1up_common_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_common_init(); + + return 1; +} + +int smlua_func_bhv_1up_hidden_in_pole_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_hidden_in_pole_loop(); + + return 1; +} + +int smlua_func_bhv_1up_hidden_in_pole_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_hidden_in_pole_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_1up_hidden_in_pole_trigger_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_hidden_in_pole_trigger_loop(); + + return 1; +} + +int smlua_func_bhv_1up_hidden_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_hidden_loop(); + + return 1; +} + +int smlua_func_bhv_1up_hidden_trigger_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_hidden_trigger_loop(); + + return 1; +} + +int smlua_func_bhv_1up_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_init(); + + return 1; +} + +int smlua_func_bhv_1up_jump_on_approach_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_jump_on_approach_loop(); + + return 1; +} + +int smlua_func_bhv_1up_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_loop(); + + return 1; +} + +int smlua_func_bhv_1up_running_away_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_running_away_loop(); + + return 1; +} + +int smlua_func_bhv_1up_sliding_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_sliding_loop(); + + return 1; +} + +int smlua_func_bhv_1up_walking_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_1up_walking_loop(); + + return 1; +} + +int smlua_func_bhv_act_selector_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_act_selector_init(); + + return 1; +} + +int smlua_func_bhv_act_selector_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_act_selector_loop(); + + return 1; +} + +int smlua_func_bhv_act_selector_star_type_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_act_selector_star_type_loop(); + + return 1; +} + +int smlua_func_bhv_activated_back_and_forth_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_activated_back_and_forth_platform_init(); + + return 1; +} + +int smlua_func_bhv_activated_back_and_forth_platform_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_activated_back_and_forth_platform_update(); + + return 1; +} + +int smlua_func_bhv_alpha_boo_key_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_alpha_boo_key_loop(); + + return 1; +} + +int smlua_func_bhv_ambient_sounds_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ambient_sounds_init(); + + return 1; +} + +int smlua_func_bhv_animated_texture_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_animated_texture_loop(); + + return 1; +} + +int smlua_func_bhv_animates_on_floor_switch_press_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_animates_on_floor_switch_press_init(); + + return 1; +} + +int smlua_func_bhv_animates_on_floor_switch_press_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_animates_on_floor_switch_press_loop(); + + return 1; +} + +int smlua_func_bhv_arrow_lift_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_arrow_lift_loop(); + + return 1; +} + +int smlua_func_bhv_bbh_tilting_trap_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bbh_tilting_trap_platform_loop(); + + return 1; +} + +int smlua_func_bhv_beta_boo_key_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_boo_key_loop(); + + return 1; +} + +int smlua_func_bhv_beta_bowser_anchor_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_bowser_anchor_loop(); + + return 1; +} + +int smlua_func_bhv_beta_chest_bottom_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_chest_bottom_init(); + + return 1; +} + +int smlua_func_bhv_beta_chest_bottom_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_chest_bottom_loop(); + + return 1; +} + +int smlua_func_bhv_beta_chest_lid_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_chest_lid_loop(); + + return 1; +} + +int smlua_func_bhv_beta_fish_splash_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_fish_splash_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_beta_holdable_object_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_holdable_object_init(); + + return 1; +} + +int smlua_func_bhv_beta_holdable_object_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_holdable_object_loop(); + + return 1; +} + +int smlua_func_bhv_beta_moving_flames_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_moving_flames_loop(); + + return 1; +} + +int smlua_func_bhv_beta_moving_flames_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_moving_flames_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_beta_trampoline_spring_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_trampoline_spring_loop(); + + return 1; +} + +int smlua_func_bhv_beta_trampoline_top_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_beta_trampoline_top_loop(); + + return 1; +} + +int smlua_func_bhv_big_boo_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_boo_loop(); + + return 1; +} + +int smlua_func_bhv_big_boulder_generator_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_boulder_generator_loop(); + + return 1; +} + +int smlua_func_bhv_big_boulder_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_boulder_init(); + + return 1; +} + +int smlua_func_bhv_big_boulder_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_boulder_loop(); + + return 1; +} + +int smlua_func_bhv_big_bully_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_bully_init(); + + return 1; +} + +int smlua_func_bhv_big_bully_with_minions_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_bully_with_minions_init(); + + return 1; +} + +int smlua_func_bhv_big_bully_with_minions_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_big_bully_with_minions_loop(); + + return 1; +} + +int smlua_func_bhv_bird_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bird_update(); + + return 1; +} + +int smlua_func_bhv_birds_sound_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_birds_sound_loop(); + + return 1; +} + +int smlua_func_bhv_bitfs_sinking_cage_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bitfs_sinking_cage_platform_loop(); + + return 1; +} + +int smlua_func_bhv_bitfs_sinking_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bitfs_sinking_platform_loop(); + + return 1; +} + +int smlua_func_bhv_black_smoke_bowser_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_black_smoke_bowser_loop(); + + return 1; +} + +int smlua_func_bhv_black_smoke_mario_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_black_smoke_mario_loop(); + + return 1; +} + +int smlua_func_bhv_black_smoke_upward_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_black_smoke_upward_loop(); + + return 1; +} + +int smlua_func_bhv_blue_bowser_flame_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_bowser_flame_init(); + + return 1; +} + +int smlua_func_bhv_blue_bowser_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_bowser_flame_loop(); + + return 1; +} + +int smlua_func_bhv_blue_coin_jumping_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_coin_jumping_loop(); + + return 1; +} + +int smlua_func_bhv_blue_coin_sliding_jumping_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_coin_sliding_jumping_init(); + + return 1; +} + +int smlua_func_bhv_blue_coin_sliding_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_coin_sliding_loop(); + + return 1; +} + +int smlua_func_bhv_blue_coin_switch_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_coin_switch_loop(); + + return 1; +} + +int smlua_func_bhv_blue_fish_movement_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_fish_movement_loop(); + + return 1; +} + +int smlua_func_bhv_blue_flames_group_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_blue_flames_group_loop(); + + return 1; +} + +int smlua_func_bhv_bob_pit_bowling_ball_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bob_pit_bowling_ball_init(); + + return 1; +} + +int smlua_func_bhv_bob_pit_bowling_ball_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bob_pit_bowling_ball_loop(); + + return 1; +} + +int smlua_func_bhv_bobomb_anchor_mario_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_anchor_mario_loop(); + + return 1; +} + +int smlua_func_bhv_bobomb_buddy_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_buddy_init(); + + return 1; +} + +int smlua_func_bhv_bobomb_buddy_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_buddy_loop(); + + return 1; +} + +int smlua_func_bhv_bobomb_bully_death_smoke_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_bully_death_smoke_init(); + + return 1; +} + +int smlua_func_bhv_bobomb_explosion_bubble_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_explosion_bubble_init(); + + return 1; +} + +int smlua_func_bhv_bobomb_explosion_bubble_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_explosion_bubble_loop(); + + return 1; +} + +int smlua_func_bhv_bobomb_fuse_smoke_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_fuse_smoke_init(); + + return 1; +} + +int smlua_func_bhv_bobomb_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_init(); + + return 1; +} + +int smlua_func_bhv_bobomb_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bobomb_loop(); + + return 1; +} + +int smlua_func_bhv_boo_boss_spawned_bridge_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_boss_spawned_bridge_loop(); + + return 1; +} + +int smlua_func_bhv_boo_cage_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_cage_init(); + + return 1; +} + +int smlua_func_bhv_boo_cage_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_cage_loop(); + + return 1; +} + +int smlua_func_bhv_boo_in_castle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_in_castle_loop(); + + return 1; +} + +int smlua_func_bhv_boo_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_init(); + + return 1; +} + +int smlua_func_bhv_boo_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_loop(); + + return 1; +} + +int smlua_func_bhv_boo_with_cage_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_with_cage_init(); + + return 1; +} + +int smlua_func_bhv_boo_with_cage_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_boo_with_cage_loop(); + + return 1; +} + +int smlua_func_bhv_book_switch_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_book_switch_loop(); + + return 1; +} + +int smlua_func_bhv_bookend_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bookend_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_bouncing_fireball_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bouncing_fireball_flame_loop(); + + return 1; +} + +int smlua_func_bhv_bouncing_fireball_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bouncing_fireball_loop(); + + return 1; +} + +int smlua_func_bhv_bowling_ball_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowling_ball_init(); + + return 1; +} + +int smlua_func_bhv_bowling_ball_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowling_ball_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_body_anchor_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_body_anchor_init(); + + return 1; +} + +int smlua_func_bhv_bowser_body_anchor_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_body_anchor_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_bomb_explosion_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_bomb_explosion_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_bomb_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_bomb_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_bomb_smoke_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_bomb_smoke_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_course_red_coin_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_course_red_coin_star_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_flame_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_flame_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_init(); + + return 1; +} + +int smlua_func_bhv_bowser_key_course_exit_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_key_course_exit_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_key_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_key_init(); + + return 1; +} + +int smlua_func_bhv_bowser_key_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_key_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_key_unlock_door_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_key_unlock_door_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_shock_wave_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_shock_wave_loop(); + + return 1; +} + +int smlua_func_bhv_bowser_tail_anchor_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_tail_anchor_init(); + + return 1; +} + +int smlua_func_bhv_bowser_tail_anchor_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowser_tail_anchor_loop(); + + return 1; +} + +int smlua_func_bhv_bowsers_sub_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bowsers_sub_loop(); + + return 1; +} + +int smlua_func_bhv_breakable_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_breakable_box_loop(); + + return 1; +} + +int smlua_func_bhv_breakable_box_small_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_breakable_box_small_init(); + + return 1; +} + +int smlua_func_bhv_breakable_box_small_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_breakable_box_small_loop(); + + return 1; +} + +int smlua_func_bhv_bub_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bub_loop(); + + return 1; +} + +int smlua_func_bhv_bub_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bub_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_bubba_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubba_loop(); + + return 1; +} + +int smlua_func_bhv_bubble_cannon_barrel_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubble_cannon_barrel_loop(); + + return 1; +} + +int smlua_func_bhv_bubble_maybe_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubble_maybe_loop(); + + return 1; +} + +int smlua_func_bhv_bubble_player_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubble_player_loop(); + + return 1; +} + +int smlua_func_bhv_bubble_splash_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubble_splash_init(); + + return 1; +} + +int smlua_func_bhv_bubble_wave_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bubble_wave_init(); + + return 1; +} + +int smlua_func_bhv_bullet_bill_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bullet_bill_init(); + + return 1; +} + +int smlua_func_bhv_bullet_bill_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bullet_bill_loop(); + + return 1; +} + +int smlua_func_bhv_bully_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_bully_loop(); + + return 1; +} + +int smlua_func_bhv_butterfly_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_butterfly_init(); + + return 1; +} + +int smlua_func_bhv_butterfly_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_butterfly_loop(); + + return 1; +} + +int smlua_func_bhv_camera_lakitu_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_camera_lakitu_init(); + + return 1; +} + +int smlua_func_bhv_camera_lakitu_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_camera_lakitu_update(); + + return 1; +} + +int smlua_func_bhv_cannon_barrel_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cannon_barrel_loop(); + + return 1; +} + +int smlua_func_bhv_cannon_base_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cannon_base_loop(); + + return 1; +} + +int smlua_func_bhv_cannon_base_unused_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cannon_base_unused_loop(); + + return 1; +} + +int smlua_func_bhv_cannon_closed_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cannon_closed_init(); + + return 1; +} + +int smlua_func_bhv_cannon_closed_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cannon_closed_loop(); + + return 1; +} + +int smlua_func_bhv_cap_switch_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cap_switch_loop(); + + return 1; +} + +int smlua_func_bhv_castle_cannon_grate_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_castle_cannon_grate_init(); + + return 1; +} + +int smlua_func_bhv_castle_flag_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_castle_flag_init(); + + return 1; +} + +int smlua_func_bhv_castle_floor_trap_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_castle_floor_trap_init(); + + return 1; +} + +int smlua_func_bhv_castle_floor_trap_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_castle_floor_trap_loop(); + + return 1; +} + +int smlua_func_bhv_ccm_touched_star_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ccm_touched_star_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_celebration_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_celebration_star_init(); + + return 1; +} + +int smlua_func_bhv_celebration_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_celebration_star_loop(); + + return 1; +} + +int smlua_func_bhv_celebration_star_sparkle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_celebration_star_sparkle_loop(); + + return 1; +} + +int smlua_func_bhv_chain_chomp_chain_part_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chain_chomp_chain_part_update(); + + return 1; +} + +int smlua_func_bhv_chain_chomp_gate_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chain_chomp_gate_init(); + + return 1; +} + +int smlua_func_bhv_chain_chomp_gate_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chain_chomp_gate_update(); + + return 1; +} + +int smlua_func_bhv_chain_chomp_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chain_chomp_update(); + + return 1; +} + +int smlua_func_bhv_checkerboard_elevator_group_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_checkerboard_elevator_group_init(); + + return 1; +} + +int smlua_func_bhv_checkerboard_elevator_group_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_checkerboard_elevator_group_loop(); + + return 1; +} + +int smlua_func_bhv_checkerboard_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_checkerboard_platform_init(); + + return 1; +} + +int smlua_func_bhv_checkerboard_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_checkerboard_platform_loop(); + + return 1; +} + +int smlua_func_bhv_chuckya_anchor_mario_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chuckya_anchor_mario_loop(); + + return 1; +} + +int smlua_func_bhv_chuckya_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_chuckya_loop(); + + return 1; +} + +int smlua_func_bhv_circling_amp_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_circling_amp_init(); + + return 1; +} + +int smlua_func_bhv_circling_amp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_circling_amp_loop(); + + return 1; +} + +int smlua_func_bhv_clam_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_clam_loop(); + + return 1; +} + +int smlua_func_bhv_cloud_part_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cloud_part_update(); + + return 1; +} + +int smlua_func_bhv_cloud_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_cloud_update(); + + return 1; +} + +int smlua_func_bhv_coffin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coffin_loop(); + + return 1; +} + +int smlua_func_bhv_coffin_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coffin_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_coin_formation_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_formation_init(); + + return 1; +} + +int smlua_func_bhv_coin_formation_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_formation_loop(); + + return 1; +} + +int smlua_func_bhv_coin_formation_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_formation_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_coin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_init(); + + return 1; +} + +int smlua_func_bhv_coin_inside_boo_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_inside_boo_loop(); + + return 1; +} + +int smlua_func_bhv_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_loop(); + + return 1; +} + +int smlua_func_bhv_coin_sparkles_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_coin_sparkles_loop(); + + return 1; +} + +int smlua_func_bhv_collect_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_collect_star_init(); + + return 1; +} + +int smlua_func_bhv_collect_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_collect_star_loop(); + + return 1; +} + +int smlua_func_bhv_controllable_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_controllable_platform_init(); + + return 1; +} + +int smlua_func_bhv_controllable_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_controllable_platform_loop(); + + return 1; +} + +int smlua_func_bhv_controllable_platform_sub_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_controllable_platform_sub_loop(); + + return 1; +} + +int smlua_func_bhv_courtyard_boo_triplet_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_courtyard_boo_triplet_init(); + + return 1; +} + +int smlua_func_bhv_ddd_moving_pole_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ddd_moving_pole_loop(); + + return 1; +} + +int smlua_func_bhv_ddd_pole_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ddd_pole_init(); + + return 1; +} + +int smlua_func_bhv_ddd_pole_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ddd_pole_update(); + + return 1; +} + +int smlua_func_bhv_ddd_warp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ddd_warp_loop(); + + return 1; +} + +int smlua_func_bhv_decorative_pendulum_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_decorative_pendulum_init(); + + return 1; +} + +int smlua_func_bhv_decorative_pendulum_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_decorative_pendulum_loop(); + + return 1; +} + +int smlua_func_bhv_donut_platform_spawner_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_donut_platform_spawner_update(); + + return 1; +} + +int smlua_func_bhv_donut_platform_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_donut_platform_update(); + + return 1; +} + +int smlua_func_bhv_door_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_door_init(); + + return 1; +} + +int smlua_func_bhv_door_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_door_loop(); + + return 1; +} + +int smlua_func_bhv_dorrie_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_dorrie_update(); + + return 1; +} + +int smlua_func_bhv_elevator_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_elevator_init(); + + return 1; +} + +int smlua_func_bhv_elevator_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_elevator_loop(); + + return 1; +} + +int smlua_func_bhv_end_birds_1_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_end_birds_1_loop(); + + return 1; +} + +int smlua_func_bhv_end_birds_2_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_end_birds_2_loop(); + + return 1; +} + +int smlua_func_bhv_enemy_lakitu_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_enemy_lakitu_update(); + + return 1; +} + +int smlua_func_bhv_exclamation_box_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_exclamation_box_init(); + + return 1; +} + +int smlua_func_bhv_exclamation_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_exclamation_box_loop(); + + return 1; +} + +int smlua_func_bhv_explosion_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_explosion_init(); + + return 1; +} + +int smlua_func_bhv_explosion_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_explosion_loop(); + + return 1; +} + +int smlua_func_bhv_eyerok_boss_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_eyerok_boss_init(); + + return 1; +} + +int smlua_func_bhv_eyerok_boss_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_eyerok_boss_loop(); + + return 1; +} + +int smlua_func_bhv_eyerok_hand_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_eyerok_hand_loop(); + + return 1; +} + +int smlua_func_bhv_fading_warp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fading_warp_loop(); + + return 1; +} + +int smlua_func_bhv_falling_bowser_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_falling_bowser_platform_loop(); + + return 1; +} + +int smlua_func_bhv_falling_pillar_hitbox_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_falling_pillar_hitbox_loop(); + + return 1; +} + +int smlua_func_bhv_falling_pillar_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_falling_pillar_init(); + + return 1; +} + +int smlua_func_bhv_falling_pillar_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_falling_pillar_loop(); + + return 1; +} + +int smlua_func_bhv_ferris_wheel_axle_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ferris_wheel_axle_init(); + + return 1; +} + +int smlua_func_bhv_ferris_wheel_platform_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ferris_wheel_platform_update(); + + return 1; +} + +int smlua_func_bhv_fire_piranha_plant_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fire_piranha_plant_init(); + + return 1; +} + +int smlua_func_bhv_fire_piranha_plant_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fire_piranha_plant_update(); + + return 1; +} + +int smlua_func_bhv_fire_spitter_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fire_spitter_update(); + + return 1; +} + +int smlua_func_bhv_fish_group_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fish_group_loop(); + + return 1; +} + +int smlua_func_bhv_fish_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fish_loop(); + + return 1; +} + +int smlua_func_bhv_fish_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fish_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_flame_bouncing_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_bouncing_init(); + + return 1; +} + +int smlua_func_bhv_flame_bouncing_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_bouncing_loop(); + + return 1; +} + +int smlua_func_bhv_flame_bowser_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_bowser_init(); + + return 1; +} + +int smlua_func_bhv_flame_bowser_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_bowser_loop(); + + return 1; +} + +int smlua_func_bhv_flame_floating_landing_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_floating_landing_init(); + + return 1; +} + +int smlua_func_bhv_flame_floating_landing_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_floating_landing_loop(); + + return 1; +} + +int smlua_func_bhv_flame_large_burning_out_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_large_burning_out_init(); + + return 1; +} + +int smlua_func_bhv_flame_mario_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_mario_loop(); + + return 1; +} + +int smlua_func_bhv_flame_moving_forward_growing_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_moving_forward_growing_init(); + + return 1; +} + +int smlua_func_bhv_flame_moving_forward_growing_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flame_moving_forward_growing_loop(); + + return 1; +} + +int smlua_func_bhv_flamethrower_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flamethrower_flame_loop(); + + return 1; +} + +int smlua_func_bhv_flamethrower_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flamethrower_loop(); + + return 1; +} + +int smlua_func_bhv_floating_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_floating_platform_loop(); + + return 1; +} + +int smlua_func_bhv_floor_trap_in_castle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_floor_trap_in_castle_loop(); + + return 1; +} + +int smlua_func_bhv_fly_guy_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fly_guy_flame_loop(); + + return 1; +} + +int smlua_func_bhv_fly_guy_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_fly_guy_update(); + + return 1; +} + +int smlua_func_bhv_flying_bookend_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_flying_bookend_loop(); + + return 1; +} + +int smlua_func_bhv_free_bowling_ball_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_free_bowling_ball_init(); + + return 1; +} + +int smlua_func_bhv_free_bowling_ball_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_free_bowling_ball_loop(); + + return 1; +} + +int smlua_func_bhv_generic_bowling_ball_spawner_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_generic_bowling_ball_spawner_init(); + + return 1; +} + +int smlua_func_bhv_generic_bowling_ball_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_generic_bowling_ball_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_giant_pole_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_giant_pole_loop(); + + return 1; +} + +int smlua_func_bhv_golden_coin_sparkles_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_golden_coin_sparkles_loop(); + + return 1; +} + +int smlua_func_bhv_goomba_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_goomba_init(); + + return 1; +} + +int smlua_func_bhv_goomba_triplet_spawner_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_goomba_triplet_spawner_update(); + + return 1; +} + +int smlua_func_bhv_goomba_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_goomba_update(); + + return 1; +} + +int smlua_func_bhv_grand_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_grand_star_init(); + + return 1; +} + +int smlua_func_bhv_grand_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_grand_star_loop(); + + return 1; +} + +int smlua_func_bhv_grindel_thwomp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_grindel_thwomp_loop(); + + return 1; +} + +int smlua_func_bhv_ground_sand_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ground_sand_init(); + + return 1; +} + +int smlua_func_bhv_ground_snow_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ground_snow_init(); + + return 1; +} + +int smlua_func_bhv_haunted_bookshelf_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_haunted_bookshelf_loop(); + + return 1; +} + +int smlua_func_bhv_haunted_bookshelf_manager_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_haunted_bookshelf_manager_loop(); + + return 1; +} + +int smlua_func_bhv_haunted_chair_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_haunted_chair_init(); + + return 1; +} + +int smlua_func_bhv_haunted_chair_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_haunted_chair_loop(); + + return 1; +} + +int smlua_func_bhv_heave_ho_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_heave_ho_loop(); + + return 1; +} + +int smlua_func_bhv_heave_ho_throw_mario_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_heave_ho_throw_mario_loop(); + + return 1; +} + +int smlua_func_bhv_hidden_blue_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_blue_coin_loop(); + + return 1; +} + +int smlua_func_bhv_hidden_object_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_object_loop(); + + return 1; +} + +int smlua_func_bhv_hidden_red_coin_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_red_coin_star_init(); + + return 1; +} + +int smlua_func_bhv_hidden_red_coin_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_red_coin_star_loop(); + + return 1; +} + +int smlua_func_bhv_hidden_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_star_init(); + + return 1; +} + +int smlua_func_bhv_hidden_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_star_loop(); + + return 1; +} + +int smlua_func_bhv_hidden_star_trigger_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hidden_star_trigger_loop(); + + return 1; +} + +int smlua_func_bhv_homing_amp_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_homing_amp_init(); + + return 1; +} + +int smlua_func_bhv_homing_amp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_homing_amp_loop(); + + return 1; +} + +int smlua_func_bhv_hoot_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hoot_init(); + + return 1; +} + +int smlua_func_bhv_hoot_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_hoot_loop(); + + return 1; +} + +int smlua_func_bhv_horizontal_grindel_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_horizontal_grindel_init(); + + return 1; +} + +int smlua_func_bhv_horizontal_grindel_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_horizontal_grindel_update(); + + return 1; +} + +int smlua_func_bhv_idle_water_wave_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_idle_water_wave_loop(); + + return 1; +} + +int smlua_func_bhv_init_changing_water_level_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_init_changing_water_level_loop(); + + return 1; +} + +int smlua_func_bhv_intro_lakitu_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_intro_lakitu_loop(); + + return 1; +} + +int smlua_func_bhv_intro_peach_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_intro_peach_loop(); + + return 1; +} + +int smlua_func_bhv_intro_scene_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_intro_scene_loop(); + + return 1; +} + +int smlua_func_bhv_invisible_objects_under_bridge_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_invisible_objects_under_bridge_init(); + + return 1; +} + +int smlua_func_bhv_invisible_objects_under_bridge_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_invisible_objects_under_bridge_loop(); + + return 1; +} + +int smlua_func_bhv_jet_stream_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jet_stream_loop(); + + return 1; +} + +int smlua_func_bhv_jet_stream_ring_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jet_stream_ring_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_jet_stream_water_ring_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jet_stream_water_ring_init(); + + return 1; +} + +int smlua_func_bhv_jet_stream_water_ring_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jet_stream_water_ring_loop(); + + return 1; +} + +int smlua_func_bhv_jrb_floating_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jrb_floating_box_loop(); + + return 1; +} + +int smlua_func_bhv_jrb_sliding_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jrb_sliding_box_loop(); + + return 1; +} + +int smlua_func_bhv_jumping_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_jumping_box_loop(); + + return 1; +} + +int smlua_func_bhv_kickable_board_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_kickable_board_loop(); + + return 1; +} + +int smlua_func_bhv_king_bobomb_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_king_bobomb_loop(); + + return 1; +} + +int smlua_func_bhv_klepto_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_klepto_init(); + + return 1; +} + +int smlua_func_bhv_klepto_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_klepto_update(); + + return 1; +} + +int smlua_func_bhv_koopa_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_init(); + + return 1; +} + +int smlua_func_bhv_koopa_race_endpoint_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_race_endpoint_update(); + + return 1; +} + +int smlua_func_bhv_koopa_shell_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_shell_flame_loop(); + + return 1; +} + +int smlua_func_bhv_koopa_shell_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_shell_loop(); + + return 1; +} + +int smlua_func_bhv_koopa_shell_underwater_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_shell_underwater_loop(); + + return 1; +} + +int smlua_func_bhv_koopa_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_koopa_update(); + + return 1; +} + +int smlua_func_bhv_large_bomp_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_large_bomp_init(); + + return 1; +} + +int smlua_func_bhv_large_bomp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_large_bomp_loop(); + + return 1; +} + +int smlua_func_bhv_lll_bowser_puzzle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_bowser_puzzle_loop(); + + return 1; +} + +int smlua_func_bhv_lll_bowser_puzzle_piece_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_bowser_puzzle_piece_loop(); + + return 1; +} + +int smlua_func_bhv_lll_drawbridge_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_drawbridge_loop(); + + return 1; +} + +int smlua_func_bhv_lll_drawbridge_spawner_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_drawbridge_spawner_init(); + + return 1; +} + +int smlua_func_bhv_lll_drawbridge_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_drawbridge_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_lll_floating_wood_bridge_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_floating_wood_bridge_loop(); + + return 1; +} + +int smlua_func_bhv_lll_moving_octagonal_mesh_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_moving_octagonal_mesh_platform_loop(); + + return 1; +} + +int smlua_func_bhv_lll_rolling_log_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_rolling_log_init(); + + return 1; +} + +int smlua_func_bhv_lll_rotating_block_fire_bars_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_rotating_block_fire_bars_loop(); + + return 1; +} + +int smlua_func_bhv_lll_rotating_hex_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_rotating_hex_flame_loop(); + + return 1; +} + +int smlua_func_bhv_lll_rotating_hexagonal_ring_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_rotating_hexagonal_ring_loop(); + + return 1; +} + +int smlua_func_bhv_lll_sinking_rectangular_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_sinking_rectangular_platform_loop(); + + return 1; +} + +int smlua_func_bhv_lll_sinking_rock_block_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_sinking_rock_block_loop(); + + return 1; +} + +int smlua_func_bhv_lll_sinking_square_platforms_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_sinking_square_platforms_loop(); + + return 1; +} + +int smlua_func_bhv_lll_wood_piece_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_lll_wood_piece_loop(); + + return 1; +} + +int smlua_func_bhv_mad_piano_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mad_piano_update(); + + return 1; +} + +int smlua_func_bhv_manta_ray_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_manta_ray_init(); + + return 1; +} + +int smlua_func_bhv_manta_ray_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_manta_ray_loop(); + + return 1; +} + +int smlua_func_bhv_manta_ray_water_ring_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_manta_ray_water_ring_init(); + + return 1; +} + +int smlua_func_bhv_manta_ray_water_ring_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_manta_ray_water_ring_loop(); + + return 1; +} + +int smlua_func_bhv_menu_button_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_menu_button_init(); + + return 1; +} + +int smlua_func_bhv_menu_button_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_menu_button_loop(); + + return 1; +} + +int smlua_func_bhv_menu_button_manager_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_menu_button_manager_init(); + + return 1; +} + +int smlua_func_bhv_menu_button_manager_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_menu_button_manager_loop(); + + return 1; +} + +int smlua_func_bhv_merry_go_round_boo_manager_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_merry_go_round_boo_manager_loop(); + + return 1; +} + +int smlua_func_bhv_merry_go_round_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_merry_go_round_loop(); + + return 1; +} + +int smlua_func_bhv_metal_cap_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_metal_cap_init(); + + return 1; +} + +int smlua_func_bhv_metal_cap_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_metal_cap_loop(); + + return 1; +} + +int smlua_func_bhv_mips_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mips_init(); + + return 1; +} + +int smlua_func_bhv_mips_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mips_loop(); + + return 1; +} + +int smlua_func_bhv_moat_grills_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moat_grills_loop(); + + return 1; +} + +int smlua_func_bhv_moneybag_hidden_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moneybag_hidden_loop(); + + return 1; +} + +int smlua_func_bhv_moneybag_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moneybag_init(); + + return 1; +} + +int smlua_func_bhv_moneybag_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moneybag_loop(); + + return 1; +} + +int smlua_func_bhv_monty_mole_hole_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_monty_mole_hole_update(); + + return 1; +} + +int smlua_func_bhv_monty_mole_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_monty_mole_init(); + + return 1; +} + +int smlua_func_bhv_monty_mole_rock_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_monty_mole_rock_update(); + + return 1; +} + +int smlua_func_bhv_monty_mole_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_monty_mole_update(); + + return 1; +} + +int smlua_func_bhv_moving_blue_coin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moving_blue_coin_init(); + + return 1; +} + +int smlua_func_bhv_moving_blue_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moving_blue_coin_loop(); + + return 1; +} + +int smlua_func_bhv_moving_yellow_coin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moving_yellow_coin_init(); + + return 1; +} + +int smlua_func_bhv_moving_yellow_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_moving_yellow_coin_loop(); + + return 1; +} + +int smlua_func_bhv_mr_blizzard_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_blizzard_init(); + + return 1; +} + +int smlua_func_bhv_mr_blizzard_snowball(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_blizzard_snowball(); + + return 1; +} + +int smlua_func_bhv_mr_blizzard_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_blizzard_update(); + + return 1; +} + +int smlua_func_bhv_mr_i_body_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_i_body_loop(); + + return 1; +} + +int smlua_func_bhv_mr_i_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_i_loop(); + + return 1; +} + +int smlua_func_bhv_mr_i_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_mr_i_particle_loop(); + + return 1; +} + +int smlua_func_bhv_normal_cap_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_normal_cap_init(); + + return 1; +} + +int smlua_func_bhv_normal_cap_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_normal_cap_loop(); + + return 1; +} + +int smlua_func_bhv_object_bubble_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_object_bubble_init(); + + return 1; +} + +int smlua_func_bhv_object_bubble_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_object_bubble_loop(); + + return 1; +} + +int smlua_func_bhv_object_water_wave_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_object_water_wave_init(); + + return 1; +} + +int smlua_func_bhv_object_water_wave_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_object_water_wave_loop(); + + return 1; +} + +int smlua_func_bhv_openable_cage_door_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_openable_cage_door_loop(); + + return 1; +} + +int smlua_func_bhv_openable_grill_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_openable_grill_loop(); + + return 1; +} + +int smlua_func_bhv_orange_number_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_orange_number_init(); + + return 1; +} + +int smlua_func_bhv_orange_number_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_orange_number_loop(); + + return 1; +} + +int smlua_func_bhv_particle_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_particle_init(); + + return 1; +} + +int smlua_func_bhv_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_particle_loop(); + + return 1; +} + +int smlua_func_bhv_penguin_race_finish_line_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_penguin_race_finish_line_update(); + + return 1; +} + +int smlua_func_bhv_penguin_race_shortcut_check_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_penguin_race_shortcut_check_update(); + + return 1; +} + +int smlua_func_bhv_piranha_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_piranha_particle_loop(); + + return 1; +} + +int smlua_func_bhv_piranha_plant_bubble_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_piranha_plant_bubble_loop(); + + return 1; +} + +int smlua_func_bhv_piranha_plant_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_piranha_plant_loop(); + + return 1; +} + +int smlua_func_bhv_piranha_plant_waking_bubbles_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_piranha_plant_waking_bubbles_loop(); + + return 1; +} + +int smlua_func_bhv_platform_normals_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_platform_normals_init(); + + return 1; +} + +int smlua_func_bhv_platform_on_track_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_platform_on_track_init(); + + return 1; +} + +int smlua_func_bhv_platform_on_track_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_platform_on_track_update(); + + return 1; +} + +int smlua_func_bhv_play_music_track_when_touched_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_play_music_track_when_touched_loop(); + + return 1; +} + +int smlua_func_bhv_pokey_body_part_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pokey_body_part_update(); + + return 1; +} + +int smlua_func_bhv_pokey_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pokey_update(); + + return 1; +} + +int smlua_func_bhv_pole_base_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pole_base_loop(); + + return 1; +} + +int smlua_func_bhv_pole_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pole_init(); + + return 1; +} + +int smlua_func_bhv_pound_tiny_star_particle_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pound_tiny_star_particle_init(); + + return 1; +} + +int smlua_func_bhv_pound_tiny_star_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pound_tiny_star_particle_loop(); + + return 1; +} + +int smlua_func_bhv_pound_white_puffs_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pound_white_puffs_init(); + + return 1; +} + +int smlua_func_bhv_punch_tiny_triangle_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_punch_tiny_triangle_init(); + + return 1; +} + +int smlua_func_bhv_punch_tiny_triangle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_punch_tiny_triangle_loop(); + + return 1; +} + +int smlua_func_bhv_purple_switch_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_purple_switch_loop(); + + return 1; +} + +int smlua_func_bhv_pushable_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pushable_loop(); + + return 1; +} + +int smlua_func_bhv_pyramid_elevator_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_elevator_init(); + + return 1; +} + +int smlua_func_bhv_pyramid_elevator_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_elevator_loop(); + + return 1; +} + +int smlua_func_bhv_pyramid_elevator_trajectory_marker_ball_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_elevator_trajectory_marker_ball_loop(); + + return 1; +} + +int smlua_func_bhv_pyramid_pillar_touch_detector_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_pillar_touch_detector_loop(); + + return 1; +} + +int smlua_func_bhv_pyramid_top_fragment_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_top_fragment_init(); + + return 1; +} + +int smlua_func_bhv_pyramid_top_fragment_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_top_fragment_loop(); + + return 1; +} + +int smlua_func_bhv_pyramid_top_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_top_init(); + + return 1; +} + +int smlua_func_bhv_pyramid_top_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_pyramid_top_loop(); + + return 1; +} + +int smlua_func_bhv_racing_penguin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_racing_penguin_init(); + + return 1; +} + +int smlua_func_bhv_racing_penguin_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_racing_penguin_update(); + + return 1; +} + +int smlua_func_bhv_recovery_heart_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_recovery_heart_loop(); + + return 1; +} + +int smlua_func_bhv_red_coin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_red_coin_init(); + + return 1; +} + +int smlua_func_bhv_red_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_red_coin_loop(); + + return 1; +} + +int smlua_func_bhv_red_coin_star_marker_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_red_coin_star_marker_init(); + + return 1; +} + +int smlua_func_bhv_respawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_respawner_loop(); + + return 1; +} + +int smlua_func_bhv_rolling_log_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rolling_log_loop(); + + return 1; +} + +int smlua_func_bhv_rotating_clock_arm_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rotating_clock_arm_loop(); + + return 1; +} + +int smlua_func_bhv_rotating_exclamation_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rotating_exclamation_box_loop(); + + return 1; +} + +int smlua_func_bhv_rotating_octagonal_plat_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rotating_octagonal_plat_init(); + + return 1; +} + +int smlua_func_bhv_rotating_octagonal_plat_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rotating_octagonal_plat_loop(); + + return 1; +} + +int smlua_func_bhv_rotating_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rotating_platform_loop(); + + return 1; +} + +int smlua_func_bhv_rr_cruiser_wing_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rr_cruiser_wing_init(); + + return 1; +} + +int smlua_func_bhv_rr_cruiser_wing_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rr_cruiser_wing_loop(); + + return 1; +} + +int smlua_func_bhv_rr_rotating_bridge_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_rr_rotating_bridge_platform_loop(); + + return 1; +} + +int smlua_func_bhv_sand_sound_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sand_sound_loop(); + + return 1; +} + +int smlua_func_bhv_scuttlebug_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_scuttlebug_loop(); + + return 1; +} + +int smlua_func_bhv_scuttlebug_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_scuttlebug_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_seaweed_bundle_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_seaweed_bundle_init(); + + return 1; +} + +int smlua_func_bhv_seaweed_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_seaweed_init(); + + return 1; +} + +int smlua_func_bhv_seesaw_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_seesaw_platform_init(); + + return 1; +} + +int smlua_func_bhv_seesaw_platform_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_seesaw_platform_update(); + + return 1; +} + +int smlua_func_bhv_shallow_water_splash_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_shallow_water_splash_init(); + + return 1; +} + +int smlua_func_bhv_ship_part_3_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ship_part_3_loop(); + + return 1; +} + +int smlua_func_bhv_skeeter_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_skeeter_update(); + + return 1; +} + +int smlua_func_bhv_skeeter_wave_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_skeeter_wave_update(); + + return 1; +} + +int smlua_func_bhv_sl_snowman_wind_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sl_snowman_wind_loop(); + + return 1; +} + +int smlua_func_bhv_sl_walking_penguin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sl_walking_penguin_loop(); + + return 1; +} + +int smlua_func_bhv_sliding_plat_2_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sliding_plat_2_init(); + + return 1; +} + +int smlua_func_bhv_sliding_plat_2_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sliding_plat_2_loop(); + + return 1; +} + +int smlua_func_bhv_sliding_snow_mound_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sliding_snow_mound_loop(); + + return 1; +} + +int smlua_func_bhv_small_bomp_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_bomp_init(); + + return 1; +} + +int smlua_func_bhv_small_bomp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_bomp_loop(); + + return 1; +} + +int smlua_func_bhv_small_bubbles_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_bubbles_loop(); + + return 1; +} + +int smlua_func_bhv_small_bully_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_bully_init(); + + return 1; +} + +int smlua_func_bhv_small_penguin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_penguin_loop(); + + return 1; +} + +int smlua_func_bhv_small_piranha_flame_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_piranha_flame_loop(); + + return 1; +} + +int smlua_func_bhv_small_water_wave_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_small_water_wave_loop(); + + return 1; +} + +int smlua_func_bhv_snow_leaf_particle_spawn_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snow_leaf_particle_spawn_init(); + + return 1; +} + +int smlua_func_bhv_snow_mound_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snow_mound_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_snowmans_body_checkpoint_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snowmans_body_checkpoint_loop(); + + return 1; +} + +int smlua_func_bhv_snowmans_bottom_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snowmans_bottom_init(); + + return 1; +} + +int smlua_func_bhv_snowmans_bottom_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snowmans_bottom_loop(); + + return 1; +} + +int smlua_func_bhv_snowmans_head_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snowmans_head_init(); + + return 1; +} + +int smlua_func_bhv_snowmans_head_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snowmans_head_loop(); + + return 1; +} + +int smlua_func_bhv_snufit_balls_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snufit_balls_loop(); + + return 1; +} + +int smlua_func_bhv_snufit_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_snufit_loop(); + + return 1; +} + +int smlua_func_bhv_sound_spawner_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sound_spawner_init(); + + return 1; +} + +int smlua_func_bhv_sparkle_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sparkle_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_spawn_star_no_level_exit(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + struct Object* object = (struct Object*)smlua_to_cobject(L, 1, LOT_OBJECT); + if (!gSmLuaConvertSuccess) { return 0; } + u32 params = smlua_to_integer(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + u8 networkSendEvent = smlua_to_integer(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + bhv_spawn_star_no_level_exit(object, params, networkSendEvent); + + return 1; +} + +int smlua_func_bhv_spawned_star_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spawned_star_init(); + + return 1; +} + +int smlua_func_bhv_spawned_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spawned_star_loop(); + + return 1; +} + +int smlua_func_bhv_spindel_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spindel_init(); + + return 1; +} + +int smlua_func_bhv_spindel_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spindel_loop(); + + return 1; +} + +int smlua_func_bhv_spindrift_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spindrift_loop(); + + return 1; +} + +int smlua_func_bhv_spiny_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_spiny_update(); + + return 1; +} + +int smlua_func_bhv_squarish_path_moving_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_squarish_path_moving_loop(); + + return 1; +} + +int smlua_func_bhv_squarish_path_parent_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_squarish_path_parent_init(); + + return 1; +} + +int smlua_func_bhv_squarish_path_parent_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_squarish_path_parent_loop(); + + return 1; +} + +int smlua_func_bhv_squishable_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_squishable_platform_loop(); + + return 1; +} + +int smlua_func_bhv_ssl_moving_pyramid_wall_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ssl_moving_pyramid_wall_init(); + + return 1; +} + +int smlua_func_bhv_ssl_moving_pyramid_wall_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ssl_moving_pyramid_wall_loop(); + + return 1; +} + +int smlua_func_bhv_star_door_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_star_door_loop(); + + return 1; +} + +int smlua_func_bhv_star_door_loop_2(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_star_door_loop_2(); + + return 1; +} + +int smlua_func_bhv_star_key_collection_puff_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_star_key_collection_puff_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_star_spawn_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_star_spawn_init(); + + return 1; +} + +int smlua_func_bhv_star_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_star_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_static_checkered_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_static_checkered_platform_loop(); + + return 1; +} + +int smlua_func_bhv_strong_wind_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_strong_wind_particle_loop(); + + return 1; +} + +int smlua_func_bhv_sunken_ship_part_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sunken_ship_part_loop(); + + return 1; +} + +int smlua_func_bhv_sushi_shark_collision_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sushi_shark_collision_loop(); + + return 1; +} + +int smlua_func_bhv_sushi_shark_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_sushi_shark_loop(); + + return 1; +} + +int smlua_func_bhv_swing_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_swing_platform_init(); + + return 1; +} + +int smlua_func_bhv_swing_platform_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_swing_platform_update(); + + return 1; +} + +int smlua_func_bhv_swoop_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_swoop_update(); + + return 1; +} + +int smlua_func_bhv_tank_fish_group_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tank_fish_group_loop(); + + return 1; +} + +int smlua_func_bhv_temp_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_temp_coin_loop(); + + return 1; +} + +int smlua_func_bhv_thi_bowling_ball_spawner_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_thi_bowling_ball_spawner_loop(); + + return 1; +} + +int smlua_func_bhv_thi_huge_island_top_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_thi_huge_island_top_loop(); + + return 1; +} + +int smlua_func_bhv_thi_tiny_island_top_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_thi_tiny_island_top_loop(); + + return 1; +} + +int smlua_func_bhv_tilting_bowser_lava_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tilting_bowser_lava_platform_init(); + + return 1; +} + +int smlua_func_bhv_tilting_inverted_pyramid_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tilting_inverted_pyramid_loop(); + + return 1; +} + +int smlua_func_bhv_tiny_star_particles_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tiny_star_particles_init(); + + return 1; +} + +int smlua_func_bhv_tower_door_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tower_door_loop(); + + return 1; +} + +int smlua_func_bhv_tower_platform_group_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tower_platform_group_init(); + + return 1; +} + +int smlua_func_bhv_tower_platform_group_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tower_platform_group_loop(); + + return 1; +} + +int smlua_func_bhv_tox_box_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tox_box_loop(); + + return 1; +} + +int smlua_func_bhv_track_ball_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_track_ball_update(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_bottom_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_bottom_init(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_bottom_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_bottom_loop(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_init(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_jrb_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_jrb_init(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_jrb_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_jrb_loop(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_loop(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_ship_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_ship_init(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_ship_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_ship_loop(); + + return 1; +} + +int smlua_func_bhv_treasure_chest_top_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_treasure_chest_top_loop(); + + return 1; +} + +int smlua_func_bhv_tree_snow_or_leaf_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tree_snow_or_leaf_loop(); + + return 1; +} + +int smlua_func_bhv_triplet_butterfly_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_triplet_butterfly_update(); + + return 1; +} + +int smlua_func_bhv_ttc_2d_rotator_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_2d_rotator_init(); + + return 1; +} + +int smlua_func_bhv_ttc_2d_rotator_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_2d_rotator_update(); + + return 1; +} + +int smlua_func_bhv_ttc_cog_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_cog_init(); + + return 1; +} + +int smlua_func_bhv_ttc_cog_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_cog_update(); + + return 1; +} + +int smlua_func_bhv_ttc_elevator_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_elevator_init(); + + return 1; +} + +int smlua_func_bhv_ttc_elevator_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_elevator_update(); + + return 1; +} + +int smlua_func_bhv_ttc_moving_bar_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_moving_bar_init(); + + return 1; +} + +int smlua_func_bhv_ttc_moving_bar_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_moving_bar_update(); + + return 1; +} + +int smlua_func_bhv_ttc_pendulum_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_pendulum_init(); + + return 1; +} + +int smlua_func_bhv_ttc_pendulum_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_pendulum_update(); + + return 1; +} + +int smlua_func_bhv_ttc_pit_block_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_pit_block_init(); + + return 1; +} + +int smlua_func_bhv_ttc_pit_block_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_pit_block_update(); + + return 1; +} + +int smlua_func_bhv_ttc_rotating_solid_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_rotating_solid_init(); + + return 1; +} + +int smlua_func_bhv_ttc_rotating_solid_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_rotating_solid_update(); + + return 1; +} + +int smlua_func_bhv_ttc_spinner_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_spinner_update(); + + return 1; +} + +int smlua_func_bhv_ttc_treadmill_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_treadmill_init(); + + return 1; +} + +int smlua_func_bhv_ttc_treadmill_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttc_treadmill_update(); + + return 1; +} + +int smlua_func_bhv_ttm_rolling_log_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ttm_rolling_log_init(); + + return 1; +} + +int smlua_func_bhv_tumbling_bridge_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tumbling_bridge_loop(); + + return 1; +} + +int smlua_func_bhv_tumbling_bridge_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tumbling_bridge_platform_loop(); + + return 1; +} + +int smlua_func_bhv_tuxies_mother_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tuxies_mother_loop(); + + return 1; +} + +int smlua_func_bhv_tweester_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tweester_loop(); + + return 1; +} + +int smlua_func_bhv_tweester_sand_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_tweester_sand_particle_loop(); + + return 1; +} + +int smlua_func_bhv_ukiki_cage_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ukiki_cage_loop(); + + return 1; +} + +int smlua_func_bhv_ukiki_cage_star_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ukiki_cage_star_loop(); + + return 1; +} + +int smlua_func_bhv_ukiki_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ukiki_init(); + + return 1; +} + +int smlua_func_bhv_ukiki_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_ukiki_loop(); + + return 1; +} + +int smlua_func_bhv_unagi_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_unagi_init(); + + return 1; +} + +int smlua_func_bhv_unagi_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_unagi_loop(); + + return 1; +} + +int smlua_func_bhv_unagi_subobject_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_unagi_subobject_loop(); + + return 1; +} + +int smlua_func_bhv_unused_particle_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_unused_particle_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_unused_poundable_platform(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_unused_poundable_platform(); + + return 1; +} + +int smlua_func_bhv_vanish_cap_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_vanish_cap_init(); + + return 1; +} + +int smlua_func_bhv_volcano_flames_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_volcano_flames_loop(); + + return 1; +} + +int smlua_func_bhv_volcano_sound_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_volcano_sound_loop(); + + return 1; +} + +int smlua_func_bhv_volcano_trap_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_volcano_trap_loop(); + + return 1; +} + +int smlua_func_bhv_wall_tiny_star_particle_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wall_tiny_star_particle_loop(); + + return 1; +} + +int smlua_func_bhv_warp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_warp_loop(); + + return 1; +} + +int smlua_func_bhv_water_air_bubble_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_air_bubble_init(); + + return 1; +} + +int smlua_func_bhv_water_air_bubble_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_air_bubble_loop(); + + return 1; +} + +int smlua_func_bhv_water_bomb_cannon_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_bomb_cannon_loop(); + + return 1; +} + +int smlua_func_bhv_water_bomb_shadow_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_bomb_shadow_update(); + + return 1; +} + +int smlua_func_bhv_water_bomb_spawner_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_bomb_spawner_update(); + + return 1; +} + +int smlua_func_bhv_water_bomb_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_bomb_update(); + + return 1; +} + +int smlua_func_bhv_water_droplet_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_droplet_loop(); + + return 1; +} + +int smlua_func_bhv_water_droplet_splash_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_droplet_splash_init(); + + return 1; +} + +int smlua_func_bhv_water_level_diamond_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_level_diamond_loop(); + + return 1; +} + +int smlua_func_bhv_water_level_pillar_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_level_pillar_init(); + + return 1; +} + +int smlua_func_bhv_water_level_pillar_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_level_pillar_loop(); + + return 1; +} + +int smlua_func_bhv_water_mist_2_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_mist_2_loop(); + + return 1; +} + +int smlua_func_bhv_water_mist_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_mist_loop(); + + return 1; +} + +int smlua_func_bhv_water_mist_spawn_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_mist_spawn_loop(); + + return 1; +} + +int smlua_func_bhv_water_splash_spawn_droplets(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_splash_spawn_droplets(); + + return 1; +} + +int smlua_func_bhv_water_waves_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_water_waves_init(); + + return 1; +} + +int smlua_func_bhv_waterfall_sound_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_waterfall_sound_loop(); + + return 1; +} + +int smlua_func_bhv_wave_trail_shrink(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wave_trail_shrink(); + + return 1; +} + +int smlua_func_bhv_wdw_express_elevator_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wdw_express_elevator_loop(); + + return 1; +} + +int smlua_func_bhv_wf_breakable_wall_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_breakable_wall_loop(); + + return 1; +} + +int smlua_func_bhv_wf_elevator_tower_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_elevator_tower_platform_loop(); + + return 1; +} + +int smlua_func_bhv_wf_rotating_wooden_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_rotating_wooden_platform_init(); + + return 1; +} + +int smlua_func_bhv_wf_rotating_wooden_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_rotating_wooden_platform_loop(); + + return 1; +} + +int smlua_func_bhv_wf_sliding_platform_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_sliding_platform_init(); + + return 1; +} + +int smlua_func_bhv_wf_sliding_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_sliding_platform_loop(); + + return 1; +} + +int smlua_func_bhv_wf_sliding_tower_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_sliding_tower_platform_loop(); + + return 1; +} + +int smlua_func_bhv_wf_solid_tower_platform_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wf_solid_tower_platform_loop(); + + return 1; +} + +int smlua_func_bhv_whirlpool_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_whirlpool_init(); + + return 1; +} + +int smlua_func_bhv_whirlpool_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_whirlpool_loop(); + + return 1; +} + +int smlua_func_bhv_white_puff_1_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_white_puff_1_loop(); + + return 1; +} + +int smlua_func_bhv_white_puff_2_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_white_puff_2_loop(); + + return 1; +} + +int smlua_func_bhv_white_puff_exploding_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_white_puff_exploding_loop(); + + return 1; +} + +int smlua_func_bhv_white_puff_smoke_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_white_puff_smoke_init(); + + return 1; +} + +int smlua_func_bhv_whomp_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_whomp_loop(); + + return 1; +} + +int smlua_func_bhv_wiggler_body_part_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wiggler_body_part_update(); + + return 1; +} + +int smlua_func_bhv_wiggler_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wiggler_update(); + + return 1; +} + +int smlua_func_bhv_wind_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wind_loop(); + + return 1; +} + +int smlua_func_bhv_wing_cap_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wing_cap_init(); + + return 1; +} + +int smlua_func_bhv_wing_vanish_cap_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wing_vanish_cap_loop(); + + return 1; +} + +int smlua_func_bhv_wooden_post_update(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_wooden_post_update(); + + return 1; +} + +int smlua_func_bhv_yellow_coin_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_yellow_coin_init(); + + return 1; +} + +int smlua_func_bhv_yellow_coin_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_yellow_coin_loop(); + + return 1; +} + +int smlua_func_bhv_yoshi_init(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_yoshi_init(); + + return 1; +} + +int smlua_func_bhv_yoshi_loop(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + bhv_yoshi_loop(); + + return 1; +} + +int smlua_func_check_if_moving_over_floor(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 2)) { return 0; } + + f32 a0 = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 a1 = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + + lua_pushinteger(L, check_if_moving_over_floor(a0, a1)); + + return 1; +} + +int smlua_func_clear_particle_flags(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 1)) { return 0; } + + u32 flags = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + + clear_particle_flags(flags); + + return 1; +} + +int smlua_func_common_anchor_mario_behavior(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + f32 sp28 = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 sp2C = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + s32 sp30 = smlua_to_integer(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + common_anchor_mario_behavior(sp28, sp2C, sp30); + + return 1; +} + +int smlua_func_cur_obj_spawn_strong_wind_particles(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 5)) { return 0; } + + s32 windSpread = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 scale = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 relPosX = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + f32 relPosY = smlua_to_number(L, 4); + if (!gSmLuaConvertSuccess) { return 0; } + f32 relPosZ = smlua_to_number(L, 5); + if (!gSmLuaConvertSuccess) { return 0; } + + cur_obj_spawn_strong_wind_particles(windSpread, scale, relPosX, relPosY, relPosZ); + + return 1; +} + +/* +int smlua_func_geo_bits_bowser_coloring(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } + s32 a2 = smlua_to_integer(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_bits_bowser_coloring(run, node, a2)); + + return 1; +} +*/ + +/* +int smlua_func_geo_move_mario_part_from_parent(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 mtx = (Mat4)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_move_mario_part_from_parent(run, node, mtx)); + + return 1; +} +*/ + +/* +int smlua_func_geo_scale_bowser_key(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } + f32 mtx[4][4] = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_scale_bowser_key(run, node, mtx[4][4])); + + return 1; +} +*/ + +/* +int smlua_func_geo_snufit_move_mask(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 callContext = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 * c = (Mat4 *)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_snufit_move_mask(callContext, node, c)); + + return 1; +} +*/ + +/* +int smlua_func_geo_snufit_scale_body(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 callContext = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 * c = (Mat4 *)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_snufit_scale_body(callContext, node, c)); + + return 1; +} +*/ + +/* +int smlua_func_geo_switch_bowser_eyes(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 * mtx = (Mat4 *)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_switch_bowser_eyes(run, node, mtx)); + + return 1; +} +*/ + +/* +int smlua_func_geo_switch_tuxie_mother_eyes(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 * mtx = (Mat4 *)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_switch_tuxie_mother_eyes(run, node, mtx)); + + return 1; +} +*/ + +/* +int smlua_func_geo_update_body_rot_from_parent(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 mtx = (Mat4)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_update_body_rot_from_parent(run, node, mtx)); + + return 1; +} +*/ + +/* +int smlua_func_geo_update_held_mario_pos(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 run = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + struct GraphNode* node = (struct GraphNode*)smlua_to_cobject(L, 2, LOT_GRAPHNODE); + if (!gSmLuaConvertSuccess) { return 0; } +// Mat4 mtx = (Mat4)smlua_to_cobject(L, 3, LOT_???); <--- UNIMPLEMENTED + if (!gSmLuaConvertSuccess) { return 0; } + + UNIMPLEMENTED -->(L, geo_update_held_mario_pos(run, node, mtx)); + + return 1; +} +*/ + +int smlua_func_mario_moving_fast_enough_to_make_piranha_plant_bite(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + lua_pushinteger(L, mario_moving_fast_enough_to_make_piranha_plant_bite()); + + return 1; +} + +int smlua_func_obj_set_secondary_camera_focus(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + obj_set_secondary_camera_focus(); + + return 1; +} + +int smlua_func_play_penguin_walking_sound(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 1)) { return 0; } + + s32 walk = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + + play_penguin_walking_sound(walk); + + return 1; +} + +int smlua_func_spawn_default_star(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + f32 x = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 y = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 z = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + smlua_push_object(L, LOT_OBJECT, spawn_default_star(x, y, z)); + + return 1; +} + +int smlua_func_spawn_mist_from_global(UNUSED lua_State* L) { + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } + + + spawn_mist_from_global(); + + return 1; +} + +int smlua_func_spawn_mist_particles_variable(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + s32 count = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + s32 offsetY = smlua_to_integer(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 size = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + spawn_mist_particles_variable(count, offsetY, size); + + return 1; +} + +int smlua_func_spawn_no_exit_star(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + f32 x = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 y = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 z = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + smlua_push_object(L, LOT_OBJECT, spawn_no_exit_star(x, y, z)); + + return 1; +} + +int smlua_func_spawn_red_coin_cutscene_star(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 3)) { return 0; } + + f32 x = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 y = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 z = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + + smlua_push_object(L, LOT_OBJECT, spawn_red_coin_cutscene_star(x, y, z)); + + return 1; +} + +int smlua_func_spawn_triangle_break_particles(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 4)) { return 0; } + + s16 numTris = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + s16 triModel = smlua_to_integer(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + f32 triSize = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + s16 triAnimState = smlua_to_integer(L, 4); + if (!gSmLuaConvertSuccess) { return 0; } + + spawn_triangle_break_particles(numTris, triModel, triSize, triAnimState); + + return 1; +} + +int smlua_func_spawn_wind_particles(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 2)) { return 0; } + + s16 pitch = smlua_to_integer(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + s16 yaw = smlua_to_integer(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + + spawn_wind_particles(pitch, yaw); + + return 1; +} + +int smlua_func_tox_box_move(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 4)) { return 0; } + + f32 forwardVel = smlua_to_number(L, 1); + if (!gSmLuaConvertSuccess) { return 0; } + f32 a1 = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { return 0; } + s16 deltaPitch = smlua_to_integer(L, 3); + if (!gSmLuaConvertSuccess) { return 0; } + s16 deltaRoll = smlua_to_integer(L, 4); + if (!gSmLuaConvertSuccess) { return 0; } + + tox_box_move(forwardVel, a1, deltaPitch, deltaRoll); + + return 1; +} + +int smlua_func_update_angle_from_move_flags(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 1)) { return 0; } + + s32 * angle = (s32 *)smlua_to_cpointer(L, 1, LVT_S32_P); + if (!gSmLuaConvertSuccess) { return 0; } + + lua_pushinteger(L, update_angle_from_move_flags(angle)); + + return 1; +} + +int smlua_func_vec3f_copy_2(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 2)) { return 0; } + + + f32* dest = smlua_get_vec3f_from_buffer(); + dest[0] = smlua_get_number_field(1, "x"); + if (!gSmLuaConvertSuccess) { return 0; } + dest[1] = smlua_get_number_field(1, "y"); + if (!gSmLuaConvertSuccess) { return 0; } + dest[2] = smlua_get_number_field(1, "z"); + if (!gSmLuaConvertSuccess) { return 0; } + + f32* src = smlua_get_vec3f_from_buffer(); + src[0] = smlua_get_number_field(2, "x"); + if (!gSmLuaConvertSuccess) { return 0; } + src[1] = smlua_get_number_field(2, "y"); + if (!gSmLuaConvertSuccess) { return 0; } + src[2] = smlua_get_number_field(2, "z"); + if (!gSmLuaConvertSuccess) { return 0; } + + vec3f_copy_2(dest, src); + + smlua_push_number_field(1, "x", dest[0]); + smlua_push_number_field(1, "y", dest[1]); + smlua_push_number_field(1, "z", dest[2]); + + smlua_push_number_field(2, "x", src[0]); + smlua_push_number_field(2, "y", src[1]); + smlua_push_number_field(2, "z", src[2]); + + return 1; +} + ////////////////////// // behavior_table.h // ////////////////////// @@ -10126,6 +15479,580 @@ int smlua_func_load_object_collision_model(UNUSED lua_State* L) { void smlua_bind_functions_autogen(void) { lua_State* L = gLuaState; + // behavior_actions.h + smlua_bind_function(L, "arc_to_goal_pos", smlua_func_arc_to_goal_pos); + smlua_bind_function(L, "bhv_1up_common_init", smlua_func_bhv_1up_common_init); + smlua_bind_function(L, "bhv_1up_hidden_in_pole_loop", smlua_func_bhv_1up_hidden_in_pole_loop); + smlua_bind_function(L, "bhv_1up_hidden_in_pole_spawner_loop", smlua_func_bhv_1up_hidden_in_pole_spawner_loop); + smlua_bind_function(L, "bhv_1up_hidden_in_pole_trigger_loop", smlua_func_bhv_1up_hidden_in_pole_trigger_loop); + smlua_bind_function(L, "bhv_1up_hidden_loop", smlua_func_bhv_1up_hidden_loop); + smlua_bind_function(L, "bhv_1up_hidden_trigger_loop", smlua_func_bhv_1up_hidden_trigger_loop); + smlua_bind_function(L, "bhv_1up_init", smlua_func_bhv_1up_init); + smlua_bind_function(L, "bhv_1up_jump_on_approach_loop", smlua_func_bhv_1up_jump_on_approach_loop); + smlua_bind_function(L, "bhv_1up_loop", smlua_func_bhv_1up_loop); + smlua_bind_function(L, "bhv_1up_running_away_loop", smlua_func_bhv_1up_running_away_loop); + smlua_bind_function(L, "bhv_1up_sliding_loop", smlua_func_bhv_1up_sliding_loop); + smlua_bind_function(L, "bhv_1up_walking_loop", smlua_func_bhv_1up_walking_loop); + smlua_bind_function(L, "bhv_act_selector_init", smlua_func_bhv_act_selector_init); + smlua_bind_function(L, "bhv_act_selector_loop", smlua_func_bhv_act_selector_loop); + smlua_bind_function(L, "bhv_act_selector_star_type_loop", smlua_func_bhv_act_selector_star_type_loop); + smlua_bind_function(L, "bhv_activated_back_and_forth_platform_init", smlua_func_bhv_activated_back_and_forth_platform_init); + smlua_bind_function(L, "bhv_activated_back_and_forth_platform_update", smlua_func_bhv_activated_back_and_forth_platform_update); + smlua_bind_function(L, "bhv_alpha_boo_key_loop", smlua_func_bhv_alpha_boo_key_loop); + smlua_bind_function(L, "bhv_ambient_sounds_init", smlua_func_bhv_ambient_sounds_init); + smlua_bind_function(L, "bhv_animated_texture_loop", smlua_func_bhv_animated_texture_loop); + smlua_bind_function(L, "bhv_animates_on_floor_switch_press_init", smlua_func_bhv_animates_on_floor_switch_press_init); + smlua_bind_function(L, "bhv_animates_on_floor_switch_press_loop", smlua_func_bhv_animates_on_floor_switch_press_loop); + smlua_bind_function(L, "bhv_arrow_lift_loop", smlua_func_bhv_arrow_lift_loop); + smlua_bind_function(L, "bhv_bbh_tilting_trap_platform_loop", smlua_func_bhv_bbh_tilting_trap_platform_loop); + smlua_bind_function(L, "bhv_beta_boo_key_loop", smlua_func_bhv_beta_boo_key_loop); + smlua_bind_function(L, "bhv_beta_bowser_anchor_loop", smlua_func_bhv_beta_bowser_anchor_loop); + smlua_bind_function(L, "bhv_beta_chest_bottom_init", smlua_func_bhv_beta_chest_bottom_init); + smlua_bind_function(L, "bhv_beta_chest_bottom_loop", smlua_func_bhv_beta_chest_bottom_loop); + smlua_bind_function(L, "bhv_beta_chest_lid_loop", smlua_func_bhv_beta_chest_lid_loop); + smlua_bind_function(L, "bhv_beta_fish_splash_spawner_loop", smlua_func_bhv_beta_fish_splash_spawner_loop); + smlua_bind_function(L, "bhv_beta_holdable_object_init", smlua_func_bhv_beta_holdable_object_init); + smlua_bind_function(L, "bhv_beta_holdable_object_loop", smlua_func_bhv_beta_holdable_object_loop); + smlua_bind_function(L, "bhv_beta_moving_flames_loop", smlua_func_bhv_beta_moving_flames_loop); + smlua_bind_function(L, "bhv_beta_moving_flames_spawn_loop", smlua_func_bhv_beta_moving_flames_spawn_loop); + smlua_bind_function(L, "bhv_beta_trampoline_spring_loop", smlua_func_bhv_beta_trampoline_spring_loop); + smlua_bind_function(L, "bhv_beta_trampoline_top_loop", smlua_func_bhv_beta_trampoline_top_loop); + smlua_bind_function(L, "bhv_big_boo_loop", smlua_func_bhv_big_boo_loop); + smlua_bind_function(L, "bhv_big_boulder_generator_loop", smlua_func_bhv_big_boulder_generator_loop); + smlua_bind_function(L, "bhv_big_boulder_init", smlua_func_bhv_big_boulder_init); + smlua_bind_function(L, "bhv_big_boulder_loop", smlua_func_bhv_big_boulder_loop); + smlua_bind_function(L, "bhv_big_bully_init", smlua_func_bhv_big_bully_init); + smlua_bind_function(L, "bhv_big_bully_with_minions_init", smlua_func_bhv_big_bully_with_minions_init); + smlua_bind_function(L, "bhv_big_bully_with_minions_loop", smlua_func_bhv_big_bully_with_minions_loop); + smlua_bind_function(L, "bhv_bird_update", smlua_func_bhv_bird_update); + smlua_bind_function(L, "bhv_birds_sound_loop", smlua_func_bhv_birds_sound_loop); + smlua_bind_function(L, "bhv_bitfs_sinking_cage_platform_loop", smlua_func_bhv_bitfs_sinking_cage_platform_loop); + smlua_bind_function(L, "bhv_bitfs_sinking_platform_loop", smlua_func_bhv_bitfs_sinking_platform_loop); + smlua_bind_function(L, "bhv_black_smoke_bowser_loop", smlua_func_bhv_black_smoke_bowser_loop); + smlua_bind_function(L, "bhv_black_smoke_mario_loop", smlua_func_bhv_black_smoke_mario_loop); + smlua_bind_function(L, "bhv_black_smoke_upward_loop", smlua_func_bhv_black_smoke_upward_loop); + smlua_bind_function(L, "bhv_blue_bowser_flame_init", smlua_func_bhv_blue_bowser_flame_init); + smlua_bind_function(L, "bhv_blue_bowser_flame_loop", smlua_func_bhv_blue_bowser_flame_loop); + smlua_bind_function(L, "bhv_blue_coin_jumping_loop", smlua_func_bhv_blue_coin_jumping_loop); + smlua_bind_function(L, "bhv_blue_coin_sliding_jumping_init", smlua_func_bhv_blue_coin_sliding_jumping_init); + smlua_bind_function(L, "bhv_blue_coin_sliding_loop", smlua_func_bhv_blue_coin_sliding_loop); + smlua_bind_function(L, "bhv_blue_coin_switch_loop", smlua_func_bhv_blue_coin_switch_loop); + smlua_bind_function(L, "bhv_blue_fish_movement_loop", smlua_func_bhv_blue_fish_movement_loop); + smlua_bind_function(L, "bhv_blue_flames_group_loop", smlua_func_bhv_blue_flames_group_loop); + smlua_bind_function(L, "bhv_bob_pit_bowling_ball_init", smlua_func_bhv_bob_pit_bowling_ball_init); + smlua_bind_function(L, "bhv_bob_pit_bowling_ball_loop", smlua_func_bhv_bob_pit_bowling_ball_loop); + smlua_bind_function(L, "bhv_bobomb_anchor_mario_loop", smlua_func_bhv_bobomb_anchor_mario_loop); + smlua_bind_function(L, "bhv_bobomb_buddy_init", smlua_func_bhv_bobomb_buddy_init); + smlua_bind_function(L, "bhv_bobomb_buddy_loop", smlua_func_bhv_bobomb_buddy_loop); + smlua_bind_function(L, "bhv_bobomb_bully_death_smoke_init", smlua_func_bhv_bobomb_bully_death_smoke_init); + smlua_bind_function(L, "bhv_bobomb_explosion_bubble_init", smlua_func_bhv_bobomb_explosion_bubble_init); + smlua_bind_function(L, "bhv_bobomb_explosion_bubble_loop", smlua_func_bhv_bobomb_explosion_bubble_loop); + smlua_bind_function(L, "bhv_bobomb_fuse_smoke_init", smlua_func_bhv_bobomb_fuse_smoke_init); + smlua_bind_function(L, "bhv_bobomb_init", smlua_func_bhv_bobomb_init); + smlua_bind_function(L, "bhv_bobomb_loop", smlua_func_bhv_bobomb_loop); + smlua_bind_function(L, "bhv_boo_boss_spawned_bridge_loop", smlua_func_bhv_boo_boss_spawned_bridge_loop); + smlua_bind_function(L, "bhv_boo_cage_init", smlua_func_bhv_boo_cage_init); + smlua_bind_function(L, "bhv_boo_cage_loop", smlua_func_bhv_boo_cage_loop); + smlua_bind_function(L, "bhv_boo_in_castle_loop", smlua_func_bhv_boo_in_castle_loop); + smlua_bind_function(L, "bhv_boo_init", smlua_func_bhv_boo_init); + smlua_bind_function(L, "bhv_boo_loop", smlua_func_bhv_boo_loop); + smlua_bind_function(L, "bhv_boo_with_cage_init", smlua_func_bhv_boo_with_cage_init); + smlua_bind_function(L, "bhv_boo_with_cage_loop", smlua_func_bhv_boo_with_cage_loop); + smlua_bind_function(L, "bhv_book_switch_loop", smlua_func_bhv_book_switch_loop); + smlua_bind_function(L, "bhv_bookend_spawn_loop", smlua_func_bhv_bookend_spawn_loop); + smlua_bind_function(L, "bhv_bouncing_fireball_flame_loop", smlua_func_bhv_bouncing_fireball_flame_loop); + smlua_bind_function(L, "bhv_bouncing_fireball_loop", smlua_func_bhv_bouncing_fireball_loop); + smlua_bind_function(L, "bhv_bowling_ball_init", smlua_func_bhv_bowling_ball_init); + smlua_bind_function(L, "bhv_bowling_ball_loop", smlua_func_bhv_bowling_ball_loop); + smlua_bind_function(L, "bhv_bowser_body_anchor_init", smlua_func_bhv_bowser_body_anchor_init); + smlua_bind_function(L, "bhv_bowser_body_anchor_loop", smlua_func_bhv_bowser_body_anchor_loop); + smlua_bind_function(L, "bhv_bowser_bomb_explosion_loop", smlua_func_bhv_bowser_bomb_explosion_loop); + smlua_bind_function(L, "bhv_bowser_bomb_loop", smlua_func_bhv_bowser_bomb_loop); + smlua_bind_function(L, "bhv_bowser_bomb_smoke_loop", smlua_func_bhv_bowser_bomb_smoke_loop); + smlua_bind_function(L, "bhv_bowser_course_red_coin_star_loop", smlua_func_bhv_bowser_course_red_coin_star_loop); + smlua_bind_function(L, "bhv_bowser_flame_spawn_loop", smlua_func_bhv_bowser_flame_spawn_loop); + smlua_bind_function(L, "bhv_bowser_init", smlua_func_bhv_bowser_init); + smlua_bind_function(L, "bhv_bowser_key_course_exit_loop", smlua_func_bhv_bowser_key_course_exit_loop); + smlua_bind_function(L, "bhv_bowser_key_init", smlua_func_bhv_bowser_key_init); + smlua_bind_function(L, "bhv_bowser_key_loop", smlua_func_bhv_bowser_key_loop); + smlua_bind_function(L, "bhv_bowser_key_unlock_door_loop", smlua_func_bhv_bowser_key_unlock_door_loop); + smlua_bind_function(L, "bhv_bowser_loop", smlua_func_bhv_bowser_loop); + smlua_bind_function(L, "bhv_bowser_shock_wave_loop", smlua_func_bhv_bowser_shock_wave_loop); + smlua_bind_function(L, "bhv_bowser_tail_anchor_init", smlua_func_bhv_bowser_tail_anchor_init); + smlua_bind_function(L, "bhv_bowser_tail_anchor_loop", smlua_func_bhv_bowser_tail_anchor_loop); + smlua_bind_function(L, "bhv_bowsers_sub_loop", smlua_func_bhv_bowsers_sub_loop); + smlua_bind_function(L, "bhv_breakable_box_loop", smlua_func_bhv_breakable_box_loop); + smlua_bind_function(L, "bhv_breakable_box_small_init", smlua_func_bhv_breakable_box_small_init); + smlua_bind_function(L, "bhv_breakable_box_small_loop", smlua_func_bhv_breakable_box_small_loop); + smlua_bind_function(L, "bhv_bub_loop", smlua_func_bhv_bub_loop); + smlua_bind_function(L, "bhv_bub_spawner_loop", smlua_func_bhv_bub_spawner_loop); + smlua_bind_function(L, "bhv_bubba_loop", smlua_func_bhv_bubba_loop); + smlua_bind_function(L, "bhv_bubble_cannon_barrel_loop", smlua_func_bhv_bubble_cannon_barrel_loop); + smlua_bind_function(L, "bhv_bubble_maybe_loop", smlua_func_bhv_bubble_maybe_loop); + smlua_bind_function(L, "bhv_bubble_player_loop", smlua_func_bhv_bubble_player_loop); + smlua_bind_function(L, "bhv_bubble_splash_init", smlua_func_bhv_bubble_splash_init); + smlua_bind_function(L, "bhv_bubble_wave_init", smlua_func_bhv_bubble_wave_init); + smlua_bind_function(L, "bhv_bullet_bill_init", smlua_func_bhv_bullet_bill_init); + smlua_bind_function(L, "bhv_bullet_bill_loop", smlua_func_bhv_bullet_bill_loop); + smlua_bind_function(L, "bhv_bully_loop", smlua_func_bhv_bully_loop); + smlua_bind_function(L, "bhv_butterfly_init", smlua_func_bhv_butterfly_init); + smlua_bind_function(L, "bhv_butterfly_loop", smlua_func_bhv_butterfly_loop); + smlua_bind_function(L, "bhv_camera_lakitu_init", smlua_func_bhv_camera_lakitu_init); + smlua_bind_function(L, "bhv_camera_lakitu_update", smlua_func_bhv_camera_lakitu_update); + smlua_bind_function(L, "bhv_cannon_barrel_loop", smlua_func_bhv_cannon_barrel_loop); + smlua_bind_function(L, "bhv_cannon_base_loop", smlua_func_bhv_cannon_base_loop); + smlua_bind_function(L, "bhv_cannon_base_unused_loop", smlua_func_bhv_cannon_base_unused_loop); + smlua_bind_function(L, "bhv_cannon_closed_init", smlua_func_bhv_cannon_closed_init); + smlua_bind_function(L, "bhv_cannon_closed_loop", smlua_func_bhv_cannon_closed_loop); + smlua_bind_function(L, "bhv_cap_switch_loop", smlua_func_bhv_cap_switch_loop); + smlua_bind_function(L, "bhv_castle_cannon_grate_init", smlua_func_bhv_castle_cannon_grate_init); + smlua_bind_function(L, "bhv_castle_flag_init", smlua_func_bhv_castle_flag_init); + smlua_bind_function(L, "bhv_castle_floor_trap_init", smlua_func_bhv_castle_floor_trap_init); + smlua_bind_function(L, "bhv_castle_floor_trap_loop", smlua_func_bhv_castle_floor_trap_loop); + smlua_bind_function(L, "bhv_ccm_touched_star_spawn_loop", smlua_func_bhv_ccm_touched_star_spawn_loop); + smlua_bind_function(L, "bhv_celebration_star_init", smlua_func_bhv_celebration_star_init); + smlua_bind_function(L, "bhv_celebration_star_loop", smlua_func_bhv_celebration_star_loop); + smlua_bind_function(L, "bhv_celebration_star_sparkle_loop", smlua_func_bhv_celebration_star_sparkle_loop); + smlua_bind_function(L, "bhv_chain_chomp_chain_part_update", smlua_func_bhv_chain_chomp_chain_part_update); + smlua_bind_function(L, "bhv_chain_chomp_gate_init", smlua_func_bhv_chain_chomp_gate_init); + smlua_bind_function(L, "bhv_chain_chomp_gate_update", smlua_func_bhv_chain_chomp_gate_update); + smlua_bind_function(L, "bhv_chain_chomp_update", smlua_func_bhv_chain_chomp_update); + smlua_bind_function(L, "bhv_checkerboard_elevator_group_init", smlua_func_bhv_checkerboard_elevator_group_init); + smlua_bind_function(L, "bhv_checkerboard_elevator_group_loop", smlua_func_bhv_checkerboard_elevator_group_loop); + smlua_bind_function(L, "bhv_checkerboard_platform_init", smlua_func_bhv_checkerboard_platform_init); + smlua_bind_function(L, "bhv_checkerboard_platform_loop", smlua_func_bhv_checkerboard_platform_loop); + smlua_bind_function(L, "bhv_chuckya_anchor_mario_loop", smlua_func_bhv_chuckya_anchor_mario_loop); + smlua_bind_function(L, "bhv_chuckya_loop", smlua_func_bhv_chuckya_loop); + smlua_bind_function(L, "bhv_circling_amp_init", smlua_func_bhv_circling_amp_init); + smlua_bind_function(L, "bhv_circling_amp_loop", smlua_func_bhv_circling_amp_loop); + smlua_bind_function(L, "bhv_clam_loop", smlua_func_bhv_clam_loop); + smlua_bind_function(L, "bhv_cloud_part_update", smlua_func_bhv_cloud_part_update); + smlua_bind_function(L, "bhv_cloud_update", smlua_func_bhv_cloud_update); + smlua_bind_function(L, "bhv_coffin_loop", smlua_func_bhv_coffin_loop); + smlua_bind_function(L, "bhv_coffin_spawner_loop", smlua_func_bhv_coffin_spawner_loop); + smlua_bind_function(L, "bhv_coin_formation_init", smlua_func_bhv_coin_formation_init); + smlua_bind_function(L, "bhv_coin_formation_loop", smlua_func_bhv_coin_formation_loop); + smlua_bind_function(L, "bhv_coin_formation_spawn_loop", smlua_func_bhv_coin_formation_spawn_loop); + smlua_bind_function(L, "bhv_coin_init", smlua_func_bhv_coin_init); + smlua_bind_function(L, "bhv_coin_inside_boo_loop", smlua_func_bhv_coin_inside_boo_loop); + smlua_bind_function(L, "bhv_coin_loop", smlua_func_bhv_coin_loop); + smlua_bind_function(L, "bhv_coin_sparkles_loop", smlua_func_bhv_coin_sparkles_loop); + smlua_bind_function(L, "bhv_collect_star_init", smlua_func_bhv_collect_star_init); + smlua_bind_function(L, "bhv_collect_star_loop", smlua_func_bhv_collect_star_loop); + smlua_bind_function(L, "bhv_controllable_platform_init", smlua_func_bhv_controllable_platform_init); + smlua_bind_function(L, "bhv_controllable_platform_loop", smlua_func_bhv_controllable_platform_loop); + smlua_bind_function(L, "bhv_controllable_platform_sub_loop", smlua_func_bhv_controllable_platform_sub_loop); + smlua_bind_function(L, "bhv_courtyard_boo_triplet_init", smlua_func_bhv_courtyard_boo_triplet_init); + smlua_bind_function(L, "bhv_ddd_moving_pole_loop", smlua_func_bhv_ddd_moving_pole_loop); + smlua_bind_function(L, "bhv_ddd_pole_init", smlua_func_bhv_ddd_pole_init); + smlua_bind_function(L, "bhv_ddd_pole_update", smlua_func_bhv_ddd_pole_update); + smlua_bind_function(L, "bhv_ddd_warp_loop", smlua_func_bhv_ddd_warp_loop); + smlua_bind_function(L, "bhv_decorative_pendulum_init", smlua_func_bhv_decorative_pendulum_init); + smlua_bind_function(L, "bhv_decorative_pendulum_loop", smlua_func_bhv_decorative_pendulum_loop); + smlua_bind_function(L, "bhv_donut_platform_spawner_update", smlua_func_bhv_donut_platform_spawner_update); + smlua_bind_function(L, "bhv_donut_platform_update", smlua_func_bhv_donut_platform_update); + smlua_bind_function(L, "bhv_door_init", smlua_func_bhv_door_init); + smlua_bind_function(L, "bhv_door_loop", smlua_func_bhv_door_loop); + smlua_bind_function(L, "bhv_dorrie_update", smlua_func_bhv_dorrie_update); + smlua_bind_function(L, "bhv_elevator_init", smlua_func_bhv_elevator_init); + smlua_bind_function(L, "bhv_elevator_loop", smlua_func_bhv_elevator_loop); + smlua_bind_function(L, "bhv_end_birds_1_loop", smlua_func_bhv_end_birds_1_loop); + smlua_bind_function(L, "bhv_end_birds_2_loop", smlua_func_bhv_end_birds_2_loop); + smlua_bind_function(L, "bhv_enemy_lakitu_update", smlua_func_bhv_enemy_lakitu_update); + smlua_bind_function(L, "bhv_exclamation_box_init", smlua_func_bhv_exclamation_box_init); + smlua_bind_function(L, "bhv_exclamation_box_loop", smlua_func_bhv_exclamation_box_loop); + smlua_bind_function(L, "bhv_explosion_init", smlua_func_bhv_explosion_init); + smlua_bind_function(L, "bhv_explosion_loop", smlua_func_bhv_explosion_loop); + smlua_bind_function(L, "bhv_eyerok_boss_init", smlua_func_bhv_eyerok_boss_init); + smlua_bind_function(L, "bhv_eyerok_boss_loop", smlua_func_bhv_eyerok_boss_loop); + smlua_bind_function(L, "bhv_eyerok_hand_loop", smlua_func_bhv_eyerok_hand_loop); + smlua_bind_function(L, "bhv_fading_warp_loop", smlua_func_bhv_fading_warp_loop); + smlua_bind_function(L, "bhv_falling_bowser_platform_loop", smlua_func_bhv_falling_bowser_platform_loop); + smlua_bind_function(L, "bhv_falling_pillar_hitbox_loop", smlua_func_bhv_falling_pillar_hitbox_loop); + smlua_bind_function(L, "bhv_falling_pillar_init", smlua_func_bhv_falling_pillar_init); + smlua_bind_function(L, "bhv_falling_pillar_loop", smlua_func_bhv_falling_pillar_loop); + smlua_bind_function(L, "bhv_ferris_wheel_axle_init", smlua_func_bhv_ferris_wheel_axle_init); + smlua_bind_function(L, "bhv_ferris_wheel_platform_update", smlua_func_bhv_ferris_wheel_platform_update); + smlua_bind_function(L, "bhv_fire_piranha_plant_init", smlua_func_bhv_fire_piranha_plant_init); + smlua_bind_function(L, "bhv_fire_piranha_plant_update", smlua_func_bhv_fire_piranha_plant_update); + smlua_bind_function(L, "bhv_fire_spitter_update", smlua_func_bhv_fire_spitter_update); + smlua_bind_function(L, "bhv_fish_group_loop", smlua_func_bhv_fish_group_loop); + smlua_bind_function(L, "bhv_fish_loop", smlua_func_bhv_fish_loop); + smlua_bind_function(L, "bhv_fish_spawner_loop", smlua_func_bhv_fish_spawner_loop); + smlua_bind_function(L, "bhv_flame_bouncing_init", smlua_func_bhv_flame_bouncing_init); + smlua_bind_function(L, "bhv_flame_bouncing_loop", smlua_func_bhv_flame_bouncing_loop); + smlua_bind_function(L, "bhv_flame_bowser_init", smlua_func_bhv_flame_bowser_init); + smlua_bind_function(L, "bhv_flame_bowser_loop", smlua_func_bhv_flame_bowser_loop); + smlua_bind_function(L, "bhv_flame_floating_landing_init", smlua_func_bhv_flame_floating_landing_init); + smlua_bind_function(L, "bhv_flame_floating_landing_loop", smlua_func_bhv_flame_floating_landing_loop); + smlua_bind_function(L, "bhv_flame_large_burning_out_init", smlua_func_bhv_flame_large_burning_out_init); + smlua_bind_function(L, "bhv_flame_mario_loop", smlua_func_bhv_flame_mario_loop); + smlua_bind_function(L, "bhv_flame_moving_forward_growing_init", smlua_func_bhv_flame_moving_forward_growing_init); + smlua_bind_function(L, "bhv_flame_moving_forward_growing_loop", smlua_func_bhv_flame_moving_forward_growing_loop); + smlua_bind_function(L, "bhv_flamethrower_flame_loop", smlua_func_bhv_flamethrower_flame_loop); + smlua_bind_function(L, "bhv_flamethrower_loop", smlua_func_bhv_flamethrower_loop); + smlua_bind_function(L, "bhv_floating_platform_loop", smlua_func_bhv_floating_platform_loop); + smlua_bind_function(L, "bhv_floor_trap_in_castle_loop", smlua_func_bhv_floor_trap_in_castle_loop); + smlua_bind_function(L, "bhv_fly_guy_flame_loop", smlua_func_bhv_fly_guy_flame_loop); + smlua_bind_function(L, "bhv_fly_guy_update", smlua_func_bhv_fly_guy_update); + smlua_bind_function(L, "bhv_flying_bookend_loop", smlua_func_bhv_flying_bookend_loop); + smlua_bind_function(L, "bhv_free_bowling_ball_init", smlua_func_bhv_free_bowling_ball_init); + smlua_bind_function(L, "bhv_free_bowling_ball_loop", smlua_func_bhv_free_bowling_ball_loop); + smlua_bind_function(L, "bhv_generic_bowling_ball_spawner_init", smlua_func_bhv_generic_bowling_ball_spawner_init); + smlua_bind_function(L, "bhv_generic_bowling_ball_spawner_loop", smlua_func_bhv_generic_bowling_ball_spawner_loop); + smlua_bind_function(L, "bhv_giant_pole_loop", smlua_func_bhv_giant_pole_loop); + smlua_bind_function(L, "bhv_golden_coin_sparkles_loop", smlua_func_bhv_golden_coin_sparkles_loop); + smlua_bind_function(L, "bhv_goomba_init", smlua_func_bhv_goomba_init); + smlua_bind_function(L, "bhv_goomba_triplet_spawner_update", smlua_func_bhv_goomba_triplet_spawner_update); + smlua_bind_function(L, "bhv_goomba_update", smlua_func_bhv_goomba_update); + smlua_bind_function(L, "bhv_grand_star_init", smlua_func_bhv_grand_star_init); + smlua_bind_function(L, "bhv_grand_star_loop", smlua_func_bhv_grand_star_loop); + smlua_bind_function(L, "bhv_grindel_thwomp_loop", smlua_func_bhv_grindel_thwomp_loop); + smlua_bind_function(L, "bhv_ground_sand_init", smlua_func_bhv_ground_sand_init); + smlua_bind_function(L, "bhv_ground_snow_init", smlua_func_bhv_ground_snow_init); + smlua_bind_function(L, "bhv_haunted_bookshelf_loop", smlua_func_bhv_haunted_bookshelf_loop); + smlua_bind_function(L, "bhv_haunted_bookshelf_manager_loop", smlua_func_bhv_haunted_bookshelf_manager_loop); + smlua_bind_function(L, "bhv_haunted_chair_init", smlua_func_bhv_haunted_chair_init); + smlua_bind_function(L, "bhv_haunted_chair_loop", smlua_func_bhv_haunted_chair_loop); + smlua_bind_function(L, "bhv_heave_ho_loop", smlua_func_bhv_heave_ho_loop); + smlua_bind_function(L, "bhv_heave_ho_throw_mario_loop", smlua_func_bhv_heave_ho_throw_mario_loop); + smlua_bind_function(L, "bhv_hidden_blue_coin_loop", smlua_func_bhv_hidden_blue_coin_loop); + smlua_bind_function(L, "bhv_hidden_object_loop", smlua_func_bhv_hidden_object_loop); + smlua_bind_function(L, "bhv_hidden_red_coin_star_init", smlua_func_bhv_hidden_red_coin_star_init); + smlua_bind_function(L, "bhv_hidden_red_coin_star_loop", smlua_func_bhv_hidden_red_coin_star_loop); + smlua_bind_function(L, "bhv_hidden_star_init", smlua_func_bhv_hidden_star_init); + smlua_bind_function(L, "bhv_hidden_star_loop", smlua_func_bhv_hidden_star_loop); + smlua_bind_function(L, "bhv_hidden_star_trigger_loop", smlua_func_bhv_hidden_star_trigger_loop); + smlua_bind_function(L, "bhv_homing_amp_init", smlua_func_bhv_homing_amp_init); + smlua_bind_function(L, "bhv_homing_amp_loop", smlua_func_bhv_homing_amp_loop); + smlua_bind_function(L, "bhv_hoot_init", smlua_func_bhv_hoot_init); + smlua_bind_function(L, "bhv_hoot_loop", smlua_func_bhv_hoot_loop); + smlua_bind_function(L, "bhv_horizontal_grindel_init", smlua_func_bhv_horizontal_grindel_init); + smlua_bind_function(L, "bhv_horizontal_grindel_update", smlua_func_bhv_horizontal_grindel_update); + smlua_bind_function(L, "bhv_idle_water_wave_loop", smlua_func_bhv_idle_water_wave_loop); + smlua_bind_function(L, "bhv_init_changing_water_level_loop", smlua_func_bhv_init_changing_water_level_loop); + smlua_bind_function(L, "bhv_intro_lakitu_loop", smlua_func_bhv_intro_lakitu_loop); + smlua_bind_function(L, "bhv_intro_peach_loop", smlua_func_bhv_intro_peach_loop); + smlua_bind_function(L, "bhv_intro_scene_loop", smlua_func_bhv_intro_scene_loop); + smlua_bind_function(L, "bhv_invisible_objects_under_bridge_init", smlua_func_bhv_invisible_objects_under_bridge_init); + smlua_bind_function(L, "bhv_invisible_objects_under_bridge_loop", smlua_func_bhv_invisible_objects_under_bridge_loop); + smlua_bind_function(L, "bhv_jet_stream_loop", smlua_func_bhv_jet_stream_loop); + smlua_bind_function(L, "bhv_jet_stream_ring_spawner_loop", smlua_func_bhv_jet_stream_ring_spawner_loop); + smlua_bind_function(L, "bhv_jet_stream_water_ring_init", smlua_func_bhv_jet_stream_water_ring_init); + smlua_bind_function(L, "bhv_jet_stream_water_ring_loop", smlua_func_bhv_jet_stream_water_ring_loop); + smlua_bind_function(L, "bhv_jrb_floating_box_loop", smlua_func_bhv_jrb_floating_box_loop); + smlua_bind_function(L, "bhv_jrb_sliding_box_loop", smlua_func_bhv_jrb_sliding_box_loop); + smlua_bind_function(L, "bhv_jumping_box_loop", smlua_func_bhv_jumping_box_loop); + smlua_bind_function(L, "bhv_kickable_board_loop", smlua_func_bhv_kickable_board_loop); + smlua_bind_function(L, "bhv_king_bobomb_loop", smlua_func_bhv_king_bobomb_loop); + smlua_bind_function(L, "bhv_klepto_init", smlua_func_bhv_klepto_init); + smlua_bind_function(L, "bhv_klepto_update", smlua_func_bhv_klepto_update); + smlua_bind_function(L, "bhv_koopa_init", smlua_func_bhv_koopa_init); + smlua_bind_function(L, "bhv_koopa_race_endpoint_update", smlua_func_bhv_koopa_race_endpoint_update); + smlua_bind_function(L, "bhv_koopa_shell_flame_loop", smlua_func_bhv_koopa_shell_flame_loop); + smlua_bind_function(L, "bhv_koopa_shell_loop", smlua_func_bhv_koopa_shell_loop); + smlua_bind_function(L, "bhv_koopa_shell_underwater_loop", smlua_func_bhv_koopa_shell_underwater_loop); + smlua_bind_function(L, "bhv_koopa_update", smlua_func_bhv_koopa_update); + smlua_bind_function(L, "bhv_large_bomp_init", smlua_func_bhv_large_bomp_init); + smlua_bind_function(L, "bhv_large_bomp_loop", smlua_func_bhv_large_bomp_loop); + smlua_bind_function(L, "bhv_lll_bowser_puzzle_loop", smlua_func_bhv_lll_bowser_puzzle_loop); + smlua_bind_function(L, "bhv_lll_bowser_puzzle_piece_loop", smlua_func_bhv_lll_bowser_puzzle_piece_loop); + smlua_bind_function(L, "bhv_lll_drawbridge_loop", smlua_func_bhv_lll_drawbridge_loop); + smlua_bind_function(L, "bhv_lll_drawbridge_spawner_init", smlua_func_bhv_lll_drawbridge_spawner_init); + smlua_bind_function(L, "bhv_lll_drawbridge_spawner_loop", smlua_func_bhv_lll_drawbridge_spawner_loop); + smlua_bind_function(L, "bhv_lll_floating_wood_bridge_loop", smlua_func_bhv_lll_floating_wood_bridge_loop); + smlua_bind_function(L, "bhv_lll_moving_octagonal_mesh_platform_loop", smlua_func_bhv_lll_moving_octagonal_mesh_platform_loop); + smlua_bind_function(L, "bhv_lll_rolling_log_init", smlua_func_bhv_lll_rolling_log_init); + smlua_bind_function(L, "bhv_lll_rotating_block_fire_bars_loop", smlua_func_bhv_lll_rotating_block_fire_bars_loop); + smlua_bind_function(L, "bhv_lll_rotating_hex_flame_loop", smlua_func_bhv_lll_rotating_hex_flame_loop); + smlua_bind_function(L, "bhv_lll_rotating_hexagonal_ring_loop", smlua_func_bhv_lll_rotating_hexagonal_ring_loop); + smlua_bind_function(L, "bhv_lll_sinking_rectangular_platform_loop", smlua_func_bhv_lll_sinking_rectangular_platform_loop); + smlua_bind_function(L, "bhv_lll_sinking_rock_block_loop", smlua_func_bhv_lll_sinking_rock_block_loop); + smlua_bind_function(L, "bhv_lll_sinking_square_platforms_loop", smlua_func_bhv_lll_sinking_square_platforms_loop); + smlua_bind_function(L, "bhv_lll_wood_piece_loop", smlua_func_bhv_lll_wood_piece_loop); + smlua_bind_function(L, "bhv_mad_piano_update", smlua_func_bhv_mad_piano_update); + smlua_bind_function(L, "bhv_manta_ray_init", smlua_func_bhv_manta_ray_init); + smlua_bind_function(L, "bhv_manta_ray_loop", smlua_func_bhv_manta_ray_loop); + smlua_bind_function(L, "bhv_manta_ray_water_ring_init", smlua_func_bhv_manta_ray_water_ring_init); + smlua_bind_function(L, "bhv_manta_ray_water_ring_loop", smlua_func_bhv_manta_ray_water_ring_loop); + smlua_bind_function(L, "bhv_menu_button_init", smlua_func_bhv_menu_button_init); + smlua_bind_function(L, "bhv_menu_button_loop", smlua_func_bhv_menu_button_loop); + smlua_bind_function(L, "bhv_menu_button_manager_init", smlua_func_bhv_menu_button_manager_init); + smlua_bind_function(L, "bhv_menu_button_manager_loop", smlua_func_bhv_menu_button_manager_loop); + smlua_bind_function(L, "bhv_merry_go_round_boo_manager_loop", smlua_func_bhv_merry_go_round_boo_manager_loop); + smlua_bind_function(L, "bhv_merry_go_round_loop", smlua_func_bhv_merry_go_round_loop); + smlua_bind_function(L, "bhv_metal_cap_init", smlua_func_bhv_metal_cap_init); + smlua_bind_function(L, "bhv_metal_cap_loop", smlua_func_bhv_metal_cap_loop); + smlua_bind_function(L, "bhv_mips_init", smlua_func_bhv_mips_init); + smlua_bind_function(L, "bhv_mips_loop", smlua_func_bhv_mips_loop); + smlua_bind_function(L, "bhv_moat_grills_loop", smlua_func_bhv_moat_grills_loop); + smlua_bind_function(L, "bhv_moneybag_hidden_loop", smlua_func_bhv_moneybag_hidden_loop); + smlua_bind_function(L, "bhv_moneybag_init", smlua_func_bhv_moneybag_init); + smlua_bind_function(L, "bhv_moneybag_loop", smlua_func_bhv_moneybag_loop); + smlua_bind_function(L, "bhv_monty_mole_hole_update", smlua_func_bhv_monty_mole_hole_update); + smlua_bind_function(L, "bhv_monty_mole_init", smlua_func_bhv_monty_mole_init); + smlua_bind_function(L, "bhv_monty_mole_rock_update", smlua_func_bhv_monty_mole_rock_update); + smlua_bind_function(L, "bhv_monty_mole_update", smlua_func_bhv_monty_mole_update); + smlua_bind_function(L, "bhv_moving_blue_coin_init", smlua_func_bhv_moving_blue_coin_init); + smlua_bind_function(L, "bhv_moving_blue_coin_loop", smlua_func_bhv_moving_blue_coin_loop); + smlua_bind_function(L, "bhv_moving_yellow_coin_init", smlua_func_bhv_moving_yellow_coin_init); + smlua_bind_function(L, "bhv_moving_yellow_coin_loop", smlua_func_bhv_moving_yellow_coin_loop); + smlua_bind_function(L, "bhv_mr_blizzard_init", smlua_func_bhv_mr_blizzard_init); + smlua_bind_function(L, "bhv_mr_blizzard_snowball", smlua_func_bhv_mr_blizzard_snowball); + smlua_bind_function(L, "bhv_mr_blizzard_update", smlua_func_bhv_mr_blizzard_update); + smlua_bind_function(L, "bhv_mr_i_body_loop", smlua_func_bhv_mr_i_body_loop); + smlua_bind_function(L, "bhv_mr_i_loop", smlua_func_bhv_mr_i_loop); + smlua_bind_function(L, "bhv_mr_i_particle_loop", smlua_func_bhv_mr_i_particle_loop); + smlua_bind_function(L, "bhv_normal_cap_init", smlua_func_bhv_normal_cap_init); + smlua_bind_function(L, "bhv_normal_cap_loop", smlua_func_bhv_normal_cap_loop); + smlua_bind_function(L, "bhv_object_bubble_init", smlua_func_bhv_object_bubble_init); + smlua_bind_function(L, "bhv_object_bubble_loop", smlua_func_bhv_object_bubble_loop); + smlua_bind_function(L, "bhv_object_water_wave_init", smlua_func_bhv_object_water_wave_init); + smlua_bind_function(L, "bhv_object_water_wave_loop", smlua_func_bhv_object_water_wave_loop); + smlua_bind_function(L, "bhv_openable_cage_door_loop", smlua_func_bhv_openable_cage_door_loop); + smlua_bind_function(L, "bhv_openable_grill_loop", smlua_func_bhv_openable_grill_loop); + smlua_bind_function(L, "bhv_orange_number_init", smlua_func_bhv_orange_number_init); + smlua_bind_function(L, "bhv_orange_number_loop", smlua_func_bhv_orange_number_loop); + smlua_bind_function(L, "bhv_particle_init", smlua_func_bhv_particle_init); + smlua_bind_function(L, "bhv_particle_loop", smlua_func_bhv_particle_loop); + smlua_bind_function(L, "bhv_penguin_race_finish_line_update", smlua_func_bhv_penguin_race_finish_line_update); + smlua_bind_function(L, "bhv_penguin_race_shortcut_check_update", smlua_func_bhv_penguin_race_shortcut_check_update); + smlua_bind_function(L, "bhv_piranha_particle_loop", smlua_func_bhv_piranha_particle_loop); + smlua_bind_function(L, "bhv_piranha_plant_bubble_loop", smlua_func_bhv_piranha_plant_bubble_loop); + smlua_bind_function(L, "bhv_piranha_plant_loop", smlua_func_bhv_piranha_plant_loop); + smlua_bind_function(L, "bhv_piranha_plant_waking_bubbles_loop", smlua_func_bhv_piranha_plant_waking_bubbles_loop); + smlua_bind_function(L, "bhv_platform_normals_init", smlua_func_bhv_platform_normals_init); + smlua_bind_function(L, "bhv_platform_on_track_init", smlua_func_bhv_platform_on_track_init); + smlua_bind_function(L, "bhv_platform_on_track_update", smlua_func_bhv_platform_on_track_update); + smlua_bind_function(L, "bhv_play_music_track_when_touched_loop", smlua_func_bhv_play_music_track_when_touched_loop); + smlua_bind_function(L, "bhv_pokey_body_part_update", smlua_func_bhv_pokey_body_part_update); + smlua_bind_function(L, "bhv_pokey_update", smlua_func_bhv_pokey_update); + smlua_bind_function(L, "bhv_pole_base_loop", smlua_func_bhv_pole_base_loop); + smlua_bind_function(L, "bhv_pole_init", smlua_func_bhv_pole_init); + smlua_bind_function(L, "bhv_pound_tiny_star_particle_init", smlua_func_bhv_pound_tiny_star_particle_init); + smlua_bind_function(L, "bhv_pound_tiny_star_particle_loop", smlua_func_bhv_pound_tiny_star_particle_loop); + smlua_bind_function(L, "bhv_pound_white_puffs_init", smlua_func_bhv_pound_white_puffs_init); + smlua_bind_function(L, "bhv_punch_tiny_triangle_init", smlua_func_bhv_punch_tiny_triangle_init); + smlua_bind_function(L, "bhv_punch_tiny_triangle_loop", smlua_func_bhv_punch_tiny_triangle_loop); + smlua_bind_function(L, "bhv_purple_switch_loop", smlua_func_bhv_purple_switch_loop); + smlua_bind_function(L, "bhv_pushable_loop", smlua_func_bhv_pushable_loop); + smlua_bind_function(L, "bhv_pyramid_elevator_init", smlua_func_bhv_pyramid_elevator_init); + smlua_bind_function(L, "bhv_pyramid_elevator_loop", smlua_func_bhv_pyramid_elevator_loop); + smlua_bind_function(L, "bhv_pyramid_elevator_trajectory_marker_ball_loop", smlua_func_bhv_pyramid_elevator_trajectory_marker_ball_loop); + smlua_bind_function(L, "bhv_pyramid_pillar_touch_detector_loop", smlua_func_bhv_pyramid_pillar_touch_detector_loop); + smlua_bind_function(L, "bhv_pyramid_top_fragment_init", smlua_func_bhv_pyramid_top_fragment_init); + smlua_bind_function(L, "bhv_pyramid_top_fragment_loop", smlua_func_bhv_pyramid_top_fragment_loop); + smlua_bind_function(L, "bhv_pyramid_top_init", smlua_func_bhv_pyramid_top_init); + smlua_bind_function(L, "bhv_pyramid_top_loop", smlua_func_bhv_pyramid_top_loop); + smlua_bind_function(L, "bhv_racing_penguin_init", smlua_func_bhv_racing_penguin_init); + smlua_bind_function(L, "bhv_racing_penguin_update", smlua_func_bhv_racing_penguin_update); + smlua_bind_function(L, "bhv_recovery_heart_loop", smlua_func_bhv_recovery_heart_loop); + smlua_bind_function(L, "bhv_red_coin_init", smlua_func_bhv_red_coin_init); + smlua_bind_function(L, "bhv_red_coin_loop", smlua_func_bhv_red_coin_loop); + smlua_bind_function(L, "bhv_red_coin_star_marker_init", smlua_func_bhv_red_coin_star_marker_init); + smlua_bind_function(L, "bhv_respawner_loop", smlua_func_bhv_respawner_loop); + smlua_bind_function(L, "bhv_rolling_log_loop", smlua_func_bhv_rolling_log_loop); + smlua_bind_function(L, "bhv_rotating_clock_arm_loop", smlua_func_bhv_rotating_clock_arm_loop); + smlua_bind_function(L, "bhv_rotating_exclamation_box_loop", smlua_func_bhv_rotating_exclamation_box_loop); + smlua_bind_function(L, "bhv_rotating_octagonal_plat_init", smlua_func_bhv_rotating_octagonal_plat_init); + smlua_bind_function(L, "bhv_rotating_octagonal_plat_loop", smlua_func_bhv_rotating_octagonal_plat_loop); + smlua_bind_function(L, "bhv_rotating_platform_loop", smlua_func_bhv_rotating_platform_loop); + smlua_bind_function(L, "bhv_rr_cruiser_wing_init", smlua_func_bhv_rr_cruiser_wing_init); + smlua_bind_function(L, "bhv_rr_cruiser_wing_loop", smlua_func_bhv_rr_cruiser_wing_loop); + smlua_bind_function(L, "bhv_rr_rotating_bridge_platform_loop", smlua_func_bhv_rr_rotating_bridge_platform_loop); + smlua_bind_function(L, "bhv_sand_sound_loop", smlua_func_bhv_sand_sound_loop); + smlua_bind_function(L, "bhv_scuttlebug_loop", smlua_func_bhv_scuttlebug_loop); + smlua_bind_function(L, "bhv_scuttlebug_spawn_loop", smlua_func_bhv_scuttlebug_spawn_loop); + smlua_bind_function(L, "bhv_seaweed_bundle_init", smlua_func_bhv_seaweed_bundle_init); + smlua_bind_function(L, "bhv_seaweed_init", smlua_func_bhv_seaweed_init); + smlua_bind_function(L, "bhv_seesaw_platform_init", smlua_func_bhv_seesaw_platform_init); + smlua_bind_function(L, "bhv_seesaw_platform_update", smlua_func_bhv_seesaw_platform_update); + smlua_bind_function(L, "bhv_shallow_water_splash_init", smlua_func_bhv_shallow_water_splash_init); + smlua_bind_function(L, "bhv_ship_part_3_loop", smlua_func_bhv_ship_part_3_loop); + smlua_bind_function(L, "bhv_skeeter_update", smlua_func_bhv_skeeter_update); + smlua_bind_function(L, "bhv_skeeter_wave_update", smlua_func_bhv_skeeter_wave_update); + smlua_bind_function(L, "bhv_sl_snowman_wind_loop", smlua_func_bhv_sl_snowman_wind_loop); + smlua_bind_function(L, "bhv_sl_walking_penguin_loop", smlua_func_bhv_sl_walking_penguin_loop); + smlua_bind_function(L, "bhv_sliding_plat_2_init", smlua_func_bhv_sliding_plat_2_init); + smlua_bind_function(L, "bhv_sliding_plat_2_loop", smlua_func_bhv_sliding_plat_2_loop); + smlua_bind_function(L, "bhv_sliding_snow_mound_loop", smlua_func_bhv_sliding_snow_mound_loop); + smlua_bind_function(L, "bhv_small_bomp_init", smlua_func_bhv_small_bomp_init); + smlua_bind_function(L, "bhv_small_bomp_loop", smlua_func_bhv_small_bomp_loop); + smlua_bind_function(L, "bhv_small_bubbles_loop", smlua_func_bhv_small_bubbles_loop); + smlua_bind_function(L, "bhv_small_bully_init", smlua_func_bhv_small_bully_init); + smlua_bind_function(L, "bhv_small_penguin_loop", smlua_func_bhv_small_penguin_loop); + smlua_bind_function(L, "bhv_small_piranha_flame_loop", smlua_func_bhv_small_piranha_flame_loop); + smlua_bind_function(L, "bhv_small_water_wave_loop", smlua_func_bhv_small_water_wave_loop); + smlua_bind_function(L, "bhv_snow_leaf_particle_spawn_init", smlua_func_bhv_snow_leaf_particle_spawn_init); + smlua_bind_function(L, "bhv_snow_mound_spawn_loop", smlua_func_bhv_snow_mound_spawn_loop); + smlua_bind_function(L, "bhv_snowmans_body_checkpoint_loop", smlua_func_bhv_snowmans_body_checkpoint_loop); + smlua_bind_function(L, "bhv_snowmans_bottom_init", smlua_func_bhv_snowmans_bottom_init); + smlua_bind_function(L, "bhv_snowmans_bottom_loop", smlua_func_bhv_snowmans_bottom_loop); + smlua_bind_function(L, "bhv_snowmans_head_init", smlua_func_bhv_snowmans_head_init); + smlua_bind_function(L, "bhv_snowmans_head_loop", smlua_func_bhv_snowmans_head_loop); + smlua_bind_function(L, "bhv_snufit_balls_loop", smlua_func_bhv_snufit_balls_loop); + smlua_bind_function(L, "bhv_snufit_loop", smlua_func_bhv_snufit_loop); + smlua_bind_function(L, "bhv_sound_spawner_init", smlua_func_bhv_sound_spawner_init); + smlua_bind_function(L, "bhv_sparkle_spawn_loop", smlua_func_bhv_sparkle_spawn_loop); + smlua_bind_function(L, "bhv_spawn_star_no_level_exit", smlua_func_bhv_spawn_star_no_level_exit); + smlua_bind_function(L, "bhv_spawned_star_init", smlua_func_bhv_spawned_star_init); + smlua_bind_function(L, "bhv_spawned_star_loop", smlua_func_bhv_spawned_star_loop); + smlua_bind_function(L, "bhv_spindel_init", smlua_func_bhv_spindel_init); + smlua_bind_function(L, "bhv_spindel_loop", smlua_func_bhv_spindel_loop); + smlua_bind_function(L, "bhv_spindrift_loop", smlua_func_bhv_spindrift_loop); + smlua_bind_function(L, "bhv_spiny_update", smlua_func_bhv_spiny_update); + smlua_bind_function(L, "bhv_squarish_path_moving_loop", smlua_func_bhv_squarish_path_moving_loop); + smlua_bind_function(L, "bhv_squarish_path_parent_init", smlua_func_bhv_squarish_path_parent_init); + smlua_bind_function(L, "bhv_squarish_path_parent_loop", smlua_func_bhv_squarish_path_parent_loop); + smlua_bind_function(L, "bhv_squishable_platform_loop", smlua_func_bhv_squishable_platform_loop); + smlua_bind_function(L, "bhv_ssl_moving_pyramid_wall_init", smlua_func_bhv_ssl_moving_pyramid_wall_init); + smlua_bind_function(L, "bhv_ssl_moving_pyramid_wall_loop", smlua_func_bhv_ssl_moving_pyramid_wall_loop); + smlua_bind_function(L, "bhv_star_door_loop", smlua_func_bhv_star_door_loop); + smlua_bind_function(L, "bhv_star_door_loop_2", smlua_func_bhv_star_door_loop_2); + smlua_bind_function(L, "bhv_star_key_collection_puff_spawner_loop", smlua_func_bhv_star_key_collection_puff_spawner_loop); + smlua_bind_function(L, "bhv_star_spawn_init", smlua_func_bhv_star_spawn_init); + smlua_bind_function(L, "bhv_star_spawn_loop", smlua_func_bhv_star_spawn_loop); + smlua_bind_function(L, "bhv_static_checkered_platform_loop", smlua_func_bhv_static_checkered_platform_loop); + smlua_bind_function(L, "bhv_strong_wind_particle_loop", smlua_func_bhv_strong_wind_particle_loop); + smlua_bind_function(L, "bhv_sunken_ship_part_loop", smlua_func_bhv_sunken_ship_part_loop); + smlua_bind_function(L, "bhv_sushi_shark_collision_loop", smlua_func_bhv_sushi_shark_collision_loop); + smlua_bind_function(L, "bhv_sushi_shark_loop", smlua_func_bhv_sushi_shark_loop); + smlua_bind_function(L, "bhv_swing_platform_init", smlua_func_bhv_swing_platform_init); + smlua_bind_function(L, "bhv_swing_platform_update", smlua_func_bhv_swing_platform_update); + smlua_bind_function(L, "bhv_swoop_update", smlua_func_bhv_swoop_update); + smlua_bind_function(L, "bhv_tank_fish_group_loop", smlua_func_bhv_tank_fish_group_loop); + smlua_bind_function(L, "bhv_temp_coin_loop", smlua_func_bhv_temp_coin_loop); + smlua_bind_function(L, "bhv_thi_bowling_ball_spawner_loop", smlua_func_bhv_thi_bowling_ball_spawner_loop); + smlua_bind_function(L, "bhv_thi_huge_island_top_loop", smlua_func_bhv_thi_huge_island_top_loop); + smlua_bind_function(L, "bhv_thi_tiny_island_top_loop", smlua_func_bhv_thi_tiny_island_top_loop); + smlua_bind_function(L, "bhv_tilting_bowser_lava_platform_init", smlua_func_bhv_tilting_bowser_lava_platform_init); + smlua_bind_function(L, "bhv_tilting_inverted_pyramid_loop", smlua_func_bhv_tilting_inverted_pyramid_loop); + smlua_bind_function(L, "bhv_tiny_star_particles_init", smlua_func_bhv_tiny_star_particles_init); + smlua_bind_function(L, "bhv_tower_door_loop", smlua_func_bhv_tower_door_loop); + smlua_bind_function(L, "bhv_tower_platform_group_init", smlua_func_bhv_tower_platform_group_init); + smlua_bind_function(L, "bhv_tower_platform_group_loop", smlua_func_bhv_tower_platform_group_loop); + smlua_bind_function(L, "bhv_tox_box_loop", smlua_func_bhv_tox_box_loop); + smlua_bind_function(L, "bhv_track_ball_update", smlua_func_bhv_track_ball_update); + smlua_bind_function(L, "bhv_treasure_chest_bottom_init", smlua_func_bhv_treasure_chest_bottom_init); + smlua_bind_function(L, "bhv_treasure_chest_bottom_loop", smlua_func_bhv_treasure_chest_bottom_loop); + smlua_bind_function(L, "bhv_treasure_chest_init", smlua_func_bhv_treasure_chest_init); + smlua_bind_function(L, "bhv_treasure_chest_jrb_init", smlua_func_bhv_treasure_chest_jrb_init); + smlua_bind_function(L, "bhv_treasure_chest_jrb_loop", smlua_func_bhv_treasure_chest_jrb_loop); + smlua_bind_function(L, "bhv_treasure_chest_loop", smlua_func_bhv_treasure_chest_loop); + smlua_bind_function(L, "bhv_treasure_chest_ship_init", smlua_func_bhv_treasure_chest_ship_init); + smlua_bind_function(L, "bhv_treasure_chest_ship_loop", smlua_func_bhv_treasure_chest_ship_loop); + smlua_bind_function(L, "bhv_treasure_chest_top_loop", smlua_func_bhv_treasure_chest_top_loop); + smlua_bind_function(L, "bhv_tree_snow_or_leaf_loop", smlua_func_bhv_tree_snow_or_leaf_loop); + smlua_bind_function(L, "bhv_triplet_butterfly_update", smlua_func_bhv_triplet_butterfly_update); + smlua_bind_function(L, "bhv_ttc_2d_rotator_init", smlua_func_bhv_ttc_2d_rotator_init); + smlua_bind_function(L, "bhv_ttc_2d_rotator_update", smlua_func_bhv_ttc_2d_rotator_update); + smlua_bind_function(L, "bhv_ttc_cog_init", smlua_func_bhv_ttc_cog_init); + smlua_bind_function(L, "bhv_ttc_cog_update", smlua_func_bhv_ttc_cog_update); + smlua_bind_function(L, "bhv_ttc_elevator_init", smlua_func_bhv_ttc_elevator_init); + smlua_bind_function(L, "bhv_ttc_elevator_update", smlua_func_bhv_ttc_elevator_update); + smlua_bind_function(L, "bhv_ttc_moving_bar_init", smlua_func_bhv_ttc_moving_bar_init); + smlua_bind_function(L, "bhv_ttc_moving_bar_update", smlua_func_bhv_ttc_moving_bar_update); + smlua_bind_function(L, "bhv_ttc_pendulum_init", smlua_func_bhv_ttc_pendulum_init); + smlua_bind_function(L, "bhv_ttc_pendulum_update", smlua_func_bhv_ttc_pendulum_update); + smlua_bind_function(L, "bhv_ttc_pit_block_init", smlua_func_bhv_ttc_pit_block_init); + smlua_bind_function(L, "bhv_ttc_pit_block_update", smlua_func_bhv_ttc_pit_block_update); + smlua_bind_function(L, "bhv_ttc_rotating_solid_init", smlua_func_bhv_ttc_rotating_solid_init); + smlua_bind_function(L, "bhv_ttc_rotating_solid_update", smlua_func_bhv_ttc_rotating_solid_update); + smlua_bind_function(L, "bhv_ttc_spinner_update", smlua_func_bhv_ttc_spinner_update); + smlua_bind_function(L, "bhv_ttc_treadmill_init", smlua_func_bhv_ttc_treadmill_init); + smlua_bind_function(L, "bhv_ttc_treadmill_update", smlua_func_bhv_ttc_treadmill_update); + smlua_bind_function(L, "bhv_ttm_rolling_log_init", smlua_func_bhv_ttm_rolling_log_init); + smlua_bind_function(L, "bhv_tumbling_bridge_loop", smlua_func_bhv_tumbling_bridge_loop); + smlua_bind_function(L, "bhv_tumbling_bridge_platform_loop", smlua_func_bhv_tumbling_bridge_platform_loop); + smlua_bind_function(L, "bhv_tuxies_mother_loop", smlua_func_bhv_tuxies_mother_loop); + smlua_bind_function(L, "bhv_tweester_loop", smlua_func_bhv_tweester_loop); + smlua_bind_function(L, "bhv_tweester_sand_particle_loop", smlua_func_bhv_tweester_sand_particle_loop); + smlua_bind_function(L, "bhv_ukiki_cage_loop", smlua_func_bhv_ukiki_cage_loop); + smlua_bind_function(L, "bhv_ukiki_cage_star_loop", smlua_func_bhv_ukiki_cage_star_loop); + smlua_bind_function(L, "bhv_ukiki_init", smlua_func_bhv_ukiki_init); + smlua_bind_function(L, "bhv_ukiki_loop", smlua_func_bhv_ukiki_loop); + smlua_bind_function(L, "bhv_unagi_init", smlua_func_bhv_unagi_init); + smlua_bind_function(L, "bhv_unagi_loop", smlua_func_bhv_unagi_loop); + smlua_bind_function(L, "bhv_unagi_subobject_loop", smlua_func_bhv_unagi_subobject_loop); + smlua_bind_function(L, "bhv_unused_particle_spawn_loop", smlua_func_bhv_unused_particle_spawn_loop); + smlua_bind_function(L, "bhv_unused_poundable_platform", smlua_func_bhv_unused_poundable_platform); + smlua_bind_function(L, "bhv_vanish_cap_init", smlua_func_bhv_vanish_cap_init); + smlua_bind_function(L, "bhv_volcano_flames_loop", smlua_func_bhv_volcano_flames_loop); + smlua_bind_function(L, "bhv_volcano_sound_loop", smlua_func_bhv_volcano_sound_loop); + smlua_bind_function(L, "bhv_volcano_trap_loop", smlua_func_bhv_volcano_trap_loop); + smlua_bind_function(L, "bhv_wall_tiny_star_particle_loop", smlua_func_bhv_wall_tiny_star_particle_loop); + smlua_bind_function(L, "bhv_warp_loop", smlua_func_bhv_warp_loop); + smlua_bind_function(L, "bhv_water_air_bubble_init", smlua_func_bhv_water_air_bubble_init); + smlua_bind_function(L, "bhv_water_air_bubble_loop", smlua_func_bhv_water_air_bubble_loop); + smlua_bind_function(L, "bhv_water_bomb_cannon_loop", smlua_func_bhv_water_bomb_cannon_loop); + smlua_bind_function(L, "bhv_water_bomb_shadow_update", smlua_func_bhv_water_bomb_shadow_update); + smlua_bind_function(L, "bhv_water_bomb_spawner_update", smlua_func_bhv_water_bomb_spawner_update); + smlua_bind_function(L, "bhv_water_bomb_update", smlua_func_bhv_water_bomb_update); + smlua_bind_function(L, "bhv_water_droplet_loop", smlua_func_bhv_water_droplet_loop); + smlua_bind_function(L, "bhv_water_droplet_splash_init", smlua_func_bhv_water_droplet_splash_init); + smlua_bind_function(L, "bhv_water_level_diamond_loop", smlua_func_bhv_water_level_diamond_loop); + smlua_bind_function(L, "bhv_water_level_pillar_init", smlua_func_bhv_water_level_pillar_init); + smlua_bind_function(L, "bhv_water_level_pillar_loop", smlua_func_bhv_water_level_pillar_loop); + smlua_bind_function(L, "bhv_water_mist_2_loop", smlua_func_bhv_water_mist_2_loop); + smlua_bind_function(L, "bhv_water_mist_loop", smlua_func_bhv_water_mist_loop); + smlua_bind_function(L, "bhv_water_mist_spawn_loop", smlua_func_bhv_water_mist_spawn_loop); + smlua_bind_function(L, "bhv_water_splash_spawn_droplets", smlua_func_bhv_water_splash_spawn_droplets); + smlua_bind_function(L, "bhv_water_waves_init", smlua_func_bhv_water_waves_init); + smlua_bind_function(L, "bhv_waterfall_sound_loop", smlua_func_bhv_waterfall_sound_loop); + smlua_bind_function(L, "bhv_wave_trail_shrink", smlua_func_bhv_wave_trail_shrink); + smlua_bind_function(L, "bhv_wdw_express_elevator_loop", smlua_func_bhv_wdw_express_elevator_loop); + smlua_bind_function(L, "bhv_wf_breakable_wall_loop", smlua_func_bhv_wf_breakable_wall_loop); + smlua_bind_function(L, "bhv_wf_elevator_tower_platform_loop", smlua_func_bhv_wf_elevator_tower_platform_loop); + smlua_bind_function(L, "bhv_wf_rotating_wooden_platform_init", smlua_func_bhv_wf_rotating_wooden_platform_init); + smlua_bind_function(L, "bhv_wf_rotating_wooden_platform_loop", smlua_func_bhv_wf_rotating_wooden_platform_loop); + smlua_bind_function(L, "bhv_wf_sliding_platform_init", smlua_func_bhv_wf_sliding_platform_init); + smlua_bind_function(L, "bhv_wf_sliding_platform_loop", smlua_func_bhv_wf_sliding_platform_loop); + smlua_bind_function(L, "bhv_wf_sliding_tower_platform_loop", smlua_func_bhv_wf_sliding_tower_platform_loop); + smlua_bind_function(L, "bhv_wf_solid_tower_platform_loop", smlua_func_bhv_wf_solid_tower_platform_loop); + smlua_bind_function(L, "bhv_whirlpool_init", smlua_func_bhv_whirlpool_init); + smlua_bind_function(L, "bhv_whirlpool_loop", smlua_func_bhv_whirlpool_loop); + smlua_bind_function(L, "bhv_white_puff_1_loop", smlua_func_bhv_white_puff_1_loop); + smlua_bind_function(L, "bhv_white_puff_2_loop", smlua_func_bhv_white_puff_2_loop); + smlua_bind_function(L, "bhv_white_puff_exploding_loop", smlua_func_bhv_white_puff_exploding_loop); + smlua_bind_function(L, "bhv_white_puff_smoke_init", smlua_func_bhv_white_puff_smoke_init); + smlua_bind_function(L, "bhv_whomp_loop", smlua_func_bhv_whomp_loop); + smlua_bind_function(L, "bhv_wiggler_body_part_update", smlua_func_bhv_wiggler_body_part_update); + smlua_bind_function(L, "bhv_wiggler_update", smlua_func_bhv_wiggler_update); + smlua_bind_function(L, "bhv_wind_loop", smlua_func_bhv_wind_loop); + smlua_bind_function(L, "bhv_wing_cap_init", smlua_func_bhv_wing_cap_init); + smlua_bind_function(L, "bhv_wing_vanish_cap_loop", smlua_func_bhv_wing_vanish_cap_loop); + smlua_bind_function(L, "bhv_wooden_post_update", smlua_func_bhv_wooden_post_update); + smlua_bind_function(L, "bhv_yellow_coin_init", smlua_func_bhv_yellow_coin_init); + smlua_bind_function(L, "bhv_yellow_coin_loop", smlua_func_bhv_yellow_coin_loop); + smlua_bind_function(L, "bhv_yoshi_init", smlua_func_bhv_yoshi_init); + smlua_bind_function(L, "bhv_yoshi_loop", smlua_func_bhv_yoshi_loop); + smlua_bind_function(L, "check_if_moving_over_floor", smlua_func_check_if_moving_over_floor); + smlua_bind_function(L, "clear_particle_flags", smlua_func_clear_particle_flags); + smlua_bind_function(L, "common_anchor_mario_behavior", smlua_func_common_anchor_mario_behavior); + smlua_bind_function(L, "cur_obj_spawn_strong_wind_particles", smlua_func_cur_obj_spawn_strong_wind_particles); + //smlua_bind_function(L, "geo_bits_bowser_coloring", smlua_func_geo_bits_bowser_coloring); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_move_mario_part_from_parent", smlua_func_geo_move_mario_part_from_parent); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_scale_bowser_key", smlua_func_geo_scale_bowser_key); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_snufit_move_mask", smlua_func_geo_snufit_move_mask); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_snufit_scale_body", smlua_func_geo_snufit_scale_body); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_switch_bowser_eyes", smlua_func_geo_switch_bowser_eyes); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_switch_tuxie_mother_eyes", smlua_func_geo_switch_tuxie_mother_eyes); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_update_body_rot_from_parent", smlua_func_geo_update_body_rot_from_parent); <--- UNIMPLEMENTED + //smlua_bind_function(L, "geo_update_held_mario_pos", smlua_func_geo_update_held_mario_pos); <--- UNIMPLEMENTED + smlua_bind_function(L, "mario_moving_fast_enough_to_make_piranha_plant_bite", smlua_func_mario_moving_fast_enough_to_make_piranha_plant_bite); + smlua_bind_function(L, "obj_set_secondary_camera_focus", smlua_func_obj_set_secondary_camera_focus); + smlua_bind_function(L, "play_penguin_walking_sound", smlua_func_play_penguin_walking_sound); + smlua_bind_function(L, "spawn_default_star", smlua_func_spawn_default_star); + smlua_bind_function(L, "spawn_mist_from_global", smlua_func_spawn_mist_from_global); + smlua_bind_function(L, "spawn_mist_particles_variable", smlua_func_spawn_mist_particles_variable); + smlua_bind_function(L, "spawn_no_exit_star", smlua_func_spawn_no_exit_star); + smlua_bind_function(L, "spawn_red_coin_cutscene_star", smlua_func_spawn_red_coin_cutscene_star); + smlua_bind_function(L, "spawn_triangle_break_particles", smlua_func_spawn_triangle_break_particles); + smlua_bind_function(L, "spawn_wind_particles", smlua_func_spawn_wind_particles); + smlua_bind_function(L, "tox_box_move", smlua_func_tox_box_move); + smlua_bind_function(L, "update_angle_from_move_flags", smlua_func_update_angle_from_move_flags); + smlua_bind_function(L, "vec3f_copy_2", smlua_func_vec3f_copy_2); + // behavior_table.h smlua_bind_function(L, "get_behavior_from_id", smlua_func_get_behavior_from_id); smlua_bind_function(L, "get_behavior_name_from_id", smlua_func_get_behavior_name_from_id);