summaryrefslogtreecommitdiff
path: root/data/maps/CaveOfOrigin_B1F
diff options
context:
space:
mode:
authorGarak <thomastaps194@comcast.net>2018-07-04 11:11:45 -0400
committerGitHub <noreply@github.com>2018-07-04 11:11:45 -0400
commite06b63efc9ea39875b17f00e5ff20c2e0fcb0415 (patch)
treee8d37347ae000823943ef57973dc34dd98633b40 /data/maps/CaveOfOrigin_B1F
parent9acd55ae4f9e455a92765aaee5929240097f9f8f (diff)
parentefebc51972b23ddffa2700b1dd6895d4728646a3 (diff)
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/CaveOfOrigin_B1F')
-rw-r--r--data/maps/CaveOfOrigin_B1F/border.bin1
-rw-r--r--data/maps/CaveOfOrigin_B1F/events.inc9
-rw-r--r--data/maps/CaveOfOrigin_B1F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_B1F/map.bin1
-rw-r--r--data/maps/CaveOfOrigin_B1F/scripts.inc118
5 files changed, 128 insertions, 3 deletions
diff --git a/data/maps/CaveOfOrigin_B1F/border.bin b/data/maps/CaveOfOrigin_B1F/border.bin
deleted file mode 100644
index f1629c020..000000000
--- a/data/maps/CaveOfOrigin_B1F/border.bin
+++ /dev/null
@@ -1 +0,0 @@
-3333 \ No newline at end of file
diff --git a/data/maps/CaveOfOrigin_B1F/events.inc b/data/maps/CaveOfOrigin_B1F/events.inc
new file mode 100644
index 000000000..72a2c6210
--- /dev/null
+++ b/data/maps/CaveOfOrigin_B1F/events.inc
@@ -0,0 +1,9 @@
+CaveOfOrigin_B1F_EventObjects: @ 8535DD0
+ object_event 1, EVENT_OBJ_GFX_WALLACE, 0, 9, 13, 3, 7, 1, 1, 0, 0, CaveOfOrigin_B1F_EventScript_2357A9, 820
+
+CaveOfOrigin_B1F_MapWarps: @ 8535DE8
+ warp_def 9, 3, 3, 1, MAP_CAVE_OF_ORIGIN_1F
+
+CaveOfOrigin_B1F_MapEvents:: @ 8535DF0
+ map_events CaveOfOrigin_B1F_EventObjects, CaveOfOrigin_B1F_MapWarps, 0x0, 0x0
+
diff --git a/data/maps/CaveOfOrigin_B1F/header.inc b/data/maps/CaveOfOrigin_B1F/header.inc
index d9d011a50..629806ad6 100644
--- a/data/maps/CaveOfOrigin_B1F/header.inc
+++ b/data/maps/CaveOfOrigin_B1F/header.inc
@@ -1,5 +1,5 @@
CaveOfOrigin_B1F: @ 8484358
- .4byte CaveOfOrigin_B1F_MapAttributes
+ .4byte CaveOfOrigin_B1F_Layout
.4byte CaveOfOrigin_B1F_MapEvents
.4byte CaveOfOrigin_B1F_MapScripts
.4byte 0x0
diff --git a/data/maps/CaveOfOrigin_B1F/map.bin b/data/maps/CaveOfOrigin_B1F/map.bin
deleted file mode 100644
index 1fb2d71bb..000000000
--- a/data/maps/CaveOfOrigin_B1F/map.bin
+++ /dev/null
@@ -1 +0,0 @@
-)))))))))))))))))3)))))))))))))3 "3"333))@))333H3 "*3)*33A333()3( "3*333333333(3 H"3M333)))333 3& ""3"33*#0#(33N3  ""33*0###0(3 3 H"3"3"####### 3 3  ""3"3"0##0##0 3H3& "3M3"####### 3 3  ""3"3$30###0$33N3&H"3"33$3#0#$333 3  "M3$33$3$3$3$3$333$3  "$3$3333333$3$ "3332222222$233N3 "3$22223332222$3 "333333$222$333333N$222222232222222$ \ No newline at end of file
diff --git a/data/maps/CaveOfOrigin_B1F/scripts.inc b/data/maps/CaveOfOrigin_B1F/scripts.inc
new file mode 100644
index 000000000..5ac3ec64a
--- /dev/null
+++ b/data/maps/CaveOfOrigin_B1F/scripts.inc
@@ -0,0 +1,118 @@
+CaveOfOrigin_B1F_MapScripts:: @ 82357A8
+ .byte 0
+
+CaveOfOrigin_B1F_EventScript_2357A9:: @ 82357A9
+ lock
+ faceplayer
+ msgbox CaveOfOrigin_B1F_Text_23586E, 4
+ closemessage
+ applymovement 1, CaveOfOrigin_B1F_Movement_2725A6
+ waitmovement 0
+ delay 60
+ playse SE_PIN
+ applymovement 1, CaveOfOrigin_B1F_Movement_272598
+ waitmovement 0
+ applymovement 1, CaveOfOrigin_B1F_Movement_27259A
+ waitmovement 0
+ delay 30
+ applymovement 1, CaveOfOrigin_B1F_Movement_27259E
+ waitmovement 0
+ message CaveOfOrigin_B1F_Text_235ACE
+ waitmessage
+ goto CaveOfOrigin_B1F_EventScript_2357F0
+
+CaveOfOrigin_B1F_EventScript_2357F0:: @ 82357F0
+ multichoice 0, 0, 110, 0
+ switch VAR_RESULT
+ case 0, CaveOfOrigin_B1F_EventScript_23582C
+ case 1, CaveOfOrigin_B1F_EventScript_235837
+ case 2, CaveOfOrigin_B1F_EventScript_23584D
+ case 3, CaveOfOrigin_B1F_EventScript_235842
+ goto CaveOfOrigin_B1F_EventScript_235842
+ end
+
+CaveOfOrigin_B1F_EventScript_23582C:: @ 823582C
+ message CaveOfOrigin_B1F_Text_235B23
+ waitmessage
+ goto CaveOfOrigin_B1F_EventScript_2357F0
+
+CaveOfOrigin_B1F_EventScript_235837:: @ 8235837
+ message CaveOfOrigin_B1F_Text_235BBF
+ waitmessage
+ goto CaveOfOrigin_B1F_EventScript_2357F0
+
+CaveOfOrigin_B1F_EventScript_235842:: @ 8235842
+ message CaveOfOrigin_B1F_Text_235C99
+ waitmessage
+ goto CaveOfOrigin_B1F_EventScript_2357F0
+
+CaveOfOrigin_B1F_EventScript_23584D:: @ 823584D
+ msgbox CaveOfOrigin_B1F_Text_235CEE, 4
+ closemessage
+ playse SE_KAIDAN
+ fadescreenspeed 1, 4
+ setflag FLAG_0x137
+ setvar VAR_0x405E, 3
+ removeobject 1
+ clearflag FLAG_0x357
+ fadescreen 0
+ release
+ end
+
+CaveOfOrigin_B1F_Text_23586E: @ 823586E
+ .string "Ah, so you are {PLAYER}{KUN}?\n"
+ .string "I’ve heard tales of your exploits.\p"
+ .string "My name is WALLACE.\p"
+ .string "I was once the GYM LEADER of\n"
+ .string "SOOTOPOLIS, but something came up.\p"
+ .string "So now, I’ve entrusted my mentor JUAN\n"
+ .string "with the GYM’s operation.\p"
+ .string "… … … … … …\n"
+ .string "… … … … … …\p"
+ .string "GROUDON and KYOGRE, the two POKéMON\n"
+ .string "wreaking havoc here, are considered\l"
+ .string "to be super-ancient POKéMON.\p"
+ .string "But there aren’t just two super-\n"
+ .string "ancient POKéMON.\p"
+ .string "There is one more somewhere.\p"
+ .string "Somewhere, there is a super-\n"
+ .string "ancient POKéMON named RAYQUAZA.\p"
+ .string "It’s said that it was RAYQUAZA that\n"
+ .string "becalmed the two combatants in\l"
+ .string "the distant past.\p"
+ .string "But even I have no clue as to\n"
+ .string "RAYQUAZA’s whereabouts…$"
+
+CaveOfOrigin_B1F_Text_235ACE: @ 8235ACE
+ .string "WALLACE: {PLAYER}{KUN}, do you perhaps\n"
+ .string "know where RAYQUAZA is now?\p"
+ .string "If you do, please tell me.$"
+
+CaveOfOrigin_B1F_Text_235B23: @ 8235B23
+ .string "WALLACE: The CAVE OF ORIGIN?\p"
+ .string "But that’s right here!\n"
+ .string "I need you to do better than that!\p"
+ .string "Please, I need you to think about\n"
+ .string "where RAYQUAZA might be right now.$"
+
+CaveOfOrigin_B1F_Text_235BBF: @ 8235BBF
+ .string "WALLACE: MT. PYRE?\p"
+ .string "But when I met the old lady there\n"
+ .string "earlier, she made no mention of it.\p"
+ .string "I very much doubt that the old lady\n"
+ .string "would try to hide something from me…\p"
+ .string "{PLAYER}{KUN}, could you think about this\n"
+ .string "more carefully for me?$"
+
+CaveOfOrigin_B1F_Text_235C99: @ 8235C99
+ .string "WALLACE: Huh? You don’t remember?\n"
+ .string "Hmm… That’s a problem…\p"
+ .string "Can’t you remember somehow?$"
+
+CaveOfOrigin_B1F_Text_235CEE: @ 8235CEE
+ .string "WALLACE: The SKY PILLAR?\p"
+ .string "That’s it!\n"
+ .string "It must be the SKY PILLAR!\p"
+ .string "{PLAYER}{KUN}, there’s not a moment to lose!\n"
+ .string "We’ll head to the SKY PILLAR right away!$"
+