summaryrefslogtreecommitdiff
path: root/data/maps/MagmaHideout_4F
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/MagmaHideout_4F
parent9acd55ae4f9e455a92765aaee5929240097f9f8f (diff)
parentefebc51972b23ddffa2700b1dd6895d4728646a3 (diff)
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/MagmaHideout_4F')
-rw-r--r--data/maps/MagmaHideout_4F/border.bin1
-rw-r--r--data/maps/MagmaHideout_4F/events.inc17
-rw-r--r--data/maps/MagmaHideout_4F/header.inc2
-rw-r--r--data/maps/MagmaHideout_4F/map.bin1
-rw-r--r--data/maps/MagmaHideout_4F/scripts.inc228
5 files changed, 246 insertions, 3 deletions
diff --git a/data/maps/MagmaHideout_4F/border.bin b/data/maps/MagmaHideout_4F/border.bin
deleted file mode 100644
index 9ae2c2126..000000000
--- a/data/maps/MagmaHideout_4F/border.bin
+++ /dev/null
@@ -1 +0,0 @@
-qqqq \ No newline at end of file
diff --git a/data/maps/MagmaHideout_4F/events.inc b/data/maps/MagmaHideout_4F/events.inc
new file mode 100644
index 000000000..1865c3b84
--- /dev/null
+++ b/data/maps/MagmaHideout_4F/events.inc
@@ -0,0 +1,17 @@
+MagmaHideout_4F_EventObjects: @ 8537490
+ object_event 1, EVENT_OBJ_GFX_GROUDON_1, 0, 16, 17, 0, 8, 1, 1, 0, 0, 0x0, 853
+ object_event 2, EVENT_OBJ_GFX_MAGMA_MEMBER_M, 0, 31, 22, 0, 10, 1, 1, 1, 3, MagmaHideout_4F_EventScript_23A68C, 857
+ object_event 3, EVENT_OBJ_GFX_MAGMA_MEMBER_M, 0, 30, 13, 0, 9, 1, 1, 1, 3, MagmaHideout_4F_EventScript_23A6A3, 857
+ object_event 4, EVENT_OBJ_GFX_MAGMA_MEMBER_M, 0, 26, 13, 0, 10, 1, 1, 1, 3, MagmaHideout_4F_EventScript_23A6BA, 857
+ object_event 5, EVENT_OBJ_GFX_MAGMA_MEMBER_M, 0, 22, 4, 0, 8, 1, 1, 1, 4, MagmaHideout_4F_EventScript_23A6D1, 857
+ object_event 6, EVENT_OBJ_GFX_MAXIE, 0, 16, 21, 0, 7, 1, 1, 0, 0, MagmaHideout_4F_EventScript_23A560, 857
+ object_event 7, EVENT_OBJ_GFX_GROUDON_2, 0, 16, 17, 3, 8, 1, 1, 0, 0, 0x0, 850
+ object_event 8, EVENT_OBJ_GFX_ITEM_BALL, 0, 3, 7, 0, 1, 1, 1, 0, 0, MagmaHideout_4F_EventScript_29151F, 1168
+
+MagmaHideout_4F_MapWarps: @ 8537550
+ warp_def 46, 7, 0, 0, MAP_MAGMA_HIDEOUT_3F_1R
+ warp_def 20, 21, 0, 1, MAP_MAGMA_HIDEOUT_3F_3R
+
+MagmaHideout_4F_MapEvents:: @ 8537560
+ map_events MagmaHideout_4F_EventObjects, MagmaHideout_4F_MapWarps, 0x0, 0x0
+
diff --git a/data/maps/MagmaHideout_4F/header.inc b/data/maps/MagmaHideout_4F/header.inc
index 441643653..45b5a40e6 100644
--- a/data/maps/MagmaHideout_4F/header.inc
+++ b/data/maps/MagmaHideout_4F/header.inc
@@ -1,5 +1,5 @@
MagmaHideout_4F: @ 84848B4
- .4byte MagmaHideout_4F_MapAttributes
+ .4byte MagmaHideout_4F_Layout
.4byte MagmaHideout_4F_MapEvents
.4byte MagmaHideout_4F_MapScripts
.4byte 0x0
diff --git a/data/maps/MagmaHideout_4F/map.bin b/data/maps/MagmaHideout_4F/map.bin
deleted file mode 100644
index 45a5547c6..000000000
--- a/data/maps/MagmaHideout_4F/map.bin
+++ /dev/null
@@ -1 +0,0 @@
-qqqqqqqqq{tttttttt-ttttt|{|ppqqqqpqhiiiiijpppqqq{ttz{ttttttqqqq{ttttz{ttttttt|qq{-|xzppxttt|pqxttt|qrppp{ttz{ttzqqqqqqqqqqr{t„…tz{’“’“|qp{tzqx|qpxt|qqpxtt-t|pqrppxzq{tz{tttttttt{-ttzr{Œ�’“zš›š›x|xz{-t|pqx|qpqqpqqqqqppqrppq{zqqrhiiiiiiir{t‚ƒzr¨©š›¢¢¢¢¢xttz¢¢pxt|x|pqqx--t|qppqrpxttzqq{zpqqqqqqrr{Š‹tz¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢xt||pxttttt|pqpxtzxttttt-zqpqqqqqqqrrr–—¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢pqpxtt|qqqppqxt|q{tttVttt|p{ttttttrrr¢qef¢¢¢¢¢¢h     jq¢¢¢¢x|tt|t|ppqqqpq1{tt^tt|ppr{tttttrrr¢qœ�¢¢¢¢h {-t#| j¢¢¢¢pqqqt|pqpxt|qxtzrppxzrqqqqqrrj¢¢¢¢¢h {t{G|xt|j¢¢¢x„…†‡|px|pqqpqq{zpxttzqq{ttrrqr¢¢qhjqr{G½G|x|j¢¢¢Œ�Ž�ppqpx|qxtttzxttttttzqqMrqr¢¢¢hp{{F½½½3½‰qx|j¢¢¨©–—ppqx|p{-tttttt¯¯ttttttt-ttttrjr¢¢¢ppr{{3½½½3|qpr¢¢¢¢¢¢pxt|pxz{ttttt-¯¯ttttt|qqqhijjrr¢¢¢pp1rqF½½3½½½½|x|j¢¢¢¢¢x|qppqqr{t„…‚ƒ¯¯tttt|pqhqrqrrM¢¢¢ppr1{3½½½½33½|pq  j¢¢x|pxttzr{Œ�Š‹¯¯’“-|ppqhqqr{rr¢¢¢pxzrF½½3½3½½½3½‰ph  j1¢¢¢¢px|q{tzr¨©–—qqš›¢ppphqqqrr{r¢¢¢pqq1F3½½½½3½½½½‰pphjrj¢¢¢x|pr{tz¢¢¢¢¢¢¢¢¢ppppqqqrrrqM¢¢|qrF½½½½½½3½3pppprjr¢¢¢¢ppqrr¢¢¢¢¢¢¢ef¢ppppqqqqrr1qr¢¢¢qtz¤\½3½½½½½‰ppppjrr¢¢¢¢pp{zr¢ef¢¢¢¢¢œ�¢pppxtt|qrrr{¢¢¢q¢¢¢¢¤d½3½½½½‰ppppqrrr¢¢¢¢pxz{z¢œ�¢¢¢¢¢¢¢¢pppqqqpqrrrrmn¢¢¢¢¢¢¢¢F½½½½£¤ppppqrrj¢¢x|qrq¢¢¢¢¢¢¢¢¢h ppqqqpqrrrruv†‡q¢¢¢¢¢¢¤££££¢ppppqrjr¢¢¢¢xtzq¢¢¢h     h pqqqpqrr1r}~Ž�mn¢¢¢¢¢q¢h   qjrr¢¢¢¢¢¢¢h  qqqqqpqpqqqpqr j–—uv¢qmn†‡pqqqqqqqqqqq j¢¢¢q¢pqqqh     qqpqqqpqrqqqqr j}~¢¢quvŽ�pqqqqqqqqqqqqqqrj¢¢¢¢¢pqqqpqqqhiiiiqqpqrqqqq     j}~–—pqqqqqqqqqqqqqqq     qqqpqqqpqqhiiiiiqrqqqqqqqqqq    qqqqqqqqh                qqqpqhqqqqqqqrqqqqqqqqqqqqqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqpqxttttttttz \ No newline at end of file
diff --git a/data/maps/MagmaHideout_4F/scripts.inc b/data/maps/MagmaHideout_4F/scripts.inc
new file mode 100644
index 000000000..0cc0fea56
--- /dev/null
+++ b/data/maps/MagmaHideout_4F/scripts.inc
@@ -0,0 +1,228 @@
+MagmaHideout_4F_MapScripts:: @ 823A55F
+ .byte 0
+
+MagmaHideout_4F_EventScript_23A560:: @ 823A560
+ lockall
+ playbgm MUS_MGM0, 0
+ msgbox MagmaHideout_4F_Text_23A9F4, 4
+ closemessage
+ delay 20
+ setvar VAR_RESULT, 1
+ playse SE_W197
+ setfieldeffectargument 0, 18
+ setfieldeffectargument 1, 42
+ setfieldeffectargument 2, 0
+ dofieldeffect 54
+ waitfieldeffect 54
+ setvar VAR_RESULT, 1
+ playfanfare MUS_ME_TAMA
+ playse SE_TAMA
+ special sub_80B0534
+ applymovement 255, MagmaHideout_4F_Movement_2725A6
+ waitmovement 0
+ delay 150
+ removeobject 7
+ addobject 1
+ waitstate
+ delay 60
+ applymovement 1, MagmaHideout_4F_Movement_23A672
+ waitmovement 0
+ special sub_80B058C
+ waitstate
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 1
+ setvar VAR_0x8006, 8
+ setvar VAR_0x8007, 5
+ special sub_8139560
+ waitstate
+ applymovement 1, MagmaHideout_4F_Movement_23A67D
+ waitmovement 0
+ removeobject 1
+ delay 4
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 2
+ setvar VAR_0x8006, 8
+ setvar VAR_0x8007, 5
+ special sub_8139560
+ waitstate
+ delay 30
+ applymovement 6, MagmaHideout_4F_Movement_23A680
+ waitmovement 0
+ msgbox MagmaHideout_4F_Text_23AADA, 4
+ closemessage
+ applymovement 255, MagmaHideout_4F_Movement_2725A8
+ waitmovement 0
+ delay 30
+ applymovement 6, MagmaHideout_4F_Movement_27259E
+ waitmovement 0
+ msgbox MagmaHideout_4F_Text_23AB33, 4
+ closemessage
+ trainerbattle 3, TRAINER_MAXIE_1, 0, MagmaHideout_4F_Text_23ABB5
+ msgbox MagmaHideout_4F_Text_23ABE2, 4
+ closemessage
+ clearflag FLAG_0x348
+ clearflag FLAG_0x343
+ setvar VAR_0x4058, 1
+ setflag FLAG_0x06F
+ setvar VAR_0x40A0, 1
+ fadescreen 1
+ removeobject 6
+ removeobject 2
+ removeobject 3
+ removeobject 4
+ removeobject 5
+ setflag FLAG_0x359
+ fadescreen 0
+ releaseall
+ end
+
+MagmaHideout_4F_Movement_23A672: @ 823A672
+ delay_16
+ delay_16
+ walk_slow_down
+ delay_16
+ delay_16
+ delay_16
+ walk_slow_down
+ delay_16
+ delay_16
+ delay_16
+ step_end
+
+MagmaHideout_4F_Movement_23A67D: @ 823A67D
+ slide_up
+ slide_up
+ step_end
+
+MagmaHideout_4F_Movement_23A680: @ 823A680
+ face_left
+ delay_16
+ face_right
+ delay_16
+ face_left
+ delay_16
+ face_right
+ delay_16
+ face_up
+ delay_16
+ delay_16
+ step_end
+
+MagmaHideout_4F_EventScript_23A68C:: @ 823A68C
+ trainerbattle 0, TRAINER_GRUNT_48, 0, MagmaHideout_4F_Text_23A6E8, MagmaHideout_4F_Text_23A775
+ msgbox MagmaHideout_4F_Text_23A7B5, 6
+ end
+
+MagmaHideout_4F_EventScript_23A6A3:: @ 823A6A3
+ trainerbattle 0, TRAINER_GRUNT_49, 0, MagmaHideout_4F_Text_23A7DA, MagmaHideout_4F_Text_23A81B
+ msgbox MagmaHideout_4F_Text_23A841, 6
+ end
+
+MagmaHideout_4F_EventScript_23A6BA:: @ 823A6BA
+ trainerbattle 0, TRAINER_GRUNT_50, 0, MagmaHideout_4F_Text_23A86D, MagmaHideout_4F_Text_23A8A7
+ msgbox MagmaHideout_4F_Text_23A8C6, 6
+ end
+
+MagmaHideout_4F_EventScript_23A6D1:: @ 823A6D1
+ trainerbattle 0, TRAINER_TABITHA_3, 0, MagmaHideout_4F_Text_23A8E1, MagmaHideout_4F_Text_23A994
+ msgbox MagmaHideout_4F_Text_23A9AC, 6
+ end
+
+MagmaHideout_4F_Text_23A6E8: @ 823A6E8
+ .string "I want to see GROUDON, too, but they\n"
+ .string "won’t let me see even its tail…\p"
+ .string "It’s got me feeling really frustrated.\p"
+ .string "Oh, no!\n"
+ .string "I blabbed about GROUDON!$"
+
+MagmaHideout_4F_Text_23A775: @ 823A775
+ .string "I guess it’s impossible to win if one\n"
+ .string "doesn’t have a calm mind…$"
+
+MagmaHideout_4F_Text_23A7B5: @ 823A7B5
+ .string "I wonder if GROUDON even has a tail?$"
+
+MagmaHideout_4F_Text_23A7DA: @ 823A7DA
+ .string "Fuhahaha!\n"
+ .string "Soon! Very soon!\l"
+ .string "Our grand objective will be achieved!$"
+
+MagmaHideout_4F_Text_23A81B: @ 823A81B
+ .string "Grrr…\n"
+ .string "I’ve come so far, but now this?$"
+
+MagmaHideout_4F_Text_23A841: @ 823A841
+ .string "MAXIE, sir!\n"
+ .string "An intruder is headed your way!$"
+
+MagmaHideout_4F_Text_23A86D: @ 823A86D
+ .string "You’re not finished yet!\n"
+ .string "You’re not getting by me easily!$"
+
+MagmaHideout_4F_Text_23A8A7: @ 823A8A7
+ .string "Was I that easy to knock down?$"
+
+MagmaHideout_4F_Text_23A8C6: @ 823A8C6
+ .string "C-come on, one more match…$"
+
+MagmaHideout_4F_Text_23A8E1: @ 823A8E1
+ .string "Hehehe!\n"
+ .string "You made it this far, so I’ll tell you!\p"
+ .string "That’s right!\n"
+ .string "Up ahead, GROUDON is sleeping!\p"
+ .string "MAXIE went to GROUDON just seconds\n"
+ .string "ago!\p"
+ .string "It’s going to awaken real soon!\n"
+ .string "Hehe! Hehehe!$"
+
+MagmaHideout_4F_Text_23A994: @ 823A994
+ .string "Taken down again…\n"
+ .string "Hehe…$"
+
+MagmaHideout_4F_Text_23A9AC: @ 823A9AC
+ .string "…And while you wasted time with me,\n"
+ .string "MAXIE should have awakened GROUDON…$"
+
+MagmaHideout_4F_Text_23A9F4: @ 823A9F4
+ .string "MAXIE: GROUDON…\p"
+ .string "Nothing could awaken you from your\n"
+ .string "sleep bathed in magma…\p"
+ .string "This BLUE ORB is what you sought.\n"
+ .string "Wasn’t it?\p"
+ .string "I have brought you the BLUE ORB.\n"
+ .string "Let its shine awaken you!\p"
+ .string "And show me…\n"
+ .string "Show me the full extent of your power!$"
+
+MagmaHideout_4F_Text_23AADA: @ 823AADA
+ .string "MAXIE: GROUDON!\n"
+ .string "What’s wrong?\p"
+ .string "Wasn’t the BLUE ORB the key?\p"
+ .string "GROUDON!\n"
+ .string "Where have you gone…$"
+
+MagmaHideout_4F_Text_23AB33: @ 823AB33
+ .string "MAXIE: Oh, so it was you?\p"
+ .string "I’ve seen you poking around uninvited\n"
+ .string "here and there…\p"
+ .string "I get it now!\n"
+ .string "You must have pulled a cheap stunt!$"
+
+MagmaHideout_4F_Text_23ABB5: @ 823ABB5
+ .string "What makes you so adept at handling\n"
+ .string "POKéMON?$"
+
+MagmaHideout_4F_Text_23ABE2: @ 823ABE2
+ .string "MAXIE: There has to be some reason\n"
+ .string "why GROUDON fled…\p"
+ .string "That’s what you’re trying to say,\n"
+ .string "aren’t you?\p"
+ .string "… … … … … …\n"
+ .string "… … … … … …\p"
+ .string "Humph…\n"
+ .string "You think I didn’t know that?\p"
+ .string "With GROUDON gone, there is no longer\n"
+ .string "any need for this blasted volcano.\p"
+ .string "I am going after GROUDON, so this\n"
+ .string "is where we part!$"
+