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/SootopolisCity_PokemonCenter_1F | |
| parent | 9acd55ae4f9e455a92765aaee5929240097f9f8f (diff) | |
| parent | efebc51972b23ddffa2700b1dd6895d4728646a3 (diff) | |
Merge pull request #1 from pret/master
synching with source repo
Diffstat (limited to 'data/maps/SootopolisCity_PokemonCenter_1F')
| -rw-r--r-- | data/maps/SootopolisCity_PokemonCenter_1F/events.inc | 14 | ||||
| -rw-r--r-- | data/maps/SootopolisCity_PokemonCenter_1F/header.inc | 2 | ||||
| -rw-r--r-- | data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc | 74 |
3 files changed, 89 insertions, 1 deletions
diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/events.inc b/data/maps/SootopolisCity_PokemonCenter_1F/events.inc new file mode 100644 index 000000000..9bca02a56 --- /dev/null +++ b/data/maps/SootopolisCity_PokemonCenter_1F/events.inc @@ -0,0 +1,14 @@ +SootopolisCity_PokemonCenter_1F_EventObjects: @ 8533174 + object_event 1, EVENT_OBJ_GFX_NURSE, 0, 7, 2, 3, 8, 0, 0, 0, 0, SootopolisCity_PokemonCenter_1F_EventScript_226500, 0 + object_event 2, EVENT_OBJ_GFX_GENTLEMAN, 0, 12, 4, 3, 2, 1, 1, 0, 0, SootopolisCity_PokemonCenter_1F_EventScript_22650E, 0 + object_event 3, EVENT_OBJ_GFX_WOMAN_7, 0, 4, 7, 3, 5, 1, 0, 0, 0, SootopolisCity_PokemonCenter_1F_EventScript_226538, 0 + object_event 4, EVENT_OBJ_GFX_WOMAN_1, 0, 2, 3, 3, 2, 1, 1, 0, 0, SootopolisCity_PokemonCenter_1F_EventScript_2C8256, 0 + +SootopolisCity_PokemonCenter_1F_MapWarps: @ 85331D4 + warp_def 7, 8, 3, 0, MAP_SOOTOPOLIS_CITY + warp_def 6, 8, 3, 0, MAP_SOOTOPOLIS_CITY + warp_def 1, 6, 4, 0, MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_2F + +SootopolisCity_PokemonCenter_1F_MapEvents:: @ 85331EC + map_events SootopolisCity_PokemonCenter_1F_EventObjects, SootopolisCity_PokemonCenter_1F_MapWarps, 0x0, 0x0 + diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc index 28fdf23bd..83485cbf1 100644 --- a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc +++ b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc @@ -1,5 +1,5 @@ SootopolisCity_PokemonCenter_1F: @ 8483A60 - .4byte SootopolisCity_PokemonCenter_1F_MapAttributes + .4byte PokemonCenter_1F_Layout .4byte SootopolisCity_PokemonCenter_1F_MapEvents .4byte SootopolisCity_PokemonCenter_1F_MapScripts .4byte 0x0 diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc new file mode 100644 index 000000000..fcb1b5863 --- /dev/null +++ b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc @@ -0,0 +1,74 @@ +SootopolisCity_PokemonCenter_1F_MapScripts:: @ 82264F1 + map_script 3, SootopolisCity_PokemonCenter_1F_MapScript1_2264FC + map_script 5, SootopolisCity_PokemonCenter_1F_MapScript1_277C30 + .byte 0 + +SootopolisCity_PokemonCenter_1F_MapScript1_2264FC: @ 82264FC + setrespawn 10 + end + +SootopolisCity_PokemonCenter_1F_EventScript_226500:: @ 8226500 + setvar VAR_0x800B, 1 + call SootopolisCity_PokemonCenter_1F_EventScript_27191E + waitmessage + waitbuttonpress + release + end + +SootopolisCity_PokemonCenter_1F_EventScript_22650E:: @ 822650E + lock + faceplayer + compare VAR_0x40CA, 2 + goto_if 4, SootopolisCity_PokemonCenter_1F_EventScript_22652E + checkflag FLAG_0x081 + goto_if 0, SootopolisCity_PokemonCenter_1F_EventScript_22652E + msgbox SootopolisCity_PokemonCenter_1F_Text_22664B, 4 + release + end + +SootopolisCity_PokemonCenter_1F_EventScript_22652E:: @ 822652E + msgbox SootopolisCity_PokemonCenter_1F_Text_226562, 4 + release + end + +SootopolisCity_PokemonCenter_1F_EventScript_226538:: @ 8226538 + lock + faceplayer + compare VAR_0x40CA, 2 + goto_if 4, SootopolisCity_PokemonCenter_1F_EventScript_226558 + checkflag FLAG_0x081 + goto_if 0, SootopolisCity_PokemonCenter_1F_EventScript_226558 + msgbox SootopolisCity_PokemonCenter_1F_Text_22672F, 4 + release + end + +SootopolisCity_PokemonCenter_1F_EventScript_226558:: @ 8226558 + msgbox SootopolisCity_PokemonCenter_1F_Text_2266B9, 4 + release + end + +SootopolisCity_PokemonCenter_1F_Text_226562: @ 8226562 + .string "WALLACE is rumored to be the toughest\n" + .string "TRAINER in the whole HOENN region.\p" + .string "This town’s GYM is led by the TRAINER\n" + .string "who taught WALLACE.\p" + .string "But the ELITE FOUR… They’re said to be\n" + .string "even stronger than WALLACE’s mentor.\p" + .string "How strong could they be?$" + +SootopolisCity_PokemonCenter_1F_Text_22664B: @ 822664B + .string "Everyone in town has taken refuge\n" + .string "and won’t come out of their homes.\p" + .string "Even I would rather not venture\n" + .string "outside.$" + +SootopolisCity_PokemonCenter_1F_Text_2266B9: @ 82266B9 + .string "Whenever, wherever, and whatever\n" + .string "happens, I will always be friends with\l" + .string "POKéMON.\p" + .string "Because it’s fun to be with POKéMON!$" + +SootopolisCity_PokemonCenter_1F_Text_22672F: @ 822672F + .string "Aren’t POKéMON our friends?\p" + .string "Why are they going wild this way?$" + |
