ref: 2137f0be09d8ad5ff2d995725dee273b55dbcc04
dir: /docs/map_setup_scripts.md/
# Map Setup Commands Defined in [macros/scripts/map_setup.asm](https://github.com/pret/pokecrystal/blob/master/macros/scripts/map_setup.asm) and [data/maps/setup_script_pointers.asm:MapSetupCommands](https://github.com/pret/pokecrystal/blob/master/data/maps/setup_script_pointers.asm). ## `$00`: `map_enable_lcd` ## `$01`: `map_disable_lcd` ## `$02`: `map_init_sound` ## `$03`: `map_play_music` ## `$04`: `map_restart_music` ## `$05`: `map_fade_to_music` ## `$06`: `map_fade_music_and_palettes` ## `$07`: `map_play_music_bike` ## `$08`: `map_force_music` ## `$09`: `map_fade_in_to_music` ## `$0A`: `map_load_block_data` ## `$0B`: `map_load_connection_block_data` ## `$0C`: `map_save_screen` ## `$0D`: `map_buffer_screen` ## `$0E`: `map_load_graphics` ## `$0F`: `map_load_tileset` ## `$10`: `map_load_time_of_day` ## `$11`: `map_load_palettes` ## `$12`: `map_load_wild_mon_data` ## `$13`: `map_refresh_sprites` ## `$14`: `map_handle_new` ## `$15`: `map_handle_continue` ## `$16`: `map_load_objects` ## `$17`: `map_enter_spawn_point` ## `$18`: `map_enter_connection` ## `$19`: `map_enter_warp` ## `$1A`: `map_load_attributes` ## `$1B`: `map_load_attributes_no_objects` ## `$1C`: `map_clear_bg_palettes` ## `$1D`: `map_fade_out_palettes` ## `$1E`: `map_fade_in_palettes` ## `$1F`: `map_get_screen_coords` ## `$20`: `map_get_warp_dest_coords` ## `$21`: `map_spawn_in_facing_down` ## `$22`: `map_spawn_player` ## `$23`: `map_refresh_player_coords` ## `$24`: `map_reset_player_object_action` ## `$25`: `map_skip_update_sprites` ## `$26`: `map_update_roam_mons` ## `$27`: `map_jump_roam_mons` ## `$28`: `map_fade_out_music` ## `$29`: `map_activate_anims` ## `$2A`: `map_suspend_anims` ## `$2B`: `map_apply_palettes` ## `$2C`: `map_enable_text_acceleration` ## `$2D`: `map_init_name_sign` ## `$FF`: `map_end`