2022-05-19 19:14:13 +02:00
|
|
|
.set LOCALID_STAIR_GUARD, 2
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_MapScripts::
|
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, RustboroCity_DevonCorp_1F_OnTransition
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_OnTransition:
|
|
|
|
call_if_unset FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_BlockStairs
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_BlockStairs::
|
|
|
|
setobjectxyperm LOCALID_STAIR_GUARD, 14, 2
|
|
|
|
setobjectmovementtype LOCALID_STAIR_GUARD, MOVEMENT_TYPE_FACE_DOWN
|
|
|
|
return
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_Employee::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_GoodsRecovered
|
|
|
|
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_RobberWasntBright
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_ThoseShoesAreOurProduct, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_RobberWasntBright::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_RobberWasntVeryBright, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_GoodsRecovered::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_SoundsLikeStolenGoodsRecovered, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_StairGuard::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_AlwaysWelcome
|
|
|
|
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_GotRobbed
|
|
|
|
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_GotRobbed
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_OnlyAuthorizedPeopleEnter, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_AlwaysWelcome::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_YoureAlwaysWelcomeHere, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_GotRobbed::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_HowCouldWeGetRobbed, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_Greeter::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_WelcomeToDevonCorp
|
|
|
|
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_StaffGotRobbed
|
|
|
|
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_StaffGotRobbed
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_WelcomeToDevonCorp, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_WelcomeToDevonCorp::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_WelcomeToDevonCorp, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_StaffGotRobbed::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_StaffGotRobbed, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_RocksMetalDisplay::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_RocksMetalDisplay, MSGBOX_SIGN
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_EventScript_ProductsDisplay::
|
|
|
|
msgbox RustboroCity_DevonCorp_1F_Text_ProductDisplay, MSGBOX_SIGN
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_WelcomeToDevonCorp:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Hello and welcome to the Devon\n"
|
|
|
|
.string "Corporation.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "We're proud producers of items and\n"
|
|
|
|
.string "medicine that enhance your life.$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_StaffGotRobbed:
|
|
|
|
.string "One of our research staff stupidly\n"
|
|
|
|
.string "got robbed of an important parcel.$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_ThoseShoesAreOurProduct:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Hey, those Running Shoes!\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "They're one of our products!\p"
|
|
|
|
.string "It makes me happy when I see someone\n"
|
|
|
|
.string "using something we made.$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_RobberWasntVeryBright:
|
|
|
|
.string "That stolen parcel…\p"
|
|
|
|
.string "Well, sure it's important, but it's not\n"
|
|
|
|
.string "anything that anyone can use.\p"
|
|
|
|
.string "In my estimation, that robber must not\n"
|
|
|
|
.string "have been very bright.$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_SoundsLikeStolenGoodsRecovered:
|
|
|
|
.string "It sounds like they've recovered\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "the ripped-off Devon Goods.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_OnlyAuthorizedPeopleEnter:
|
|
|
|
.string "I'm sorry, only authorized people\n"
|
|
|
|
.string "are allowed to enter here.$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_HowCouldWeGetRobbed:
|
|
|
|
.string "It's beyond stupid.\n"
|
|
|
|
.string "How could we get robbed?$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_YoureAlwaysWelcomeHere:
|
|
|
|
.string "Hi, there!\n"
|
|
|
|
.string "You're always welcome here!$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_RocksMetalDisplay:
|
|
|
|
.string "Samples of rocks and metal are\n"
|
|
|
|
.string "displayed in the glass case.\p"
|
|
|
|
.string "There's a panel with some writing\n"
|
|
|
|
.string "on it…\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "“Devon Corporation got its start as\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "a producer of stones from quarries.\p"
|
|
|
|
.string "“The company also produced iron from\n"
|
|
|
|
.string "filings in the sand.\p"
|
|
|
|
.string "“From that humble start as a producer\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "of raw materials, Devon developed.\p"
|
|
|
|
.string "“Devon is now a manufacturer of a wide\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "range of industrial products.”$"
|
|
|
|
|
|
|
|
RustboroCity_DevonCorp_1F_Text_ProductDisplay:
|
|
|
|
.string "Prototypes and test products fill\n"
|
|
|
|
.string "the glass display case.\p"
|
|
|
|
.string "There's a panel with a description…\p"
|
|
|
|
.string "“In addition to industrial products,\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Devon now markets sundries and\l"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "pharmaceuticals for better lifestyles.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "“Recently, Devon has begun marketing\n"
|
|
|
|
.string "tools for Pokémon Trainers, including\l"
|
|
|
|
.string "Poké Balls and Pokénav systems.”$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|