Revert "Factor out tables into data/overworld/"
This reverts commit b5a7e7de3e
.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Event Commands
|
||||
|
||||
Defined in [macros/scripts/events.asm](https://github.com/pret/pokecrystal/blob/master/macros/scripts/events.asm) and [data/overworld/scripting.asm:ScriptCommandTable](https://github.com/pret/pokecrystal/blob/master/data/overworld/scripting.asm).
|
||||
Defined in [macros/scripts/events.asm](https://github.com/pret/pokecrystal/blob/master/macros/scripts/events.asm) and [engine/overworld/scripting.asm:ScriptCommandTable](https://github.com/pret/pokecrystal/blob/master/engine/overworld/scripting.asm).
|
||||
|
||||
Until this document is filled out, the [G/S Scripting Compendium](https://hax.iimarckus.org/files/scriptingcodes_eng.htm) has descriptions for most of these commands. It was written for G/S binary hacking and not Crystal assembly hacking, so it's not 100% accurate for pokecrystal.
|
||||
|
||||
|
@@ -13,6 +13,7 @@ These pages are for documenting pieces of the [pokecrystal](https://github.com/p
|
||||
- [event_commands.md](event_commands.md)
|
||||
- [movement_commands.md](movement_commands.md)
|
||||
- [text_commands.md](text_commands.md)
|
||||
- [map_setup_scripts.md](map_setup_scripts.md)
|
||||
|
||||
|
||||
## Other types of scripts
|
||||
|
144
docs/map_setup_scripts.md
Normal file
144
docs/map_setup_scripts.md
Normal file
@@ -0,0 +1,144 @@
|
||||
# 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`
|
Reference in New Issue
Block a user