diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-08-12 17:26:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 17:26:01 -0700 |
commit | d9883945954a30e4b753ecbd5d807f4b6cd2a38a (patch) | |
tree | 093c45ab4de91a75d546f58a6672dfc72136677c /data/scripts/world_map.inc | |
parent | e005410884803f1ec8f5942bd0c8d2da5c2e29c8 (diff) |
More data dumping and some code cleaning (#46)
* more data dumping and some code cleaning
* split out cutscene scripts
* initial start at script conversion
* more script work
* use correct type
* clearer up struct field names
* split known scripts into seperate files
* no need to preproc pure ascii strings in debug
* more cutscene work
* split out personality test scripts
* solidify text macros and doc some dungeon fields
* more scripting work
Diffstat (limited to 'data/scripts/world_map.inc')
-rw-r--r-- | data/scripts/world_map.inc | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/data/scripts/world_map.inc b/data/scripts/world_map.inc new file mode 100644 index 0000000..5d8c6be --- /dev/null +++ b/data/scripts/world_map.inc @@ -0,0 +1,61 @@ + @ World Map Cutscenes + WorldMapMainThread: + .byte 0xf6, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS06StationFile_Text + changeTileset 0xE4 + pushR14 + MsgEnd 0x163 + + + .global GroundDataS06StationFile_Text @ 0x826F850 + GroundDataS06StationFile_Text: + .string "../data/ground/ground_data_s06_station.c\0" + .align 2,0 + + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte WorldMapMainThread + + .byte 0xf6, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS06StationFile_Text + changeTileset 0xE4 + .byte 0x0c, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x22, 0x01, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x3c, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + fadeOut 1 0x1E 0 + endFuncAndScript + + .byte 0x90, 0x01, 0x07, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + .byte 0x88, 0xf8, 0x26, 0x08 + + .byte 0x00, 0x00, 0x01, 0x01, 0x0f, 0x0b, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 + + .byte 0x7c, 0xf8, 0x26, 0x08 + .byte 0xf8, 0xf8, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x10, 0xf9, 0x26, 0x08 + + .global UNK_826F940 + UNK_826F940: + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + + .byte 0x04, 0xf9, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + + .byte 0x14, 0xf9, 0x26, 0x08 + + WorldMapScenes: @ 826F968 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x18, 0xf9, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .4byte UNK_826F940 + + WorldMapWaypoints: @ 826F978 + .byte 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + + .byte 0x02, 0x00, 0x00, 0x00 + .4byte WorldMapScenes + .4byte WorldMapWaypoints + |