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/Route119_WeatherInstitute_1F | |
| parent | 9acd55ae4f9e455a92765aaee5929240097f9f8f (diff) | |
| parent | efebc51972b23ddffa2700b1dd6895d4728646a3 (diff) | |
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/Route119_WeatherInstitute_1F')
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/border.bin | 1 | ||||
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/events.inc | 21 | ||||
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/header.inc | 2 | ||||
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/map.bin | 1 | ||||
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/scripts.inc | 139 |
5 files changed, 161 insertions, 3 deletions
diff --git a/data/maps/Route119_WeatherInstitute_1F/border.bin b/data/maps/Route119_WeatherInstitute_1F/border.bin deleted file mode 100644 index 19d906679..000000000 --- a/data/maps/Route119_WeatherInstitute_1F/border.bin +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/data/maps/Route119_WeatherInstitute_1F/events.inc b/data/maps/Route119_WeatherInstitute_1F/events.inc new file mode 100644 index 000000000..ee9f42ac5 --- /dev/null +++ b/data/maps/Route119_WeatherInstitute_1F/events.inc @@ -0,0 +1,21 @@ +Route119_WeatherInstitute_1F_EventObjects: @ 853EB20 + object_event 1, EVENT_OBJ_GFX_AQUA_MEMBER_M, 0, 15, 3, 3, 9, 0, 0, 1, 3, Route119_WeatherInstitute_1F_EventScript_26FB29, 890 + object_event 2, EVENT_OBJ_GFX_AQUA_MEMBER_F, 0, 10, 5, 3, 8, 0, 0, 1, 2, Route119_WeatherInstitute_1F_EventScript_26FB40, 890 + object_event 3, EVENT_OBJ_GFX_MAN_5, 0, 5, 4, 3, 8, 0, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FB0F, 892 + object_event 4, EVENT_OBJ_GFX_MAN_5, 0, 2, 11, 3, 1, 1, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FAC8, 892 + object_event 5, EVENT_OBJ_GFX_LITTLE_BOY_1, 0, 14, 11, 3, 2, 1, 1, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FAA4, 0 + +Route119_WeatherInstitute_1F_MapWarps: @ 853EB98 + warp_def 9, 12, 0, 0, MAP_ROUTE119 + warp_def 10, 12, 0, 0, MAP_ROUTE119 + warp_def 17, 1, 0, 0, MAP_ROUTE119_WEATHER_INSTITUTE_2F + +Route119_WeatherInstitute_1F_MapBGEvents: @ 853EBB0 + bg_event 1, 2, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FB18 + bg_event 1, 3, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FB18 + bg_event 0, 2, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FB18 + bg_event 0, 3, 0, 0, 0, Route119_WeatherInstitute_1F_EventScript_26FB18 + +Route119_WeatherInstitute_1F_MapEvents:: @ 853EBE0 + map_events Route119_WeatherInstitute_1F_EventObjects, Route119_WeatherInstitute_1F_MapWarps, 0x0, Route119_WeatherInstitute_1F_MapBGEvents + diff --git a/data/maps/Route119_WeatherInstitute_1F/header.inc b/data/maps/Route119_WeatherInstitute_1F/header.inc index 1f555389a..fac499e3f 100644 --- a/data/maps/Route119_WeatherInstitute_1F/header.inc +++ b/data/maps/Route119_WeatherInstitute_1F/header.inc @@ -1,5 +1,5 @@ Route119_WeatherInstitute_1F: @ 8485CF0 - .4byte Route119_WeatherInstitute_1F_MapAttributes + .4byte Route119_WeatherInstitute_1F_Layout .4byte Route119_WeatherInstitute_1F_MapEvents .4byte Route119_WeatherInstitute_1F_MapScripts .4byte 0x0 diff --git a/data/maps/Route119_WeatherInstitute_1F/map.bin b/data/maps/Route119_WeatherInstitute_1F/map.bin deleted file mode 100644 index 07a4e7ebb..000000000 --- a/data/maps/Route119_WeatherInstitute_1F/map.bin +++ /dev/null @@ -1 +0,0 @@ -__nk___k_____ˆ‰_|}~_ggkgggk,-,-g�‘g„…†lmv2kj2z2z2k4545j2˜2™2z2Œ2�2Ž2‡tuR2sr2R2R2sj2z2z2z2w2R2R2R2R2R2R2R2r2R2R2pr2R2R2pr2R2R2`aR2R2R2`aR2R2r2R2R2xr2R2R2xr2R2^2STV2R2^2STV2R2r2U2R2€2w2R2R2€2w2R2R2Š‹R2R2R2Š‹R2U2�2fZ2h2R2R2R2h2Z2Z2Z2Z2Z2Z2Z2Z2Z2Z2Z2f___pR2R2R2p____________gggxR2R2R2xggggggggggggj2z2z2€2R2R2R2€2z2z2z2z2z2z2z2z2z2z2z2z2r2R2R2R2R2R2R2R2U2R2R2U2R2R2R2R2R2R2R2R2r2R2R2R2R2R2R2R2]]R2R2R2R2R2R2R2R2
\ No newline at end of file diff --git a/data/maps/Route119_WeatherInstitute_1F/scripts.inc b/data/maps/Route119_WeatherInstitute_1F/scripts.inc new file mode 100644 index 000000000..b008f52c0 --- /dev/null +++ b/data/maps/Route119_WeatherInstitute_1F/scripts.inc @@ -0,0 +1,139 @@ +Route119_WeatherInstitute_1F_MapScripts:: @ 826FA86 + map_script 3, Route119_WeatherInstitute_1F_MapScript1_26FA8C + .byte 0 + +Route119_WeatherInstitute_1F_MapScript1_26FA8C: @ 826FA8C + compare VAR_WEATHER_INSTITUTE_STATE, 0 + call_if 1, Route119_WeatherInstitute_1F_EventScript_26FA98 + end + +Route119_WeatherInstitute_1F_EventScript_26FA98:: @ 826FA98 + setobjectxyperm 5, 0, 5 + setobjectmovementtype 5, 10 + return + +Route119_WeatherInstitute_1F_EventScript_26FAA4:: @ 826FAA4 + lock + faceplayer + special GetPlayerBigGuyGirlString + compare VAR_WEATHER_INSTITUTE_STATE, 0 + goto_eq Route119_WeatherInstitute_1F_EventScript_26FABE + msgbox Route119_WeatherInstitute_1F_Text_26FCE5, 4 + release + end + +Route119_WeatherInstitute_1F_EventScript_26FABE:: @ 826FABE + msgbox Route119_WeatherInstitute_1F_Text_26FCB7, 4 + release + end + +Route119_WeatherInstitute_1F_EventScript_26FAC8:: @ 826FAC8 + lock + faceplayer + checkflag FLAG_SYS_GAME_CLEAR + goto_if 0, Route119_WeatherInstitute_1F_EventScript_26FB05 + setvar VAR_0x8004, 0 + checkflag FLAG_0x1BE + call_if 1, Route119_WeatherInstitute_1F_EventScript_26FAFF + checkflag FLAG_0x1BF + call_if 1, Route119_WeatherInstitute_1F_EventScript_26FAFF + compare VAR_0x8004, 2 + goto_eq Route119_WeatherInstitute_1F_EventScript_26FB05 + msgbox Route119_WeatherInstitute_1F_Text_26FDE8, 4 + release + end + +Route119_WeatherInstitute_1F_EventScript_26FAFF:: @ 826FAFF + addvar VAR_0x8004, 1 + return + +Route119_WeatherInstitute_1F_EventScript_26FB05:: @ 826FB05 + msgbox Route119_WeatherInstitute_1F_Text_26FD2E, 4 + release + end + +Route119_WeatherInstitute_1F_EventScript_26FB0F:: @ 826FB0F + msgbox Route119_WeatherInstitute_1F_Text_26FE94, 2 + end + +Route119_WeatherInstitute_1F_EventScript_26FB18:: @ 826FB18 + lockall + msgbox Route119_WeatherInstitute_1F_Text_26FEFC, 4 + closemessage + call Route119_WeatherInstitute_1F_EventScript_272083 + releaseall + end + +Route119_WeatherInstitute_1F_EventScript_26FB29:: @ 826FB29 + trainerbattle 0, TRAINER_GRUNT_11, 0, Route119_WeatherInstitute_1F_Text_26FB57, Route119_WeatherInstitute_1F_Text_26FBBB + msgbox Route119_WeatherInstitute_1F_Text_26FBD7, 6 + end + +Route119_WeatherInstitute_1F_EventScript_26FB40:: @ 826FB40 + trainerbattle 0, TRAINER_GRUNT_20, 0, Route119_WeatherInstitute_1F_Text_26FC34, Route119_WeatherInstitute_1F_Text_26FC52 + msgbox Route119_WeatherInstitute_1F_Text_26FC60, 6 + end + +Route119_WeatherInstitute_1F_Text_26FB57: @ 826FB57 + .string "The BOSS got interested in\n" + .string "the research they have going here,\l" + .string "so he sent us out.\p" + .string "You quit meddling!$" + +Route119_WeatherInstitute_1F_Text_26FBBB: @ 826FBBB + .string "Blast it…\n" + .string "Blasted by a kid…$" + +Route119_WeatherInstitute_1F_Text_26FBD7: @ 826FBD7 + .string "Our BOSS knows everything.\p" + .string "But I’m just a GRUNT. What would I know\n" + .string "about what he’s thinking?$" + +Route119_WeatherInstitute_1F_Text_26FC34: @ 826FC34 + .string "Huh?\n" + .string "What’s a kid doing here?$" + +Route119_WeatherInstitute_1F_Text_26FC52: @ 826FC52 + .string "Huh?\n" + .string "I lost?!$" + +Route119_WeatherInstitute_1F_Text_26FC60: @ 826FC60 + .string "Oh, no…\n" + .string "I’ll catch an earful for losing to a kid…\p" + .string "I should just take a nap in the bed…$" + +Route119_WeatherInstitute_1F_Text_26FCB7: @ 826FCB7 + .string "While I was sleeping, everyone went\n" + .string "upstairs!$" + +Route119_WeatherInstitute_1F_Text_26FCE5: @ 826FCE5 + .string "Wow, you’re really strong!\p" + .string "I wish I could be a POKéMON TRAINER\n" + .string "like you!$" + +Route119_WeatherInstitute_1F_Text_26FD2E: @ 826FD2E + .string "The PROFESSOR loves rain.\n" + .string "That’s a fact.\p" + .string "But if it keeps raining, people will be in\n" + .string "trouble. That’s another fact.\p" + .string "And thus, the PROFESSOR is studying\n" + .string "if the rain can be put to good use.$" + +Route119_WeatherInstitute_1F_Text_26FDE8: @ 826FDE8 + .string "On the 2nd floor of the INSTITUTE,\n" + .string "we study the weather patterns over\l" + .string "the HOENN region.\p" + .string "We’ve been noticing temporary and\n" + .string "isolated cases of droughts and\l" + .string "heavy rain lately…$" + +Route119_WeatherInstitute_1F_Text_26FE94: @ 826FE94 + .string "Hello!\n" + .string "We’ve been saved by your actions!\p" + .string "What I don’t understand is what on\n" + .string "earth the AQUAS were up to.$" + +Route119_WeatherInstitute_1F_Text_26FEFC: @ 826FEFC + .string "There’s a bed…\n" + .string "Let’s take a rest.$" + |
