Document Victory Road scripts

This commit is contained in:
GriffinR
2020-01-28 04:21:03 -05:00
parent 8a8bb4fb02
commit eae373576d
10 changed files with 142 additions and 136 deletions
+7 -7
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_3F_EventScript_161103",
"script": "VictoryRoad_3F_EventScript_George",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_3F_EventScript_161148",
"script": "VictoryRoad_3F_EventScript_Alexa",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "VictoryRoad_3F_EventScript_16111A",
"script": "VictoryRoad_3F_EventScript_Colby",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "VictoryRoad_3F_EventScript_161131",
"script": "VictoryRoad_3F_EventScript_Caroline",
"flag": "0"
},
{
@@ -153,7 +153,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_3F_EventScript_16115F",
"script": "VictoryRoad_3F_EventScript_Ray",
"flag": "0"
},
{
@@ -166,7 +166,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_3F_EventScript_16117A",
"script": "VictoryRoad_3F_EventScript_Tyra",
"flag": "0"
}
],
@@ -215,7 +215,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_VICTORY_ROAD_3F",
"var_value": 99,
"script": "VictoryRoad_3F_EventScript_1610CF"
"script": "VictoryRoad_3F_EventScript_FloorSwitch"
}
],
"bg_events": []
+27 -27
View File
@@ -4,20 +4,20 @@ VictoryRoad_3F_MapScripts:: @ 81610AA
VictoryRoad_3F_OnLoad:: @ 81610B0
compare VAR_MAP_SCENE_VICTORY_ROAD_3F, 100
call_if_ne EventScript_1610BC
call_if_ne VictoryRoad_3F_EventScript_SetRockBarrier
end
EventScript_1610BC:: @ 81610BC
setmetatile 12, 12, 775, 1
setmetatile 12, 13, 791, 1
VictoryRoad_3F_EventScript_SetRockBarrier:: @ 81610BC
setmetatile 12, 12, METATILE_Cave_RockBarrier_Top, 1
setmetatile 12, 13, METATILE_Cave_RockBarrier_Bottom, 1
return
VictoryRoad_3F_EventScript_1610CF:: @ 81610CF
VictoryRoad_3F_EventScript_FloorSwitch:: @ 81610CF
lockall
compare VAR_MAP_SCENE_VICTORY_ROAD_3F, 100
goto_if_eq EventScript_161101
setmetatile 12, 12, 721, 0
setmetatile 12, 13, 737, 0
goto_if_eq VictoryRoad_3F_EventScript_FloorSwitchAlreadyPressed
setmetatile 12, 12, METATILE_Cave_Floor_Ledge_Top, 0
setmetatile 12, 13, METATILE_Cave_Floor_Ledge_Bottom, 0
playse SE_RU_GASYAN
special DrawWholeMapView
waitse
@@ -27,36 +27,36 @@ VictoryRoad_3F_EventScript_1610CF:: @ 81610CF
releaseall
end
EventScript_161101:: @ 8161101
VictoryRoad_3F_EventScript_FloorSwitchAlreadyPressed:: @ 8161101
releaseall
end
VictoryRoad_3F_EventScript_161103:: @ 8161103
trainerbattle_single TRAINER_COOLTRAINER_GEORGE, Text_174B60, Text_174B83
msgbox gUnknown_8174B99, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_George:: @ 8161103
trainerbattle_single TRAINER_COOLTRAINER_GEORGE, VictoryRoad_3F_Text_GeorgeIntro, VictoryRoad_3F_Text_GeorgeDefeat
msgbox VictoryRoad_3F_Text_GeorgePostBattle, MSGBOX_AUTOCLOSE
end
VictoryRoad_3F_EventScript_16111A:: @ 816111A
trainerbattle_single TRAINER_COOLTRAINER_COLBY, Text_174C8A, Text_174CA9
msgbox gUnknown_8174CBD, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_Colby:: @ 816111A
trainerbattle_single TRAINER_COOLTRAINER_COLBY, VictoryRoad_3F_Text_ColbyIntro, VictoryRoad_3F_Text_ColbyDefeat
msgbox VictoryRoad_3F_Text_ColbyPostBattle, MSGBOX_AUTOCLOSE
end
VictoryRoad_3F_EventScript_161131:: @ 8161131
trainerbattle_single TRAINER_COOLTRAINER_CAROLINE, Text_174C30, Text_174C5A
msgbox gUnknown_8174C67, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_Caroline:: @ 8161131
trainerbattle_single TRAINER_COOLTRAINER_CAROLINE, VictoryRoad_3F_Text_CarolineIntro, VictoryRoad_3F_Text_CarolineDefeat
msgbox VictoryRoad_3F_Text_CarolinePostBattle, MSGBOX_AUTOCLOSE
end
VictoryRoad_3F_EventScript_161148:: @ 8161148
trainerbattle_single TRAINER_COOLTRAINER_ALEXA, Text_174BCA, Text_174BF4
msgbox gUnknown_8174C03, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_Alexa:: @ 8161148
trainerbattle_single TRAINER_COOLTRAINER_ALEXA, VictoryRoad_3F_Text_AlexaIntro, VictoryRoad_3F_Text_AlexaDefeat
msgbox VictoryRoad_3F_Text_AlexaPostBattle, MSGBOX_AUTOCLOSE
end
VictoryRoad_3F_EventScript_16115F:: @ 816115F
trainerbattle_double TRAINER_COOL_COUPLE_RAY_TYRA, Text_174D0C, Text_174D45, Text_174D96
msgbox gUnknown_8174D64, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_Ray:: @ 816115F
trainerbattle_double TRAINER_COOL_COUPLE_RAY_TYRA, VictoryRoad_3F_Text_RayIntro, VictoryRoad_3F_Text_RayDefeat, VictoryRoad_3F_Text_RayNotEnoughMons
msgbox VictoryRoad_3F_Text_RayPostBattle, MSGBOX_AUTOCLOSE
end
VictoryRoad_3F_EventScript_16117A:: @ 816117A
trainerbattle_double TRAINER_COOL_COUPLE_RAY_TYRA, Text_174E08, Text_174E39, Text_174E8D
msgbox gUnknown_8174E48, MSGBOX_AUTOCLOSE
VictoryRoad_3F_EventScript_Tyra:: @ 816117A
trainerbattle_double TRAINER_COOL_COUPLE_RAY_TYRA, VictoryRoad_3F_Text_TyraIntro, VictoryRoad_3F_Text_TyraDefeat, VictoryRoad_3F_Text_TyraNotEnoughMons
msgbox VictoryRoad_3F_Text_TyraPostBattle, MSGBOX_AUTOCLOSE
end
+20 -23
View File
@@ -1,6 +1,3 @@
Text_1749F3:: @ 81749F3
.string "ギヤーオ!$"
Text_DoubleEdgeTeach:: @ 81749F9
.string "You should be proud of yourself,\n"
.string "having battled your way through\l"
@@ -24,80 +21,80 @@ Text_DoubleEdgeTaught:: @ 8174B0C
.string "Take a run at them and knock 'em\n"
.string "out!$"
Text_174B60:: @ 8174B60
VictoryRoad_3F_Text_GeorgeIntro:: @ 8174B60
.string "I heard rumors of a child prodigy.$"
Text_174B83:: @ 8174B83
VictoryRoad_3F_Text_GeorgeDefeat:: @ 8174B83
.string "The rumors were true!$"
gUnknown_8174B99:: @ 8174B99
VictoryRoad_3F_Text_GeorgePostBattle:: @ 8174B99
.string "So, it was you who beat GIOVANNI\n"
.string "of TEAM ROCKET?$"
Text_174BCA:: @ 8174BCA
VictoryRoad_3F_Text_AlexaIntro:: @ 8174BCA
.string "TRAINERS live to seek stronger\n"
.string "opponents.$"
Text_174BF4:: @ 8174BF4
VictoryRoad_3F_Text_AlexaDefeat:: @ 8174BF4
.string "Oh!\n"
.string "So strong!$"
gUnknown_8174C03:: @ 8174C03
VictoryRoad_3F_Text_AlexaPostBattle:: @ 8174C03
.string "By fighting tough battles, you get\n"
.string "stronger.$"
Text_174C30:: @ 8174C30
VictoryRoad_3F_Text_CarolineIntro:: @ 8174C30
.string "I'll show you just how good you\n"
.string "are. Not!$"
Text_174C5A:: @ 8174C5A
VictoryRoad_3F_Text_CarolineDefeat:: @ 8174C5A
.string "I'm furious!$"
gUnknown_8174C67:: @ 8174C67
VictoryRoad_3F_Text_CarolinePostBattle:: @ 8174C67
.string "You showed me just how good\n"
.string "I was…$"
Text_174C8A:: @ 8174C8A
VictoryRoad_3F_Text_ColbyIntro:: @ 8174C8A
.string "Only the chosen can pass here!$"
Text_174CA9:: @ 8174CA9
VictoryRoad_3F_Text_ColbyDefeat:: @ 8174CA9
.string "I don't believe it!$"
gUnknown_8174CBD:: @ 8174CBD
VictoryRoad_3F_Text_ColbyPostBattle:: @ 8174CBD
.string "All TRAINERS here are headed to\n"
.string "the POKéMON LEAGUE.\p"
.string "Don't let down your guard.$"
Text_174D0C:: @ 8174D0C
VictoryRoad_3F_Text_RayIntro:: @ 8174D0C
.string "RAY: Together, the two of us are\n"
.string "destined for greatness!$"
Text_174D45:: @ 8174D45
VictoryRoad_3F_Text_RayDefeat:: @ 8174D45
.string "RAY: Ludicrous!\n"
.string "This can't be!$"
gUnknown_8174D64:: @ 8174D64
VictoryRoad_3F_Text_RayPostBattle:: @ 8174D64
.string "RAY: You've beaten us.\n"
.string "Greatness remains elusive…$"
Text_174D96:: @ 8174D96
VictoryRoad_3F_Text_RayNotEnoughMons:: @ 8174D96
.string "RAY: Together, the two of us are\n"
.string "striving for the pinnacle.\p"
.string "We need you to bring two POKéMON\n"
.string "into battle with us.$"
Text_174E08:: @ 8174E08
VictoryRoad_3F_Text_TyraIntro:: @ 8174E08
.string "TYRA: We're trying to become\n"
.string "champions together.$"
Text_174E39:: @ 8174E39
VictoryRoad_3F_Text_TyraDefeat:: @ 8174E39
.string "TYRA: Oh, but…$"
gUnknown_8174E48:: @ 8174E48
VictoryRoad_3F_Text_TyraPostBattle:: @ 8174E48
.string "TYRA: You've taught me that power\n"
.string "can be infinite in shape and form.$"
Text_174E8D:: @ 8174E8D
VictoryRoad_3F_Text_TyraNotEnoughMons:: @ 8174E8D
.string "TYRA: You can't battle with us if\n"
.string "you have only one POKéMON.$"