349 lines
14 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SlateportCity_OceanicMuseum_2F_MapScripts::
.byte 0
SlateportCity_OceanicMuseum_2F_EventScript_CaptStern::
lock
faceplayer
msgbox SlateportCity_OceanicMuseum_2F_Text_ThankYouForTheParts, MSGBOX_DEFAULT
closemessage
playbgm MUS_ENCOUNTER_AQUA, TRUE
addobject LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1, SlateportCity_OceanicMuseum_2F_Movement_FirstGruntEnter
waitmovement 0
addobject LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Movement_SecondGruntEnter
waitmovement 0
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1, SlateportCity_OceanicMuseum_2F_Movement_FirstGruntApproach
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Movement_SecondGruntApproach
waitmovement 0
call_if_eq VAR_FACING, DIR_SOUTH, SlateportCity_OceanicMuseum_2F_EventScript_PlayerFaceGrunts
call_if_eq VAR_FACING, DIR_EAST, SlateportCity_OceanicMuseum_2F_EventScript_PlayerFaceGrunts
msgbox SlateportCity_OceanicMuseum_2F_Text_WellTakeThoseParts, MSGBOX_DEFAULT
call_if_ne VAR_FACING, DIR_EAST, SlateportCity_OceanicMuseum_2F_EventScript_SternFaceGrunts
msgbox SlateportCity_OceanicMuseum_2F_Text_SternWhoAreYou, MSGBOX_DEFAULT
msgbox SlateportCity_OceanicMuseum_2F_Text_WereTeamAqua, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Movement_GruntApproachToBattle
waitmovement 0
call_if_eq VAR_FACING, DIR_SOUTH, SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntSouth
call_if_eq VAR_FACING, DIR_WEST, SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntWest
trainerbattle_no_intro TRAINER_GRUNT_MUSEUM_1, SlateportCity_OceanicMuseum_2F_Text_Grunt1Defeat
msgbox SlateportCity_OceanicMuseum_2F_Text_BossGoingToBeFurious, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Movement_GruntDefeated
waitmovement 0
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1, SlateportCity_OceanicMuseum_2F_Movement_GruntApproachToBattle
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_LetMeTakeCareOfThis, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_MUSEUM_2, SlateportCity_OceanicMuseum_2F_Text_Grunt2Defeat
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1, SlateportCity_OceanicMuseum_2F_Movement_GruntDefeated
waitmovement 0
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1, Common_Movement_WalkInPlaceFasterDown
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, Common_Movement_WalkInPlaceFasterUp
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_MeddlingKid, MSGBOX_DEFAULT
closemessage
delay 35
addobject LOCALID_OCEANIC_MUSEUM_2F_ARCHIE
applymovement LOCALID_OCEANIC_MUSEUM_2F_ARCHIE, SlateportCity_OceanicMuseum_2F_Movement_ArchieEnter
applymovement LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Movement_GruntMoveForArchie
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_CameToSeeWhatsTakingSoLong, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_OCEANIC_MUSEUM_2F_ARCHIE, SlateportCity_OceanicMuseum_2F_Movement_ArchieApproachPlayer
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_ArchieWarning, MSGBOX_DEFAULT
closemessage
savebgm MUS_DUMMY
fadedefaultbgm
fadescreen FADE_TO_BLACK
removeobject LOCALID_OCEANIC_MUSEUM_2F_ARCHIE
removeobject LOCALID_OCEANIC_MUSEUM_2F_GRUNT_1
removeobject LOCALID_OCEANIC_MUSEUM_2F_GRUNT_2
fadescreen FADE_FROM_BLACK
delay 30
setflag FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_AQUA_GRUNTS
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_SternThankYouForSavingUs, MSGBOX_DEFAULT
setvar VAR_0x8004, ITEM_DEVON_PARTS
call Common_EventScript_PlayerHandedOverTheItem
msgbox SlateportCity_OceanicMuseum_2F_Text_SternIveGotToGo, MSGBOX_DEFAULT
closemessage
fadescreen FADE_TO_BLACK
playfanfare MUS_HEAL
waitfanfare
special HealPlayerParty
callnative UpdateFollowingPokemon
removeobject LOCALID_OCEANIC_MUSEUM_2F_CAPT_STERN
setflag FLAG_HIDE_ROUTE_110_TEAM_AQUA
call_if_eq VAR_REGISTER_BIRCH_STATE, 0, SlateportCity_OceanicMuseum_2F_EventScript_ReadyRegisterBirch
setflag FLAG_DELIVERED_DEVON_GOODS
clearflag FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE
setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 1
fadescreen FADE_FROM_BLACK
release
end
SlateportCity_OceanicMuseum_2F_EventScript_ReadyRegisterBirch::
setvar VAR_REGISTER_BIRCH_STATE, 1
return
SlateportCity_OceanicMuseum_2F_EventScript_PlayerFaceGrunts::
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
return
SlateportCity_OceanicMuseum_2F_EventScript_SternFaceGrunts::
applymovement LOCALID_OCEANIC_MUSEUM_2F_CAPT_STERN, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
return
SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntSouth::
applymovement LOCALID_PLAYER, SlateportCity_OceanicMuseum_2F_Movement_PlayerApproachGruntSouth
waitmovement 0
return
SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntWest::
applymovement LOCALID_PLAYER, SlateportCity_OceanicMuseum_2F_Movement_PlayerApproachGruntWest
waitmovement 0
return
SlateportCity_OceanicMuseum_2F_Movement_PlayerApproachGruntSouth:
walk_left
walk_down
walk_in_place_faster_left
step_end
SlateportCity_OceanicMuseum_2F_Movement_PlayerApproachGruntWest:
walk_up
walk_left
walk_left
walk_down
walk_in_place_faster_left
step_end
SlateportCity_OceanicMuseum_2F_Movement_Unused:
walk_up
walk_left
walk_left
walk_left
walk_left
walk_left
walk_up
walk_up
walk_left
walk_left
walk_up
walk_up
delay_8
step_end
SlateportCity_OceanicMuseum_2F_Movement_ArchieApproachPlayer:
walk_right
step_end
SlateportCity_OceanicMuseum_2F_Movement_ArchieEnter:
walk_down
walk_down
walk_down
walk_down
walk_down
walk_right
walk_right
walk_right
walk_right
step_end
SlateportCity_OceanicMuseum_2F_Movement_GruntApproachToBattle:
walk_right
step_end
SlateportCity_OceanicMuseum_2F_Movement_FirstGruntEnter:
walk_down
walk_right
walk_in_place_faster_down
step_end
SlateportCity_OceanicMuseum_2F_Movement_FirstGruntApproach:
walk_down
walk_down
walk_down
walk_right
walk_right
walk_right
step_end
SlateportCity_OceanicMuseum_2F_Movement_GruntDefeated:
lock_facing_direction
walk_left
unlock_facing_direction
step_end
SlateportCity_OceanicMuseum_2F_Movement_SecondGruntEnter:
walk_down
step_end
SlateportCity_OceanicMuseum_2F_Movement_SecondGruntApproach:
walk_down
walk_down
walk_down
walk_down
walk_right
walk_right
walk_right
walk_right
step_end
SlateportCity_OceanicMuseum_2F_Movement_GruntMoveForArchie:
delay_16
delay_16
delay_16
delay_16
delay_16
delay_16
delay_16
delay_16
delay_8
walk_fast_down
walk_in_place_faster_up
step_end
SlateportCity_OceanicMuseum_2F_EventScript_WaterQualitySample1::
msgbox SlateportCity_OceanicMuseum_2F_Text_WaterQualitySample1, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_WaterQualitySample2::
msgbox SlateportCity_OceanicMuseum_2F_Text_WaterQualitySample2, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_PressureExperiment::
msgbox SlateportCity_OceanicMuseum_2F_Text_PressureExperiment, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_HoennModel::
msgbox SlateportCity_OceanicMuseum_2F_Text_HoennModel, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_DeepSeawaterDisplay::
msgbox SlateportCity_OceanicMuseum_2F_Text_DeepSeawaterDisplay, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_SurfaceSeawaterDisplay::
msgbox SlateportCity_OceanicMuseum_2F_Text_SurfaceSeawaterDisplay, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_SSTidalReplica::
msgbox SlateportCity_OceanicMuseum_2F_Text_SSTidalReplica, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_SubmarineReplica::
msgbox SlateportCity_OceanicMuseum_2F_Text_SubmarineReplica, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_SubmersibleReplica::
msgbox SlateportCity_OceanicMuseum_2F_Text_SumbersibleReplica, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_SSAnneReplica::
msgbox SlateportCity_OceanicMuseum_2F_Text_SSAnneReplica, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_MuseumPatron1::
msgbox SlateportCity_OceanicMuseum_2F_Text_RemindsMeOfAbandonedShip, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_2F_EventScript_MuseumPatron2::
msgbox SlateportCity_OceanicMuseum_2F_Text_DontRunInMuseum, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_2F_EventScript_MuseumPatron3::
lock
faceplayer
msgbox SlateportCity_OceanicMuseum_2F_Text_WantToRideSubmarine, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
SlateportCity_OceanicMuseum_2F_Text_ThankYouForTheParts:
.string "嗯,你找楠木吗?\n我就是。\p啊那就是我向得文的\n兹伏奇社长订购的部件吧?\p非常感谢\n这样我们就能开始为勘探做准备了。$"
SlateportCity_OceanicMuseum_2F_Text_WellTakeThoseParts:
.string "嘿嘿嘿,别急!\n那些部件归我们了!$"
SlateportCity_OceanicMuseum_2F_Text_SternWhoAreYou:
.string "楠木馆长:什——什么?\n你们是什么人?$"
SlateportCity_OceanicMuseum_2F_Text_WereTeamAqua:
.string "我们是海洋队!\p我们老大想要那些部件\n闭上嘴,乖乖把东西交出来!$"
SlateportCity_OceanicMuseum_2F_Text_Grunt1Defeat:
.string "啊啊!\n竟然被小孩打败了!$"
SlateportCity_OceanicMuseum_2F_Text_BossGoingToBeFurious:
.string "完了,惨了……\n老大会大发雷霆的……$"
SlateportCity_OceanicMuseum_2F_Text_LetMeTakeCareOfThis:
.string "哼,没用的家伙!\n放着我来!$"
SlateportCity_OceanicMuseum_2F_Text_Grunt2Defeat:
.string "什么?!\n连我也输了!$"
SlateportCity_OceanicMuseum_2F_Text_MeddlingKid:
.string "这下怎么办?要是不拿到部件,\n我们可就麻烦大了!\p可恶想不到会栽在多管闲事的\n小鬼手里!$"
SlateportCity_OceanicMuseum_2F_Text_CameToSeeWhatsTakingSoLong:
.string "我来看看你们抢个部件怎么能磨蹭\n那么久——结果你们几个废物被个\l小鬼头给拦住了$"
SlateportCity_OceanicMuseum_2F_Text_ArchieWarning:
.string "我们是热爱大海的\n海洋队!\p而我就是海洋队的首领\n水梧桐!\p你为什么妨碍我们\p……难难道说\n你是熔岩队的人?\p等等不对\n你穿得和他们不一样。\p…… …… ……\n…… …… ……\p宝可梦、人类……所有的生命\n都源自海洋,\p因此我们海洋队\n致力于扩张海洋。\p你不觉得吗\n我们在进行着一项崇高的事业。\p算了……\n以你这个年纪还没法理解\l我们的伟大理想。\p但我警告你\n如果敢再妨碍我们的计划,\p我决不会轻易放过你\p给我好好记住$"
SlateportCity_OceanicMuseum_2F_Text_SternThankYouForSavingUs:
.string "楠木馆长:你是……\n啊,对了,你是{PLAYER}{KUN}……\p刚才真是千钧一发\n多亏你救了我!\p噢对了我差点忘了\n你还带着得文送来的零件!$"
SlateportCity_OceanicMuseum_2F_Text_SternIveGotToGo:
.string "楠木馆长:糟糕!\n没时间耽搁了!\p我们得赶快开始\n我们的海底勘探了。\p再次谢谢你\n不过我得先失陪了!\p随便参观一下\n我们的展品吧。$"
SlateportCity_OceanicMuseum_2F_Text_RemindsMeOfAbandonedShip:
.string "我在这儿看到了\n一艘模型船,\p这让我想起了武斗镇附近的\n那艘被遗弃的海船……$"
SlateportCity_OceanicMuseum_2F_Text_DontRunInMuseum:
.string "别在博物馆里面\n到处乱跑!$"
SlateportCity_OceanicMuseum_2F_Text_WantToRideSubmarine:
.string "哇,潜水艇真棒!\n我也想进里面看一看!$"
SlateportCity_OceanicMuseum_2F_Text_WaterQualitySample1:
.string "牌子上写着\n“水质样本 1”。\p海洋是连成一片的\n但不同地域的海水并不相同。$"
SlateportCity_OceanicMuseum_2F_Text_WaterQualitySample2:
.string "牌子上写着\n“水质样本 2”。\p不同地域的海水\n含盐量也不同吗?$"
SlateportCity_OceanicMuseum_2F_Text_PressureExperiment:
.string "一个橡皮球不断地\n收缩,扩张。\p“在大海中水由于自身重量形成\n内部的压力。\p浅水中这一压力\n并不明显,\p但在非常深的水里\n一小片地方的水压\l甚至可以达到上万吨。”$"
SlateportCity_OceanicMuseum_2F_Text_HoennModel:
.string "“丰缘地区模型”\p是丰缘地区的\n微缩景观。\p未白镇在哪儿呢$"
SlateportCity_OceanicMuseum_2F_Text_DeepSeawaterDisplay:
.string "海水循环的演示。\p“在海地附近海水由于\n温度和含盐量的不同,\l形成了环流。”$"
SlateportCity_OceanicMuseum_2F_Text_SurfaceSeawaterDisplay:
.string "海水循环的演示。\p“在洋面上海水被风吹动\n形成洋流。”$"
SlateportCity_OceanicMuseum_2F_Text_SSTidalReplica:
.string "“正在楠木造船厂建造的\p破浪号渡轮的\n等比例模型。”$"
SlateportCity_OceanicMuseum_2F_Text_SubmarineReplica:
.string "“潜艇海渊1号\p洋底勘探用\n高级潜水艇的模型。”$"
SlateportCity_OceanicMuseum_2F_Text_SumbersibleReplica:
.string "“潜水者\p海底勘探用的坚固的\n无人探测器的模型。”$"
SlateportCity_OceanicMuseum_2F_Text_SSAnneReplica:
.string "“环游世界的\p豪华定期船\n圣特安努号的模型。”$"