Skip to content

Commit

Permalink
Revert "Factor out tables into data/overworld/"
Browse files Browse the repository at this point in the history
This reverts commit b5a7e7d.
  • Loading branch information
Rangi42 committed Jul 23, 2020
1 parent b5a7e7d commit 11dc805
Show file tree
Hide file tree
Showing 21 changed files with 441 additions and 300 deletions.
4 changes: 2 additions & 2 deletions constants/collision_constants.asm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
; collision permissions (see data/overworld/collision_permissions.asm)
; collision permissions (see data/collision_permissions.asm)
LAND_TILE EQU $00
WATER_TILE EQU $01
WALL_TILE EQU $0f
TALK EQU $10

; collision data types (see data/tilesets/*_collision.asm)
; TileCollisionTable indexes (see data/overworld/collision_permissions.asm)
; TileCollisionTable indexes (see data/collision_permissions.asm)
COLL_FLOOR EQU $00
COLL_01 EQU $01 ; garbage
COLL_03 EQU $03 ; garbage
Expand Down
2 changes: 1 addition & 1 deletion constants/engine_flags.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; EngineFlags indexes (see data/events/engine_flags.asm)
; EngineFlags indexes (see data/engine_flags.asm)
const_def
; wPokegearFlags
const ENGINE_RADIO_CARD
Expand Down
2 changes: 1 addition & 1 deletion constants/script_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ NUM_STRING_BUFFERS EQU const_value
const TRAINERTEXT_LOSS

; readvar/writevar/loadvar arguments
; VarActionTable indexes (see data/overworld/variables.asm)
; _GetVarAction.VarActionTable indexes (see engine/overworld/variables.asm)
const_def
const VAR_STRINGBUFFER2 ; 00
const VAR_PARTYCOUNT ; 01
Expand Down
2 changes: 1 addition & 1 deletion constants/tileset_constants.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; Tilesets indexes (see data/overworld/tilesets.asm)
; Tilesets indexes (see data/tilesets.asm)
const_def 1
const TILESET_JOHTO ; 01
const TILESET_JOHTO_MODERN ; 02
Expand Down
File renamed without changes.
File renamed without changes.
58 changes: 0 additions & 58 deletions data/events/std_scripts.asm

This file was deleted.

172 changes: 0 additions & 172 deletions data/overworld/scripting.asm

This file was deleted.

33 changes: 0 additions & 33 deletions data/overworld/variables.asm

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/event_commands.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 11dc805

Please sign in to comment.