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 | |
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')
-rw-r--r-- | data/scripts/company_screens.inc | 120 | ||||
-rw-r--r-- | data/scripts/health_safety.inc | 79 | ||||
-rw-r--r-- | data/scripts/intro.inc | 115 | ||||
-rw-r--r-- | data/scripts/personality_test.inc | 89 | ||||
-rw-r--r-- | data/scripts/title.inc | 227 | ||||
-rw-r--r-- | data/scripts/world_map.inc | 61 |
6 files changed, 691 insertions, 0 deletions
diff --git a/data/scripts/company_screens.inc b/data/scripts/company_screens.inc new file mode 100644 index 0000000..4d21e2e --- /dev/null +++ b/data/scripts/company_screens.inc @@ -0,0 +1,120 @@ + @ Company Screens + CompanyScreensMainThread: + .byte 0xf6, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS04StationFile_Text + changeTileset 0xE2 + pushR14 + msgEnd 0x163 + + .global GroundDataS04StationFile_Text @ 0x826F1F4 + GroundDataS04StationFile_Text: + .string "../data/ground/ground_data_s04_station.c\0" + .align 2,0 + + CompanyScreensMainThreadHeader: + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte CompanyScreensMainThread + + CompanyScreens1MainThread: + .byte 0xf6, 0x00, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS04StationFile_Text + pushR14 + changeTileset 0xE2 + StartSceneRunCall 0 + waitFlag 3 + pause 0x14 + setFlag 4 + waitFlag 3 + pause 0x14 + setFlag 4 + waitFlag 3 + pause 0x14 + setFlag 4 + waitFlag 3 + .byte 0xa6, 0x00, 0x39, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x4 + endFuncAndScript + + CompanyScreens1MainThreadHeader: + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte CompanyScreens1MainThread + + CompanyScreens1CameraThread: + .byte 0xf6, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS04StationFile_Text + .byte 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x22, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x14 0 + setFlag 3 + waitFlag 4 + warpToLoc 0 @ Nintendo Screen + .byte 0x22, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x14 0 + setFlag 3 + waitFlag 4 + warpToLoc 1 @ Chunsoft + .byte 0x22, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x14 0 + setFlag 3 + waitFlag 4 + warpToLoc 2 @ Year Trademark screen + .byte 0x22, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x14 0 + setFlag 3 + closeThread + + CompanyScreens1UnkThread: + .byte 0xf6, 0x00, 0x48, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS04StationFile_Text + .byte 0x3c, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + closeThreadRemoveObject + + UNK_826F508: + .byte 0x00, 0x00, 0x01, 0x01 + .byte 15, 11, 0x00, 0x02 @ Pokemon Company Screen coordinates + .4byte CompanyScreens1CameraThread + .byte 0x02, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x02 + .4byte CompanyScreens1UnkThread + + UNK_826F520: + .4byte CompanyScreensMainThreadHeader + + UNK_826F524: + .4byte CompanyScreens1MainThreadHeader + + CompanyScreensScene0: @ 826F528 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .4byte UNK_826F520 + + CompanyScreensScene1: @ 826F550 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + .byte 0x02, 0x00, 0x00, 0x00 + .4byte UNK_826F508 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .4byte UNK_826F524 + + CompanyScreensScenes: @ 826F578 (Scenes) + .byte 0x01, 0x00, 0x00, 0x00 + .4byte CompanyScreensScene0 + .byte 0x01, 0x00, 0x00, 0x00 + .4byte CompanyScreensScene1 + + CompanyScreensWaypoints: @ 826F588 (Waypoints) + .byte 15, 31, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 @ Nintendo coordinates + .byte 15, 51, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 @ Chunsoft coordinates + .byte 15, 71, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 @ Pokemon copyright coordinates + + .byte 0x02, 0x00, 0x00, 0x00 + .4byte CompanyScreensScenes + .4byte CompanyScreensWaypoints + diff --git a/data/scripts/health_safety.inc b/data/scripts/health_safety.inc new file mode 100644 index 0000000..77a794b --- /dev/null +++ b/data/scripts/health_safety.inc @@ -0,0 +1,79 @@ + @ Health and Safety Screen + HealthAndSafetyMainThread: + .byte 0xf6, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS05StationFile_Text + changeTileset 0xE3 + pushR14 + MsgEnd 0x163 + + .global GroundDataS05StationFile_Text @ 0x826F5F4 + GroundDataS05StationFile_Text: + .string "../data/ground/ground_data_s05_station.c\0" + .align 2,0 + + HealthAndSafetyMainThreadHeader: + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte HealthAndSafetyMainThread + + HealthAndSafety2MainThread: + .byte 0xf6, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS05StationFile_Text + pushR14 + changeTileset 0xE3 + StartSceneRunCall 0 + .byte 0x22, 0x01, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0xB4 + setFlag 4 + .byte 0x3b, 0x40, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0xe10 + fadeOut 1 0x1E 0 + endFuncAndScript + + HealthAndSafety2MainThreadHeader: + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte HealthAndSafety2MainThread + + HealthAndSafetyCameraThread: @ 826F6E8 + @ Thread init + .byte 0xf6, 0x00, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS05StationFile_Text + @ Camera stuff + .byte 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 4 + label 0 + warpToLoc 1 @ Health and Safety w/ Press Button to Continue + pause 0x14 + warpToLoc 0 @ Health and Safety w/o message + pause 0x14 + loopLabel 0 + + .byte 0x00, 0x00, 0x01, 0x01 + .byte 15, 11, 0x00, 0x02 @ Initial Camera coordinates + .4byte HealthAndSafetyCameraThread + .4byte HealthAndSafetyMainThreadHeader + .4byte HealthAndSafety2MainThreadHeader + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x84, 0xf7, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x78, 0xf7, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x88, 0xf7, 0x26, 0x08 + + @ Scenes? + HealthSafetyScenes: @ 826F7DC + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x8c, 0xf7, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xb4, 0xf7, 0x26, 0x08 + + HealthSafetyWaypoints: @ 826F7EC + .byte 15, 11, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 15, 31, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + + .byte 0x02, 0x00, 0x00, 0x00 + .4byte HealthSafetyScenes + .4byte HealthSafetyWaypoints + diff --git a/data/scripts/intro.inc b/data/scripts/intro.inc new file mode 100644 index 0000000..c69fee7 --- /dev/null +++ b/data/scripts/intro.inc @@ -0,0 +1,115 @@ + @ Above the Town (Intro) + AboveTheTownMainThread: + .byte 0xf6, 0x00, 0x16, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS03StationFile_Text + changeTileset 0xE1 + pushR14 + msgEnd 0x163 + + .global GroundDataS03StationFile_Text @ 0x826EC98 + GroundDataS03StationFile_Text: + .string "../data/ground/ground_data_s03_station.c\0" + .align 2,0 + + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte AboveTheTownMainThread + + .byte 0xf6, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS03StationFile_Text + changeTileset 0xe1 + StartSceneRunCall 0 + PlayMusic MUS_INTRO + .byte 0x22, 0x01, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x4 + setFlag 5 + pause 0x14 + setFlag 4 + pause 0x28 + .byte 0x3b, 0x38, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 3 + fadeColorIn 1 1 0x3C 0x00ffffff + .byte 0xe0, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + endFuncAndScript + + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0xec, 0x26, 0x08 + + .byte 0xf6, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS03StationFile_Text + .byte 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 4 + gridMoveTo 0x40 0 + closeThread + + .byte 0xf6, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS03StationFile_Text + .byte 0x53, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0xE + waitFlag 5 + .byte 0x80, 0x00, 0x33, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x80, 0x00, 0x66, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x14 + setAnimation 0xF + .byte 0x80, 0x00, 0x80, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x10 + .byte 0x80, 0x00, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x11 + .byte 0x80, 0x00, 0x00, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x12 + .byte 0x80, 0x00, 0x00, 0x04, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x13 + .byte 0x80, 0x00, 0x00, 0x05, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setFlag 6 + setAnimation 0x14 + .byte 0x80, 0x00, 0x00, 0x06, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setFlag 3 + setAnimation 0x15 + .byte 0x80, 0x00, 0x00, 0x08, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x15 + .byte 0x80, 0x00, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + closeThreadRemoveObject + + .byte 0xf6, 0x00, 0x5b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS03StationFile_Text + .byte 0x53, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 8 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 6 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x80, 0x00, 0x33, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + closeThread + + .byte 0x3b, 0x00, 0x02, 0x01, 0x1d, 0x0f, 0x00, 0x02, 0x1c, 0xee, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x02, 0x01, 0x0d, 0x11, 0x00, 0x02 + .byte 0xec, 0xef, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x12, 0x1b, 0x00, 0x02, 0xcc, 0xed, 0x26, 0x08, 0xc4, 0xec, 0x26, 0x08 + .byte 0xc0, 0xed, 0x26, 0x08, 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 + .byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xd8, 0xf0, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x9c, 0xf0, 0x26, 0x08, 0x01, 0x00, 0x00, 0x00 + .byte 0xcc, 0xf0, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xdc, 0xf0, 0x26, 0x08, 0x01, 0x00, 0x00, 0x00, 0xe0, 0xf0, 0x26, 0x08, 0x01, 0x00, 0x00, 0x00 + .byte 0x08, 0xf1, 0x26, 0x08 + + @ Intro Waypoints + .global IntroWaypoints + IntroWaypoints: + .byte 0x12, 0x0b, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x20, 0x10, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x23, 0x13, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x20, 0x16, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x1b, 0x18, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x16, 0x17, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x11, 0x14, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x0d, 0x11, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x09, 0x0d, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x04, 0x07, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x01, 0x00, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x0d, 0x26, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + + .byte 0x02, 0x00, 0x00, 0x00 + .byte 0x30, 0xf1, 0x26, 0x08 + .4byte IntroWaypoints + diff --git a/data/scripts/personality_test.inc b/data/scripts/personality_test.inc new file mode 100644 index 0000000..0cc922b --- /dev/null +++ b/data/scripts/personality_test.inc @@ -0,0 +1,89 @@ + @ Personality Test + PersonalityTestMainThread: + .byte 0xf6, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte PersonalityTestScriptsFile_Text + changeTileset 0xDF + pushR14 + msgEnd 0x163 + + PersonalityTestScriptsFile_Text: + .string "../data/ground/ground_data_s01_station.c\0" + .align 2,0 + + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte PersonalityTestMainThread + + PersonalityTest1MainThread: + .byte 0xf6, 0x00, 0x13, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte PersonalityTestScriptsFile_Text + pushR14 + changeTileset 0xDF + floatingText Welcome_826E1F4 + floatingText WorldOfPokemon_826E1B8 + floatingText SeveralQuestions_826E16C + floatingText AnswerSincerely_826E144 + floatingText AreYouReady_826E130 + floatingText InterviewBegin_826E108 + closeTextBox + StartSceneRunCall 0 + playMusic MUS_WELCOME_TO_WORLD_POKEMON + .byte 0x22, 0x01, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x3c, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + fadeMusicOut 0x1E + fadeOut 1 0x1E 0 + endFuncAndScript + + InterviewBegin_826E108: + .string "#+OK...#W\n" + .string "#+Let the interview begin!\0" + .align 2,0 + + AreYouReady_826E130: + .string "#+Are you ready?\0" + .align 2,0 + + AnswerSincerely_826E144: + .string "#+I want you to answer them sincerely.\0" + .align 2,0 + + SeveralQuestions_826E16C: + .string "#+But before I can let you through~2c\n" + .string "#+I have several questions for you.\0" + .align 2,0 + + WorldOfPokemon_826E1B8: + .string "#+This is the portal that leads\n" + .string "#+to the world of Pokémon!\0" + .align 2,0 + + Welcome_826E1F4: + .string "#+Welcome!\0" + .align 2,0 + + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0xf8, 0xdf, 0x26, 0x08 + .byte 0x00, 0x00, 0x01, 0x01, 0x1e, 0x13, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00 + .byte 0xec, 0xdf, 0x26, 0x08 + .byte 0x00, 0xe2, 0x26, 0x08 + .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 + .byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x18, 0xe2, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x0c, 0xe2, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x1c, 0xe2, 0x26, 0x08 + + PersonalityTestScenes: @ 826E270 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x20, 0xe2, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x48, 0xe2, 0x26, 0x08 + + PersonalityTestWaypoints: @ 826E280 + .byte 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00 + + .byte 0x02, 0x00, 0x00, 0x00 + .4byte PersonalityTestScenes + .4byte PersonalityTestWaypoints diff --git a/data/scripts/title.inc b/data/scripts/title.inc new file mode 100644 index 0000000..6e55c94 --- /dev/null +++ b/data/scripts/title.inc @@ -0,0 +1,227 @@ + @ Title Screen + TitleScreenMainThread: + .byte 0xf6, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + changeTileset 0xE0 + pushR14 + msgEnd 0x163 + + .global GroundDataS02StationFile_Text @ 0x826E2DC + GroundDataS02StationFile_Text: + .string "../data/ground/ground_data_s02_station.c\0" + .align 2,0 + + .byte 0x94, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte TitleScreenMainThread + + .byte 0xf6, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + setAnimation 7 + waitFlag 4 + + @ Blink "Press Start" + label 0 + warpToLoc 1 + pause 10 + warpToLoc 0 + pause 10 + loopLabel 0 + + TitleScreen2MainThread: + .byte 0xf6, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + changeTileset 0xE0 + .byte 0x0c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + StartSceneRunCall 0 + PlayMusic MUS_OPENING_TITLE + pause 0x3C + .byte 0x22, 0x01, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x1E0 + fadeMusicOut 0x1E + fadeOut 1 0x1E 0 + endFuncAndScript + + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte TitleScreen2MainThread + + TitleScreen3MainThread: + .byte 0xf6, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + changeTileset 0xE0 + .byte 0x0c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + StartSceneRunCall 0 + PlayMusic MUS_TITLE_SCREEN + fadeColorOut 1 1 0x3C 0x00ffffff + StartSceneRunCall 1 + StartSceneRunCall 2 + waitFlag 3 + .byte 0xa6, 0x00, 0x39, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x3b, 0x40, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x78 + setFlag 4 + .byte 0xe0, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x1E 0 + endFuncAndScript + + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte TitleScreen3MainThread + + .byte 0xf6, 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + .byte 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 4 + label 0 + warpToLoc 3 + pause 0xA + warpToLoc 2 + pause 0xA + loopLabel 0 + + .byte 0xf6, 0x00, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + .byte 0x53, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 5 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 5 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x8b, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x80, 0x00, 0x00, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setFlag 6 + closeThreadRemoveObject + + .byte 0xf6, 0x00, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + .byte 0x53, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 7 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 6 + pause 0x20 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0xA + .byte 0x80, 0x00, 0x00, 0x04, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0xB + .byte 0x80, 0x00, 0x00, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0xC + .byte 0x80, 0x00, 0x00, 0x06, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0xD + .byte 0x80, 0x00, 0x00, 0x07, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setFlag 3 + closeThreadRemoveObject + + .byte 0xf6, 0x00, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + .byte 0x53, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setAnimation 0x8 + .byte 0x80, 0x00, 0x33, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + setFlag 5 + .byte 0x80, 0x00, 0x33, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + closeThreadRemoveObject + + TitleScreen4MainThread: + .byte 0xf6, 0x00, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + changeTileSet 0xE0 + .byte 0x0c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x0c, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + PlayMusic MUS_TITLE_SCREEN + .byte 0x22, 0x01, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x78 + setFlag 4 + .byte 0xe0, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + pause 0x3C + fadeOut 1 0x1E 0 + endFuncAndScript + + .byte 0x90, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte TitleScreen4MainThread + + .byte 0xf6, 0x00, 0xa1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .4byte GroundDataS02StationFile_Text + .byte 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + waitFlag 4 + label 0 + warpToLoc 3 + pause 0xA + warpToLoc 2 + pause 0xA + loopLabel 0 + + .byte 0x37, 0x06, 0x00, 0x00 + .byte 0x23, 0x06, 0x00, 0x02 + .byte 0x0c, 0xe6, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3d, 0x00, 0x02, 0x01, 0x12, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x14, 0xe3, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3b, 0x06, 0x02, 0x01, 0x01, 0x16, 0x00, 0x02, 0xdc, 0xe6, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x02, 0x01, 0x1a, 0x00, 0x00, 0x02 + .byte 0x1c, 0xe8, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01 + .byte 0x12, 0x0e, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x12, 0x0e, 0x00, 0x02, 0x7c, 0xe5, 0x26, 0x08, 0x00, 0x00, 0x01, 0x01, 0x12, 0x0e, 0x00, 0x02 + .byte 0x88, 0xe9, 0x26, 0x08 + .byte 0x08, 0xe3, 0x26, 0x08 + .byte 0x54, 0xe4, 0x26, 0x08 + .byte 0x70, 0xe5, 0x26, 0x08 + .byte 0x7c, 0xe9, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x9c, 0xea, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x30, 0xea, 0x26, 0x08 + .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 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x78, 0xea, 0x26, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xa0, 0xea, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x84, 0xea, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0xa4, 0xea, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x18, 0xea, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x48, 0xea, 0x26, 0x08 + .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, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x60, 0xea, 0x26, 0x08 + .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 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 + .byte 0x90, 0xea, 0x26, 0x08 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xa8, 0xea, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xac, 0xea, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xd4, 0xea, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0xfc, 0xea, 0x26, 0x08 + .byte 0x03, 0x00, 0x00, 0x00 + .byte 0x24, 0xeb, 0x26, 0x08 + .byte 0x01, 0x00, 0x00, 0x00 + .byte 0x9c, 0xeb, 0x26, 0x08 + + TitleWaypoints: + .byte 0x12, 0x15, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00 + .byte 0x12, 0x30, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00 + .byte 0x12, 0x0e, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x12, 0x29, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x01, 0x06, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x0a, 0x14, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x13, 0x10, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x1c, 0x0a, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x23, 0x04, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x1a, 0x06, 0x00, 0x02, 0x01, 0x01, 0x02, 0x01 + .byte 0x1a, 0x0c, 0x00, 0x00, 0x01, 0x01, 0x02, 0x01 + + .byte 0x05, 0x00, 0x00, 0x00 + .byte 0xc4, 0xeb, 0x26, 0x08 + .4byte TitleWaypoints + 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 + |