2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScripts:
|
2017-12-26 14:47:05 -08:00
|
|
|
; entries correspond to MAPSETUP_* constants (see constants/map_setup_constants.asm)
|
|
|
|
dw MapSetupScript_Warp
|
|
|
|
dw MapSetupScript_Continue
|
|
|
|
dw MapSetupScript_ReloadMap
|
|
|
|
dw MapSetupScript_Teleport
|
|
|
|
dw MapSetupScript_Door
|
|
|
|
dw MapSetupScript_Fall
|
|
|
|
dw MapSetupScript_Connection
|
|
|
|
dw MapSetupScript_LinkReturn
|
|
|
|
dw MapSetupScript_Train
|
|
|
|
dw MapSetupScript_Submenu
|
|
|
|
dw MapSetupScript_BadWarp
|
|
|
|
dw MapSetupScript_Fly
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Teleport:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_reset_player_object_action
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Fly:
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_out_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_jump_roam_mons
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Warp:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_disable_lcd
|
|
|
|
db map_init_sound
|
|
|
|
db map_enter_spawn_point
|
2018-02-03 13:58:49 -08:00
|
|
|
db map_load_attributes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_handle_new
|
|
|
|
db map_spawn_player
|
|
|
|
db map_refresh_player_coords
|
|
|
|
db map_get_screen_coords
|
|
|
|
db map_load_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_buffer_screen
|
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_objects
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_enable_lcd
|
|
|
|
db map_load_palettes
|
|
|
|
db map_spawn_in_facing_down
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_play_music_bike
|
|
|
|
db map_fade_in_music
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_BadWarp:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_enter_spawn_point
|
2018-02-03 13:58:49 -08:00
|
|
|
db map_load_attributes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_handle_new
|
|
|
|
db map_spawn_player
|
|
|
|
db map_refresh_player_coords
|
|
|
|
db map_get_screen_coords
|
|
|
|
db map_load_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_buffer_screen
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_disable_lcd
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_out_music
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_enable_lcd
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_objects
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_palettes
|
|
|
|
db map_spawn_in_facing_down
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_fade_to_music
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Connection:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_suspend_anims
|
|
|
|
db map_enter_connection
|
2018-02-03 13:58:49 -08:00
|
|
|
db map_load_attributes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_handle_new
|
|
|
|
db map_refresh_player_coords
|
|
|
|
db map_load_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_tileset
|
|
|
|
db map_save_screen
|
|
|
|
db map_load_objects
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_fade_to_music
|
|
|
|
db map_load_palettes
|
|
|
|
db map_init_name_sign
|
|
|
|
db map_apply_palettes
|
|
|
|
db map_load_wild_mon_data
|
|
|
|
db map_update_roam_mons
|
|
|
|
db map_activate_anims
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Fall:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_reset_player_object_action
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Door:
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_out_palettes
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Train:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_enter_warp
|
2018-02-03 13:58:49 -08:00
|
|
|
db map_load_attributes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_get_warp_dest_coords
|
|
|
|
db map_handle_new
|
|
|
|
db map_refresh_player_coords
|
|
|
|
db map_load_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_buffer_screen
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_disable_lcd
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_out_music
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_enable_lcd
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_objects
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_palettes
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_fade_to_music
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
|
|
|
db map_update_roam_mons
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_ReloadMap:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_fade_music_and_palettes
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_clear_bg_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_disable_lcd
|
|
|
|
db map_init_sound
|
|
|
|
db map_load_block_data
|
|
|
|
db map_load_connection_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
|
|
|
db map_enable_lcd
|
|
|
|
db map_load_palettes
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_force_music
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_LinkReturn:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_fade_music_and_palettes
|
|
|
|
db map_disable_lcd
|
|
|
|
db map_init_sound
|
|
|
|
db map_handle_new
|
|
|
|
db map_load_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_buffer_screen
|
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
|
|
|
db map_enable_lcd
|
|
|
|
db map_load_palettes
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_play_music_bike
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
|
|
|
db map_enable_text_acceleration
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Continue:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_disable_lcd
|
|
|
|
db map_init_sound
|
|
|
|
db map_load_attributes_no_objects
|
|
|
|
db map_get_screen_coords
|
|
|
|
db map_handle_continue
|
|
|
|
db map_load_block_data
|
|
|
|
db map_load_connection_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_buffer_screen
|
|
|
|
db map_load_graphics
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_time_of_day
|
|
|
|
db map_enable_lcd
|
|
|
|
db map_load_palettes
|
|
|
|
db map_refresh_sprites
|
|
|
|
db map_play_music_bike
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_fade_in_palettes
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_activate_anims
|
|
|
|
db map_load_wild_mon_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MapSetupScript_Submenu:
|
2019-11-18 09:16:50 -08:00
|
|
|
db map_load_block_data
|
|
|
|
db map_load_connection_block_data
|
2017-12-26 14:47:05 -08:00
|
|
|
db map_end
|