diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/event_commands.md | 2 | ||||
-rw-r--r-- | docs/index.md | 1 | ||||
-rw-r--r-- | docs/map_setup_scripts.md | 144 |
3 files changed, 1 insertions, 146 deletions
diff --git a/docs/event_commands.md b/docs/event_commands.md index 60dacf421..2ccc295cd 100644 --- a/docs/event_commands.md +++ b/docs/event_commands.md @@ -1,6 +1,6 @@ # Event Commands -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). +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). 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. diff --git a/docs/index.md b/docs/index.md index 1e1b7ad8d..5b0031672 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,7 +13,6 @@ 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 diff --git a/docs/map_setup_scripts.md b/docs/map_setup_scripts.md deleted file mode 100644 index f97715184..000000000 --- a/docs/map_setup_scripts.md +++ /dev/null @@ -1,144 +0,0 @@ -# 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` |