diff options
author | YamaArashi <shadow962@live.com> | 2016-10-28 15:41:15 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-10-28 15:41:15 -0700 |
commit | d9e59a388c7c4b2464769963b3d58980ce742f70 (patch) | |
tree | dc2c4dc78b6272854bfddd83c029323acd712391 /data/scripts/maps/DesertRuins.inc | |
parent | 38076cb64093e5d50323075516b832111dc59c92 (diff) |
included .s to .inc
Diffstat (limited to 'data/scripts/maps/DesertRuins.inc')
-rw-r--r-- | data/scripts/maps/DesertRuins.inc | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/data/scripts/maps/DesertRuins.inc b/data/scripts/maps/DesertRuins.inc new file mode 100644 index 000000000..d5787d792 --- /dev/null +++ b/data/scripts/maps/DesertRuins.inc @@ -0,0 +1,71 @@ +DesertRuins_MapScripts:: @ 815CAF3 + map_script 5, DesertRuins_MapScript1_15CB03 + map_script 1, DesertRuins_MapScript1_15CB11 + map_script 3, DesertRuins_MapScript1_15CB52 + .byte 0 + +DesertRuins_MapScript1_15CB03:: @ 815CB03 + checkflag 2145 + callif 1, DesertRuins_EventScript_15CB0D + end + +DesertRuins_EventScript_15CB0D:: @ 815CB0D + disappear LAST_TALKED + return + +DesertRuins_MapScript1_15CB11:: @ 815CB11 + checkflag 2128 + callif 0, DesertRuins_EventScript_15CB1B + end + +DesertRuins_EventScript_15CB1B:: @ 815CB1B + setmaptile 7, 19, 553, 1 + setmaptile 8, 19, 553, 1 + setmaptile 9, 19, 553, 1 + setmaptile 7, 20, 565, 1 + setmaptile 8, 20, 565, 1 + setmaptile 9, 20, 565, 1 + return + +DesertRuins_MapScript1_15CB52:: @ 815CB52 + setflag 2134 + end + +DesertRuins_EventScript_15CB56:: @ 815CB56 + lockall + checkflag 2128 + jumpeq DesertRuins_EventScript_15CB6D + braillemsg DesertRuins_Braille_1C54C8 + waitbutton + hidebox 0, 0, 29, 19 + releaseall + end + +DesertRuins_EventScript_15CB6D:: @ 815CB6D + msgbox DesertRuins_Text_1A13BE, 4 + releaseall + end + +DesertRuins_EventScript_15CB77:: @ 815CB77 + lockall + braillemsg DesertRuins_Braille_1C54C8 + waitbutton + hidebox 0, 0, 29, 19 + releaseall + end + +DesertRuins_EventScript_15CB85:: @ 815CB85 + lock + faceplayer + checksound + pokecry SPECIES_REGIROCK, 2 + pause 40 + waitpokecry + setwildbattle SPECIES_REGIROCK, 40, ITEM_NONE + setflag 935 + setflag 2145 + special 313 + waitstate + clearflag 2145 + release + end |