RoamerX f423a23c28 道具名称中的“TMXX”全部改为“招式学习器XX”
找到及获得文本格式参考正作
修正一些通关中发现的文本问题
2025-05-30 21:15:09 +08:00

504 lines
18 KiB
C++
Raw 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.

.set LOCALID_ARCHIE, 2
.set LOCALID_OLD_LADY, 3
.set LOCALID_GRUNT_1, 4
.set LOCALID_GRUNT_2, 5
.set LOCALID_GRUNT_3, 6
.set LOCALID_GRUNT_4, 7
.set LOCALID_MAXIE, 8
MtPyre_Summit_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, MtPyre_Summit_OnTransition
.byte 0
MtPyre_Summit_OnTransition:
call_if_eq VAR_MT_PYRE_STATE, 2, MtPyre_Summit_EventScript_SetArchieMaxiePositions
end
MtPyre_Summit_EventScript_SetArchieMaxiePositions::
setobjectxyperm LOCALID_MAXIE, 23, 6
setobjectxyperm LOCALID_ARCHIE, 22, 6
end
MtPyre_Summit_EventScript_TeamAquaTrigger0::
lockall
setvar VAR_0x8008, 0
goto MtPyre_Summit_EventScript_TeamAquaExits
end
MtPyre_Summit_EventScript_TeamAquaTrigger1::
lockall
setvar VAR_0x8008, 1
goto MtPyre_Summit_EventScript_TeamAquaExits
end
MtPyre_Summit_EventScript_TeamAquaTrigger2::
lockall
setvar VAR_0x8008, 2
goto MtPyre_Summit_EventScript_TeamAquaExits
end
MtPyre_Summit_EventScript_TeamAquaExits::
playbgm MUS_ENCOUNTER_AQUA, FALSE
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_FaceUp
waitmovement 0
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFasterDown
waitmovement 0
delay 50
call_if_eq VAR_0x8008, 0, MtPyre_Summit_EventScript_ArchieFacePlayer0
call_if_eq VAR_0x8008, 1, MtPyre_Summit_EventScript_ArchieFacePlayer1
call_if_eq VAR_0x8008, 2, MtPyre_Summit_EventScript_ArchieFacePlayer2
msgbox MtPyre_Summit_Text_ArchieWeGotTheOrbLetsGo, MSGBOX_DEFAULT
closemessage
fadescreen FADE_TO_BLACK
removeobject LOCALID_ARCHIE
removeobject LOCALID_GRUNT_1
removeobject LOCALID_GRUNT_2
removeobject LOCALID_GRUNT_3
removeobject LOCALID_GRUNT_4
setflag FLAG_HIDE_MT_PYRE_SUMMIT_ARCHIE
setflag FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA
fadedefaultbgm
fadescreen FADE_FROM_BLACK
delay 20
setvar VAR_MT_PYRE_STATE, 1
call_if_eq VAR_0x8008, 0, MtPyre_Summit_EventScript_OldLadyApproachPlayer0
call_if_eq VAR_0x8008, 1, MtPyre_Summit_EventScript_OldLadyApproachPlayer1
call_if_eq VAR_0x8008, 2, MtPyre_Summit_EventScript_OldLadyApproachPlayer2
msgbox MtPyre_Summit_Text_BothOrbsTakenMagmaLeftThis, MSGBOX_DEFAULT
giveitem ITEM_MAGMA_EMBLEM
setflag FLAG_RECEIVED_RED_OR_BLUE_ORB
setflag FLAG_HIDE_JAGGED_PASS_MAGMA_GUARD
releaseall
end
MtPyre_Summit_EventScript_ArchieFacePlayer0::
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieFacePlayer0
waitmovement 0
return
@ Archie is already facing player
MtPyre_Summit_EventScript_ArchieFacePlayer1::
return
MtPyre_Summit_EventScript_ArchieFacePlayer2::
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieFacePlayer2
waitmovement 0
return
MtPyre_Summit_EventScript_OldLadyApproachPlayer0::
applymovement LOCALID_OLD_LADY, MtPyre_Summit_Movement_OldLadyApproachPlayer0
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
return
MtPyre_Summit_EventScript_OldLadyApproachPlayer1::
applymovement LOCALID_OLD_LADY, MtPyre_Summit_Movement_OldLadyApproachPlayer1
waitmovement 0
return
MtPyre_Summit_EventScript_OldLadyApproachPlayer2::
applymovement LOCALID_OLD_LADY, MtPyre_Summit_Movement_OldLadyApproachPlayer2
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
return
MtPyre_Summit_Movement_OldLadyApproachPlayer0:
walk_down
walk_down
walk_in_place_faster_left
step_end
MtPyre_Summit_Movement_OldLadyApproachPlayer1:
walk_down
step_end
MtPyre_Summit_Movement_OldLadyApproachPlayer2:
walk_down
walk_down
walk_in_place_faster_right
step_end
MtPyre_Summit_Movement_ArchieFacePlayer0:
walk_left
walk_in_place_faster_down
step_end
MtPyre_Summit_Movement_ArchieFacePlayer2:
walk_right
walk_in_place_faster_down
step_end
MtPyre_Summit_EventScript_OldMan::
lock
faceplayer
goto_if_set FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE, MtPyre_Summit_EventScript_OldManAfterRayquaza
msgbox MtPyre_Summit_Text_WillYouHearOutMyTale, MSGBOX_YESNO
call_if_eq VAR_RESULT, YES, MtPyre_Summit_EventScript_OldManTale
call_if_eq VAR_RESULT, NO, MtPyre_Summit_EventScript_DeclineOldManTale
release
end
MtPyre_Summit_EventScript_OldManAfterRayquaza::
msgbox MtPyre_Summit_Text_HearTheNewLegendOfHoenn, MSGBOX_YESNO
call_if_eq VAR_RESULT, YES, MtPyre_Summit_EventScript_OldManNewTale
call_if_eq VAR_RESULT, NO, MtPyre_Summit_EventScript_DeclineOldManTale
release
end
MtPyre_Summit_EventScript_OldManTale::
msgbox MtPyre_Summit_Text_GroudonKyogreTale, MSGBOX_DEFAULT
return
MtPyre_Summit_EventScript_DeclineOldManTale::
msgbox MtPyre_Summit_Text_WellThatTooIsFine, MSGBOX_DEFAULT
return
MtPyre_Summit_EventScript_OldManNewTale::
msgbox MtPyre_Summit_Text_HoennTrioTale, MSGBOX_DEFAULT
return
MtPyre_Summit_EventScript_OldLady::
lock
faceplayer
goto_if_set FLAG_RETURNED_RED_OR_BLUE_ORB, MtPyre_Summit_EventScript_OldLadyAfterOrbsReturned
call_if_ge VAR_MT_PYRE_STATE, 3, MtPyre_Summit_EventScript_OldLadyOrbsReturned
goto_if_set FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, MtPyre_Summit_EventScript_OldLadyLegendariesAwake
msgbox MtPyre_Summit_Text_OrbsHaveBeenTaken, MSGBOX_DEFAULT
release
end
MtPyre_Summit_EventScript_OldLadyOrbsReturned::
msgbox MtPyre_Summit_Text_ThoseTwoMenReturnedOrbs, MSGBOX_DEFAULT
setflag FLAG_RETURNED_RED_OR_BLUE_ORB
release
end
MtPyre_Summit_EventScript_OldLadyLegendariesAwake::
msgbox MtPyre_Summit_Text_GroudonKyogreAwakened, MSGBOX_DEFAULT
release
end
MtPyre_Summit_EventScript_OldLadyAfterOrbsReturned::
msgbox MtPyre_Summit_Text_SuperAncientPokemonTaughtUs, MSGBOX_DEFAULT
release
end
MtPyre_Summit_EventScript_ArchieMaxieTrigger0::
lockall
setvar VAR_0x8008, 0
goto MtPyre_Summit_EventScript_ArchieMaxieReturnOrbs
end
MtPyre_Summit_EventScript_ArchieMaxieTrigger1::
lockall
setvar VAR_0x8008, 1
goto MtPyre_Summit_EventScript_ArchieMaxieReturnOrbs
end
MtPyre_Summit_EventScript_ArchieMaxieTrigger2::
lockall
setvar VAR_0x8008, 2
goto MtPyre_Summit_EventScript_ArchieMaxieReturnOrbs
end
MtPyre_Summit_EventScript_ArchieMaxieReturnOrbs::
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
waitmovement 0
delay 60
call_if_eq VAR_0x8008, 0, MtPyre_Summit_EventScript_ArchieMaxieBeginExit0
call_if_eq VAR_0x8008, 1, MtPyre_Summit_EventScript_ArchieMaxieBeginExit1
call_if_eq VAR_0x8008, 2, MtPyre_Summit_EventScript_ArchieMaxieBeginExit2
playse SE_PIN
applymovement LOCALID_MAXIE, Common_Movement_ExclamationMark
waitmovement 0
applymovement LOCALID_MAXIE, Common_Movement_Delay48
waitmovement 0
delay 30
call_if_eq VAR_0x8008, 0, MtPyre_Summit_EventScript_MaxieApproachPlayer0
call_if_eq VAR_0x8008, 1, MtPyre_Summit_EventScript_MaxieApproachPlayer1
call_if_eq VAR_0x8008, 2, MtPyre_Summit_EventScript_MaxieApproachPlayer2
msgbox MtPyre_Summit_Text_MaxieSilence, MSGBOX_DEFAULT
closemessage
call_if_eq VAR_0x8008, 0, MtPyre_Summit_EventScript_MaxieApproachArchie0
call_if_eq VAR_0x8008, 1, MtPyre_Summit_EventScript_MaxieApproachArchie1
call_if_eq VAR_0x8008, 2, MtPyre_Summit_EventScript_MaxieApproachArchie2
delay 30
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieExit
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieExit
waitmovement 0
removeobject LOCALID_ARCHIE
removeobject LOCALID_MAXIE
setvar VAR_MT_PYRE_STATE, 3
releaseall
end
MtPyre_Summit_EventScript_ArchieMaxieBeginExit0::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit0
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieExit
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieExit
waitmovement 0
return
MtPyre_Summit_EventScript_ArchieMaxieBeginExit1::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit1
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieExit
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieExit
waitmovement 0
return
MtPyre_Summit_EventScript_ArchieMaxieBeginExit2::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit2
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieExit
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieExit
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachPlayer0::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerFaceMaxie0
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachPlayer0
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachPlayer1::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerFaceMaxie
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachPlayer1
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachPlayer2::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerFaceMaxie
applymovement LOCALID_ARCHIE, MtPyre_Summit_Movement_ArchieWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachPlayer2
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachArchie0::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachArchie0
waitmovement 0
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachArchie1::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachArchie1
waitmovement 0
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
return
MtPyre_Summit_EventScript_MaxieApproachArchie2::
applymovement OBJ_EVENT_ID_PLAYER, MtPyre_Summit_Movement_PlayerWatchMaxie
applymovement LOCALID_MAXIE, MtPyre_Summit_Movement_MaxieApproachArchie2
waitmovement 0
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
return
MtPyre_Summit_Movement_PlayerFaceMaxie0:
delay_16
delay_16
walk_in_place_faster_right
step_end
MtPyre_Summit_Movement_PlayerFaceMaxie:
delay_16
delay_16
walk_in_place_faster_left
step_end
MtPyre_Summit_Movement_ArchieExit:
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
step_end
MtPyre_Summit_Movement_MaxieExit:
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
step_end
MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit0:
delay_16
delay_8
walk_left
walk_in_place_faster_right
delay_16
walk_in_place_faster_down
step_end
MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit1:
delay_16
delay_8
walk_right
walk_in_place_faster_left
delay_16
walk_in_place_faster_down
step_end
MtPyre_Summit_Movement_PlayerWatchArchieMaxieExit2:
delay_16
delay_8
walk_in_place_faster_left
delay_16
walk_in_place_faster_down
step_end
MtPyre_Summit_Movement_MaxieApproachPlayer0:
walk_up
walk_up
walk_up
walk_left
step_end
MtPyre_Summit_Movement_MaxieApproachPlayer1:
walk_up
walk_up
walk_up
walk_in_place_faster_right
step_end
MtPyre_Summit_Movement_MaxieApproachPlayer2:
walk_up
walk_up
walk_up
walk_in_place_faster_right
step_end
MtPyre_Summit_Movement_ArchieWatchMaxie:
delay_16
walk_in_place_faster_up
step_end
MtPyre_Summit_Movement_PlayerWatchMaxie:
delay_16
walk_in_place_faster_down
step_end
MtPyre_Summit_Movement_MaxieApproachArchie0:
walk_down
walk_right
walk_down
walk_down
walk_in_place_faster_left
step_end
MtPyre_Summit_Movement_MaxieApproachArchie1:
walk_down
walk_down
walk_down
walk_in_place_faster_left
step_end
MtPyre_Summit_Movement_MaxieApproachArchie2:
walk_down
walk_down
walk_down
walk_in_place_faster_left
step_end
MtPyre_Summit_EventScript_Grunt1::
trainerbattle_single TRAINER_GRUNT_MT_PYRE_1, MtPyre_Summit_Text_Grunt1Intro, MtPyre_Summit_Text_Grunt1Defeat
msgbox MtPyre_Summit_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt2::
trainerbattle_single TRAINER_GRUNT_MT_PYRE_2, MtPyre_Summit_Text_Grunt2Intro, MtPyre_Summit_Text_Grunt2Defeat
msgbox MtPyre_Summit_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt3::
trainerbattle_single TRAINER_GRUNT_MT_PYRE_3, MtPyre_Summit_Text_Grunt3Intro, MtPyre_Summit_Text_Grunt3Defeat
msgbox MtPyre_Summit_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt4::
trainerbattle_single TRAINER_GRUNT_MT_PYRE_4, MtPyre_Summit_Text_Grunt4Intro, MtPyre_Summit_Text_Grunt4Defeat
msgbox MtPyre_Summit_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_Text_Grunt1Intro:
.string "不!熔岩队的家伙们\n赶在我们前头了!\p我们不能落后$"
MtPyre_Summit_Text_Grunt1Defeat:
.string "我还以为是熔岩队的人\n偶然折返回来了……$"
MtPyre_Summit_Text_Grunt1PostBattle:
.string "是的,你很强……\n但是我们可不止一个人!$"
MtPyre_Summit_Text_Grunt2Intro:
.string "哈!\n你来得真不巧!\p要是早点来你只需要对付熔岩队那群\n软脚虾就行了!\p但现在\n你遇到的可是我们精英部队!$"
MtPyre_Summit_Text_Grunt2Defeat:
.string "呃……我应该等你先对付\n熔岩队的……$"
MtPyre_Summit_Text_Grunt2PostBattle:
.string "你明明什么也不知道!\n那么你为什么总是要来阻挠我们?$"
MtPyre_Summit_Text_Grunt3Intro:
.string "你……\n我们在烟囱山见过你。\p你不属于任何一个组织\n那你为什么会在这里?$"
MtPyre_Summit_Text_Grunt3Defeat:
.string "如果你想阻挠谁的话,\n去找熔岩队吧……$"
MtPyre_Summit_Text_Grunt3PostBattle:
.string "嘿,没关系!\n至少我们争取到了时间!\p老大肯定能得到\n他想要的东西!$"
MtPyre_Summit_Text_Grunt4Intro:
.string "啊,我明白了!\n你想加入熔岩队,\l但是他们不要你\p哼也别以为我们会让你\n加入我们的海洋队!$"
MtPyre_Summit_Text_Grunt4Defeat:
.string "如果你那么想加入海洋队,\n我会考虑一下的……$"
MtPyre_Summit_Text_Grunt4PostBattle:
.string "头儿和我们手下之间\n是紧紧联合在一起的。$"
MtPyre_Summit_Text_ArchieWeGotTheOrbLetsGo:
.string "水梧桐:虽然被熔岩队的赤焰松抢先了\n一步,但我们想要的东西也到手了!\p在送神山上所供奉的朱红色宝珠……\n如今已在我水梧桐手中!\p呵呵呵……如今我们可以实现\n我们的最终目标了!\p好了伙计们\n我们撤!$"
MtPyre_Summit_Text_BothOrbsTakenMagmaLeftThis:
.string "不……\n怎么会这样……\p不光是靛蓝色宝珠\n连朱红色宝珠都被抢走了……\p靛蓝色宝珠和朱红色宝珠绝不能分离。\n它们是一体的。\p那些人抢走两块宝珠\n想要干什么?\p…… …… ……\n…… …… ……\p啊对了先到这里拿走\n靛蓝色宝珠的是不是熔岩队?\p看来他们在匆忙之中\n把这个落下了。\p我不知道这东西\n究竟是什么,\p还是交给你保管吧\n或许能派上些用场。$"
MtPyre_Summit_Text_OrbsHaveBeenTaken:
.string "靛蓝色宝珠和朱红色宝珠\n被那些恶棍抢走了……\p它们绝不能分离……\n我有种不祥的预感……$"
MtPyre_Summit_Text_GroudonKyogreAwakened:
.string "天啊……\p你说固拉多和盖欧卡\n都已经苏醒了?\p据说靛蓝色宝珠和\n朱红色宝珠能够平息\l那两只宝可梦的怒火……\p还有传说称两块宝珠\n的真正拥有者依然存在。\p不过谁也不知道\n宝珠到底属于谁。\p可能是一个人也可能是宝可梦\n但没人知道真相。$"
MtPyre_Summit_Text_ThoseTwoMenReturnedOrbs:
.string "那两个抢走宝珠的人\n主动回来归还了它们。\p那两个人……\n或许终究并非那么邪恶……$"
MtPyre_Summit_Text_SuperAncientPokemonTaughtUs:
.string "大地,海洋,\n还有天空的化身……\p据说这就是那些\n超古代宝可梦的身份……\p我们人类与宝可梦的生命\n都是一样的,而我们的世界\l也拥有着生命……\p超古代宝可梦是这么\n告诉过我们的……$"
MtPyre_Summit_Text_WillYouHearOutMyTale:
.string "送神山是逝去宝可梦们\n的灵魂安息的地方……\p在这里可以俯瞰\n整个丰缘地区……\p宝可梦游离的灵魂\n必能在此得到安息……\p你的到来会是巧合吗……\p想听个故事吗\n一个关于丰缘地区的古老传说?$"
MtPyre_Summit_Text_GroudonKyogreTale:
.string "很久很久以前……\p由于大地之宝可梦和\n海洋之宝可梦的激烈冲突,\l世界陷入了混乱之中……\p大地之宝可梦召唤高山\n创造大陆……\p海洋之宝可梦掀起巨浪\n开辟海洋……\p它们无休止的激战\n持续肆虐。\p世界被无情的烈焰\n与残酷的风暴所吞没。\p直到最后靛蓝色宝珠和朱红色宝珠\n使灾难走向了终结。\p耀眼的光芒从宝珠里迸发而出\n平息了两只暴怒的宿敌。\p平静下来的它们遁入深渊\n从此消失得无影无踪……$"
MtPyre_Summit_Text_WellThatTooIsFine:
.string "原来如此……\n也罢,这样也好……$"
MtPyre_Summit_Text_MaxieSilence:
.string "赤焰松:{PLAYER}……\p…… …… ……\n…… …… ……$"
MtPyre_Summit_Text_HearTheNewLegendOfHoenn:
.string "我的使命就是把丰缘地区的\n传说一代代传承下去。\p而刚刚在那琉璃市终结的危机\n已改写了新的篇章……\p那么你有没有时间听听\n丰缘地区的新传说呢?$"
MtPyre_Summit_Text_HoennTrioTale:
.string "很久很久以前……\p由于大地之宝可梦和\n海洋之宝可梦的激烈冲突,\l世界陷入了混乱之中……\p大地之宝可梦召唤高山\n创造大陆……\p海洋之宝可梦掀起巨浪\n开辟海洋……\p它们无休止的激战\n持续肆虐。\p世界被无情的烈焰\n与残酷的风暴所吞没。\p就在此刻天空之宝可梦\n自风暴中降临。\p这只闪耀翠绿光芒的宝可梦\n平息了两只暴怒宝可梦的争斗。\p完成使命后这只绿色的宝可梦\n向着苍茫蔚蓝的远方翱翔而去……$"