diff options
| author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-05-16 14:59:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-16 14:59:02 -0400 |
| commit | fa52c7fc159a749cb97f4a78d7cf39781b55c62f (patch) | |
| tree | 8a88de09420ad7f53eb2154ba49f04d3d93c4e0b /data/maps/SixIsland_PatternBush | |
| parent | 683c9edf348c8a7730e72eb4a21a934e158a58c0 (diff) | |
| parent | 4156dd6b5789e613e4c25ec2cfe9867ec491f85a (diff) | |
Merge pull request #56 from pret/document_map_vars
Document map vars, 1
Diffstat (limited to 'data/maps/SixIsland_PatternBush')
| -rw-r--r-- | data/maps/SixIsland_PatternBush/scripts.inc | 110 |
1 files changed, 49 insertions, 61 deletions
diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc index 69a35163d..0575b4855 100644 --- a/data/maps/SixIsland_PatternBush/scripts.inc +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -1,92 +1,80 @@ SixIsland_PatternBush_MapScripts:: @ 8164559 - map_script 3, SixIsland_PatternBush_MapScript1_16455F - .byte 0 + map_script 3, SixIsland_PatternBush_MapScript1_16455F + .byte 0 SixIsland_PatternBush_MapScript1_16455F:: @ 816455F - setworldmapflag 2237 - getplayerxy VAR_0x4001, VAR_0x4002 - compare_var_to_value VAR_0x4001, 50 - call_if 4, EventScript_16457E - compare_var_to_value VAR_0x4001, 49 - call_if 3, EventScript_164587 - end + setworldmapflag FLAG_WORLD_MAP_SIX_ISLAND_PATTERN_BUSH + getplayerxy VAR_0x4001, VAR_0x4002 + compare_var_to_value VAR_0x4001, 50 + call_if 4, EventScript_16457E + compare_var_to_value VAR_0x4001, 49 + call_if 3, EventScript_164587 + end EventScript_16457E:: @ 816457E - setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10 - return + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10 + return EventScript_164587:: @ 8164587 - setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 - return + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 + return SixIsland_PatternBush_EventScript_164590:: @ 8164590 - trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 - loadword 0, gUnknown_817BF97 - callstd 6 - end + trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66 + msgbox gUnknown_817BF97, 6 + end SixIsland_PatternBush_EventScript_1645A7:: @ 81645A7 - trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 - loadword 0, gUnknown_817C056 - callstd 6 - end + trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028 + msgbox gUnknown_817C056, 6 + end SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE - trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 - loadword 0, gUnknown_817C113 - callstd 6 - end + trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2 + msgbox gUnknown_817C113, 6 + end SixIsland_PatternBush_EventScript_1645D5:: @ 81645D5 - trainerbattle 0, 612, 0, Text_17C155, Text_17C196 - loadword 0, gUnknown_817C1D0 - callstd 6 - end + trainerbattle 0, 612, 0, Text_17C155, Text_17C196 + msgbox gUnknown_817C1D0, 6 + end SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC - trainerbattle 0, 613, 0, Text_17C246, Text_17C275 - loadword 0, gUnknown_817C2A4 - callstd 6 - end + trainerbattle 0, 613, 0, Text_17C246, Text_17C275 + msgbox gUnknown_817C2A4, 6 + end SixIsland_PatternBush_EventScript_164603:: @ 8164603 - trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D - loadword 0, gUnknown_817C31C - callstd 6 - end + trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D + msgbox gUnknown_817C31C, 6 + end SixIsland_PatternBush_EventScript_16461A:: @ 816461A - trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 - loadword 0, gUnknown_817C3CE - callstd 6 - end + trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5 + msgbox gUnknown_817C3CE, 6 + end SixIsland_PatternBush_EventScript_164631:: @ 8164631 - trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 - loadword 0, gUnknown_817C490 - callstd 6 - end + trainerbattle 0, 616, 0, Text_17C42B, Text_17C458 + msgbox gUnknown_817C490, 6 + end SixIsland_PatternBush_EventScript_164648:: @ 8164648 - trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 - loadword 0, gUnknown_817C590 - callstd 6 - end + trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552 + msgbox gUnknown_817C590, 6 + end SixIsland_PatternBush_EventScript_16465F:: @ 816465F - trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 - loadword 0, gUnknown_817C615 - callstd 6 - end + trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609 + msgbox gUnknown_817C615, 6 + end SixIsland_PatternBush_EventScript_164676:: @ 8164676 - trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 - loadword 0, gUnknown_817C68E - callstd 6 - end + trainerbattle 0, 619, 0, Text_17C63E, Text_17C660 + msgbox gUnknown_817C68E, 6 + end SixIsland_PatternBush_EventScript_16468D:: @ 816468D - trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB - loadword 0, gUnknown_817C728 - callstd 6 - end + trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB + msgbox gUnknown_817C728, 6 + end |
