diff options
| author | ISSOtm <eldredhabert0@gmail.com> | 2018-06-10 01:28:16 +0200 |
|---|---|---|
| committer | ISSOtm <eldredhabert0@gmail.com> | 2018-06-10 01:28:16 +0200 |
| commit | 38f3f4126994b19ac30eff61b912e89ed9387991 (patch) | |
| tree | 38fad631401a61038843e366717a2877997f5415 /constants | |
| parent | 03279f38fc11f05ac925229102ddaf6433acfa88 (diff) | |
Disassemble map loading
Somewhat unfinished, but everything has been marked with a TODO.
Fo example:
- determining the remaining map setup constants
- filling the gaps left (see where the SECTIONs are)
- documenting the few hex addresses left
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/map_setup_constants.asm | 10 | ||||
| -rw-r--r-- | constants/wram_constants.asm | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/constants/map_setup_constants.asm b/constants/map_setup_constants.asm new file mode 100644 index 0000000..046fc65 --- /dev/null +++ b/constants/map_setup_constants.asm @@ -0,0 +1,10 @@ + + const_def $f1 + const MAPSETUP_CONTINUE ; $f1 + const MAPSETUP_F2 + const MAPSETUP_RELOADMAP ; $f3 + const MAPSETUP_F4 + const MAPSETUP_F5 ; Note: entry is duplicate of $F4 + const MAPSETUP_WARP ; $f6 + const MAPSETUP_CONNECTION ; $f7 + const MAPSETUP_F8 diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm new file mode 100644 index 0000000..a5e3044 --- /dev/null +++ b/constants/wram_constants.asm @@ -0,0 +1,8 @@ +; wWalkingDirection:: + const_def -1 + const STANDING ; -1 + const DOWN ; 0 + const UP ; 1 + const LEFT ; 2 + const RIGHT ; 3 +NUM_DIRECTIONS EQU const_value
\ No newline at end of file |
