summaryrefslogtreecommitdiff
path: root/data/scripts/world_map.inc
blob: 5d8c6be658aa51a4cd92448548db17146d3fed26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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