diff options
author | Swastik Baranwal <swstkbaranwal@gmail.com> | 2019-06-23 18:47:35 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-23 18:47:35 +0530 |
commit | 99703c6ab831d34e6859d8a8f53ba8e73dc4d3d9 (patch) | |
tree | 3a712d3039d152616af58a45a13d82c40a87e58f /data/maps/SixIsland_PatternBush/scripts.inc | |
parent | 6d190f861e3559eec922cd760778c0cba6e08397 (diff) | |
parent | 9ee0c34758a63f8c00724b6fc984b4e96be2f7af (diff) |
Merge pull request #5 from pret/master
Take files
Diffstat (limited to 'data/maps/SixIsland_PatternBush/scripts.inc')
-rw-r--r-- | data/maps/SixIsland_PatternBush/scripts.inc | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc new file mode 100644 index 000000000..0575b4855 --- /dev/null +++ b/data/maps/SixIsland_PatternBush/scripts.inc @@ -0,0 +1,80 @@ +SixIsland_PatternBush_MapScripts:: @ 8164559 + map_script 3, SixIsland_PatternBush_MapScript1_16455F + .byte 0 + +SixIsland_PatternBush_MapScript1_16455F:: @ 816455F + 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 + +EventScript_164587:: @ 8164587 + setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10 + return + +SixIsland_PatternBush_EventScript_164590:: @ 8164590 + 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 + msgbox gUnknown_817C056, 6 + end + +SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE + 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 + msgbox gUnknown_817C1D0, 6 + end + +SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC + 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 + msgbox gUnknown_817C31C, 6 + end + +SixIsland_PatternBush_EventScript_16461A:: @ 816461A + 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 + msgbox gUnknown_817C490, 6 + end + +SixIsland_PatternBush_EventScript_164648:: @ 8164648 + 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 + msgbox gUnknown_817C615, 6 + end + +SixIsland_PatternBush_EventScript_164676:: @ 8164676 + 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 + msgbox gUnknown_817C728, 6 + end |