diff options
| author | Garak <thomastaps194@comcast.net> | 2018-07-04 11:11:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-04 11:11:45 -0400 |
| commit | e06b63efc9ea39875b17f00e5ff20c2e0fcb0415 (patch) | |
| tree | e8d37347ae000823943ef57973dc34dd98633b40 /data/maps/FortreeCity | |
| parent | 9acd55ae4f9e455a92765aaee5929240097f9f8f (diff) | |
| parent | efebc51972b23ddffa2700b1dd6895d4728646a3 (diff) | |
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/FortreeCity')
| -rw-r--r-- | data/maps/FortreeCity/border.bin | bin | 8 -> 0 bytes | |||
| -rw-r--r-- | data/maps/FortreeCity/events.inc | 31 | ||||
| -rw-r--r-- | data/maps/FortreeCity/header.inc | 2 | ||||
| -rw-r--r-- | data/maps/FortreeCity/map.bin | 1 | ||||
| -rw-r--r-- | data/maps/FortreeCity/scripts.inc | 159 |
5 files changed, 191 insertions, 2 deletions
diff --git a/data/maps/FortreeCity/border.bin b/data/maps/FortreeCity/border.bin Binary files differdeleted file mode 100644 index addb5d6ce..000000000 --- a/data/maps/FortreeCity/border.bin +++ /dev/null diff --git a/data/maps/FortreeCity/events.inc b/data/maps/FortreeCity/events.inc new file mode 100644 index 000000000..c943e230d --- /dev/null +++ b/data/maps/FortreeCity/events.inc @@ -0,0 +1,31 @@ +FortreeCity_EventObjects: @ 8526B9C + object_event 1, EVENT_OBJ_GFX_MAN_2, 0, 31, 3, 4, 1, 0, 0, 0, 0, FortreeCity_EventScript_1E25B6, 0 + object_event 2, EVENT_OBJ_GFX_GIRL_1, 0, 32, 16, 3, 2, 1, 1, 0, 0, FortreeCity_EventScript_1E25DE, 0 + object_event 3, EVENT_OBJ_GFX_WOMAN_7, 0, 32, 10, 3, 3, 0, 1, 0, 0, FortreeCity_EventScript_1E25BF, 0 + object_event 4, EVENT_OBJ_GFX_BOY_1, 0, 11, 14, 4, 1, 0, 0, 0, 0, FortreeCity_EventScript_1E25F0, 0 + object_event 5, EVENT_OBJ_GFX_OLD_MAN_2, 0, 8, 10, 3, 1, 0, 0, 0, 0, FortreeCity_EventScript_1E25E7, 0 + object_event 6, EVENT_OBJ_GFX_BOY_5, 0, 9, 16, 3, 8, 0, 0, 0, 0, FortreeCity_EventScript_1E25F9, 0 + object_event 7, EVENT_OBJ_GFX_KECLEON_1, 0, 25, 8, 3, 76, 1, 1, 0, 0, FortreeCity_EventScript_1E2614, 969 + +FortreeCity_MapWarps: @ 8526C44 + warp_def 5, 6, 0, 0, MAP_FORTREE_CITY_POKEMON_CENTER_1F + warp_def 10, 3, 0, 0, MAP_FORTREE_CITY_HOUSE1 + warp_def 22, 11, 0, 0, MAP_FORTREE_CITY_GYM + warp_def 4, 14, 0, 0, MAP_FORTREE_CITY_MART + warp_def 17, 3, 0, 0, MAP_FORTREE_CITY_HOUSE2 + warp_def 25, 3, 0, 0, MAP_FORTREE_CITY_HOUSE3 + warp_def 32, 2, 0, 0, MAP_FORTREE_CITY_HOUSE4 + warp_def 12, 13, 0, 0, MAP_FORTREE_CITY_HOUSE5 + warp_def 37, 13, 0, 0, MAP_FORTREE_CITY_DECORATION_SHOP + +FortreeCity_MapBGEvents: @ 8526C8C + bg_event 6, 9, 0, 0, 0, FortreeCity_EventScript_1E2602 + bg_event 7, 6, 0, 1, 0, FortreeCity_EventScript_271E73 + bg_event 5, 14, 0, 1, 0, FortreeCity_EventScript_271E6A + bg_event 26, 10, 0, 0, 0, FortreeCity_EventScript_1E260B + bg_event 6, 6, 0, 1, 0, FortreeCity_EventScript_271E73 + bg_event 6, 14, 0, 1, 0, FortreeCity_EventScript_271E6A + +FortreeCity_MapEvents:: @ 8526CD4 + map_events FortreeCity_EventObjects, FortreeCity_MapWarps, 0x0, FortreeCity_MapBGEvents + diff --git a/data/maps/FortreeCity/header.inc b/data/maps/FortreeCity/header.inc index 6b78eeee1..b091e166f 100644 --- a/data/maps/FortreeCity/header.inc +++ b/data/maps/FortreeCity/header.inc @@ -1,5 +1,5 @@ FortreeCity: @ 8482528 - .4byte FortreeCity_MapAttributes + .4byte FortreeCity_Layout .4byte FortreeCity_MapEvents .4byte FortreeCity_MapScripts .4byte FortreeCity_MapConnections diff --git a/data/maps/FortreeCity/map.bin b/data/maps/FortreeCity/map.bin deleted file mode 100644 index a2aa40e98..000000000 --- a/data/maps/FortreeCity/map.bin +++ /dev/null @@ -1 +0,0 @@ -ÇÇÇÇÆÇÆÇÆÇÇÇÇÆÆÆÆÆÇÇÆÆÆÇÇÇÇÇÆÆÆ$%&ÆÇÇÇÇÇÇHIJÆÇÆÇÆ$%&ÆÆÆ*$%&ÆÆÆÆÆ$%&ÆÆÆ+,-./ÇÇÇÇÇÆPQR+,-./**+,-./ÆÆÆ+,-./ÆÆ34567ÇÇÇÇÇÇD\DHIJK34567ÆÆ34567Ç**34567Æ*3<B>B>B7ÇÇÇÇÇÇÆÇÇPQRS3<B=B>B?BVBVB;B<B>B>B?BVBVBVB;B<B=B>B?BVBVB;B<B>B>B7ÇÇÇÇÇÇÇÆXYZ[CFEFGDDCFFFGDDDCFEFGDDCFEFGÇÇÇÇÇ0`abcÆÇMÇHIJÇÇÇÇÇÇÇÇÇÇMÇÇHIJÇMÇÇÇÇ00000X2Y2Y2SSa2ÇPQRÇÇÇÇcddddea2ÇÇPQRÇa2SSS00000000`2a2a2a2a2a2ÇÇAÇÇÇÇDz³³³³´a2SÇÇAÇÇa2a2a2b2000000000h2a2a2a2a2ÇÇsÆÆÇÇS¸¹º³»¼`2U2ÇÇsÆÇa2a2a2j200000000000h2a2a2a2ÇÇÆÆÆÇÇ0ÀÁÂÅÃÄ`2]ÇÆÆ*Sa2a2j200000Æ00(0)0)0+00`2a2K2$%&**ÇÇ0È1É1ÊÍËÌ1`2a2ÇÆÆÇa2a2a20Æ$%&ÆÆÆÆ01230`2K2+,-./ÇÇÇÇ0X2Y2Y2Y2Y2a2K2Ç*ÇSa2a2a2Ç+,-./ÆÆÆ89:;0`2Æ34567ÆÇÇÇÇK2K2K2K2K2K2ÇÇÇÇ0h2i2i2Ç34567ÆÆÆ`ABCX2a2Æ3<B=B>B?BVBVBVBVBVBVBVBVBVBVBVBVBVBVBVBNòNòNòNòVB;B<B>B>B7ÆÆÆ000X2a2a2SCFEFGDDDDDDDDDDDDDDD00X2Y2DCFEF6GÆÆÆÆX2Y2a2a2a2a2SSMÆHIJÆÆÆÆÆÆÆÆÇÇÇÇÇL2Y2a2a2S6S6S6MÇÇÆÆÆÆK2K2a2a2a2a2a2a2a2ÆPQRÆÆÆÆÆÆÆÆÇÇHIJÇK2a2a2a2a2a2a2ÇÇÆÆÆÆÆÆK2K2K2a2a2a2a2ÆD\DÆÆÆÆÆÆÆÆÆÇPQRÇÇK2K2a2a2a2K2ÇÇÇ**ÆÆÆÆÆÆK2K2K2K2ÆÆÇÇ*ÇÆÆÆÆÆÆÆÇD\DÇÇÇÇK2K2K2ÇÇÇ
\ No newline at end of file diff --git a/data/maps/FortreeCity/scripts.inc b/data/maps/FortreeCity/scripts.inc new file mode 100644 index 000000000..4a28a180b --- /dev/null +++ b/data/maps/FortreeCity/scripts.inc @@ -0,0 +1,159 @@ +FortreeCity_MapScripts:: @ 81E25A4 + map_script 3, FortreeCity_MapScript1_1E25AF + map_script 5, FortreeCity_MapScript1_1E25B3 + .byte 0 + +FortreeCity_MapScript1_1E25AF: @ 81E25AF + setflag FLAG_VISITED_FORTREE_CITY + end + +FortreeCity_MapScript1_1E25B3: @ 81E25B3 + setstepcallback 2 + end + +FortreeCity_EventScript_1E25B6:: @ 81E25B6 + msgbox FortreeCity_Text_1E2676, 2 + end + +FortreeCity_EventScript_1E25BF:: @ 81E25BF + lock + faceplayer + checkflag FLAG_0x127 + goto_eq FortreeCity_EventScript_1E25D4 + msgbox FortreeCity_Text_1E2738, 4 + release + end + +FortreeCity_EventScript_1E25D4:: @ 81E25D4 + msgbox FortreeCity_Text_1E27B6, 4 + release + end + +FortreeCity_EventScript_1E25DE:: @ 81E25DE + msgbox FortreeCity_Text_1E27FE, 2 + end + +FortreeCity_EventScript_1E25E7:: @ 81E25E7 + msgbox FortreeCity_Text_1E2880, 2 + end + +FortreeCity_EventScript_1E25F0:: @ 81E25F0 + msgbox FortreeCity_Text_1E292E, 2 + end + +FortreeCity_EventScript_1E25F9:: @ 81E25F9 + msgbox FortreeCity_Text_1E299D, 2 + end + +FortreeCity_EventScript_1E2602:: @ 81E2602 + msgbox FortreeCity_Text_1E2AAC, 3 + end + +FortreeCity_EventScript_1E260B:: @ 81E260B + msgbox FortreeCity_Text_1E2AE6, 3 + end + +FortreeCity_EventScript_1E2614:: @ 81E2614 + lock + faceplayer + checkitem ITEM_DEVON_SCOPE, 1 + compare VAR_RESULT, 1 + goto_eq FortreeCity_EventScript_1E2630 + msgbox FortreeCity_Text_1E29E5, 4 + release + end + +FortreeCity_EventScript_1E2630:: @ 81E2630 + msgbox FortreeCity_Text_1E2A08, 5 + compare VAR_RESULT, 1 + goto_eq FortreeCity_EventScript_1E2645 + release + end + +FortreeCity_EventScript_1E2645:: @ 81E2645 + msgbox FortreeCity_Text_1E2A48, 4 + closemessage + applymovement VAR_LAST_TALKED, FortreeCity_Movement_2723C7 + waitmovement 0 + waitse + playmoncry SPECIES_KECLEON, 2 + delay 40 + waitmoncry + applymovement VAR_LAST_TALKED, FortreeCity_Movement_1E2674 + waitmovement 0 + removeobject VAR_LAST_TALKED + setflag FLAG_0x127 + release + end + +FortreeCity_Movement_1E2674: @ 81E2674 + walk_right + step_end + +FortreeCity_Text_1E2676: @ 81E2676 + .string "No one believes me, but I saw this\n" + .string "gigantic POKéMON in the sky.\p" + .string "It seemed to squirm as it flew toward\n" + .string "ROUTE 131.\p" + .string "By the way… Sniff…\n" + .string "Um… You, uh…smell singed.\p" + .string "Were you at a volcano or something?$" + +FortreeCity_Text_1E2738: @ 81E2738 + .string "I want to go to the POKéMON GYM,\n" + .string "but something’s blocking the way.\p" + .string "After all the bother I went through\n" + .string "training on ROUTE 120…$" + +FortreeCity_Text_1E27B6: @ 81E27B6 + .string "I’ve got my pride-and-joy POKéMON\n" + .string "with me. This time, I’ll beat WINONA.$" + +FortreeCity_Text_1E27FE: @ 81E27FE + .string "The ground absorbs rainwater, and\n" + .string "trees grow by drinking that water…\p" + .string "Our FORTREE CITY exists because\n" + .string "there’s both water and soil.$" + +FortreeCity_Text_1E2880: @ 81E2880 + .string "The CITY consists of homes built on\n" + .string "trees.\p" + .string "Perhaps because of that lifestyle,\n" + .string "everyone is healthy and lively.\p" + .string "Why, even myself--I feel as if I’ve\n" + .string "grown thirty years younger.$" + +FortreeCity_Text_1E292E: @ 81E292E + .string "Living on top of trees is okay.\p" + .string "But sometimes BUG POKéMON come in\n" + .string "through windows.\l" + .string "It can be really startling.$" + +FortreeCity_Text_1E299D: @ 81E299D + .string "There are POKéMON that evolve when\n" + .string "you trade them! That’s what I heard.$" + +FortreeCity_Text_1E29E5: @ 81E29E5 + .string "Something unseeable is in the way.$" + +FortreeCity_Text_1E2A08: @ 81E2A08 + .string "Something unseeable is in the way.\p" + .string "Want to use the DEVON SCOPE?$" + +FortreeCity_Text_1E2A48: @ 81E2A48 + .string "{PLAYER} used the DEVON SCOPE.\p" + .string "An invisible POKéMON became completely\n" + .string "visible!\p" + .string "The startled POKéMON fled!$" + +FortreeCity_Text_1E2AAC: @ 81E2AAC + .string "FORTREE CITY\n" + .string "“The treetop city that frolics with\l" + .string "nature.�$" + +FortreeCity_Text_1E2AE6: @ 81E2AE6 + .string "FORTREE CITY POKéMON GYM\n" + .string "LEADER: WINONA\p" + .string "“The bird user taking flight into\n" + .string "the world.�$" + |
