Document Devon Corp scripts

This commit is contained in:
GriffinR
2019-11-04 18:18:09 -05:00
committed by huderlem
parent 5ef300c10b
commit 1d421f2f71
6 changed files with 245 additions and 242 deletions
+5 -5
View File
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_211261",
"script": "RustboroCity_DevonCorp_1F_EventScript_Employee",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_211293",
"script": "RustboroCity_DevonCorp_1F_EventScript_StairGuard",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_2112CE",
"script": "RustboroCity_DevonCorp_1F_EventScript_Greeter",
"flag": "0"
}
],
@@ -85,7 +85,7 @@
"y": 2,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_DevonCorp_1F_EventScript_211312"
"script": "RustboroCity_DevonCorp_1F_EventScript_ProductsDisplay"
},
{
"type": "sign",
@@ -93,7 +93,7 @@
"y": 2,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RustboroCity_DevonCorp_1F_EventScript_211309"
"script": "RustboroCity_DevonCorp_1F_EventScript_RocksMetalDisplay"
}
]
}
+42 -42
View File
@@ -3,121 +3,121 @@ RustboroCity_DevonCorp_1F_MapScripts:: @ 8211245
.byte 0
RustboroCity_DevonCorp_1F_OnTransition: @ 821124B
call_if_unset FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_211255
call_if_unset FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_BlockStairs
end
RustboroCity_DevonCorp_1F_EventScript_211255:: @ 8211255
RustboroCity_DevonCorp_1F_EventScript_BlockStairs:: @ 8211255
setobjectxyperm 2, 14, 2
setobjectmovementtype 2, MOVEMENT_TYPE_FACE_DOWN
return
RustboroCity_DevonCorp_1F_EventScript_211261:: @ 8211261
RustboroCity_DevonCorp_1F_EventScript_Employee:: @ 8211261
lock
faceplayer
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_211289
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_21127F
msgbox RustboroCity_DevonCorp_1F_Text_2113D1, MSGBOX_DEFAULT
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_21127F:: @ 821127F
msgbox RustboroCity_DevonCorp_1F_Text_211446, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_RobberWasntBright:: @ 821127F
msgbox RustboroCity_DevonCorp_1F_Text_RobberWasntVeryBright, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_211289:: @ 8211289
msgbox RustboroCity_DevonCorp_1F_Text_2114DE, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_GoodsRecovered:: @ 8211289
msgbox RustboroCity_DevonCorp_1F_Text_SoundsLikeStolenGoodsRecovered, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_211293:: @ 8211293
RustboroCity_DevonCorp_1F_EventScript_StairGuard:: @ 8211293
lock
faceplayer
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_2112BA
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_2112C4
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_2112C4
msgbox RustboroCity_DevonCorp_1F_Text_21151B, MSGBOX_DEFAULT
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_2112BA:: @ 82112BA
msgbox RustboroCity_DevonCorp_1F_Text_211585, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_AlwaysWelcome:: @ 82112BA
msgbox RustboroCity_DevonCorp_1F_Text_YoureAlwaysWelcomeHere, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_2112C4:: @ 82112C4
msgbox RustboroCity_DevonCorp_1F_Text_211558, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_GotRobbed:: @ 82112C4
msgbox RustboroCity_DevonCorp_1F_Text_HowCouldWeGetRobbed, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_2112CE:: @ 82112CE
RustboroCity_DevonCorp_1F_EventScript_Greeter:: @ 82112CE
lock
faceplayer
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_2112F5
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_2112FF
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_2112FF
msgbox RustboroCity_DevonCorp_1F_Text_21131B, MSGBOX_DEFAULT
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_2112F5:: @ 82112F5
msgbox RustboroCity_DevonCorp_1F_Text_21131B, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_WelcomeToDevonCorp:: @ 82112F5
msgbox RustboroCity_DevonCorp_1F_Text_WelcomeToDevonCorp, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_2112FF:: @ 82112FF
msgbox RustboroCity_DevonCorp_1F_Text_21138B, MSGBOX_DEFAULT
RustboroCity_DevonCorp_1F_EventScript_StaffGotRobbed:: @ 82112FF
msgbox RustboroCity_DevonCorp_1F_Text_StaffGotRobbed, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_211309:: @ 8211309
msgbox RustboroCity_DevonCorp_1F_Text_2115AC, MSGBOX_SIGN
RustboroCity_DevonCorp_1F_EventScript_RocksMetalDisplay:: @ 8211309
msgbox RustboroCity_DevonCorp_1F_Text_RocksMetalDisplay, MSGBOX_SIGN
end
RustboroCity_DevonCorp_1F_EventScript_211312:: @ 8211312
msgbox RustboroCity_DevonCorp_1F_Text_211722, MSGBOX_SIGN
RustboroCity_DevonCorp_1F_EventScript_ProductsDisplay:: @ 8211312
msgbox RustboroCity_DevonCorp_1F_Text_ProductDisplay, MSGBOX_SIGN
end
RustboroCity_DevonCorp_1F_Text_21131B: @ 821131B
RustboroCity_DevonCorp_1F_Text_WelcomeToDevonCorp: @ 821131B
.string "Hello and welcome to the DEVON\n"
.string "CORPORATION.\p"
.string "We're proud producers of items and\n"
.string "medicine that enhance your life.$"
RustboroCity_DevonCorp_1F_Text_21138B: @ 821138B
RustboroCity_DevonCorp_1F_Text_StaffGotRobbed: @ 821138B
.string "One of our research staff stupidly\n"
.string "got robbed of an important parcel.$"
RustboroCity_DevonCorp_1F_Text_2113D1: @ 82113D1
RustboroCity_DevonCorp_1F_Text_ThoseShoesAreOurProduct: @ 82113D1
.string "Hey, those RUNNING SHOES!\n"
.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_211446: @ 8211446
RustboroCity_DevonCorp_1F_Text_RobberWasntVeryBright: @ 8211446
.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_2114DE: @ 82114DE
RustboroCity_DevonCorp_1F_Text_SoundsLikeStolenGoodsRecovered: @ 82114DE
.string "It sounds like they've recovered\n"
.string "the ripped-off DEVON GOODS.$"
RustboroCity_DevonCorp_1F_Text_21151B: @ 821151B
RustboroCity_DevonCorp_1F_Text_OnlyAuthorizedPeopleEnter: @ 821151B
.string "I'm sorry, only authorized people\n"
.string "are allowed to enter here.$"
RustboroCity_DevonCorp_1F_Text_211558: @ 8211558
RustboroCity_DevonCorp_1F_Text_HowCouldWeGetRobbed: @ 8211558
.string "It's beyond stupid.\n"
.string "How could we get robbed?$"
RustboroCity_DevonCorp_1F_Text_211585: @ 8211585
RustboroCity_DevonCorp_1F_Text_YoureAlwaysWelcomeHere: @ 8211585
.string "Hi, there!\n"
.string "You're always welcome here!$"
RustboroCity_DevonCorp_1F_Text_2115AC: @ 82115AC
RustboroCity_DevonCorp_1F_Text_RocksMetalDisplay: @ 82115AC
.string "Samples of rocks and metal are\n"
.string "displayed in the glass case.\p"
.string "There's a panel with some writing\n"
@@ -131,7 +131,7 @@ RustboroCity_DevonCorp_1F_Text_2115AC: @ 82115AC
.string "“DEVON is now a manufacturer of a wide\n"
.string "range of industrial products.”$"
RustboroCity_DevonCorp_1F_Text_211722: @ 8211722
RustboroCity_DevonCorp_1F_Text_ProductDisplay: @ 8211722
.string "Prototypes and test products fill\n"
.string "the glass display case.\p"
.string "There's a panel with a description…\p"